Home
last modified time | relevance | path

Searched refs:letterboxInsets (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.kt34 @JvmField var letterboxInsets: Rect = Rect(), in <lambda>() variable in com.android.systemui.shared.recents.model.ThumbnailData
86 letterboxInsets = Rect(snapshot.letterboxInsets), in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java107 thumbnailClipHint.left = thumbnailData.letterboxInsets.left; in updateThumbnailMatrix()
108 thumbnailClipHint.right = thumbnailData.letterboxInsets.right; in updateThumbnailMatrix()
109 thumbnailClipHint.top = thumbnailData.letterboxInsets.top; in updateThumbnailMatrix()
110 thumbnailClipHint.bottom = thumbnailData.letterboxInsets.bottom; in updateThumbnailMatrix()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java205 final Rect letterboxInsets = mSnapshot.getLetterboxInsets(); in drawSizeMismatchSnapshot() local
206 float offsetX = letterboxInsets.left; in drawSizeMismatchSnapshot()
207 float offsetY = letterboxInsets.top; in drawSizeMismatchSnapshot()
213 if (letterboxInsets.left != 0 || letterboxInsets.top != 0 in drawSizeMismatchSnapshot()
214 || letterboxInsets.right != 0 || letterboxInsets.bottom != 0) { in drawSizeMismatchSnapshot()
216 crop = calculateSnapshotCrop(letterboxInsets); in drawSizeMismatchSnapshot()
DTaskSnapshot.java96 Rect contentInsets, Rect letterboxInsets, boolean isLowResolution, in TaskSnapshot() argument
110 mLetterboxInsets = new Rect(letterboxInsets); in TaskSnapshot()
422 public Builder setLetterboxInsets(Rect letterboxInsets) {
423 mLetterboxInsets = letterboxInsets;
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java313 final Rect letterboxInsets = getLetterboxInsets(activity); in prepareTaskSnapshot() local
314 InsetUtils.addInsets(contentInsets, letterboxInsets); in prepareTaskSnapshot()
318 builder.setLetterboxInsets(letterboxInsets); in prepareTaskSnapshot()
447 final Rect letterboxInsets = getLetterboxInsets(topActivity); in drawAppThemeSnapshot() local
448 InsetUtils.addInsets(contentInsets, letterboxInsets); in drawAppThemeSnapshot()
457 contentInsets, letterboxInsets, false /* isLowResolution */, in drawAppThemeSnapshot()
DAccessibilityController.java1080 final Rect letterboxInsets = appToken.getLetterboxInsets(); in getLetterboxBounds() local
1086 Insets.subtract(Insets.NONE, Insets.of(letterboxInsets))); in getLetterboxBounds()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java171 final Rect letterboxInsets = new Rect(5, 6, 7, 8); in testSnapshotBuilder() local
184 builder.setLetterboxInsets(letterboxInsets); in testSnapshotBuilder()
205 assertEquals(letterboxInsets, snapshot.getLetterboxInsets()); in testSnapshotBuilder()