Searched refs:rotation (Results 101 - 125 of 134) sorted by relevance

123456

/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp108 ISurfaceComposer::Rotation rotation)
120 data.writeInt32(static_cast<int32_t>(rotation));
552 int32_t rotation = data.readInt32(); local
557 static_cast<ISurfaceComposer::Rotation>(rotation));
103 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
H A DSurfaceComposerClient.cpp957 uint32_t rotation,
971 static_cast<ISurfaceComposer::Rotation>(rotation));
1003 bool useIdentityTransform, uint32_t rotation) {
1016 static_cast<ISurfaceComposer::Rotation>(rotation));
954 captureToBuffer(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation, sp<GraphicBuffer>* outBuffer) argument
1000 update(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, uint32_t rotation) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp394 StreamRotation Camera3Device::mapToStreamRotation(camera3_stream_rotation_t rotation) { argument
395 switch (rotation) {
405 ALOGE("%s: Unknown stream rotation %d", __FUNCTION__, rotation);
1170 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
1183 format, dataSpace, rotation, id, streamSetId, isShared, consumerUsage);
1188 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
1193 ALOGV("Camera %s: Creating new stream %d: %d x %d, format %d, dataspace %d rotation %d"
1195 dataSpace, rotation, consumerUsage, isShared);
1254 width, height, blobBufferSize, format, dataSpace, rotation,
1168 createStream(sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id, int streamSetId, bool isShared, uint32_t consumerUsage) argument
1186 createStream(const std::vector<sp<Surface>>& consumers, bool hasDeferredConsumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id, int streamSetId, bool isShared, uint32_t consumerUsage) argument
[all...]
H A DCamera3Device.h118 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
123 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
590 camera3_stream_rotation_t rotation);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp4084 bool useIdentityTransform, ISurfaceComposer::Rotation rotation) {
4097 // Convert to surfaceflinger's internal rotation type.
4099 switch (rotation) {
4114 ALOGE("Invalid rotation passed to captureScreen(): %d\n", rotation);
4126 Transform::orientation_flags rotation; member in class:android::MessageCaptureScreen
4136 Transform::orientation_flags rotation,
4142 rotation(rotation), result(PERMISSION_DENIED),
4154 useIdentityTransform, rotation, isLocalScreensho
4080 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
4130 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
4180 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
4251 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp3685 bool useIdentityTransform, ISurfaceComposer::Rotation rotation) {
3698 // Convert to surfaceflinger's internal rotation type.
3700 switch (rotation) {
3715 ALOGE("Invalid rotation passed to captureScreen(): %d\n", rotation);
3727 Transform::orientation_flags rotation; member in class:MessageCaptureScreen
3737 Transform::orientation_flags rotation,
3743 rotation(rotation), result(PERMISSION_DENIED),
3755 useIdentityTransform, rotation, isLocalScreensho
3681 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
3731 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
3781 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3854 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp201 static void setRotation(JNIEnv*, jobject, jlong groupPtr, jfloat rotation) { argument
203 group->mutateStagingProperties()->setRotation(rotation);
H A Dandroid_view_RenderNode.cpp220 static jboolean android_view_RenderNode_setRotation(jlong renderNodePtr, float rotation) { argument
221 return SET_AND_DIRTY(setRotation, rotation, RenderNode::ROTATION);
H A Dandroid_view_SurfaceControl.cpp146 int rotation) {
159 rotation, &buffer);
176 int rotation) {
192 minLayer, maxLayer, useIdentityTransform, static_cast<uint32_t>(rotation));
143 nativeScreenshotToBuffer(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform, int rotation) argument
173 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 DVectorDrawable.h425 void setRotation(float rotation) { argument
426 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(rotate, rotation);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java335 final int rotation = displayContent.getRotation();
336 Slog.i(LOG_TAG, "Rotation: " + Surface.rotationToString(rotation)
511 // If this message is pending we are in a rotation animation and do not want
629 // the user does not see strange artifacts during rotation. The screenshot
630 // used for rotation already has the border. After the rotation is complete
948 final int rotation = message.arg1;
949 mCallbacks.onRotationChanged(rotation);
H A DWindowManagerService.java300 /** Amount of time (in milliseconds) to delay before declaring a seamless rotation timeout. */
310 * management of the screen during rotation.
596 // perform a rotation animation when turning off shows the lock screen which
731 // The display that the rotation animation is applying to.
1500 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, displayInfo.rotation,
2474 // we used seamless rotation, and we don't need to freeze the screen.
2548 // changed the real orientation our applied our screen rotation animation.
2549 // For example, because a previous screen rotation was in progress.
2558 final int rotation = mPolicy.rotationForOrientationLw(lastOrientation,
2561 lastOrientation, rotation);
3794 freezeRotation(int rotation) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java557 * @param rotation The device orientation, in degrees.
559 public abstract void setDeviceOrientation(int rotation); argument
H A DConnection.java1183 public void setDeviceOrientation(int rotation) { argument
1185 MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget();
1309 * @param rotation The device orientation, in degrees.
1311 public abstract void onSetDeviceOrientation(int rotation); argument
H A DRemoteConnection.java536 * @param rotation The device orientation, in degrees.
539 public void setDeviceOrientation(int rotation) { argument
541 mVideoProviderBinder.setDeviceOrientation(rotation);
/frameworks/base/core/java/android/view/
H A DDisplay.java577 * it will report the size of the entire display based on current rotation and with subtracted
619 * each rotation. For example, the status bar is always at the top of the
625 * stable UI through rotation. The sizes here take into account all standard
703 * Returns the rotation of the screen from its "natural" orientation.
705 * (no rotation), {@link Surface#ROTATION_90 Surface.ROTATION_90},
712 * the direction it was turned. The angle is the rotation of the drawn
714 * rotation of the device. For example, if the device is rotated 90
723 return mDisplayInfo.rotation;
926 * metrics will report the size of the entire display based on current rotation and with
948 * The size is adjusted based on the current rotation o
[all...]
H A DViewPropertyAnimator.java521 * This method will cause the View's <code>rotation</code> property to be animated to the
528 public ViewPropertyAnimator rotation(float value) { method in class:ViewPropertyAnimator
534 * This method will cause the View's <code>rotation</code> property to be animated by the
/frameworks/base/services/core/java/com/android/server/display/
H A DVirtualDisplayAdapter.java351 // For demonstration purposes, allow rotation of the external display.
355 mInfo.rotation = Surface.ROTATION_270;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarFragment.java647 public void onRotationChanged(int rotation) throws RemoteException {
653 && mNavigationBarView.needsReorient(rotation)) {
H A DNavigationBarView.java583 public boolean needsReorient(int rotation) { argument
584 return mCurrentRotation != 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/core-ui/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java945 float rotation = (-0.25f + .4f * adjustedPercent + tensionPercent * 2) * .5f;
946 mProgress.setProgressRotation(rotation);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java112 * <dt><code>android:rotation</code></dt>
113 * <dd>The degrees of rotation of the group. Default is 0.</dd>
115 * <dd>The X coordinate of the pivot for the scale and rotation of the group.
118 * <dd>The Y coordinate of the pivot for the scale and rotation of the group.
206 * android:rotation=&quot;45.0&quot; &gt;
1069 put("rotation", ROTATION_INDEX);
1162 new FloatProperty<VGroup> ("rotation") {
1183 put("rotation", ROTATION);
1410 public void setRotation(float rotation) { argument
1412 nSetRotation(mNativePtr, rotation);
2230 nSetRotation(long groupPtr, float rotation) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp333 matrixf_t rotation; local
334 GLfloat* r = rotation.m;
377 multiply(rotation);
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java118 * <dt><code>android:rotation</code></dt>
119 * <dd>The degrees of rotation of the group. Default is 0.</dd>
121 * <dd>The X coordinate of the pivot for the scale and rotation of the group.
124 * <dd>The Y coordinate of the pivot for the scale and rotation of the group.
304 // When there is any rotation / skew, then the scale value is not valid.
801 + " rotation is " + currentGroup.mRotate);
1379 mRotate = TypedArrayUtils.getNamedFloat(a, parser, "rotation",
1424 public void setRotation(float rotation) { argument
1425 if (rotation != mRotate) {
1426 mRotate = rotation;
[all...]

Completed in 498 milliseconds

123456