Home
last modified time | relevance | path

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

123456

/frameworks/base/services/core/java/com/android/server/wm/utils/
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()
DRotationCache.java48 public R getOrCompute(T t, int rotation) { in getOrCompute()
68 R compute(T t, int rotation); in compute()
DCoordinateTransforms.java44 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
74 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java258 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() local
405 private SensorEvent createSensorEvent(int rotation) throws Exception { in createSensorEvent()
478 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() local
571 final int rotation = mTarget.rotationForOrientation( in testReturnsUserRotation_FixedToUserRotation_IgnoreIncompatibleAppRequest() local
641 private void freezeRotation(int rotation) { in freezeRotation()
678 private DisplayRotationBuilder setLidOpenRotation(int rotation) { in setLidOpenRotation()
683 private DisplayRotationBuilder setCarDockRotation(int rotation) { in setCarDockRotation()
688 private DisplayRotationBuilder setDeskDockRotation(int rotation) { in setDeskDockRotation()
693 private DisplayRotationBuilder setUndockedHdmiRotation(int rotation) { in setUndockedHdmiRotation()
765 private int convertRotationToDegrees(@Surface.Rotation int rotation) { in convertRotationToDegrees()
DDisplayPolicyTestsBase.java109 static Pair<DisplayInfo, WmDisplayCutout> displayInfoAndCutoutForRotation(int rotation, in displayInfoAndCutoutForRotation()
129 private static DisplayCutout displayCutoutForRotation(int rotation) { in displayCutoutForRotation()
/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()
DCpuVideoTrackDecoder.java102 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo()
137 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) { in copyRotate()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java174 final int rotation = mContext.getResources().getInteger(resID); in readRotation() local
249 void setRotation(int rotation) { in setRotation()
328 void freezeRotation(int rotation) { in freezeRotation()
705 private boolean isLandscapeOrSeascape(int rotation) { in isLandscapeOrSeascape()
709 private boolean isAnyPortrait(int rotation) { in isAnyPortrait()
805 private void sendProposedRotationChangeToStatusBarInternal(int rotation, boolean isValid) { in sendProposedRotationChangeToStatusBarInternal()
921 UpdateRunnable(int rotation) { in UpdateRunnable()
940 public void onProposedRotationChanged(int rotation) { in onProposedRotationChanged()
/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/packages/SystemUI/src/com/android/systemui/assist/ui/
DDisplayUtils.java52 int rotation = d.getRotation(); in getWidth() local
72 int rotation = d.getRotation(); in getHeight() local
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java116 final int rotation = areAllRotationsAllowed(context) ? CURRENT_ROTATION : NATURAL_ROTATION; in setRotationLock() local
124 final int rotation) { in setRotationLockAtAngle()
149 private static void setRotationLock(final boolean enabled, final int rotation) { in setRotationLock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java146 public FrameLayout.LayoutParams getRequestLayoutParams(int rotation) { in getRequestLayoutParams()
176 int rotation = RotationUtils.getRotation(mContext); in onAttachedToWindow() local
218 private void inflateView(int rotation) { in inflateView()
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp89 int rotation = 0; in readFromParcel() local
169 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation, in OutputConfiguration()
182 int rotation, const String16& physicalCameraId, int surfaceSetID, int surfaceType, in OutputConfiguration()
/frameworks/base/core/java/android/view/
DIRotationWatcher.aidl24 void onRotationChanged(int rotation); in onRotationChanged()
/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/core/java/android/app/
DIUiAutomationConnection.aidl41 boolean setRotation(int rotation); in setRotation()
42 Bitmap takeScreenshot(in Rect crop, int rotation); in takeScreenshot()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java227 public OutputConfiguration(@NonNull Surface surface, int rotation) { in OutputConfiguration()
253 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) { in OutputConfiguration()
536 int rotation = source.readInt(); in OutputConfiguration() local
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, in dumpWindowToFile()
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, in dumpWindowToFile()
/frameworks/base/packages/Shell/src/com/android/shell/
DScreenshooter.java50 int rotation = display.getRotation(); in takeScreenshot() local
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRotationWatcher.java45 protected abstract void onRotationChanged(int rotation); in onRotationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRotationLockController.java27 void setRotationLockedAtAngle(boolean locked, int rotation); in setRotationLockedAtAngle()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeRotationLockController.java54 public void setRotationLockedAtAngle(boolean locked, int rotation) { in setRotationLockedAtAngle()
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java34 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, in IWindowManagerImpl()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java96 int rotation = display.getRotation(); in run() local

123456