Home
last modified time | relevance | path

Searched refs:mLetterbox (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java50 Letterbox mLetterbox; field in LetterboxTest
64 mLetterbox = new Letterbox(mSurfaces, StubTransaction::new, in setUp()
88 new LetterboxLayoutVerifier(outer, surfaceOrig, mLetterbox); in testNotIntersectsOrFullyContains_usesGlobalCoordinates()
118 final Letterbox mLetterbox; field in LetterboxTest.LetterboxLayoutVerifier
129 mLetterbox = letterbox; in LetterboxLayoutVerifier()
134 mLetterbox.layout(mOuter, mInner, mSurfaceOrig); in setInner()
146 assertEquals(mLetterbox.notIntersectsOrFullyContains(mTop), in verifyPositions()
148 assertEquals(mLetterbox.notIntersectsOrFullyContains(mBottom), in verifyPositions()
150 assertEquals(mLetterbox.notIntersectsOrFullyContains(mLeft), in verifyPositions()
152 assertEquals(mLetterbox.notIntersectsOrFullyContains(mRight), in verifyPositions()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java224 private Letterbox mLetterbox; field in LetterboxUiController
360 if (mLetterbox != null) { in destroy()
361 mLetterbox.destroy(); in destroy()
362 mLetterbox = null; in destroy()
371 if (mLetterbox != null) { in onMovedToDisplay()
372 mLetterbox.onMovedToDisplay(displayId); in onMovedToDisplay()
739 if (mLetterbox != null) { in getLetterboxInsets()
740 return mLetterbox.getInsets(); in getLetterboxInsets()
748 if (mLetterbox != null) { in getLetterboxInnerBounds()
749 outBounds.set(mLetterbox.getInnerFrame()); in getLetterboxInnerBounds()
[all …]