summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2019-02-19 14:18:19 +0800
committerCharles Chen <charlesccchen@google.com>2019-02-21 15:44:57 +0800
commitaa94d95bfce2dbb9673675e609d811b260fb53bf (patch)
tree23cdf4e3795e2027023d484818094bd615aa33eb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentaa7b6826995403dac030bcf9886d9eb099d5cfee (diff)
Use size to inflate nav bar buttons instead of rotation
For a landscape or close-to-square device, the button layout of nav bar was abnormal since System UI assumes the nav bar position would change if device rotated. However, for default landscape device, nav bar will be always on the buttom. This patch resolve the assumption by using nav bar direction (horizon/vertical) instead of rotation. Also renaming the layout for consistency. Test: atest SystemUITests Test: atest NavigationBarFlaterViewTest Test: manual - rotate the phone and comapre to my Pixel2 Test: manual - test the peproduce steps and the layout of nav bar buttons is normal Fix: 124428114 Change-Id: I23444bcb2a44555e7116f6140a29147c5a03ed69
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions