summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14/changes
diff options
context:
space:
mode:
authorfelkachang <felkachang@google.com>2018-07-26 19:06:30 +0800
committerfelkachang <felkachang@google.com>2018-08-08 11:40:37 +0800
commitb623343f1324b0d1c5baa01260d789c371ad0849 (patch)
tree018bd59a4a806012ce209b525e07fe10840537b4 /docs/html/sdk/api_diff/14/changes
parent642d495ff50cb238687a0a9ebe3b2d7aeec7e87d (diff)
Fix the wrong number of icons in shelf for RTL
In NotificationShelf, mShelfIcons.setActualLayoutWidth's parameter comes from the return value of mCollapsedIcons.getFinalTranslationX. both of mCollapsedIcons.getFinalTranslationX and 'start' has the operator '+' and mCollapsedIcons.getFinalTranslationX should return the value that doesn't translate to the xTranslation. The root cause is that mCollapsedIcons.getFinalTranslationX should return the 'start tranlation' rather xTranslation. The solution is to make the mixing usage between 'start tranlation' and xTranslation to be seperated. And, 'start translation' is called xAnchorStart. To get the 'start translation' by counting (getWidth() - mLastVisibleIconState.xTranslation - iconWidth) to get xAnchorStart. Change-Id: Iec6893446ba161cce50e9b018e43f94782b91f11 Fixes: 111861498 Test: manual test
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions