Searched refs:rotation (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/
H A DIRotationWatcher.aidl24 void onRotationChanged(int rotation);
H A DWindowOrientationListener.java130 * dealing with rotation of the device, this is the sensible coordinate system to work in. The
167 // Mapping our internal aliases into actual Surface rotation values
172 // Mapping Surface rotation values to internal aliases.
188 // Handle situation where we are currently doing 180 rotation
239 // defined rotation or tilt at all. Low or zero readings can happen when space travelling
319 int rotation = allow180Rotation
321 if (tiltAngle > MAX_TRANSITION_TILT[rotation]) {
322 // tilted too far flat to go to this rotation
326 if (localLOGV) Log.i(TAG, "orientation " + orientation + " gives new rotation = "
327 + rotation);
495 onOrientationChanged(int rotation) argument
[all...]
H A DIWindowManager.aidl138 * Change the current screen rotation, constants as per
140 * @param rotation the intended rotation.
146 void setRotation(int rotation, boolean alwaysSendConfiguration, int animFlags);
155 * Watch the rotation of the screen. Returns the current rotation,
/frameworks/base/services/java/com/android/server/
H A DInputManager.java61 private static native void nativeSetDisplayOrientation(int displayId, int rotation); argument
140 public void setDisplayOrientation(int displayId, int rotation) { argument
141 if (rotation < Surface.ROTATION_0 || rotation > Surface.ROTATION_270) {
142 throw new IllegalArgumentException("Invalid rotation.");
146 Slog.d(TAG, "Setting display #" + displayId + " orientation to " + rotation);
148 nativeSetDisplayOrientation(displayId, rotation);
H A DWindowManagerService.java407 // perform a rotation animation when turning off shows the lock screen which
4480 public void setRotation(int rotation, argument
4487 setRotationUnchecked(rotation, alwaysSendConfiguration, animFlags);
4490 public void setRotationUnchecked(int rotation, argument
4498 changed = setRotationUncheckedLocked(rotation, animFlags);
4509 * Apply a new rotation to the screen, respecting the requests of
4511 * re-evaluate the desired rotation.
4513 * Returns null if the rotation has been changed. In this case YOU
4516 public boolean setRotationUncheckedLocked(int rotation, int animFlags) { argument
4518 if (rotation
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java782 * Set the clockwise rotation of preview display in degrees. This affects
785 * front-facing cameras is flipped horizontally before the rotation, that
801 * int rotation = activity.getWindowManager().getDefaultDisplay()
804 * switch (rotation) {
1000 private static final String KEY_ROTATION = "rotation";
1763 * Sets the rotation angle in degrees relative to the orientation of
1777 * of the two is the rotation angle for back-facing camera. The
1778 * difference of the two is the rotation angle for front-facing camera.
1787 * orientation is 90. The rotation should be set to 0 (270 + 90).
1798 * int rotation
1815 setRotation(int rotation) argument
[all...]
H A DSensorManager.java621 public void onRotationChanged(int rotation) {
622 SensorManager.this.onRotationChanged(rotation);
1168 * Computes the inclination matrix <b>I</b> as well as the rotation matrix
1203 * <b>I</b> is a rotation matrix transforming the geomagnetic vector into
1205 * <b>I</b> is a simple rotation around the X axis. The inclination angle in
1228 * rotation matrix, its transpose is also its inverse, conveniently, it is
1229 * often the inverse of the rotation that is needed for rendering; it can
1262 * is an array of 9 floats holding the rotation matrix <b>R</b> when
1267 * is an array of 9 floats holding the rotation matrix <b>I</b> when
1386 * Rotates the supplied rotation matri
1640 onRotationChanged(int rotation) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java292 int mLandscapeRotation = -1; // default landscape rotation
293 int mSeascapeRotation = -1; // "other" landscape rotation, 180 degrees from mLandscapeRotation
294 int mPortraitRotation = -1; // default portrait rotation
295 int mUpsideDownRotation = -1; // "other" portrait rotation
344 public void onOrientationChanged(int rotation) { argument
346 if (localLOGV) Log.v(TAG, "onOrientationChanged, rotation changed to " +rotation);
348 mWindowManager.setRotation(rotation, false,
372 // We're in a dock that has a rotation affinity, and the app is willing to rotate.
388 * the user has explicitly disabled sensor based rotation o
[all...]
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp333 matrixf_t rotation; local
334 GLfloat* r = rotation.m;
377 multiply(rotation);

Completed in 673 milliseconds