Home
last modified time | relevance | path

Searched refs:newOrientation (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSPanelTest.kt165 private fun getNewOrientationConfig(@Configuration.Orientation newOrientation: Int) =
166 context.resources.configuration.apply { orientation = newOrientation }
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainerController.java584 int newOrientation = getResources().getConfiguration().orientation; in updateResources() local
585 if (newOrientation != mLastOrientation) { in updateResources()
586 mLastOrientation = newOrientation; in updateResources()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DDialogUiTest.java271 final int newOrientation = originalOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in getOrientations() local
274 return new int[]{originalOrientation, newOrientation}; in getOrientations()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotation.java372 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation() argument
373 if (newOrientation == mLastOrientation && !forceUpdate) { in updateOrientation()
376 mLastOrientation = newOrientation; in updateOrientation()
377 if (newOrientation != mCurrentAppOrientation) { in updateOrientation()
378 mCurrentAppOrientation = newOrientation; in updateOrientation()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayContentTests.java987 final int newOrientation = getRotatedOrientation(dc); in testOnDescendantOrientationRequestChanged() local
994 activity.setRequestedOrientation(newOrientation); in testOnDescendantOrientationRequestChanged()
1006 final int newOrientation = getRotatedOrientation(dc); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() local
1013 activity.setRequestedOrientation(newOrientation); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
1027 final int newOrientation = getRotatedOrientation(dc); in testFixedToUserRotationChanged() local
1034 activity.setRequestedOrientation(newOrientation); in testFixedToUserRotationChanged()
1337 final int newOrientation = getRotatedOrientation(mDisplayContent); in testApplyTopFixedRotationTransform() local
1338 app.setRequestedOrientation(newOrientation); in testApplyTopFixedRotationTransform()
1404 app2.setRequestedOrientation(newOrientation); in testApplyTopFixedRotationTransform()
1543 final int newOrientation = getRotatedOrientation(mDisplayContent); in testNoFixedRotationOnResumedScheduledApp() local
[all …]