summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-06-10 15:13:32 -0700
committerRobert Carr <racarr@google.com>2016-06-10 15:32:04 -0700
commit4320d33a065173dff97ddb462c8a6a0a649a41e5 (patch)
tree05d71618293840aa80ad117a3ad1bcea1e1c6c82 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente4b1fb94e3e9686379c0b6159292cbb45dded821 (diff)
Restore setCropInTransaction HiddenForCrop behavior.
Prior to c/1106850 setCropInTransaction hid the surface for crop width and height <= 0. That CL allowed setting -1 for crop width and height which SF determines as clearing the crop. Other portions of the code depend on the old behavior though for negative values, so restore the behavior of setCropInTransaction and use a new clearCrop method for the new code. Bug: 29276588 Change-Id: I728666009c362ff635c7ebfb3ef2e83428fb03fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions