Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskSnapshotPersisterLoaderTest.java166 final int taskWidth = 0; in testLegacyPLowRamConfig() local
171 taskWidth, legacyScale, hasHighResFile, false /* loadLowResolutionBitmap */); in testLegacyPLowRamConfig()
177 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyPLowRamConfig()
196 final int taskWidth = 0; in testLegacyPNonLowRamConfig() local
207 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyPNonLowRamConfig()
226 final int taskWidth = 0; in testLegacyQLowRamConfig() local
238 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyQLowRamConfig()
258 final int taskWidth = 0; in testLegacyQNonLowRamConfig() local
270 taskWidth, legacyScale, hasHighResFile, true /* loadLowResolutionBitmap */); in testLegacyQNonLowRamConfig()
283 final int taskWidth = 1440; in testNonLegacyRConfig() local
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotLoader.java91 PreRLegacySnapshotConfig getLegacySnapshotConfig(int taskWidth, float legacyScale, in getLegacySnapshotConfig() argument
95 boolean isPreRLegacySnapshot = (taskWidth == 0); in getLegacySnapshotConfig()
149 PreRLegacySnapshotConfig legacyConfig = getLegacySnapshotConfig(proto.taskWidth, in loadTask()
189 int taskWidth = (int) ((float) hwBitmap.getWidth() / legacyConfig.mScale); in loadTask() local
191 taskSize = new Point(taskWidth, taskHeight); in loadTask()
193 taskSize = new Point(proto.taskWidth, proto.taskHeight); in loadTask()
H A DTaskSnapshotController.java562 final int taskWidth = taskBounds.width();
564 final int width = (int) (taskWidth * mHighResTaskSnapshotScale);
589 mainWindow.getWindowConfiguration().getRotation(), new Point(taskWidth, taskHeight),
H A DTaskSnapshotPersister.java377 proto.taskWidth = mSnapshot.getTaskSize().x; in writeProto()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DTaskViewSimulator.java328 float taskWidth = mTaskRect.width(); in apply() local
354 taskWidth + insets.right, taskHeight + insets.bottom); in apply()
368 + " taskW: " + taskWidth + " H: " + taskHeight in apply()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskView.java1425 final int taskWidth = lastComputedTaskSize.width();
1434 boxWidth = taskWidth;
1448 nonGridScale = taskWidth / (float) boxWidth;