/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayRotationCompatPolicyTests.java | 245 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testTreatmentNotEnabled_noForceRotationOrRefresh() 359 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testCameraReconnected_forceRotationAndRefresh() 373 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testReconnectedToDifferentCamera_forceRotationAndRefresh() 384 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testCameraDisconnected_revertRotationAndRefresh() 390 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testCameraDisconnected_revertRotationAndRefresh() 401 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testGetOrientation_cameraConnectionClosed_returnUnspecified() 406 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testGetOrientation_cameraConnectionClosed_returnUnspecified() 459 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in testGetOrientationForActivityAndNaturalOrientations() 587 assertEquals(mDisplayRotationCompatPolicy.getOrientation(), in assertNoForceRotationOrRefresh()
|
H A D | DisplayAreaGroupTest.java | 96 assertThat(mDisplayAreaGroup.getOrientation()).isEqualTo(SCREEN_ORIENTATION_PORTRAIT); in testGetRequestedOrientationForDisplay() 103 assertThat(mDisplayAreaGroup.getOrientation()).isEqualTo(SCREEN_ORIENTATION_LANDSCAPE); in testGetRequestedOrientationForDisplay() 110 assertThat(mDisplayAreaGroup.getOrientation()).isEqualTo(SCREEN_ORIENTATION_PORTRAIT); in testGetRequestedOrientationForDisplay()
|
H A D | TaskFragmentTest.java | 567 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 572 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 580 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 616 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf0.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 617 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf1.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 618 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, task.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 622 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf0.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 623 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, tf1.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 624 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, task.getOrientation(SCREEN_ORIENTATION_UNSET)); in testIsVisibleWithAdjacent_reportOrientationUnspecified()
|
H A D | WindowContainerTests.java | 583 assertEquals(expectedOrientation, root.getOrientation()); in testGetOrientation_childSpecifiedConfig() 610 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 616 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 635 visibleUnsetChild1VisibleSetBehind.getOrientation()); in testGetOrientation_setBehind() 637 assertEquals(SCREEN_ORIENTATION_BEHIND, root.getOrientation()); in testGetOrientation_setBehind() 657 assertEquals(SCREEN_ORIENTATION_BEHIND, root.getOrientation()); in testGetOrientation_fillsParent() 667 assertEquals(SCREEN_ORIENTATION_BEHIND, root.getOrientation()); in testGetOrientation_fillsParent() 672 assertEquals(SCREEN_ORIENTATION_PORTRAIT, root.getOrientation()); in testGetOrientation_fillsParent() 1754 int getOrientation(int candidate) { in getOrientation() method in WindowContainerTests.TestWindowContainer 1759 int getOrientation() { in getOrientation() method in WindowContainerTests.TestWindowContainer [all …]
|
H A D | TaskTests.java | 625 assertEquals(SCREEN_ORIENTATION_PORTRAIT, task.getRootActivity().getOrientation()); in testFullscreenBoundsForcedOrientation() 698 assertEquals(SCREEN_ORIENTATION_PORTRAIT, task.getOrientation()); in testReportsOrientationRequestInLetterboxForOrientation() 1446 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, parentContainer.getOrientation()); in testNotSpecifyOrientationByFloatingTask() 1447 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, taskDisplayArea.getOrientation()); in testNotSpecifyOrientationByFloatingTask() 1452 assertEquals(SCREEN_ORIENTATION_UNSET, parentContainer.getOrientation()); in testNotSpecifyOrientationByFloatingTask() 1453 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, taskDisplayArea.getOrientation()); in testNotSpecifyOrientationByFloatingTask() 1477 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1483 assertEquals(SCREEN_ORIENTATION_UNSET, secondTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1488 assertEquals(SCREEN_ORIENTATION_UNSET, firstTaskDisplayArea.getOrientation()); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1502 assertEquals(SCREEN_ORIENTATION_UNSET, task.getOrientation()); in testTaskOrientationOnDisplayWindowingModeChange() [all …]
|
H A D | TaskSnapshotLowResDisabledTest.java | 83 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayAreaGroup.java | 59 int getOrientation(int candidate) { in getOrientation() method in DisplayAreaGroup 60 int orientation = super.getOrientation(candidate); in getOrientation()
|
H A D | DisplayRotationReversionController.java | 142 return topActivity != null && topActivity.getOrientation() in isTopFullscreenActivityNoSensor()
|
H A D | DisplayArea.java | 149 int getOrientation(int candidate) { in getOrientation() method in DisplayArea 150 final int orientation = super.getOrientation(candidate); in getOrientation() 734 int getOrientation(int candidate) { in getOrientation() method in DisplayArea.Tokens
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | ButtonBarLayout.java | 54 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking() 163 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ButtonBarLayout.java | 56 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking() 165 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
|
H A D | RemeasuringLinearLayout.java | 60 boolean isVertical = getOrientation() == LinearLayout.VERTICAL; in onMeasure()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/log/ |
H A D | BiometricFrameworkStatsLogger.java | 71 orientationType(operationContext.getOrientation()), in acquired() 97 orientationType(operationContext.getOrientation()), in authenticate() 146 orientationType(operationContext.getOrientation()), in error()
|
H A D | OperationContextExt.java | 239 public int getOrientation() { in getOrientation() method in OperationContextExt
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RadioButton.java | 96 if (radioGroup.getOrientation() == LinearLayout.HORIZONTAL) { in onInitializeAccessibilityNodeInfo()
|
H A D | RadioGroup.java | 488 if (this.getOrientation() == HORIZONTAL) { in onInitializeAccessibilityNodeInfo()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | ThumbnailData.java | 108 orientation = snapshot.getOrientation(); in ThumbnailData()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MicrophoneInfo.java | 293 public Coordinate3F getOrientation() { in getOrientation() method in MicrophoneInfo
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
H A D | SinglePointerTouchProcessor.kt | 145 var nativeOrientation: Float = getOrientation(pointerIndex)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
H A D | DragLayout.java | 140 && getOrientation() != HORIZONTAL) { in onConfigChanged() 144 && getOrientation() != VERTICAL) { in onConfigChanged()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
H A D | OperationContextExtTest.java | 154 assertThat(context.getOrientation()).isEqualTo(rotation); in updatesFromSource()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
H A D | TaskSnapshotWindow.java | 103 final int orientation = snapshot.getOrientation(); in create()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | TaskSnapshot.java | 171 public int getOrientation() {
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | FocusEventDebugView.java | 301 if (getOrientation() == VERTICAL) { in PressedKeyContainer()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | UdfpsController.java | 536 data.getMajor(), data.getOrientation(), data.getTime(), data.getGestureStart(), in logBiometricTouch() 598 data.getOrientation(), in newOnTouch() 628 data.getOrientation(), in newOnTouch()
|