summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2014-09-04 15:36:01 -0700
committerAdam Powell <adamp@google.com>2014-09-04 17:03:43 -0700
commit710c456ddb32fe05e13965183e7018015da52eae (patch)
treec040a1ec61890962c5fa642d8d538645af6e19a7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent191cbad91f19c14316810c806c4b0560d9386c8c (diff)
Material EdgeEffect refinements
Add back auto-recede for EdgeEffect, but with a longer delay. Removing it caused compatibility issues in existing custom views that never call onRelease. The longer delay will be a signal that something is amiss without disrupting the UX too badly. Recede the glow more quickly on release. Start translucent and fade to more opaque as the glow grows and is pulled further. Make the opacity stronger in the extreme cases so the glow is more prominent. Equalize glow size across the width and height. Bug 15146438 Bug 15936708 Change-Id: I020d705906e6225b044d0f5303bafa733a679a66
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions