Account for static child transformations correctly
Optimizations in drawing and invalidation in JB did not correctly account for static child transforms (View.getChildStaticTransformation()). For the invalidation part, this meant that views were not properly setting the invalidation bounds (which should be transformed by the static transform), so the affected area of the invalidation was potentially incorrect. For the drawing part, this meant that views outside of their parent's bounds were being incorrectly rejected when the static transform would, in fact, place the views inside of those bounds. The fix is in two parts: - drawing: avoid the early quickReject() logic for containers that have static transformations set on them (ViewGroup.setStaticTransformationsEnabled()). - invalidation: Include the static transform in the invalidation area propagated up the view hierarchy. Issue #6864203 The child position outside of parent is not drawn even it will be drawn inside of the parent after applying static transformation Change-Id: I73bea01feab250bdcae2d575313be355a4a3c8f5
Loading
Please register or sign in to comment