summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author omarmt <omarmt@google.com> 2024-06-05 13:29:29 +0000
committer omarmt <omarmt@google.com> 2024-06-05 13:32:53 +0000
commit21b310d9c64f44472a9ed0a80f90b54938b4120b (patch)
tree095b64a5b41c0017963413fb28d17accad921fea /libs/androidfw/StringPool.cpp
parent9d61d737e56b0201b20b612d0f901a7c780ca658 (diff)
[STL] Increase default transitionInterceptionThreshold to 0.05
In SceneTransitionLayout, the transitionInterceptionThreshold value is used during a transition to decide whether the new gesture should control the transition or the element in the scene. The default value is currently 0, which means that the animation does not need to be 100% complete before the gesture can control the transition in the STL. This CL sets the tolerance value to 0.05 (5% tolerance), which means that the gesture will control the elements of the scene when the animation is 95% complete. This is because many animations slow down as they approach completion and may appear finished even when they have not reached 100%. See b/345176528#comment2 - before.mp4 vs after.mp4 Test: Manually tested on our demo app Bug: 345176528 Flag: com.android.systemui.scene_container Change-Id: Ia8c354a8137da17591e3275e0de10b18fa21bec6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions