/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeWindowGeometry.java | 66 DragResizeWindowGeometry(int taskCornerRadius, @NonNull Size taskSize, in DragResizeWindowGeometry() argument 69 mTaskSize = taskSize; in DragResizeWindowGeometry() 349 TaskCorners(@NonNull Size taskSize, int cornerSize) { in TaskCorners() argument 359 taskSize.getWidth() - cornerRadius, in TaskCorners() 361 taskSize.getWidth() + cornerRadius, in TaskCorners() 366 taskSize.getHeight() - cornerRadius, in TaskCorners() 368 taskSize.getHeight() + cornerRadius); in TaskCorners() 371 taskSize.getWidth() - cornerRadius, in TaskCorners() 372 taskSize.getHeight() - cornerRadius, in TaskCorners() 373 taskSize.getWidth() + cornerRadius, in TaskCorners() [all …]
|
D | DragResizeInputListener.java | 200 final Size taskSize = geometry.getTaskSize(); in setGeometry() local 202 .setWindowCrop(mInputSinkSurface, taskSize.getWidth(), taskSize.getHeight()) in setGeometry() 215 mTouchRegion.op(0, 0, taskSize.getWidth(), taskSize.getHeight(), Region.Op.DIFFERENCE); in setGeometry()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.kt | 66 ?: Bitmap.createBitmap(snapshot.taskSize.x, snapshot.taskSize.y, ARGB_8888).apply { in <lambda>() 92 scale = thumbnail.width.toFloat() / snapshot.taskSize.x, in <lambda>()
|
D | Task.java | 321 if (lastSnapshotData.taskSize == null || lastSnapshotData.contentInsets == null) { in getVisibleThumbnailRatio() 325 float availableWidth = lastSnapshotData.taskSize.x; in getVisibleThumbnailRatio() 326 float availableHeight = lastSnapshotData.taskSize.y; in getVisibleThumbnailRatio()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppSnapshotLoader.java | 190 Point taskSize; in loadTask() local 194 taskSize = new Point(taskWidth, taskHeight); in loadTask() 196 taskSize = new Point(proto.taskWidth, proto.taskHeight); in loadTask() 201 proto.orientation, proto.rotation, taskSize, in loadTask()
|
D | AbsAppSnapshotController.java | 339 final Point taskSize = new Point(); in prepareTaskSnapshot() local 345 taskSize.set(changeInfo.mAbsoluteBounds.right, changeInfo.mAbsoluteBounds.bottom); in prepareTaskSnapshot() 354 taskSize.set(taskBounds.width(), taskBounds.height()); in prepareTaskSnapshot() 359 builder.setTaskSize(taskSize); in prepareTaskSnapshot()
|
D | Task.java | 4014 if (mLastTaskSnapshotData.taskSize != null) { 4016 mLastTaskSnapshotData.taskSize.flattenToString()); 4201 lastSnapshotData.taskSize = Point.unflattenFromString(attrValue);
|
D | ActivityRecord.java | 2746 final Point taskSize = snapshot.getTaskSize(); in isSnapshotOrientationCompatible() local 2754 return Math.abs(((float) taskSize.x / Math.max(taskSize.y, 1)) in isSnapshotOrientationCompatible()
|
/frameworks/base/core/java/android/app/ |
D | HomeVisibilityListener.java | 110 for (int i = 0, taskSize = tasksTopToBottom.size(); i < taskSize; ++i) { in isHomeActivityVisible()
|
D | ActivityManager.java | 2613 public @Nullable Point taskSize; field in ActivityManager.RecentTaskInfo.PersistedTaskSnapshotData 2634 taskSize = other.taskSize; in set() 2645 taskSize = null; in set() 2651 taskSize = new Point(snapshot.getTaskSize()); in set() 2724 lastSnapshotData.taskSize = source.readTypedObject(Point.CREATOR); in readFromParcel() 2735 dest.writeTypedObject(lastSnapshotData.taskSize, flags); in writeToParcel() 2805 pw.print(" taskSize=" + lastSnapshotData.taskSize); in dump()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | StartingSurfaceDrawer.java | 318 final int taskSize = mStartingWindowRecords.size(); in clearAllWindows() local 319 final int[] taskIds = new int[taskSize]; in clearAllWindows() 320 for (int i = taskSize - 1; i >= 0; --i) { in clearAllWindows() 323 for (int i = taskSize - 1; i >= 0; --i) { in clearAllWindows()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DragResizeWindowGeometryTests.java | 304 TestPoints(@NonNull Size taskSize, int cornerRadius) { in TestPoints() argument 310 mTopRightPoint = new Point(taskSize.getWidth() + cornerRadius - 1, -cornerRadius + 1); in TestPoints() 314 taskSize.getHeight() + cornerRadius - 1); in TestPoints() 317 mBottomRightPoint = new Point(taskSize.getWidth() + cornerRadius - 1, in TestPoints() 318 taskSize.getHeight() + cornerRadius - 1); in TestPoints()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | SnapshotDrawerUtilsTest.java | 73 Point taskSize = new Point(taskBounds.width(), taskBounds.height()); in setupSurface() local 75 final TaskSnapshot snapshot = createTaskSnapshot(width, height, taskSize, contentInsets); in setupSurface() 85 private TaskSnapshot createTaskSnapshot(int width, int height, Point taskSize, in createTaskSnapshot() argument 94 Surface.ROTATION_0, taskSize, contentInsets, new Rect() /* letterboxInsets */, in createTaskSnapshot()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterTestBase.java | 213 Point taskSize = new Point((int) (mWidth / mScaleFraction), in build() local 224 mRotation, taskSize, TEST_CONTENT_INSETS, TEST_LETTERBOX_INSETS, in build()
|
D | TaskSnapshotControllerTest.java | 172 final Point taskSize = new Point(9, 10); in testSnapshotBuilder() local 189 builder.setTaskSize(taskSize); in testSnapshotBuilder() 209 assertEquals(taskSize, snapshot.getTaskSize()); in testSnapshotBuilder()
|
D | RecentTasksTest.java | 1292 assertTrue(lastSnapshotData.taskSize.equals(100, 100)); in testLastSnapshotData_snapshotSaved() 1306 assertTrue(lastSnapshotData.taskSize.equals(100, 100)); in testLastSnapshotData_noBuffer() 1318 assertNull(lastSnapshotData.taskSize); in testLastSnapshotData_notSet() 1376 private TaskSnapshot createSnapshot(Point taskSize, Point bufferSize) { in createSnapshot() argument 1385 Surface.ROTATION_0, taskSize, new Rect() /* contentInsets */, in createSnapshot()
|
/frameworks/base/core/java/android/window/ |
D | TaskSnapshot.java | 95 @NonNull ColorSpace colorSpace, int orientation, int rotation, Point taskSize, in TaskSnapshot() argument 108 mTaskSize = new Point(taskSize); in TaskSnapshot()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/ |
D | StartingSurfaceDrawerTests.java | 361 private TaskSnapshot createTaskSnapshot(int width, int height, Point taskSize, in createTaskSnapshot() argument 370 Surface.ROTATION_0, taskSize, contentInsets, new Rect() /* letterboxInsets */, in createTaskSnapshot()
|