Searched refs:rotation (Results 26 - 50 of 134) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/wm/
H A DCircularDisplayMask.java149 void positionSurface(int dw, int dh, int rotation) { argument
150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
156 mRotation = rotation;
H A DEmulatorDisplayOverlay.java121 void positionSurface(int dw, int dh, int rotation) { argument
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) {
128 mRotation = rotation;
/frameworks/rs/script_api/
H A Drs_quaternion.spec71 summary: Get a rotation matrix from a quaternion
73 Computes a rotation matrix from the normalized quaternion.
107 summary: Quaternion that represents a rotation about an arbitrary unit vector
109 Loads a quaternion that represents a rotation about an arbitrary unit vector.
165 summary: Create a rotation quaternion
167 Loads a quaternion that represents a rotation about an arbitrary vector
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java145 final void setRotation(float rotation) { argument
146 if (rotation != mRotation) {
147 mRotation = rotation;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java73 public boolean setRotation(int rotation) { argument
74 return mUiAutomation.setRotation(rotation);
H A DAccessibilityNodeInfoDumper.java48 * @param rotation The rotaion of current display
52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, argument
63 rotation, width, height);
71 * @param rotation The rotaion of current display
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, argument
88 serializer.attribute("", "rotation", Integer.toString(rotation));
/frameworks/base/core/java/android/app/
H A DUiAutomation.java90 /** Rotation constant: Unfreeze rotation (rotating the device changes its rotation state). */
93 /** Rotation constant: Freeze rotation to its current state. */
96 /** Rotation constant: Freeze rotation to 0 degrees (natural orientation) */
99 /** Rotation constant: Freeze rotation to 90 degrees . */
102 /** Rotation constant: Freeze rotation to 180 degrees . */
105 /** Rotation constant: Freeze rotation to 270 degrees . */
509 * Sets the device rotation. A client can freeze the rotation in
510 * desired state or freeze the rotation t
524 setRotation(int rotation) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp29 int width, int height, int format, int rotation, int usage, bool reconnect) {
60 if ((rotation % 90) == 0) {
61 switch ((rotation / 90) & 3) {
126 ALOGD("set up nativeWindow %p for %dx%d, color %#x, rotation %d, usage %#x",
127 nativeWindow, width, height, format, rotation, finalUsage);
27 setNativeWindowSizeFormatAndUsage( ANativeWindow *nativeWindow , int width, int height, int format, int rotation, int usage, bool reconnect) argument
/frameworks/av/media/libstagefright/foundation/include/
H A DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h37 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
H A DCamera3SharedOutputStream.h38 camera3_stream_rotation_t rotation, nsecs_t timestampOffset,
H A DCamera3IOStreamBase.cpp34 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) :
36 width, height, maxSize, format, dataSpace, rotation, setId),
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
H A DCamera3OutputStream.cpp37 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
40 /*maxSize*/0, format, dataSpace, rotation, setId),
62 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
65 format, dataSpace, rotation, setId),
94 camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) :
96 /*maxSize*/0, format, dataSpace, rotation, setId),
129 camera3_stream_rotation_t rotation,
134 format, dataSpace, rotation, setId),
34 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
59 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
91 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, uint32_t consumerUsage, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
125 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, uint32_t consumerUsage, nsecs_t timestampOffset, int setId) argument
H A DCamera3SharedOutputStream.cpp27 camera3_stream_rotation_t rotation,
30 format, dataSpace, rotation, consumerUsage,
23 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces, uint32_t width, uint32_t height, int format, uint32_t consumerUsage, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl48 TouchCalibration getTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation);
49 void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation,
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestWindowManagerPolicy.java153 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode, argument
159 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode, argument
165 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode, argument
171 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode, argument
458 public boolean rotationHasCompatibleMetricsLw(int orientation, int rotation) { argument
463 public void setRotationLw(int rotation) { argument
530 int rotation) {
529 setUserRotationMode(int mode, int rotation) argument
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java97 /** Canvas rotation in degrees. */
187 * Set the amount of rotation to apply to the progress spinner.
189 * @param rotation Rotation is from [0..1]
191 public void setProgressRotation(float rotation) { argument
192 mRing.setRotation(rotation);
249 void setRotation(float rotation) { argument
250 mRotation = rotation;
345 // shrink back down and complete a full rotation before
357 final float rotation = ring.getStartingRotation()
359 ring.setRotation(rotation);
701 setRotation(float rotation) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplay.java147 mInfo.rotation = mOverrideDisplayInfo.rotation;
165 * This method can be used to adjust application insets, rotation, and other
258 mBaseDisplayInfo.rotation = Surface.ROTATION_0;
330 orientation = displayInfo.rotation;
333 // Apply the physical rotation of the display device itself.
334 orientation = (orientation + displayDeviceInfo.rotation) % 4;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java153 /*package*/ static boolean nSetRotation(long renderNode, float rotation) { argument
155 if (delegate != null && delegate.mRotation != rotation) {
156 delegate.mRotation = rotation;
175 float rotation = renderNode.getRotation();
184 outMatrix.preRotate(rotation, pivotX, pivotY);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java311 int rotation = getRotationFromExif(filePath);
313 this, filePath, null, rotation, 0, 0, true, false, null);
332 int rotation = getRotationFromExif(res, resId);
347 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop);
470 RectF cropBounds, int rotation, int outWidth, int outHeight,
474 init(cropBounds, rotation,
479 RectF cropBounds, int rotation, int outWidth, int outHeight,
482 init(cropBounds, rotation,
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
491 init(cropBounds, rotation,
469 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
478 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
495 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
505 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
[all...]
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto42 required float rotation = 11;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeadZone.java203 public void setDisplayRotation(int rotation) { argument
204 mDisplayRotation = rotation;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapSurfaceViewActivity.java99 int rotation = activity.getWindowManager().getDefaultDisplay()
102 switch (rotation) {

Completed in 1672 milliseconds

123456