Home
last modified time | relevance | path

Searched refs:taskWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java180 final int taskWidth = 0; in testLegacyPLowRamConfig() local
185 taskWidth, legacyScale, hasHighResFile, false /* loadLowResolutionBitmap */); in testLegacyPLowRamConfig()
191 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyPLowRamConfig()
210 final int taskWidth = 0; in testLegacyPNonLowRamConfig() local
215 taskWidth, legacyScale, hasHighResFile, false /* loadLowResolutionBitmap */); in testLegacyPNonLowRamConfig()
221 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyPNonLowRamConfig()
240 final int taskWidth = 0; in testLegacyQLowRamConfig() local
245 taskWidth, legacyScale, hasHighResFile, false /* loadLowResolutionBitmap */); in testLegacyQLowRamConfig()
252 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyQLowRamConfig()
272 final int taskWidth = 0; in testLegacyQNonLowRamConfig() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAppSnapshotLoader.java93 PreRLegacySnapshotConfig getLegacySnapshotConfig(int taskWidth, float legacyScale, in getLegacySnapshotConfig() argument
97 boolean isPreRLegacySnapshot = (taskWidth == 0); in getLegacySnapshotConfig()
152 PreRLegacySnapshotConfig legacyConfig = getLegacySnapshotConfig(proto.taskWidth, in loadTask()
192 int taskWidth = (int) ((float) hwBitmap.getWidth() / legacyConfig.mScale); in loadTask() local
194 taskSize = new Point(taskWidth, taskHeight); in loadTask()
196 taskSize = new Point(proto.taskWidth, proto.taskHeight); in loadTask()
DAbsAppSnapshotController.java430 final int taskWidth = taskBounds.width(); in drawAppThemeSnapshot() local
432 final int width = (int) (taskWidth * mHighResSnapshotScale); in drawAppThemeSnapshot()
456 mainWindow.getWindowConfiguration().getRotation(), new Point(taskWidth, taskHeight), in drawAppThemeSnapshot()
DSnapshotPersistQueue.java301 proto.taskWidth = mSnapshot.getTaskSize().x; in writeProto()
DTransition.java3492 final int taskWidth = taskBounds.width(); in isWindowFillingTask() local
3498 || (taskWidth == startBounds.width() && taskHeight == startBounds.height()); in isWindowFillingTask()
3500 || (taskWidth == endBounds.width() && taskHeight == endBounds.height()); in isWindowFillingTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DCaptionWindowDecoration.java113 final int taskWidth = mTaskInfo.configuration.windowConfiguration.getBounds().width(); in calculateValidDragArea() local
120 taskWidth), in calculateValidDragArea()
122 determineMaxX(leftButtonsWidth, rightButtonsWidth, requiredEmptySpace, taskWidth, in calculateValidDragArea()
132 int taskWidth) { in determineMinX() argument
134 if (leftButtonsWidth + rightButtonsWidth + requiredEmptySpace > taskWidth) { in determineMinX()
137 return -taskWidth + requiredEmptySpace + rightButtonsWidth; in determineMinX()
144 int taskWidth, int displayWidth) { in determineMaxX() argument
146 if (leftButtonsWidth + rightButtonsWidth + requiredEmptySpace > taskWidth) { in determineMaxX()
147 return displayWidth - taskWidth; in determineMaxX()
DDesktopModeWindowDecoration.java666 final int taskWidth = mTaskInfo.configuration.windowConfiguration.getBounds().width();
673 taskWidth),
676 taskWidth, displayWidth),
685 int taskWidth) {
687 if (leftButtonsWidth + rightButtonsWidth + requiredEmptySpace > taskWidth) {
690 return -taskWidth + requiredEmptySpace + rightButtonsWidth;
697 int taskWidth, int displayWidth) {
699 if (leftButtonsWidth + rightButtonsWidth + requiredEmptySpace > taskWidth) {
700 return displayWidth - taskWidth;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeEventLogger.kt87 taskUpdate.taskWidth, in logTaskAdded()
119 taskUpdate.taskWidth, in logTaskRemoved()
151 taskUpdate.taskWidth, in logTaskInfoChanged()
166 val taskWidth: Int = Int.MIN_VALUE, constant in com.android.wm.shell.desktopmode.DesktopModeEventLogger.Companion.TaskUpdate
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeEventLoggerTest.kt96 eq(TASK_UPDATE.taskWidth), in <lambda>()
121 eq(TASK_UPDATE.taskWidth), in <lambda>()
146 eq(TASK_UPDATE.taskWidth), in logTaskInfoChanged_taskUpdate()