summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-09-10 19:56:06 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-09-10 20:01:23 -0700
commitee6c6ae5b2111bbb602dbc8030ba3c8eb014cc6e (patch)
tree6bb801d7d4e4a30a882409b8550be887ff5a6a9c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent36e614c110dad174dea6017eb701f55339aee200 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions