diff options
author | Jeff DeCew <jeffdq@google.com> | 2021-05-25 17:00:23 -0400 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2021-05-25 17:06:19 -0400 |
commit | ffa6b56d87120159b23d38309f7f3375a3cfd8c2 (patch) | |
tree | 0ecb1074d266d02fe8c9afc95b149018c4310dde /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d49a40998aa13d4bc8ffbfd7893c9198b7727f8a (diff) |
Fix Notification view transformations in RTL
* When views are RTL, transform from the right edge by accounting for view width.
* Also ensure that views tagged with id/align_transform_end_tag actually transform using the right edge in LTR and not RTL.
* Rename TransformState.getViewWidth/Height to getContentWidth/Height because these names were horrendously misleading due to being overridden.
Fixes: 182324842
Test: manual testing in RTL and LTR, and using wide bigLargeIcon on BigPictureStyle.
Change-Id: I8f0615d475a2a20cc2715967c7e31af6c9b2c920
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions