Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java513 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation); in getNonDecorDisplayWidth() argument
520 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation); in getNonDecorDisplayHeight() argument
528 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation); in getConfigDisplayWidth() argument
536 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation); in getConfigDisplayHeight() argument
921 public boolean rotationHasCompatibleMetricsLw(int orientation, int rotation); in rotationHasCompatibleMetricsLw() argument
928 public void setRotationLw(int rotation); in setRotationLw() argument
1002 public void setUserRotationMode(int mode, int rotation); in setUserRotationMode() argument
DWindowOrientationListener.java125 public void setCurrentRotation(int rotation) { in setCurrentRotation() argument
126 mCurrentRotation = rotation; in setCurrentRotation()
161 public abstract void onProposedRotationChanged(int rotation); in onProposedRotationChanged() argument
562 private void updateProposal(int rotation, long timestampMS, in updateProposal() argument
564 if (mProposalRotation != rotation) { in updateProposal()
565 mProposalRotation = rotation; in updateProposal()
DIRotationWatcher.aidl24 void onRotationChanged(int rotation); in onRotationChanged() argument
DIWindowManager.aidl200 void freezeRotation(int rotation); in freezeRotation() argument
DViewPropertyAnimator.java416 public ViewPropertyAnimator rotation(float value) { in rotation() method in ViewPropertyAnimator
/frameworks/base/services/java/com/android/server/wm/
DScreenRotationAnimation.java147 public static void createRotationMatrix(int rotation, int width, int height, in createRotationMatrix() argument
149 switch (rotation) { in createRotationMatrix()
169 public void setRotation(int rotation) { in setRotation() argument
170 mCurRotation = rotation; in setRotation()
175 int delta = deltaRotation(rotation, mSnapshotRotation); in setRotation()
DInputManager.java70 private static native void nativeSetDisplayOrientation(int displayId, int rotation); in nativeSetDisplayOrientation() argument
170 public void setDisplayOrientation(int displayId, int rotation) { in setDisplayOrientation() argument
171 if (rotation < Surface.ROTATION_0 || rotation > Surface.ROTATION_270) { in setDisplayOrientation()
176 Slog.d(TAG, "Setting display #" + displayId + " orientation to " + rotation); in setDisplayOrientation()
178 nativeSetDisplayOrientation(displayId, rotation); in setDisplayOrientation()
DWindowManagerService.java5133 public void freezeRotation(int rotation) { in freezeRotation() argument
5138 if (rotation < -1 || rotation > Surface.ROTATION_270) { in freezeRotation()
5146 rotation == -1 ? mRotation : rotation); in freezeRotation()
5255 int rotation = mPolicy.rotationForOrientationLw(mForcedAppOrientation, mRotation); in updateRotationUncheckedLocked() local
5257 mForcedAppOrientation, rotation); in updateRotationUncheckedLocked()
5261 + mForcedAppOrientation + ", got rotation " + rotation in updateRotationUncheckedLocked()
5266 if (mRotation == rotation && mAltOrientation == altOrientation) { in updateRotationUncheckedLocked()
5273 "Rotation changed to " + rotation + (altOrientation ? " (alt)" : "") in updateRotationUncheckedLocked()
5278 mRotation = rotation; in updateRotationUncheckedLocked()
5288 mInputManager.setDisplayOrientation(0, rotation); in updateRotationUncheckedLocked()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowManager.java56 public BridgeWindowManager(Configuration config, DisplayMetrics metrics, int rotation) { in BridgeWindowManager() argument
59 mRotation = rotation; in BridgeWindowManager()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java474 public void onProposedRotationChanged(int rotation) { in onProposedRotationChanged() argument
475 if (localLOGV) Log.v(TAG, "onProposedRotationChanged, rotation=" + rotation); in onProposedRotationChanged()
963 int rotation = mContext.getResources().getInteger(resID); in readRotation() local
964 switch (rotation) { in readRotation()
1166 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation) { in getNonDecorDisplayWidth() argument
1174 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation) { in getNonDecorDisplayHeight() argument
1181 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation) { in getConfigDisplayWidth() argument
1182 return getNonDecorDisplayWidth(fullWidth, fullHeight, rotation); in getConfigDisplayWidth()
1185 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation) { in getConfigDisplayHeight() argument
1186 return getNonDecorDisplayHeight(fullWidth, fullHeight, rotation); in getConfigDisplayHeight()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java2378 public void setRotation(int rotation) { in setRotation() argument
2379 if (rotation == 0 || rotation == 90 || rotation == 180 in setRotation()
2380 || rotation == 270) { in setRotation()
2381 set(KEY_ROTATION, Integer.toString(rotation)); in setRotation()
2384 "Invalid rotation=" + rotation); in setRotation()
DSensorManager.java644 public void onRotationChanged(int rotation) { in SensorManager()
645 SensorManager.this.onRotationChanged(rotation); in SensorManager()
1664 public void onRotationChanged(int rotation) { in onRotationChanged() argument
1666 sRotation = rotation; in onRotationChanged()
/frameworks/base/docs/html/resources/tutorials/opengl/
Dopengl-es10.jd405 <p>To add rotation to your triangle:</p>
414 // Create a rotation for the triangle
437 Before you do that, however, you'll modify the renderer class to expose the rotation angle of the
445 your {@code HelloOpenGLES10SurfaceView} class is able to pass new rotation values your renderer:
453 // Create a rotation for the triangle (Boring! Comment this out:)
457 // Use the mAngle member as the rotation value
470 member so you have a handle to pass in rotation input and set the render mode to {@link
503 // reverse direction of rotation above the mid-line
508 // reverse direction of rotation to left of the mid-line
Dopengl-es20.jd514 <p>To add rotation to your triangle:</p>
527 // Create a rotation for the triangle
555 Before you do that, however, you'll modify the renderer class to expose the rotation angle of the
563 your {@code HelloOpenGLES10SurfaceView} class is able to pass new rotation values your renderer:
571 // Create a rotation for the triangle (Boring! Comment this out:)
575 // Use the mAngle member as the rotation value
588 member so you have a handle to pass in rotation input and set the render mode to {@link
623 // reverse direction of rotation above the mid-line
628 // reverse direction of rotation to left of the mid-line
/frameworks/base/docs/html/guide/topics/graphics/
Dview-animation.jd9 calculates the animation with information such as the start point, end point, size, rotation, and
13 <p>A tween animation can perform a series of simple transformations (position, size, rotation,
31 change, starting angle and ending angle for rotation, and so on), and also a set of common
Danimation.jd28 rotation of a View but not the background color, for instance.</p>
Dprop-animation.jd792 PropertyValuesHolder pvhRotation = PropertyValuesHolder.ofKeyframe("rotation", kf0, kf1, kf2);
822 <li><code>rotation</code>, <code>rotationX</code>, and <code>rotationY</code>: These properties
823 control the rotation in 2D (<code>rotation</code> property) and 3D around the pivot point.</li>
829 pivot point, around which the rotation and scaling transforms occur. By default, the pivot
840 <p>To animate a property of a View object, such as its color or rotation value, all you need to
844 ObjectAnimator.ofFloat(myView, "rotation", 0f, 360f);
/frameworks/base/libs/rs/scriptc/
Drs_quaternion.rsh95 * Loads a quaternion that represents a rotation about an arbitrary unit vector
115 * Loads a quaternion that represents a rotation about an arbitrary vector
220 * Computes rotation matrix from the normalized quaternion
Drs_matrix.rsh125 * Load a rotation matrix.
198 * Multiple matrix m with a rotation matrix
/frameworks/media/libvideoeditor/lvpp/
DVideoEditorTools.h152 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation);
/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp275 float rotation = getFloat(); in output() local
276 LOGD("%s%s %.2f", (char*) indent, OP_NAMES[op], rotation); in output()
606 float rotation = getFloat(); in replay() local
607 DISPLAY_LIST_LOGD("%s%s %.2f", (char*) indent, OP_NAMES[op], rotation); in replay()
608 renderer.rotate(rotation); in replay()
/frameworks/base/docs/html/resources/articles/
Davoiding-memory-leaks.jd48 that you don't want to load on every rotation. The easiest way to keep
49 it around and not having to reload it on every rotation is to keep in a
/frameworks/base/opengl/libagl/
Dmatrix.cpp333 matrixf_t rotation; in rotate() local
334 GLfloat* r = rotation.m; in rotate()
377 multiply(rotation); in rotate()
/frameworks/base/core/java/android/widget/
DStackView.java1371 float rotation = v.getRotation();
1380 v.setRotation(rotation);
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs649 float rotation = cardRotation + swayAngle;
651 rotation -= theta;
653 rsMatrixRotate(matrix, degrees(rotation), 0, 1, 0);

12