diff options
author | James Cook <jamescook@google.com> | 2015-05-28 15:52:44 -0700 |
---|---|---|
committer | James Cook <jamescook@google.com> | 2015-05-28 15:52:44 -0700 |
commit | 5cfaae4aae744574f0fcc0876cdc5473bc1a344d (patch) | |
tree | 938c1849962dbf8eeefbe4f8b1756d8e6dcad3b6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f981ea95f2e951a558f73fb941cf006423e52627 (diff) |
assist: Fix reported colors/styles for TextView/Switch
Changes to the data provided to AssistStructure:
* Text foreground color is correct even if the view has not yet been
painted.
* Text background color is now always 1 (TEXT_COLOR_UNDEFINED) for a
TextView, as it has no separate concept of background color.
* Switch now reports the text size/color/style of the label text
(usually user visible) rather than the on/off text on the button
itself (usually hidden in Material, and not usually revelant when
visible).
Bug: 21080375
Change-Id: I7e15f68d89510a76cab76031c2c8ca6ca3f32435
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions