Loading quickstep/tests/src/com/android/quickstep/FullscreenDrawParamsTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ class FullscreenDrawParamsTest : DeviceProfileBaseTest() { /* taskViewScale= */ 1.0f, /* previewWidth= */ 0, dp, mPreviewPositionHelper) // Probably unhelpful, but also unclear how to test otherwise ¯\_(ツ)_/¯ val fullscreenTaskHeight = (dp.heightPx - dp.taskbarSize) * val fullscreenTaskHeight = dp.heightPx * (1 - (splitBounds.topTaskPercent + splitBounds.dividerHeightPercent)) val canvasScreenRatio = canvasHeight / fullscreenTaskHeight val expectedBottomHint = dp.taskbarSize * canvasScreenRatio Loading Loading
quickstep/tests/src/com/android/quickstep/FullscreenDrawParamsTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ class FullscreenDrawParamsTest : DeviceProfileBaseTest() { /* taskViewScale= */ 1.0f, /* previewWidth= */ 0, dp, mPreviewPositionHelper) // Probably unhelpful, but also unclear how to test otherwise ¯\_(ツ)_/¯ val fullscreenTaskHeight = (dp.heightPx - dp.taskbarSize) * val fullscreenTaskHeight = dp.heightPx * (1 - (splitBounds.topTaskPercent + splitBounds.dividerHeightPercent)) val canvasScreenRatio = canvasHeight / fullscreenTaskHeight val expectedBottomHint = dp.taskbarSize * canvasScreenRatio Loading