Searched refs:targetRotation (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarContentInsetsProviderTest.kt | 84 targetRotation, 115 targetRotation, 168 targetRotation, 187 targetRotation, 208 targetRotation, 228 targetRotation, 269 targetRotation, 288 targetRotation, 307 targetRotation, 326 targetRotation, [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarContentInsetsProvider.kt | 213 @Rotation targetRotation: Int, 217 return getCalculatedAreaForRotation(targetRotation, rotatedResources) 224 @Rotation targetRotation: Int, 251 targetRotation, 339 @Rotation targetRotation: Int, 367 targetRotation, 403 @Rotation targetRotation: Int, 407 val logicalDisplayWidth = if (targetRotation.isHorizontal()) height else width 417 val relativeRotation = if (currentRotation - targetRotation < 0) { 418 currentRotation - targetRotation + 4 [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowTokenTests.java | 161 final int targetRotation = (originalRotation + 1) % 4; in testFinishFixedRotationTransform() local 163 config.windowConfiguration.setRotation(targetRotation); in testFinishFixedRotationTransform() 168 assertEquals(targetRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform() 169 assertEquals(targetRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | IDisplayWindowRotationCallback.aidl | 28 void continueRotateDisplay(int targetRotation, in WindowContainerTransaction t); in continueRotateDisplay() argument
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 232 public void rotateTo(Resources res, @Surface.Rotation int targetRotation) { in rotateTo() argument 233 final int rotationDelta = (targetRotation - mRotation + 4) % 4; in rotateTo() 239 mRotation = targetRotation; in rotateTo()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayRotation.java | 224 public void continueRotateDisplay(int targetRotation, 229 targetRotation, t)); 579 private void continueRotation(int targetRotation, WindowContainerTransaction t) { in continueRotation() argument 581 if (targetRotation != mRotation || !mIsWaitingForRemoteRotation) { in continueRotation()
|
H A D | ActivityRecord.java | 2256 final int targetRotation = rotation != ROTATION_UNDEFINED in isSnapshotCompatible() local 2261 return snapshot.getRotation() == targetRotation; in isSnapshotCompatible()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
H A D | MaterialProgressDrawable.java | 364 float targetRotation = (float) (Math.floor(ring.getStartingRotation() / MAX_PROGRESS_ARC) in applyFinishTranslation() local 373 + ((targetRotation - ring.getStartingRotation()) * interpolatedTime); in applyFinishTranslation()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorations.java | 1429 int targetRotation) { in RestartingPreDrawListener() argument 1431 mTargetRotation = targetRotation; in RestartingPreDrawListener()
|