Cleanup removal of taskbarSize from calculation
* See ag/20617554 for more context Bug: 261110474 Test: FullscreenDrawParamsTest passes Change-Id: Id13e811a0966bdcc17fc282303fe98a8b7290dbf
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