Fixing implementation of View.requestRectangleOnScreen(Rect, boolean).
1. The implementation was not taking into account the transformation matrices if the views. 2. The rectangle that was passed as an argument to ViewParent.requestChildRectangleOnScreen was modified by some implementations - now care is taken to prevent it. 3. The scroll of child was used when a rectangle of its coordinate system was mapped to one in the parent system. However, the scroll shows how much a parent has scrolled its descendants, so the scroll of the parent has to be used not the child. bug:7139556 Change-Id: I5b09eb7f105047e95282f74308968d5465831c84
Loading
Please register or sign in to comment