summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tiger Huang <tigerhuang@google.com> 2022-03-26 12:56:12 +0800
committer Tiger Huang <tigerhuang@google.com> 2022-03-26 12:56:12 +0800
commitead6d20c1a3e6d81d5893507d1b29638e6274a5c (patch)
treeac8fd9572bf0c3cc7d3a146f8f226d74ce6a48e2 /libs/androidfw/StringPool.cpp
parent5b19a1584a3cdd6ea17480c9e56c0ac694c421ae (diff)
Let setFrames can take frames passed from the client
This is a step to move the window layout to the client. If the frames passed to WindowState#setFrames are from the client, we need to apply mGlobalScale to them; if the frames are from the server, we only need to apply mInvGlobalScale to mCompatFrame. This CL also - moves logic from mPerformLayout to setFrames, such as updateLastFrames and layoutLetterbox, because we won't need mPerformLayout when LOCAL_LAYOUT is enabled. - removes a redundant performLayout from getNavBarPosition, because we don't update mNavigationBarPosition in performLayout now. Bug: 161810301 Test: ApiDemos > App > Activity > Max Aspect Ratio > 1:1, verify navbar is visible Change-Id: I0d892b4773d950c4f1f85503c43742f5990f6117
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions