Searched defs:rotation (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument
50 return new Rectangle(p0.rotatedAround(center, rotation),
51 p1.rotatedAround(center, rotation),
52 p2.rotatedAround(center, rotation),
53 p3.rotatedAround(center, rotation));
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java37 * rotation of its associated logical display.
86 * This value is not affected by display rotation.
92 * This value is not affected by display rotation.
132 * The additional rotation to apply to all content presented on the display device
140 public int rotation = Surface.ROTATION_0; field in class:DisplayDeviceInfo
177 && rotation == other.rotation
197 rotation = other.rotation;
209 + ", rotation "
[all...]
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java57 public void onRotationChanged(int rotation) {
58 LegacySensorManager.onRotationChanged(rotation);
193 static void onRotationChanged(int rotation) { argument
195 sRotation = rotation;
315 // handles 90 and 270 rotation
335 // handles 180 (flip) and 270 (flip + 90) rotation
H A DCamera.java1132 * Set the clockwise rotation of preview display in degrees. This affects
1135 * front-facing cameras is flipped horizontally before the rotation, that
1151 * int rotation = activity.getWindowManager().getDefaultDisplay()
1154 * switch (rotation) {
1360 * the sensor sees. The direction is not affected by the rotation or
1676 private static final String KEY_ROTATION = "rotation";
2607 * Sets the clockwise rotation angle in degrees relative to the
2621 * of the two is the rotation angle for back-facing camera. The
2622 * difference of the two is the rotation angle for front-facing camera.
2631 * orientation is 90. The rotation shoul
2659 setRotation(int rotation) argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java112 * The rotation of the display relative to its natural orientation.
121 public int rotation; field in class:DisplayInfo
199 && rotation == other.rotation
225 rotation = other.rotation;
246 rotation = source.readInt();
268 dest.writeInt(rotation);
316 + ", rotation " + rotation
[all...]
H A DDisplayList.java190 * Sets the rotation value for the DisplayList
192 * @param rotation The rotation value of the DisplayList
195 public abstract void setRotation(float rotation); argument
235 * @param rotation The rotation value of the DisplayList
242 float rotation, float rotationX, float rotationY, float scaleX, float scaleY);
241 setTransformationInfo(float alpha, float translationX, float translationY, float rotation, float rotationX, float rotationY, float scaleX, float scaleY) argument
H A DGLES20DisplayList.java184 public void setRotation(float rotation) { argument
186 nSetRotation(mFinalizer.mNativeDisplayList, rotation);
220 float rotation, float rotationX, float rotationY, float scaleX, float scaleY) {
223 rotation, rotationX, rotationY, scaleX, scaleY);
324 private static native void nSetRotation(int displayList, float rotation); argument
330 float translationX, float translationY, float rotation, float rotationX,
219 setTransformationInfo(float alpha, float translationX, float translationY, float rotation, float rotationX, float rotationY, float scaleX, float scaleY) argument
329 nSetTransformationInfo(int displayList, float alpha, float translationX, float translationY, float rotation, float rotationX, float rotationY, float scaleX, float scaleY) argument
H A DViewPropertyAnimator.java418 * This method will cause the View's <code>rotation</code> property to be animated to the
425 public ViewPropertyAnimator rotation(float value) { method in class:ViewPropertyAnimator
431 * This method will cause the View's <code>rotation</code> property to be animated by the
H A DWindowOrientationListener.java124 * Sets the current rotation.
126 * @param rotation The current rotation.
128 public void setCurrentRotation(int rotation) { argument
129 mCurrentRotation = rotation;
133 * Gets the proposed rotation.
135 * This method only returns a rotation if the orientation listener is certain
136 * of its proposal. If the rotation is indeterminate, returns -1.
138 * @return The proposed rotation, or -1 if unknown.
155 * Called when the rotation vie
164 onProposedRotationChanged(int rotation) argument
551 isTiltAngleAcceptable(int rotation, int tiltAngle) argument
562 isOrientationAngleAcceptable(int rotation, int orientationAngle) argument
655 updatePredictedRotation(long now, int rotation) argument
[all...]
H A DWindowManagerPolicy.java471 /** When not otherwise specified by the activity's screenOrientation, rotation should be
474 /** When not otherwise specified by the activity's screenOrientation, rotation is set by
589 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation); argument
596 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation); argument
604 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation); argument
612 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation); argument
785 * @param displayRotation The current rotation being applied to the base
988 * Given an orientation constant, returns the appropriate surface rotation,
989 * taking into account sensors, docking mode, rotation lock, and other factors.
993 * @param lastRotation The most recently used rotation
1011 rotationHasCompatibleMetricsLw(int orientation, int rotation) argument
1018 setRotationLw(int rotation) argument
1087 setUserRotationMode(int mode, int rotation) argument
[all...]
H A DView.java580 * rotation, translation and alpha of a view over time. If the animation is
2619 * based on the rotation, scaleX, and scaleY properties. The identity matrix
2622 * to get the correct matrix based on the latest rotation and scale properties.
2628 * based on the rotation, scaleX, and scaleY properties. The identity matrix
2631 * to get the correct matrix based on the latest rotation and scale properties.
2637 * transform matrix, based on whether the rotation or scaleX/Y properties
2644 * transform matrix, based on whether the rotation or scaleX/Y properties
2651 * transform matrix, based on whether the rotation or scaleX/Y properties
2670 * pivot point is only used in matrix operations (when rotation, scale, or translation are
2677 * The degrees rotation aroun
8988 setRotation(float rotation) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20DisplayList.cpp89 jobject clazz, DisplayList* displayList, float rotation) {
90 displayList->setRotation(rotation);
115 float translationX, float translationY, float rotation, float rotationX, float rotationY,
120 displayList->setRotation(rotation);
88 android_view_GLES20DisplayList_setRotation(JNIEnv* env, jobject clazz, DisplayList* displayList, float rotation) argument
113 android_view_GLES20DisplayList_setTransformationInfo(JNIEnv* env, jobject clazz, DisplayList* displayList, float alpha, float translationX, float translationY, float rotation, float rotationX, float rotationY, float scaleX, float scaleY) argument
/frameworks/base/services/java/com/android/server/wm/
H A DScreenRotationAnimation.java63 // animation applies a transformation while the rotation is in progress.
74 // It starts running once the new rotation UI elements are ready to be
94 // to switch to a new rotation before finishing the previous one.
199 // Screenshot does NOT include rotation!
288 public static void createRotationMatrix(int rotation, int width, int height, argument
290 switch (rotation) {
310 private void setRotationInTransaction(int rotation) { argument
311 mCurRotation = rotation;
315 // with the current screen rotation.
316 int delta = deltaRotation(rotation, Surfac
324 setRotationInTransaction(int rotation, SurfaceSession session, long maxAnimationDuration, float animationScale, int finalWidth, int finalHeight) argument
[all...]
H A DWindowManagerService.java244 * Layer at which to put the rotation freeze snapshot.
273 * management of the screen during rotation.
482 // perform a rotation animation when turning off shows the lock screen which
5832 // The screenshot API does not apply the current screen rotation.
5897 * Freeze rotation changes. (Enable "rotation lock".)
5899 * @param rotation The desired rotation to freeze to, or -1 to use the
5900 * current rotation.
5902 public void freezeRotation(int rotation) { argument
6581 scheduleNotifyRotationChangedIfNeededLocked(DisplayContent displayContent, int rotation) argument
6590 handleNotifyRotationChanged(int displayId, int rotation) argument
6739 adjustDisplaySizeRanges(DisplayInfo displayInfo, int rotation, int dw, int dh) argument
6757 reduceConfigLayout(int curLayout, int rotation, float density, int dw, int dh) argument
6810 reduceCompatConfigWidthSize(int curSize, int rotation, DisplayMetrics dm, int dw, int dh) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java55 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, argument
59 mRotation = rotation;
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java140 // To support rotation
143 /** The current rotation amount, in degrees */
774 // re-apply any rotation
899 * @param animate if {@code true}, animate during the rotation. Otherwise, snap rotate.
1213 * Runnable that animates an image rotation operation.
1236 public void start(float rotation) { argument
1241 mTargetRotation = rotation;
1251 * Stops the animation in place. It does not snap the image to its final rotation.
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp333 matrixf_t rotation; local
334 GLfloat* r = rotation.m;
377 multiply(rotation);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp392 float rotation = getFloat(); local
393 ALOGD("%s%s %.2f", (char*) indent, OP_NAMES[op], rotation);
979 float rotation = getFloat(); local
980 DISPLAY_LIST_LOGD("%s%s %.2f", (char*) indent, OP_NAMES[op], rotation);
981 renderer.rotate(rotation);
H A DDisplayListRenderer.h210 void setRotation(float rotation) { argument
211 if (rotation != mRotation) {
212 mRotation = rotation;
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java942 public void onRotationChanged(int rotation) throws RemoteException {
943 mHandler.obtainMessage(MESSAGE_ON_ROTATION_CHANGED, rotation, 0)
972 private void handleOnRotationChanged(int rotation) { argument
974 Slog.i(LOG_TAG, "Rotation: " + rotationToString(rotation));
1182 private String rotationToString(int rotation) { argument
1183 switch (rotation) {
1197 throw new IllegalArgumentException("Invalid rotation: "
1198 + rotation);
1227 final int rotation = message.arg1;
1228 handleOnRotationChanged(rotation);
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java142 // To support rotation
145 /** The current rotation amount, in degrees */
780 // re-apply any rotation
905 * @param animate if {@code true}, animate during the rotation. Otherwise, snap rotate.
1219 * Runnable that animates an image rotation operation.
1242 public void start(float rotation) { argument
1247 mTargetRotation = rotation;
1257 * Stops the animation in place. It does not snap the image to its final rotation.
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp1989 M4OSA_Bool m_bRevertXY; /**< Depend on output orientation, used during processing to revert X and Y processing order (+-90° rotation) */
2400 /**< No +-90° rotation */
2446 /**< Here we have a +-90° rotation */
2483 /**No +-90° rotation */
2560 /** +-90° rotation */
2647 /**No +-90° rotation */
2729 /** +-90° rotation */
3686 /**< As we have a -90° rotation, first needed pixel is the upper-right one */
3723 /**< As we have a +90° rotation, first needed pixel is the left-down one */
3832 M4OSA_UInt32 height, M4OSA_UInt32 rotation) {
3831 applyVideoRotation(M4OSA_Void* pBuffer, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java153 int displayId, int rotation,
152 nativeSetDisplayViewport(int 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/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java3536 public void onRotationChanged(int rotation) throws RemoteException { argument
3548 Log.e(TAG, "Couldn't start watching for device rotation", ex);
H A DPhoneWindowManager.java452 int mLandscapeRotation = 0; // default landscape rotation
453 int mSeascapeRotation = 0; // "other" landscape rotation, 180 degrees from mLandscapeRotation
454 int mPortraitRotation = 0; // default portrait rotation
455 int mUpsideDownRotation = 0; // "other" portrait rotation
561 public void onProposedRotationChanged(int rotation) { argument
562 if (localLOGV) Log.v(TAG, "onProposedRotationChanged, rotation=" + rotation);
580 * the user has explicitly disabled sensor based rotation or when the
939 // Controls rotation and the like.
1051 // For demo purposes, allow the rotation o
1450 getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation) argument
1461 getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation) argument
1476 getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation) argument
1480 getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation) argument
4072 rotationHasCompatibleMetricsLw(int orientation, int rotation) argument
4090 setRotationLw(int rotation) argument
4094 isLandscapeOrSeascape(int rotation) argument
4098 isAnyPortrait(int rotation) argument
[all...]

Completed in 4921 milliseconds