Searched refs:rotation (Results 76 - 100 of 134) sorted by relevance

123456

/frameworks/base/core/java/android/view/
H A DRenderNode.java520 * Sets the rotation value for the display list around the Z axis.
522 * @param rotation The rotation value of the display list, in degrees
527 public boolean setRotation(float rotation) { argument
528 return nSetRotation(mNativeRenderNode, rotation);
532 * Returns the rotation value for this display list around the Z axis, in degrees.
541 * Sets the rotation value for the display list around the X axis.
543 * @param rotationX The rotation value of the display list, in degrees
553 * Returns the rotation value for this display list around the X axis, in degrees.
562 * Sets the rotation valu
931 nSetRotation(long renderNode, float rotation) argument
[all...]
H A DIWindowManager.aidl194 * Update the current screen rotation based on the current state of
200 * of its windows even if the rotation hasn't changed.
213 * Watch the rotation of the specified screen. Returns the current rotation,
219 * Remove a rotation watcher set using watchRotation.
232 * Lock the device orientation to the specified rotation, or to the
233 * current rotation if -1. Sensor input will be ignored until
237 void freezeRotation(int rotation);
246 * Gets whether the rotation is frozen.
248 * @return Whether the rotation i
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedStackController.java135 return mDisplayInfo.rotation;
263 * In the case where the display rotation is changed but there is no stack, we can't depend on
421 animatingBounds, fromImeAdjustement, mDisplayInfo.rotation);
434 mService.mPolicy.getStableInsetsLw(mDisplayInfo.rotation, mDisplayInfo.logicalWidth,
H A DStackWindowController.java272 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
274 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
/frameworks/support/core-utils/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java523 Matrix rotation = new Matrix();
525 rotation.postRotate(90);
527 bitmap.getHeight(), rotation, true);
/frameworks/support/design/base/android/support/design/widget/
H A DFloatingActionButtonImpl.java363 final float rotation = mView.getRotation();
364 if (mRotation != rotation) {
365 mRotation = rotation;
523 // Offset any View rotation
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.h414 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
H A DCamera3Stream.cpp50 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) :
71 camera3_stream::rotation = rotation; member in class:android::camera3::camera3_stream
47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
/frameworks/native/include/gui/
H A DISurfaceComposer.h174 Rotation rotation = eRotateNone) = 0;
H A DSurfaceComposerClient.h230 uint32_t rotation,
257 bool useIdentityTransform, uint32_t rotation);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h97 Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) = 0;
H A DGLES20RenderEngine.cpp174 Transform::orientation_flags rotation) {
190 // Apply custom rotation to the projection.
192 switch (rotation) {
172 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DAndroidResources.java38 android.R.attr.scaleX, android.R.attr.scaleY, android.R.attr.rotation,
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java49 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, argument
53 mRotation = rotation;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraView.java170 int rotation = mActivity.getWindowManager().getDefaultDisplay().getRotation();
172 switch (rotation) {
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraView.java169 int rotation = mActivity.getWindowManager().getDefaultDisplay().getRotation();
171 switch (rotation) {
/frameworks/rs/script_api/
H A Drs_matrix.spec344 arg: float rot, "How much rotation to do, in degrees."
345 arg: float x, "X component of the vector that is the axis of rotation."
346 arg: float y, "Y component of the vector that is the axis of rotation."
347 arg: float z, "Z component of the vector that is the axis of rotation."
348 summary: Load a rotation matrix
350 This function creates a rotation matrix. The axis of rotation is the <code>(x, y, z)</code> vector.
514 arg: float rot, "How much rotation to do, in degrees."
515 arg: float x, "X component of the vector that is the axis of rotation."
516 arg: float y, "Y component of the vector that is the axis of rotation
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1485 * Set the clockwise rotation of preview display in degrees. This affects
1488 * front-facing cameras is flipped horizontally before the rotation, that
1504 * int rotation = activity.getWindowManager().getDefaultDisplay()
1507 * switch (rotation) {
1749 * the sensor sees. The direction is not affected by the rotation or
2116 private static final String KEY_ROTATION = "rotation";
3100 * Sets the clockwise rotation angle in degrees relative to the
3116 * rotation angle for back-facing camera. The difference of the two is
3117 * the rotation angle for front-facing camera. Note that the JPEG
3127 * orientation is 90. The rotation shoul
3155 setRotation(int rotation) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java321 static void nSetRotation(long groupPtr, float rotation) { argument
323 group.setRotation(rotation);
888 private void setRotation(float rotation) { argument
889 if (rotation != mRotate) {
890 mRotate = rotation;
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java735 int mLandscapeRotation = 0; // default landscape rotation
736 int mSeascapeRotation = 0; // "other" landscape rotation, 180 degrees from mLandscapeRotation
737 int mPortraitRotation = 0; // default portrait rotation
738 int mUpsideDownRotation = 0; // "other" portrait rotation
1020 public void onProposedRotationChanged(int rotation) { argument
1021 if (localLOGV) Slog.v(TAG, "onProposedRotationChanged, rotation=" + rotation);
1079 * the user has explicitly disabled sensor based rotation or when the
2103 // Controls rotation and the like.
2223 // For demo purposes, allow the rotation o
2711 getNavigationBarWidth(int rotation, int uiMode) argument
2720 getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode, int displayId) argument
2733 getNavigationBarHeight(int rotation, int uiMode) argument
2742 getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode, int displayId) argument
2756 getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode, int displayId) argument
2762 getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode, int displayId) argument
7141 rotationHasCompatibleMetricsLw(int orientation, int rotation) argument
7159 setRotationLw(int rotation) argument
7163 isLandscapeOrSeascape(int rotation) argument
7167 isAnyPortrait(int rotation) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h286 bool useIdentityTransform, ISurfaceComposer::Rotation rotation);
418 bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation);
425 bool useIdentityTransform, Transform::orientation_flags rotation,
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp44 const sp<ANativeWindow> &nativeWindow, int32_t rotation)
57 mRotationDegrees(rotation) {
187 if (!format->findInt32("rotation-degrees", &rotationDegrees)) {
43 SoftwareRenderer( const sp<ANativeWindow> &nativeWindow, int32_t rotation) argument
/frameworks/base/libs/hwui/
H A DRenderProperties.h322 bool setRotation(float rotation) { argument
323 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation);
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsVideoCallProviderWrapper.java259 public void onSetDeviceOrientation(int rotation) { argument
261 mVideoCallProvider.setDeviceOrientation(rotation);
/frameworks/support/compat/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java309 * This method will cause the View's <code>rotation</code> property to be animated to the
315 public ViewPropertyAnimatorCompat rotation(float value) { method in class:ViewPropertyAnimatorCompat
318 view.animate().rotation(value);
324 * This method will cause the View's <code>rotation</code> property to be animated by the

Completed in 2069 milliseconds

123456