Home
last modified time | relevance | path

Searched defs:rotation (Results 1 – 25 of 269) sorted by relevance

1234567891011

/frameworks/base/core/java/android/util/
DRotationUtils.java45 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets()
101 @Rotation int rotation) { in rotateBounds()
135 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds()
153 @Rotation int rotation) { in rotateSurface()
178 public static void rotatePoint(Point inOutPoint, @Rotation int rotation, in rotatePoint()
201 public static void rotatePointF(PointF inOutPoint, @Rotation int rotation, in rotatePointF()
228 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
259 public static int reverseRotationDirectionAroundZAxis(@Surface.Rotation int rotation) { in reverseRotationDirectionAroundZAxis()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsUtilsTest.java62 int rotation = Surface.ROTATION_0; in testTouchOutsideAreaNoRotation() local
104 int rotation = Surface.ROTATION_90; in testTouchOutsideAreaRotation90Degrees() local
146 int rotation = Surface.ROTATION_270; in testTouchOutsideAreaRotation270Degrees() local
/frameworks/native/include/ui/
DRotation.h38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
60 constexpr const char* toCString(Rotation rotation) { in toCString()
/frameworks/av/media/libheadtracking/include/media/
DPose.h38 Pose3f(const Eigen::Vector3f& translation, const Eigen::Quaternionf& rotation) in Pose3f()
44 explicit Pose3f(const Eigen::Quaternionf& rotation) in Pose3f()
77 Eigen::Quaternionf rotation() const { return mRotation; }; in rotation() function
/frameworks/native/libs/ui/include/ui/
DRotation.h38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
60 constexpr const char* toCString(Rotation rotation) { in toCString()
/frameworks/native/libs/ui/include_vndk/ui/
DRotation.h38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
60 constexpr const char* toCString(Rotation rotation) { in toCString()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DVideoTrackDecoder.java43 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()
DGpuVideoTrackDecoder.java146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo()
203 private static float[] getRotationCoords(int rotation) { in getRotationCoords()
/frameworks/native/services/inputflinger/docs/
Dinput_coordinates.md21 ### Natural orientation: No rotation
54 ### Rotated orientation: 90-degree counter-clockwise rotation
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java59 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()
/frameworks/base/core/java/android/view/
DPrivacyIndicatorBounds.java50 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
DIRotationWatcher.aidl24 void onRotationChanged(int rotation); in onRotationChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java415 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() local
563 private SensorEvent createSensorEvent(int rotation) throws Exception { in createSensorEvent()
790 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() local
1076 final int rotation = mTarget.rotationForOrientation( in testReturnsUserRotation_FixedToUserRotation_IgnoreIncompatibleAppRequest() local
1342 private void freezeRotation(int rotation) { in freezeRotation()
1408 private DisplayRotationBuilder setLidOpenRotation(int rotation) { in setLidOpenRotation()
1413 private DisplayRotationBuilder setCarDockRotation(int rotation) { in setCarDockRotation()
1418 private DisplayRotationBuilder setDeskDockRotation(int rotation) { in setDeskDockRotation()
1423 private DisplayRotationBuilder setUndockedHdmiRotation(int rotation) { in setUndockedHdmiRotation()
1509 private int convertRotationToDegrees(@Surface.Rotation int rotation) { in convertRotationToDegrees()
[all …]
DDisplayPolicyTestsBase.java78 DisplayInfo displayInfoAndCutoutForRotation(int rotation, boolean withDisplayCutout, in displayInfoAndCutoutForRotation()
94 private static DisplayCutout displayCutoutForRotation(int rotation, boolean isLongEdgeCutout) { in displayCutoutForRotation()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java79 final int rotation = in getRotationLockOrientation() local
109 final int rotation = areAllRotationsAllowed(context) in setRotationLock() local
119 final int rotation, String caller) { in setRotationLockAtAngle()
150 private static void setRotationLock(final boolean enabled, final int rotation, in setRotationLock()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotationCoordinator.java50 void onDefaultDisplayRotationChanged(@Surface.Rotation int rotation) { in onDefaultDisplayRotationChanged()
58 void setDefaultDisplayDefaultRotation(@Surface.Rotation int rotation) { in setDefaultDisplayDefaultRotation()
DRotationWatcherController.java111 void dispatchDisplayRotationChange(int displayId, int rotation) { in dispatchDisplayRotationChange()
121 void dispatchProposedRotation(DisplayContent dc, int rotation) { in dispatchProposedRotation()
206 void notifyRotation(int rotation) { in notifyRotation()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/util/
DExtensionHelperTest.java82 private static DisplayInfo getMockDisplayInfo(@Surface.Rotation int rotation) { in getMockDisplayInfo()
101 private static Rect getExpectedFeatureRectAfterRotation(@Surface.Rotation int rotation) { in getExpectedFeatureRectAfterRotation()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationCache.java48 public R getOrCompute(T t, int rotation) { in getOrCompute()
68 R compute(T t, int rotation); in compute()
DCoordinateTransforms.java42 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
72 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDisplayUtils.java54 int rotation = d.getRotation(); in getWidth() local
74 int rotation = d.getRotation(); in getHeight() local
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dpose.h25 Pose(Eigen::Quaternion<T> rotation, Eigen::Vector3<T> position) in Pose()
75 void SetRotation(Eigen::Quaternion<T> rotation) { rotation_ = rotation; } in SetRotation()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java54 int displayId, @Surface.Rotation int rotation, @NonNull Rect inOutRect) { in rotateRectToDisplayRotation()
67 @Surface.Rotation int rotation, @NonNull Rect inOutRect) { in rotateRectToDisplayRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java55 int rotation = getCurrentRotation(); in shouldReverseListItems() local
142 int rotation = getCurrentRotation(); in shouldSnapToPowerButton() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java188 public FrameLayout.LayoutParams getRequestLayoutParams(int rotation) { in getRequestLayoutParams()
217 int rotation = getRotation(mContext); in onAttachedToWindow() local
259 private void inflateView(int rotation) { in inflateView()

1234567891011