Home
last modified time | relevance | path

Searched refs:getRotation (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java60 if (getRotation() == Surface.ROTATION_0) { in setActivityOrientation()
72 public int getRotation() { in getRotation() method in VulkanPreTransformCtsActivity
75 .getRotation(); in getRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java79 mCameraPreviewRotation = CameraStreamManager.getRotation(context, mOpenGlRotation); in BaseRenderer()
298 switch (display.getRotation()) { in getDeviceRotation()
323 int currentRotation = ORIENTATION_COUNT - display.getRotation(); in getDeviceRotation()
329 currentRotation = display.getRotation(); in getDeviceRotation()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java77 mUserRotation = mActivity.getWindowManager().getDefaultDisplay().getRotation(); in setup()
167 switch (display.getRotation()) { in rotate()
190 if (mActivity.getWindowManager().getDefaultDisplay().getRotation() != nextRotation) { in rotate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java162 switch (windowManager.getDefaultDisplay().getRotation()) { in getRequiredRotation()
DRVCVRecordActivity.java128 mDeviceRotation = windowManager.getDefaultDisplay().getRotation(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java133 switch (display.getRotation()) { in lockRotation()
172 setRequestedOrientation(orientationMap[(display.getRotation() + indexOffset) % 4]); in lockRotation()
/cts/tests/tests/view/src/android/view/cts/
DViewAnimationMatrixTest.java101 matrix.setRotate(-view.getRotation(), lp.width / 2f, lp.height / 2f); in moveToTopLeftCorner()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeTransformTest.java91 assertEquals(45f, redSquare.getRotation(), 0.0f); in testRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java311 public static int getRotation(Context context, int deviceRotation) { in getRotation() method in CameraStreamManager
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java736 orientation, mAmWmState.getWmState().getRotation()); in requestOrientationInSplitScreen()
742 orientation, mAmWmState.getWmState().getRotation()); in requestOrientationInSplitScreen()
DConfigChangeTests.java169 final int currentRotation = mAmWmState.getWmState().getRotation(); in getLifecycleCountsForRotation()
DMultiDisplayPolicyTests.java230 final int initialRotation = mAmWmState.getWmState().getRotation(); in testRotationNotAffectingSecondaryScreen()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java208 Surface.ROTATION_0, display.getRotation()); in assertDisplayRegistered()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java560 .getRotation(); in calculateOrientations()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java257 public int getRotation() { in getRotation() method in WindowManagerState
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java157 int displayRotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in updatePreviewDisplayRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java456 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in setUpCamera()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java279 waitForWithWmState(state -> state.getRotation() == rotation, in waitForRotation()
DWindowManagerState.java440 public int getRotation() { in getRotation() method in WindowManagerState
DCommandSession.java981 rotation = display.getRotation();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java847 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in setUpCamera()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java2355 int displayRotation = display.getRotation(); in testCameraOrientationAlignedWithDevice()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt4321 name: "getRotation"