summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-07-05 09:35:06 +0000
committer Roy Chou <juchengchou@google.com> 2023-07-24 07:39:23 +0000
commit1736e28e1161d8f9d9941090d917e0f8c06909d9 (patch)
tree0a0d389f7a6221ca026397453e65835fd09c9085 /libs/androidfw/StringPool.cpp
parent84c898de460812dde80f1954e7ddff37c2b7a3ee (diff)
chore(#Magnification): use persisted scale if zoom-in-temporary when magnifier is zoomed out by service
Originally when the fullscreen magnifier is activated, using triple-tap-and-hold to temporarily zoom in would use (current scale + 1) as the furthur zoom in scale. We add two cases that would zoom in with persisted scale. 1. User just tap the shortcut to activate the magnifier. 2. The magnifier just zooms out due to user context changed such as transitions or rotations. For these two cases we conclude the expected bahaviour should be zooming in with persisted scale. Bug: 289131167 Test: manually atest FullScreenMagnificationControllerTest atest FullScreenMagnificationGestureHandlerTest Change-Id: I0a48e1465763c5387bbac537471de82efff7caf5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions