/aosp14/frameworks/base/core/java/android/util/ |
H A D | RotationUtils.java | 44 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets() 100 @Rotation int rotation) { in rotateBounds() 134 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds() 152 @Rotation int rotation) { in rotateSurface() 177 public static void rotatePoint(Point inOutPoint, @Rotation int rotation, in rotatePoint() 200 public static void rotatePointF(PointF inOutPoint, @Rotation int rotation, in rotatePointF() 227 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates() 258 public static int reverseRotationDirectionAroundZAxis(@Surface.Rotation int rotation) { in reverseRotationDirectionAroundZAxis()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/udfps/ |
H A D | UdfpsUtilsTest.java | 56 int rotation = Surface.ROTATION_0; in testTouchOutsideAreaNoRotation() local 90 int rotation = Surface.ROTATION_90; in testTouchOutsideAreaNoRotation90Degrees() local 124 int rotation = Surface.ROTATION_270; in testTouchOutsideAreaNoRotation270Degrees() local
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | VideoTrackDecoder.java | 43 public void grabFrame(FrameImage2D outputVideoFrame, int rotation) { in grabFrame() 87 protected static boolean needSwapDimension(int rotation) { in needSwapDimension() 106 protected abstract void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation); in copyFrameDataTo()
|
H A D | GpuVideoTrackDecoder.java | 146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo() 203 private static float[] getRotationCoords(int rotation) { in getRotationCoords()
|
H A D | CpuVideoTrackDecoder.java | 102 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo() 137 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) { in copyRotate()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayRotationTests.java | 339 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() local 487 private SensorEvent createSensorEvent(int rotation) throws Exception { in createSensorEvent() 712 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() local 996 final int rotation = mTarget.rotationForOrientation( in testReturnsUserRotation_FixedToUserRotation_IgnoreIncompatibleAppRequest() local 1237 private void freezeRotation(int rotation) { in freezeRotation() 1303 private DisplayRotationBuilder setLidOpenRotation(int rotation) { in setLidOpenRotation() 1308 private DisplayRotationBuilder setCarDockRotation(int rotation) { in setCarDockRotation() 1313 private DisplayRotationBuilder setDeskDockRotation(int rotation) { in setDeskDockRotation() 1318 private DisplayRotationBuilder setUndockedHdmiRotation(int rotation) { in setUndockedHdmiRotation() 1404 private int convertRotationToDegrees(@Surface.Rotation int rotation) { in convertRotationToDegrees() [all …]
|
H A D | DisplayPolicyTestsBase.java | 78 DisplayInfo displayInfoAndCutoutForRotation(int rotation, boolean withDisplayCutout, in displayInfoAndCutoutForRotation() 94 private static DisplayCutout displayCutoutForRotation(int rotation, boolean isLongEdgeCutout) { in displayCutoutForRotation()
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 59 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, in dumpWindowToFile() 82 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, in dumpWindowToFile() 140 int rotation = display.getRotation(); in dumpWindowsToFile() local 144 dumpWindowRec(windows.get(i), serializer, i, size.x, size.y, rotation); in dumpWindowsToFile() local 160 int index, int width, int height, int rotation) throws IOException { in dumpWindowRec()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | PrivacyIndicatorBounds.java | 50 public PrivacyIndicatorBounds(@NonNull Rect[] staticBounds, @Surface.Rotation int rotation) { in PrivacyIndicatorBounds() 67 @Surface.Rotation int rotation) { in updateBoundsForRotation() 107 public PrivacyIndicatorBounds rotate(@Surface.Rotation int rotation) { in rotate() 215 int rotation = in.readInt(); in PrivacyIndicatorBounds() local
|
H A D | IRotationWatcher.aidl | 24 void onRotationChanged(int rotation); in onRotationChanged()
|
H A D | DisplayShape.java | 66 float physicalPixelDisplaySizeRatio, int rotation) { in DisplayShape() 72 float physicalPixelDisplaySizeRatio, int rotation, int offsetX, int offsetY, in DisplayShape() 175 public DisplayShape setRotation(int rotation) { in setRotation()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | RotationPolicy.java | 79 final int rotation = in getRotationLockOrientation() local 109 final int rotation = areAllRotationsAllowed(context) in setRotationLock() local 119 final int rotation) { in setRotationLockAtAngle() 149 private static void setRotationLock(final boolean enabled, final int rotation) { in setRotationLock()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayRotationCoordinator.java | 50 void onDefaultDisplayRotationChanged(@Surface.Rotation int rotation) { in onDefaultDisplayRotationChanged() 58 void setDefaultDisplayDefaultRotation(@Surface.Rotation int rotation) { in setDefaultDisplayDefaultRotation()
|
H A D | DisplayRotation.java | 357 final int rotation = mContext.getResources().getInteger(resID); in readRotation() local 445 void applyCurrentRotation(@Surface.Rotation int rotation) { in applyCurrentRotation() 453 void setRotation(@Surface.Rotation int rotation) { in setRotation() 560 int rotation = rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked() local 956 void freezeRotation(int rotation) { in freezeRotation() 1181 final int rotation = rotationForOrientation(mLastOrientation, oldRotation); in needsUpdate() local 1416 boolean isLandscapeOrSeascape(@Surface.Rotation final int rotation) { in isLandscapeOrSeascape() 1420 boolean isAnyPortrait(@Surface.Rotation final int rotation) { in isAnyPortrait() 1535 private void sendProposedRotationChangeToStatusBarInternal(int rotation, boolean isValid) { in sendProposedRotationChangeToStatusBarInternal() 1544 void dispatchProposedRotation(@Surface.Rotation int rotation) { in dispatchProposedRotation()
|
H A D | RotationWatcherController.java | 111 void dispatchDisplayRotationChange(int displayId, int rotation) { in dispatchDisplayRotationChange() 121 void dispatchProposedRotation(DisplayContent dc, int rotation) { in dispatchProposedRotation() 206 void notifyRotation(int rotation) { in notifyRotation()
|
/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/util/ |
H A D | ExtensionHelperTest.java | 82 private static DisplayInfo getMockDisplayInfo(@Surface.Rotation int rotation) { in getMockDisplayInfo() 101 private static Rect getExpectedFeatureRectAfterRotation(@Surface.Rotation int rotation) { in getExpectedFeatureRectAfterRotation()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/utils/ |
H A D | RotationCache.java | 48 public R getOrCompute(T t, int rotation) { in getOrCompute() 68 R compute(T t, int rotation); in compute()
|
H A D | CoordinateTransforms.java | 42 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates() 72 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
H A D | DisplayUtils.java | 54 int rotation = d.getRotation(); in getWidth() local 74 int rotation = d.getRotation(); in getHeight() local
|
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
H A D | ExtensionHelper.java | 54 int displayId, @Surface.Rotation int rotation, @NonNull Rect inOutRect) { in rotateRectToDisplayRotation() 67 @Surface.Rotation int rotation, @NonNull Rect inOutRect) { in rotateRectToDisplayRotation()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsColumnLayout.java | 55 int rotation = getCurrentRotation(); in shouldReverseListItems() local 142 int rotation = getCurrentRotation(); in shouldSnapToPowerButton() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | ScreenPinningRequest.java | 179 public FrameLayout.LayoutParams getRequestLayoutParams(int rotation) { in getRequestLayoutParams() 208 int rotation = getRotation(mContext); in onAttachedToWindow() local 250 private void inflateView(int rotation) { in inflateView()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
H A D | DisplayStateRepository.kt | 106 var rotation = cachedDisplayInfo.rotation regex 122 val rotation = getDisplayRotation() regex
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
H A D | FakeRotationLockController.java | 59 public void setRotationLockedAtAngle(boolean locked, int rotation) { in setRotationLockedAtAngle()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RotationLockController.java | 28 void setRotationLockedAtAngle(boolean locked, int rotation); in setRotationLockedAtAngle()
|