/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarContentInsetsProviderTest.kt | 83 currentRotation, 114 currentRotation, 167 currentRotation, 186 currentRotation, 207 currentRotation, 227 currentRotation, 268 currentRotation, 287 currentRotation, 306 currentRotation, 325 currentRotation, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
H A D | RotationChangeProvider.kt | 91 val currentRotation = display.rotation regex 92 if (lastRotation == null || lastRotation != currentRotation) { 93 listeners.forEach { it.onRotationChanged(currentRotation) } 94 lastRotation = currentRotation
|
/aosp14/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
H A D | RotationResolverManagerService.java | 185 int proposedRotation, int currentRotation, long timeout, in resolveRotation() argument 199 currentRotation, proposedRotation, /* shouldUseCamera */ true, in resolveRotation() 202 request = new RotationResolutionRequest(packageName, currentRotation, in resolveRotation() 215 logRotationStats(proposedRotation, currentRotation, RESOLUTION_DISABLED); in resolveRotation() 245 static void logRotationStatsWithTimeToCalculate(int proposedRotation, int currentRotation, in logRotationStatsWithTimeToCalculate() argument 248 /* previous_orientation= */ surfaceRotationToProto(currentRotation), in logRotationStatsWithTimeToCalculate() 254 static void logRotationStats(int proposedRotation, int currentRotation, in logRotationStats() argument 257 /* previous_orientation= */ surfaceRotationToProto(currentRotation), in logRotationStats()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
H A D | FakeDisplayStateRepository.kt | 30 override val currentRotation: StateFlow<DisplayRotation> = _currentRotation.asStateFlow() 38 fun setCurrentRotation(currentRotation: DisplayRotation) { 39 _currentRotation.value = currentRotation
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
H A D | FloatingRotationButtonPositionCalculator.kt | 18 currentRotation: Int, 22 val isTaskbarSide = currentRotation == Surface.ROTATION_0 23 || currentRotation == Surface.ROTATION_90 26 val gravity = resolveGravity(currentRotation)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | DisplayStateInteractorImplTest.kt | 70 val currentRotation = collectLastValue(interactor.currentRotation) regex 73 assertThat(currentRotation()).isEqualTo(DisplayRotation.ROTATION_180) 76 assertThat(currentRotation()).isEqualTo(DisplayRotation.ROTATION_90)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarContentInsetsProvider.kt | 232 val currentRotation = getExactRotation(context) regex 254 currentRotation, 346 @Rotation currentRotation: Int, 362 val rotZeroBounds = getRotationZeroDisplayBounds(maxBounds, currentRotation) 376 currentRotation) 412 @Rotation currentRotation: Int 425 val relativeRotation = if (currentRotation - targetRotation < 0) { 426 currentRotation - targetRotation + 4 428 currentRotation - targetRotation
|
/aosp14/frameworks/base/core/java/android/service/rotationresolver/ |
H A D | RotationResolutionRequest.java | 92 @Surface.Rotation int currentRotation, in RotationResolutionRequest() argument 99 this.mCurrentRotation = currentRotation; in RotationResolutionRequest() 197 int currentRotation = in.readInt(); in RotationResolutionRequest() local 204 this.mCurrentRotation = currentRotation; in RotationResolutionRequest()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | DisplayStateInteractor.kt | 48 val currentRotation: StateFlow<DisplayRotation> 99 override val currentRotation: StateFlow<DisplayRotation> = 100 displayStateRepository.currentRotation
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
H A D | UnfoldLightRevealOverlayAnimation.kt | 92 private var currentRotation: Int = context.display!!.rotation 244 val rotation = currentRotation 295 currentRotation == Surface.ROTATION_0 || currentRotation == Surface.ROTATION_180 343 if (currentRotation != newRotation) { 344 currentRotation = newRotation
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
H A D | DisplayStateRepositoryTest.kt | 122 val currentRotation by collectLastValue(underTest.currentRotation) regex 138 assertThat(currentRotation).isEqualTo(DisplayRotation.ROTATION_90) 146 assertThat(currentRotation).isEqualTo(DisplayRotation.ROTATION_180)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
H A D | DisplayStateRepository.kt | 54 val currentRotation: StateFlow<DisplayRotation> 113 override val currentRotation: StateFlow<DisplayRotation> =
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
H A D | MediaProjectionTaskView.kt | 149 val currentRotation: Int = display.rotation 170 currentRotation,
|
/aosp14/frameworks/base/core/java/android/rotationresolver/ |
H A D | RotationResolverInternal.java | 58 @Surface.Rotation int currentRotation, @DurationMillisLong long timeoutMillis, in resolveRotation() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowOrientationListener.java | 929 final int currentRotation = mCurrentRotation; in isOrientationAngleAcceptableLocked() local 930 if (currentRotation >= 0) { in isOrientationAngleAcceptableLocked() 935 if (rotation == currentRotation in isOrientationAngleAcceptableLocked() 936 || rotation == (currentRotation + 1) % 4) { in isOrientationAngleAcceptableLocked() 954 if (rotation == currentRotation in isOrientationAngleAcceptableLocked() 955 || rotation == (currentRotation + 3) % 4) { in isOrientationAngleAcceptableLocked()
|
H A D | AsyncRotationController.java | 377 final int currentRotation = mDisplayContent.getWindowConfiguration().getRotation(); in updateRotation() local 378 if (mOriginalRotation == currentRotation) { in updateRotation() 381 Slog.d(TAG, "Update original rotation " + currentRotation); in updateRotation() 382 mOriginalRotation = currentRotation; in updateRotation()
|
H A D | WindowToken.java | 169 int currentRotation) { in FixedRotationTransformStateLegacy() argument 172 mRotator = new SeamlessRotator(rotatedDisplayInfo.rotation, currentRotation, in FixedRotationTransformStateLegacy()
|
H A D | DisplayContent.java | 1804 final int currentRotation = getRotation(); in rotationForActivityInDifferentOrientation() local 1806 currentRotation); in rotationForActivityInDifferentOrientation() 1807 if (rotation == currentRotation) { in rotationForActivityInDifferentOrientation() 2949 final int currentRotation = getRotation(); in updateBaseDisplayMetricsIfNeeded() local 3016 mDisplaySwitchTransitionLauncher.onDisplayUpdated(currentRotation, getRotation(), in updateBaseDisplayMetricsIfNeeded() 5052 final int currentRotation = mDisplayInfo.rotation; in getBounds() local 5053 final int rotationDelta = deltaRotation(currentRotation, rotation); in getBounds()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | PreviewPositionHelper.java | 64 int currentRotation, boolean isRtl) { in updateThumbnailMatrix() argument 69 int deltaRotate = getRotationDelta(currentRotation, thumbnailRotation); in updateThumbnailMatrix()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | FaceScanningProviderFactory.kt | 209 fun Int.baseOnRotation0(@DisplayCutout.BoundsPosition currentRotation: Int): Int { 210 return when (currentRotation) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
H A D | PromptFingerprintIconViewModel.kt | 41 displayStateInteractor.currentRotation,
|
H A D | PromptViewModel.kt | 146 combine(size, displayStateInteractor.currentRotation) { size, rotation ->
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
H A D | PrivacyDotViewController.kt | 259 val currentRotation = RotationUtils.getExactRotation(tl.context) regex 263 if (currentRotation == ROTATION_LANDSCAPE || currentRotation == ROTATION_SEASCAPE) {
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowOrientationListenerTest.java | 160 @Surface.Rotation int currentRotation, @DurationMillisLong long timeoutMillis, in resolveRotation() argument
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | WindowManagerGlobal.java | 706 final int currentRotation = getWindowManagerService().registerProposedRotationListener( in registerProposedRotationListener() local 708 delegate.onRotationChanged(currentRotation); in registerProposedRotationListener()
|