diff options
author | Romain Guy <romainguy@google.com> | 2012-09-18 15:37:24 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-09-18 15:37:24 -0700 |
commit | e91aa0fa64db892194ba82ec7d41df6fb9185471 (patch) | |
tree | d0cb8327ab5939248e369a4d7c34b5b8165b351e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a4b0e5590dc303df68256254f732ef632e6912f3 (diff) |
Compute GradientDrawable's opacity correctly
The current implementation of GradientDrawable always assumes the shape needs
to be blended. This causes all windows to be considered translucent by default.
This change recomputes the opacity as needed to ensure windows are marked
opaque when they should.
Change-Id: Iaf291d889a6c5122ab00c9f5781df3e7f61547fa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions