diff options
author | Nader Jawad <njawad@google.com> | 2019-03-06 17:29:22 -0800 |
---|---|---|
committer | Nader Jawad <njawad@google.com> | 2019-03-26 16:44:10 -0700 |
commit | dadf251a0d6fbd8a4bdca3b748154a10db35433b (patch) | |
tree | ad5df3a2b1039a9500a1985b97550f495ab9d7be /libs/hwui/renderthread/RenderThread.cpp | |
parent | 04b8032de5bcdbb368fa98b04664542b0048ff16 (diff) |
Added framework APIs to leverage new BlendMode API
Updated various framework APIs to leverage the new BlendMode API
that parallels the corresponding porterduff mode equivalent.
Added new Drawable#onApplyBlendMode API that provides a backward
compatible solution for Drawable implementations that leverage
the new BlendMode API as well as fall back on the traditional
setTintMode(PorterDuff.Mode) API for instances where it is not
implemented
Bug:126726419
Test: Re-ran CTS graphics test cases
Change-Id: I119a7f57dce0a095c0a73cf83dc50b82beff5e32
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions