Home
last modified time | relevance | path

Searched refs:setRotation (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonTransitions.java53 private static void setRotation(UiDevice device, int rotation) { in setRotation() method in CommonTransitions
150 .runBefore(() -> setRotation(device, beginRotation)) in changeAppRotation()
151 .run(() -> setRotation(device, endRotation)) in changeAppRotation()
153 .runAfterAll(() -> setRotation(device, Surface.ROTATION_0)) in changeAppRotation()
171 .runBefore(() -> setRotation(device, beginRotation)) in changeAppRotation()
172 .run(() -> setRotation(device, endRotation)) in changeAppRotation()
174 .runAfterAll(() -> setRotation(device, Surface.ROTATION_0)) in changeAppRotation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DImageClock.java63 mHourHand.setRotation(hourAngle); in onTimeChanged()
65 mMinuteHand.setRotation(minuteAngle); in onTimeChanged()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java73 public boolean setRotation(int rotation) { in setRotation() method in UiAutomatorBridge
74 return mUiAutomation.setRotation(rotation); in setRotation()
DInteractionController.java570 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_270);
582 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_90);
594 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_0);
603 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_FREEZE_CURRENT);
612 mUiAutomatorBridge.setRotation(UiAutomation.ROTATION_UNFREEZE);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java79 winConfig4.setRotation(Surface.ROTATION_90); in testDiff()
142 winConfig2.setRotation(Surface.ROTATION_180); in testConfigurationCompareTo()
145 winConfig2.setRotation(winConfig1.getRotation()); in testConfigurationCompareTo()
DDisplayPolicyLayoutTests.java94 public void setRotation(int rotation) { in setRotation() method in DisplayPolicyLayoutTests
290 setRotation(ROTATION_90); in layoutWindowLw_withDisplayCutout_landscape()
309 setRotation(ROTATION_270); in layoutWindowLw_withDisplayCutout_seascape()
328 setRotation(ROTATION_90); in layoutWindowLw_withDisplayCutout_fullscreen_landscape()
367 setRotation(ROTATION_90); in layoutWindowLw_withDisplayCutout_fullscreenInCutout_landscape()
DDisplayContentTests.java449 dc.setRotation(Surface.ROTATION_0); in testDisplayCutout_rot0()
480 dc.setRotation(Surface.ROTATION_90); in testDisplayCutout_rot90()
612 portraitDisplay.setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
614 portraitDisplay.setRotation(Surface.ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
621 landscapeDisplay.setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
623 landscapeDisplay.setRotation(Surface.ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
DRecentsAnimationControllerTest.java136 mDisplayContent.getConfiguration().windowConfiguration.setRotation( in testIncludedApps_expectTargetAndVisible()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java323 public void setRotation(int rotation) { in setRotation() method in WindowConfiguration
370 setRotation(other.mRotation); in setTo()
387 setRotation(ROTATION_UNDEFINED); in setToDefaults()
427 setRotation(delta.mRotation); in updateFrom()
DIUiAutomationConnection.aidl41 boolean setRotation(int rotation); in setRotation() method
DUiAutomation.java639 public boolean setRotation(int rotation) { in setRotation() method in UiAutomation
652 mUiAutomationConnection.setRotation(rotation); in setRotation()
/frameworks/base/core/java/android/transition/
DRotate.java54 view.setRotation(startRotation); in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DSlashImageView.java82 mSlash.setRotation(slashState.rotation); in setSlashState()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java118 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
131 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/libs/hwui/tests/unit/
DDamageAccumulatorTests.cpp117 node2.animatorProperties().setRotation(20.0f); in TEST()
DVectorDrawableTests.cpp372 properties->setRotation(1.0f); in TEST()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp206 static void setRotation(JNIEnv*, jobject, jlong groupPtr, jfloat rotation) { in setRotation() function
208 group->mutateStagingProperties()->setRotation(rotation); in setRotation()
388 {"nSetRotation", "(JF)V", (void*)setRotation},
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java76 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp()
81 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DContactsExpansion.java113 arrow.setRotation(expanded ? 0 : 90); in ToggleScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java57 drawable.setRotation(degree);
112 public void setRotation(float degrees) { in setRotation() method in KeyButtonDrawable
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java305 setRotation(t, originalRotation); in ScreenRotationAnimation()
361 private void setRotation(SurfaceControl.Transaction t, int rotation) { in setRotation() method in ScreenRotationAnimation
374 public boolean setRotation(SurfaceControl.Transaction t, int rotation, in setRotation() method in ScreenRotationAnimation
376 setRotation(t, rotation); in setRotation()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java298 group.setRotation(rotate); in nUpdateGroupProperties()
335 group.setRotation(rotation); in nSetRotation()
827 return this::setRotation; in getPropertySetter()
900 private void setRotation(float rotation) { in setRotation() method in VectorDrawable_Delegate.VGroup_Delegate
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java96 public void setRotation(float rotation) { in setRotation() method in SlashDrawable
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java573 mCutoutTop.setRotation(mRotation); in updateViews()
574 mCutoutBottom.setRotation(mRotation); in updateViews()
620 v.setRotation(rotation); in updateView()
897 public void setRotation(int rotation) { in setRotation() method in ScreenDecorations.DisplayCutoutView
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java210 mGuide.setRotation(rotation); in onLayout()

123