Searched refs:mLetterbox (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LetterboxTest.java | 44 Letterbox mLetterbox; field in LetterboxTest 51 mLetterbox = new Letterbox(mSurfaces); in setUp() 57 mLetterbox.layout(new Rect(0, 0, 10, 50), new Rect(0, 2, 10, 45), new Point(1000, 2000)); in testOverlappingWith_usesGlobalCoordinates() 58 assertTrue(mLetterbox.isOverlappingWith(new Rect(0, 0, 1, 1))); in testOverlappingWith_usesGlobalCoordinates() 63 mLetterbox.layout(new Rect(0, 0, 10, 10), new Rect(0, 1, 10, 10), new Point(1000, 2000)); in testSurfaceOrigin_applied() 64 mLetterbox.applySurfaceChanges(mTransaction); in testSurfaceOrigin_applied() 70 mLetterbox.layout(new Rect(0, 0, 10, 10), new Rect(0, 1, 10, 10), new Point(1000, 2000)); in testSurfaceOrigin_changeCausesReapply() 71 mLetterbox.applySurfaceChanges(mTransaction); in testSurfaceOrigin_changeCausesReapply() 73 mLetterbox.layout(new Rect(0, 0, 10, 10), new Rect(0, 1, 10, 10), new Point(0, 0)); in testSurfaceOrigin_changeCausesReapply() 74 assertTrue(mLetterbox.needsApplySurfaceChanges()); in testSurfaceOrigin_changeCausesReapply() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowToken.java | 300 private Letterbox mLetterbox; field in AppWindowToken 941 if (mLetterbox != null) { in onRemovedFromDisplay() 942 mLetterbox.destroy(); in onRemovedFromDisplay() 943 mLetterbox = null; in onRemovedFromDisplay() 1384 if (mLetterbox != null) { in onDisplayChanged() 1385 mLetterbox.onMovedToDisplay(mDisplayContent.getDisplayId()); in onDisplayChanged() 2025 if (mLetterbox == null) { in layoutLetterbox() 2026 mLetterbox = new Letterbox(() -> makeChildSurface(null)); in layoutLetterbox() 2027 mLetterbox.attachInput(w); in layoutLetterbox() 2035 mLetterbox.layout(spaceToFill, w.getFrameLw(), mTmpPoint); in layoutLetterbox() [all …]
|