Searched defs:rotation (Results 51 - 75 of 78) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java149 public void onRotationChangedLocked(DisplayContent displayContent, int rotation) { argument
151 mDisplayMagnifier.onRotationChangedLocked(displayContent, rotation);
305 public void onRotationChangedLocked(DisplayContent displayContent, int rotation) { argument
307 Slog.i(LOG_TAG, "Rotaton: " + Surface.rotationToString(rotation)
475 // If this message is pending we are in a rotation animation and do not want
592 // the user does not see strange artifacts during rotation. The screenshot
593 // used for rotation has already the border. After the rotation is complete
915 final int rotation = message.arg1;
916 mCallbacks.onRotationChanged(rotation);
[all...]
H A DScreenRotationAnimation.java54 * Layers for screen rotation animation. We put these layers above
83 // animation applies a transformation while the rotation is in progress.
94 // It starts running once the new rotation UI elements are ready to be
114 // to switch to a new rotation before finishing the previous one.
224 // Screenshot does NOT include rotation!
336 public static void createRotationMatrix(int rotation, int width, int height, argument
338 switch (rotation) {
358 private void setRotationInTransaction(int rotation) { argument
359 mCurRotation = rotation;
363 // with the current screen rotation
372 setRotationInTransaction(int rotation, SurfaceSession session, long maxAnimationDuration, float animationScale, int finalWidth, int finalHeight) argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp856 bool useIdentityTransform, uint32_t rotation) {
869 static_cast<ISurfaceComposer::Rotation>(rotation));
853 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation) argument
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp333 matrixf_t rotation; local
334 GLfloat* r = rotation.m;
377 multiply(rotation);
/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);
248 void setRotation(float rotation) { argument
249 mRotation = rotation;
344 // shrink back down and complete a full rotation before
356 final float rotation = ring.getStartingRotation()
358 ring.setRotation(rotation);
700 setRotation(float rotation) argument
[all...]
/frameworks/base/core/java/android/view/
H A DRenderNode.java497 * Sets the rotation value for the display list around the Z axis.
499 * @param rotation The rotation value of the display list, in degrees
504 public boolean setRotation(float rotation) { argument
505 return nSetRotation(mNativeRenderNode, rotation);
509 * Returns the rotation value for this display list around the Z axis, in degrees.
518 * Sets the rotation value for the display list around the X axis.
520 * @param rotationX The rotation value of the display list, in degrees
530 * Returns the rotation value for this display list around the X axis, in degrees.
539 * Sets the rotation valu
862 nSetRotation(long renderNode, float rotation) argument
[all...]
H A DSurfaceControl.java43 boolean allLayers, boolean useIdentityTransform, int rotation);
742 * @param useIdentityTransform Replace whatever transformation (rotation,
796 * @param useIdentityTransform Replace whatever transformation (rotation,
799 * @param rotation Apply a custom clockwise rotation to the screenshot, i.e.
810 int rotation) {
815 minLayer, maxLayer, false, useIdentityTransform, rotation);
41 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
808 screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform, int rotation) argument
H A DWindowManagerPolicy.java554 /** When not otherwise specified by the activity's screenOrientation, rotation should be
557 /** When not otherwise specified by the activity's screenOrientation, rotation is set by
672 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation, argument
680 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation, argument
689 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation, argument
698 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation, argument
812 * Determine the animation to run for a rotation transition based on the
828 * @param forceDefault For rotation animations only, if true ignore the
916 * @param displayRotation The current rotation being applied to the base window.
1186 * Given an orientation constant, returns the appropriate surface rotation,
1210 rotationHasCompatibleMetricsLw(@ctivityInfo.ScreenOrientation int orientation, int rotation) argument
1218 setRotationLw(int rotation) argument
1298 setUserRotationMode(@serRotationMode int mode, @Surface.Rotation int rotation) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp129 int rotation) {
149 minLayer, maxLayer, useIdentityTransform, static_cast<uint32_t>(rotation));
126 nativeScreenshotBitmap(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform, int rotation) argument
/frameworks/base/libs/hwui/
H A DRenderProperties.h320 bool setRotation(float rotation) { argument
321 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation);
H A DVectorDrawable.h429 void setRotation(float rotation) { argument
430 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(rotate, rotation);
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnection.java492 * @param rotation The device orientation, in degrees.
495 public void setDeviceOrientation(int rotation) { argument
497 mVideoProviderBinder.setDeviceOrientation(rotation);
H A DConnection.java977 public void setDeviceOrientation(int rotation) { argument
979 MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget();
1079 * @param rotation The device orientation, in degrees.
1081 public abstract void onSetDeviceOrientation(int rotation); argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java807 /** The camera rotation (used for capture). */
1221 private synchronized void updateDisplayRotation(int rotation) { argument
1222 switch (rotation) {
1236 throw new IllegalArgumentException("Unsupported display rotation constant! Use "
1378 // First we calculate the camera rotation.
1379 int rotation = (mActualFacing == FACING_FRONT)
1382 if (rotation != mCamRotation) {
1384 mCamRotation = rotation;
1388 // We compensate for mirroring in the orientation. This differs from the rotation,
1390 int fixedOrientation = rotation;
1555 updateDisplayRotation(int rotation) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java309 static void nSetRotation(long groupPtr, float rotation) { argument
311 group.setRotation(rotation);
885 private void setRotation(float rotation) { argument
886 if (rotation != mRotate) {
887 mRotate = rotation;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java50 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, argument
54 mRotation = rotation;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java157 // To support rotation
160 /** The current rotation amount, in degrees */
974 // Re-apply any rotation
1107 * @param animate if {@code true}, animate during the rotation. Otherwise, snap rotate.
1432 * Runnable that animates an image rotation operation.
1455 public void start(float rotation) { argument
1460 mTargetRotation = rotation;
1470 * Stops the animation in place. It does not snap the image to its final rotation.
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java129 * <dt><code>android:rotation</code></dt>
130 * <dd>The degrees of rotation of the group.</dd>
133 * <dd>The X coordinate of the pivot for the scale and rotation of the group.
137 * <dd>The Y coordinate of the pivot for the scale and rotation of the group.
336 // When there is any rotation / skew, then the scale value is not valid.
829 + " rotation is " + currentGroup.mRotate);
1404 mRotate = TypedArrayUtils.getNamedFloat(a, parser, "rotation",
1449 public void setRotation(float rotation) { argument
1450 if (rotation != mRotate) {
1451 mRotate = rotation;
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1013 camera3_stream_rotation_t rotation, int *id, int streamSetId, uint32_t consumerUsage) {
1017 ALOGV("Camera %d: Creating new stream %d: %d x %d, format %d, dataspace %d rotation %d"
1018 " consumer usage 0x%x", mId, mNextStreamId, width, height, format, dataSpace, rotation,
1089 width, height, blobBufferSize, format, dataSpace, rotation,
1098 width, height, rawOpaqueBufferSize, format, dataSpace, rotation,
1102 width, height, format, consumerUsage, dataSpace, rotation,
1106 width, height, format, dataSpace, rotation,
1011 createStream(sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id, int streamSetId, uint32_t consumerUsage) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java121 * <dt><code>android:rotation</code></dt>
122 * <dd>The degrees of rotation of the group.</dd>
125 * <dd>The X coordinate of the pivot for the scale and rotation of the group.
129 * <dd>The Y coordinate of the pivot for the scale and rotation of the group.
236 * android:rotation=&quot;45.0&quot; &gt;
1087 put("rotation", ROTATION_INDEX);
1180 new FloatProperty<VGroup> ("rotation") {
1201 put("rotation", ROTATION);
1413 public void setRotation(float rotation) { argument
1415 nSetRotation(mNativePtr, rotation);
2197 nSetRotation(long groupPtr, float rotation) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1471 * Set the clockwise rotation of preview display in degrees. This affects
1474 * front-facing cameras is flipped horizontally before the rotation, that
1490 * int rotation = activity.getWindowManager().getDefaultDisplay()
1493 * switch (rotation) {
1735 * the sensor sees. The direction is not affected by the rotation or
2102 private static final String KEY_ROTATION = "rotation";
3086 * Sets the clockwise rotation angle in degrees relative to the
3102 * rotation angle for back-facing camera. The difference of the two is
3103 * the rotation angle for front-facing camera. Note that the JPEG
3113 * orientation is 90. The rotation shoul
3141 setRotation(int rotation) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java3557 public void onRotationChanged(int rotation) throws RemoteException { argument
3569 Log.e(TAG, "Couldn't start watching for device rotation", ex);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java191 int displayId, int rotation,
190 nativeSetDisplayViewport(long ptr, boolean external, int displayId, int rotation, int logicalLeft, int logicalTop, int logicalRight, int logicalBottom, int physicalLeft, int physicalTop, int physicalRight, int physicalBottom, int deviceWidth, int deviceHeight) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3441 bool useIdentityTransform, ISurfaceComposer::Rotation rotation) {
3454 // Convert to surfaceflinger's internal rotation type.
3456 switch (rotation) {
3471 ALOGE("Invalid rotation passed to captureScreen(): %d\n", rotation);
3483 Transform::orientation_flags rotation; member in class:android::MessageCaptureScreen
3493 Transform::orientation_flags rotation,
3499 rotation(rotation), result(PERMISSION_DENIED),
3511 useIdentityTransform, rotation, isLocalScreensho
3437 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
3487 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
3537 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3604 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp3334 bool useIdentityTransform, ISurfaceComposer::Rotation rotation) {
3347 // Convert to surfaceflinger's internal rotation type.
3349 switch (rotation) {
3364 ALOGE("Invalid rotation passed to captureScreen(): %d\n", rotation);
3376 Transform::orientation_flags rotation; member in class:MessageCaptureScreen
3386 Transform::orientation_flags rotation,
3392 rotation(rotation), result(PERMISSION_DENIED),
3404 useIdentityTransform, rotation, isLocalScreensho
3330 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
3380 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
3430 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3499 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]

Completed in 2265 milliseconds

1234