Home
last modified time | relevance | path

Searched refs:rotatedState (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java118 final InsetsState rotatedState = target.mToken.getFixedRotationTransformInsetsState(); in getInsetsForWindow() local
119 if (rotatedState != null) { in getInsetsForWindow()
120 return rotatedState; in getInsetsForWindow()
135 final InsetsState rotatedState = token.getFixedRotationTransformInsetsState(); in getInsetsForWindowMetrics() local
136 if (rotatedState != null) { in getInsetsForWindowMetrics()
137 return rotatedState; in getInsetsForWindowMetrics()
DDisplayContent.java1835 final InsetsState rotatedState = in notifyInsetsChanged() local
1837 if (rotatedState != null) { in notifyInsetsChanged()
1842 rotatedState.setSourceVisible(i, source.isVisible()); in notifyInsetsChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java327 final InsetsState rotatedState = new InsetsState(app.getInsetsState(), in testTransientVisibilityOfFixedRotationState() local
330 doReturn(rotatedState).when(app.mToken).getFixedRotationTransformInsetsState(); in testTransientVisibilityOfFixedRotationState()
331 assertTrue(rotatedState.getSource(ITYPE_STATUS_BAR).isVisible()); in testTransientVisibilityOfFixedRotationState()
DDisplayContentTests.java1355 final InsetsState rotatedState = app.getFixedRotationTransformInsetsState(); in testApplyTopFixedRotationTransform() local
1358 rotatedState.getSource(ITYPE_STATUS_BAR).isVisible()); in testApplyTopFixedRotationTransform()
1360 !rotatedState.getSource(ITYPE_STATUS_BAR).isVisible()); in testApplyTopFixedRotationTransform()
1363 rotatedState.getSource(ITYPE_STATUS_BAR).isVisible()); in testApplyTopFixedRotationTransform()