summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2018-09-07 13:44:54 -0400
committerFabian Kozynski <kozynski@google.com>2018-09-07 13:44:54 -0400
commit802279f701daff7fc361735dd3425a764ef37dc2 (patch)
tree12682c898cfea87db1d628296830991fb1c35294 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb2fa27cc65affdb2e13f8363cc6336f6a4df764b (diff)
Refactored layout of QQS and transition animation.
QuickQSPanel.HeaderTileLayout is reworked to work in displays of different densities by inheriting from TileLayout. The maximum number of tiles shown is still determined by the same parameter, but it can show less tiles if there is not enough space due to low density/small screen. This is calculated during onMeasure using the available space. QSAnimator is modified to accomodate the following three cases: * If the tile is present in QQS and QS, animate as before. * If the tile is present in QQS and not in QS, fade translate to right. * If the tile is not present in QQS and is in QS, fade in from the right. This is a new upload of ag/4898401 (reverted in ag/4968215), addressing b/113994014. Fixes: 80141553 Fixes: 110404680 Test: Visual, different densities and orientations. Tested battery saver tile. Change-Id: Iffb7a45df7d20e67beb9c75b6f71b3bbc7c49b7d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions