summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2021-03-05 17:36:35 +0800
committerTiger Huang <tigerhuang@google.com>2021-03-16 23:33:31 +0800
commit7faf533fb3517962d1fe95046ce8f96f16a24d56 (patch)
tree251f76aa67c13e5a751bd53884e02b3e180dbeb8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent47f60213ec9c465295a808fa66af51b91e33c210 (diff)
Let insets can still be controlled if its window bounds is moved
Insets source window can be moved by the display area policy so that the window would not on the edge of the display. This makes the window cannot provide insets to the display frame. The default animation uses the display frame to compute insets, so the moved types cannot be animated properly. This CL adds an insets hint to InsetsSourceControl. It is the insets computed from its owning window bounds. With the insets hint, the insets animation can be played regardless of the display frame. This CL also fixes an issue that the insets animation would be played in the wrong direction by the fixed-rotation window. Bug: 175775686 Fix: 181939099 Fix: 163018915 Test: atest ImeInsetsSourceConsumerTest InsetsAnimationControlImplTest InsetsControllerTest InsetsSourceConsumerTest DisplayImeControllerTest WindowInsetsTests (manual) Change-Id: Ic6a8a215bd9b3a3b1af18e425dabe803c9be323e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions