Home
last modified time | relevance | path

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

12345678910>>...14

/aosp12/frameworks/base/services/core/java/com/android/server/wm/utils/
H A DDisplayRotationUtil.java39 private static int getRotationToBoundsOffset(int rotation) { in getRotationToBoundsOffset()
56 static int getBoundIndexFromRotation(int i, int rotation) { in getBoundIndexFromRotation()
73 Rect[] bounds, int rotation, int initialDisplayWidth, int initialDisplayHeight) { in getRotatedBounds()
H A DRotationCache.java48 public R getOrCompute(T t, int rotation) { in getOrCompute()
68 R compute(T t, int rotation); in compute()
H A DCoordinateTransforms.java44 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
74 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates()
/aosp12/frameworks/av/media/libheadtracking/include/media/
H A DPose.h37 Pose3f(const Eigen::Vector3f& translation, const Eigen::Quaternionf& rotation) in Pose3f()
43 explicit Pose3f(const Eigen::Quaternionf& rotation) in Pose3f()
73 Eigen::Quaternionf rotation() const { return mRotation; }; in rotation() function
/aosp12/frameworks/native/libs/ui/include/ui/
H A DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
53 constexpr const char* toCString(Rotation rotation) { in toCString()
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
53 constexpr const char* toCString(Rotation rotation) { in toCString()
/aosp12/frameworks/native/include/ui/
H A DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation()
35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt()
53 constexpr const char* toCString(Rotation rotation) { in toCString()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationTests.java307 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() local
454 private SensorEvent createSensorEvent(int rotation) throws Exception { in createSensorEvent()
527 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() local
620 final int rotation = mTarget.rotationForOrientation( in testReturnsUserRotation_FixedToUserRotation_IgnoreIncompatibleAppRequest() local
717 private void freezeRotation(int rotation) { in freezeRotation()
754 private DisplayRotationBuilder setLidOpenRotation(int rotation) { in setLidOpenRotation()
759 private DisplayRotationBuilder setCarDockRotation(int rotation) { in setCarDockRotation()
764 private DisplayRotationBuilder setDeskDockRotation(int rotation) { in setDeskDockRotation()
769 private DisplayRotationBuilder setUndockedHdmiRotation(int rotation) { in setUndockedHdmiRotation()
841 private int convertRotationToDegrees(@Surface.Rotation int rotation) { in convertRotationToDegrees()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A 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()
H A DGpuVideoTrackDecoder.java146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo()
203 private static float[] getRotationCoords(int rotation) { in getRotationCoords()
/aosp12/frameworks/base/core/java/android/util/
H A DRotationUtils.java40 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets()
96 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds()
137 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A 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()
/aosp12/frameworks/base/core/java/android/view/
H A 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
H A DIRotationWatcher.aidl24 void onRotationChanged(int rotation); in onRotationChanged()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotation.java269 final int rotation = mContext.getResources().getInteger(resID); in readRotation() local
351 void applyCurrentRotation(@Surface.Rotation int rotation) { in applyCurrentRotation()
358 void setRotation(@Surface.Rotation int rotation) { in setRotation()
468 final int rotation = rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked() local
878 void freezeRotation(int rotation) { in freezeRotation()
1101 final int rotation = rotationForOrientation(mLastOrientation, oldRotation); in needsUpdate() local
1305 private boolean isLandscapeOrSeascape(int rotation) { in isLandscapeOrSeascape()
1309 private boolean isAnyPortrait(int rotation) { in isAnyPortrait()
1405 private void sendProposedRotationChangeToStatusBarInternal(int rotation, boolean isValid) { in sendProposedRotationChangeToStatusBarInternal()
1544 UpdateRunnable(int rotation) { in UpdateRunnable()
[all …]
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java32 public RotateBitmap(Bitmap bitmap, int rotation) { in RotateBitmap()
37 public void setRotation(int rotation) { in setRotation()
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dpose.h25 Pose(Eigen::Quaternion<T> rotation, Eigen::Vector3<T> position) in Pose()
75 void SetRotation(Eigen::Quaternion<T> rotation) { rotation_ = rotation; } in SetRotation()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DDisplayUtils.java52 int rotation = d.getRotation(); in getWidth() local
72 int rotation = d.getRotation(); in getHeight() local
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java113 final int rotation = areAllRotationsAllowed(context) ? CURRENT_ROTATION : NATURAL_ROTATION; in setRotationLock() local
121 final int rotation) { in setRotationLockAtAngle()
146 private static void setRotationLock(final boolean enabled, final int rotation) { in setRotationLock()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DBoundedRect.java36 public BoundedRect(float rotation, Rect outerRect, Rect innerRect) { in BoundedRect()
46 public BoundedRect(float rotation, RectF outerRect, RectF innerRect) { in BoundedRect()
56 public void resetTo(float rotation, RectF outerRect, RectF innerRect) { in resetTo()
82 public void setRotation(float rotation) { in setRotation()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsColumnLayout.java55 int rotation = getCurrentRotation(); in shouldReverseListItems() local
142 int rotation = getCurrentRotation(); in shouldSnapToPowerButton() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DScreenPinningRequest.java160 public FrameLayout.LayoutParams getRequestLayoutParams(int rotation) { in getRequestLayoutParams()
192 int rotation = getRotation(mContext); in onAttachedToWindow() local
234 private void inflateView(int rotation) { in inflateView()
/aosp12/frameworks/av/camera/camera2/
H A DOutputConfiguration.cpp98 int rotation = 0; in readFromParcel() local
192 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation, in OutputConfiguration()
206 int rotation, const String16& physicalCameraId, int surfaceSetID, int surfaceType, in OutputConfiguration()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DOrientationManager.java156 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation() local
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DInCallOrientationEventListener.java110 public void onOrientationChanged(int rotation) { in onOrientationChanged()
179 private int toScreenOrientation(int rotation) { in toScreenOrientation()

12345678910>>...14