diff options
| author | 2021-12-16 11:07:25 -0800 | |
|---|---|---|
| committer | 2022-08-03 16:03:29 -0700 | |
| commit | 0ee3b273a003c99d837df1debdb72106c684eae8 (patch) | |
| tree | 636cc87efbea86f1ef576bca4acafbacecefd7f3 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | a745ebf39c0ea5182469ebedddae76ca46fc0e5b (diff) | |
Fixed divider rendering in RTL languages
In horizontal layouts, when elements are rendered from LTR, the
definition of "before" and "after" gets flipped, causing the divider
spacing to be allocated to the wrong locations. By flipping the check in
RTL layouts, the dividers can be placed correctly.
Additionally, it is necessary to add divider measurements to all layout
width measurements to allow for dividers in right gravity to layout
properly.
Bug: 208927871
Test: atest android.widget.cts.LinearLayoutTest
Change-Id: If6e917873571484a6fb1dfc28b356289e2cc1ffa
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions