summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author joenchen <joenchen@google.com> 2022-04-11 23:58:34 +0800
committer Joen Chen <joenchen@google.com> 2022-04-20 07:05:15 +0000
commit85b339fb246768d8ec34375463e4bfe8b968eaaf (patch)
treed1e3a42c3633d82654fc3001635c06a3fd8d472f /libs/androidfw/StringPool.cpp
parent17e33aff6603233b3706a4fdeb69916144ea3e4c (diff)
bootanimation: correct logo position and size after resolution changed
The resolution may be changed while the boot animation is playing. mInitWidth and mInitHeight store the original resolution, and then the animation coordinate and size are recalculated according to the ratio (mWidth/mInitWidth and mHeight/mInitHeight). Bug: 228605923 Test: change resolution and then reboot to check the animation Change-Id: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f (cherry picked from commit 764ea0442141b4b961bb6c6af18e66cfaa617b7f) Merged-In: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions