summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riley Jones <jonesriley@google.com> 2023-09-06 22:27:37 +0000
committer Riley Jones <jonesriley@google.com> 2023-10-25 20:27:51 +0000
commit84156fc1b77b9d7a023604382178a4f2d9dc7bec (patch)
tree52f01d852a5949be78311686df0854dde35cde66 /libs/androidfw/FileStream.cpp
parent116560a4017643719018c75efcfe928302d2792e (diff)
Implement smooth FAB animations for displacement due to IME visibility changes
For the FAB to remember where it was before being displaced by an IME, it needs to avoid persisting its position (updating the internal percentage-position value) This change adds a parameter to onPositionChanged(), as well as our spring animation functions, that controls whether they persist the position, allowing us to use them for handling IME displacement. Bug: 281150010 Test: adb sync system_ext && adb shell stop && adb shell start Change-Id: Ic259db5d2612737aada2dd0440efce661754677b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions