Home
last modified time | relevance | path

Searched refs:getOrientation (Results 1 – 25 of 64) sorted by relevance

123

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationCompatPolicyTests.java245 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 DDisplayAreaGroupTest.java96 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 DTaskFragmentTest.java567 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 DWindowContainerTests.java583 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 DTaskTests.java625 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 DTaskSnapshotLowResDisabledTest.java83 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayAreaGroup.java59 int getOrientation(int candidate) { in getOrientation() method in DisplayAreaGroup
60 int orientation = super.getOrientation(candidate); in getOrientation()
H A DDisplayRotationReversionController.java142 return topActivity != null && topActivity.getOrientation() in isTopFullscreenActivityNoSensor()
H A DDisplayArea.java149 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 DButtonBarLayout.java54 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 DButtonBarLayout.java56 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking()
165 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
H A DRemeasuringLinearLayout.java60 boolean isVertical = getOrientation() == LinearLayout.VERTICAL; in onMeasure()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/log/
H A DBiometricFrameworkStatsLogger.java71 orientationType(operationContext.getOrientation()), in acquired()
97 orientationType(operationContext.getOrientation()), in authenticate()
146 orientationType(operationContext.getOrientation()), in error()
H A DOperationContextExt.java239 public int getOrientation() { in getOrientation() method in OperationContextExt
/aosp14/frameworks/base/core/java/android/widget/
H A DRadioButton.java96 if (radioGroup.getOrientation() == LinearLayout.HORIZONTAL) { in onInitializeAccessibilityNodeInfo()
H A DRadioGroup.java488 if (this.getOrientation() == HORIZONTAL) { in onInitializeAccessibilityNodeInfo()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DThumbnailData.java108 orientation = snapshot.getOrientation(); in ThumbnailData()
/aosp14/frameworks/base/media/java/android/media/
H A DMicrophoneInfo.java293 public Coordinate3F getOrientation() { in getOrientation() method in MicrophoneInfo
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
H A DSinglePointerTouchProcessor.kt145 var nativeOrientation: Float = getOrientation(pointerIndex)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragLayout.java140 && getOrientation() != HORIZONTAL) { in onConfigChanged()
144 && getOrientation() != VERTICAL) { in onConfigChanged()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
H A DOperationContextExtTest.java154 assertThat(context.getOrientation()).isEqualTo(rotation); in updatesFromSource()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DTaskSnapshotWindow.java103 final int orientation = snapshot.getOrientation(); in create()
/aosp14/frameworks/base/core/java/android/window/
H A DTaskSnapshot.java171 public int getOrientation() {
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DFocusEventDebugView.java301 if (getOrientation() == VERTICAL) { in PressedKeyContainer()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsController.java536 data.getMajor(), data.getOrientation(), data.getTime(), data.getGestureStart(), in logBiometricTouch()
598 data.getOrientation(), in newOnTouch()
628 data.getOrientation(), in newOnTouch()

123