Merge "Cleanup removal of taskbarSize from calculation" into tm-qpr-dev am: 5e43214256
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20623248 Change-Id: Ic45d758dec682169464f7bff205baae3fafa0608 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -87,8 +87,8 @@ public class PreviewPositionHelper {
|
||||
taskPercent = mDesiredStagePosition != STAGE_POSITION_TOP_OR_LEFT
|
||||
? mSplitBounds.topTaskPercent
|
||||
: (1 - (mSplitBounds.topTaskPercent + mSplitBounds.dividerHeightPercent));
|
||||
// Scale portrait height to that of (actual screen - taskbar inset)
|
||||
fullscreenTaskHeight = (screenHeightPx) * taskPercent;
|
||||
// Scale portrait height to that of the actual screen
|
||||
fullscreenTaskHeight = screenHeightPx * taskPercent;
|
||||
if (mTaskbarInApp) {
|
||||
canvasScreenRatio = canvasHeight / fullscreenTaskHeight;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user