Searched refs:targetRotation (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProviderTest.kt | 88 var targetRotation = ROTATION_NONE in testGetBoundingRectForPrivacyChipForRotation_noCutout() variable 92 targetRotation, in testGetBoundingRectForPrivacyChipForRotation_noCutout() 112 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 122 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 125 targetRotation = ROTATION_LANDSCAPE in testGetBoundingRectForPrivacyChipForRotation_noCutout() 129 targetRotation, in testGetBoundingRectForPrivacyChipForRotation_noCutout() 149 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 159 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 194 var targetRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection() variable 201 targetRotation, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 249 @Rotation targetRotation: Int, in <lambda>() 254 return getCalculatedAreaForRotation(sysUICutout, targetRotation, rotatedResources).also { in <lambda>() 261 @Rotation targetRotation: Int, in <lambda>() 287 val bottomAlignedMargin = getBottomAlignedMargin(targetRotation, rotatedResources) in <lambda>() 293 targetRotation, in <lambda>() 296 SystemBarUtils.getStatusBarHeightForRotation(context, targetRotation), in <lambda>() 336 private fun getBottomAlignedMargin(targetRotation: Int, resources: Resources): Int { in <lambda>() 337 val override = marginBottomOverrides[targetRotation] in <lambda>() 342 when (targetRotation) { in <lambda>() 347 else -> throw IllegalStateException("Unknown rotation: $targetRotation") in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipDisplayLayoutState.java | 114 public void rotateTo(@Surface.Rotation int targetRotation) { in rotateTo() argument 115 mDisplayLayout.rotateTo(mContext.getResources(), targetRotation); in rotateTo() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTokenTests.java | 176 final int targetRotation = (originalRotation + 1) % 4; in testFinishFixedRotationTransform() local 178 config.windowConfiguration.setRotation(targetRotation); in testFinishFixedRotationTransform() 183 assertEquals(targetRotation, tokens[0].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform() 184 assertEquals(targetRotation, tokens[1].getWindowConfiguration().getRotation()); in testFinishFixedRotationTransform()
|
D | ActivityRecordTests.java | 2043 final int targetRotation = currentRotation + 1; in testIsSnapshotCompatibleTaskSizeChanged() local 2044 doReturn(targetRotation).when(mDisplayContent) in testIsSnapshotCompatibleTaskSizeChanged() 2048 .setRotation(targetRotation) in testIsSnapshotCompatibleTaskSizeChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 1547 int targetRotation, Point targetDisplaySize) { in RestartingPreDrawListener() argument 1549 mTargetRotation = targetRotation; in RestartingPreDrawListener()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TransitionController.java | 653 boolean hasCollectingRotationChange(@NonNull WindowContainer<?> wc, int targetRotation) { in hasCollectingRotationChange() argument 657 return changeInfo != null && changeInfo.mRotation != targetRotation; in hasCollectingRotationChange()
|
D | DisplayRotation.java | 680 private void continueRotation(int targetRotation, WindowContainerTransaction t) { in continueRotation() argument 681 if (targetRotation != mRotation) { in continueRotation()
|
D | ActivityRecord.java | 2735 final int targetRotation = rotation != ROTATION_UNDEFINED in isSnapshotOrientationCompatible() local 2740 if (snapshot.getRotation() != targetRotation) { in isSnapshotOrientationCompatible() 2747 if ((Math.abs(currentRotation - targetRotation) % 2) == 1) { in isSnapshotOrientationCompatible()
|