Searched refs:rotation (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/android/view/ |
H A D | IRotationWatcher.aidl | 24 void onRotationChanged(int rotation);
|
H A D | WindowOrientationListener.java | 131 // Mapping our internal aliases into actual Surface rotation values 221 int rotation = ROTATE_TO[mRotation][row]; 222 if (tiltAngle > MAX_TRANSITION_TILT[rotation]) { 223 // tilted too far flat to go to this rotation 227 if (localLOGV) Log.i(TAG, " new rotation = " + rotation); 228 mRotation = rotation; 229 onOrientationChanged(SURFACE_ROTATIONS[rotation]); 299 * Called when the rotation view of the device has changed. 301 * @param rotation Th 304 onOrientationChanged(int rotation) argument [all...] |
H A D | IWindowManager.aidl | 127 * Change the current screen rotation, constants as per 129 * @param rotation the intended rotation. 135 void setRotation(int rotation, boolean alwaysSendConfiguration, int animFlags); 144 * Watch the rotation of the screen. Returns the current rotation,
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 725 private static final String KEY_ROTATION = "rotation"; 1291 * picture in landscape mode in 2048x1536 resolution, the rotation 1293 * clockwise, the rotation should be set to 90. Applications can use 1302 * @param rotation The orientation of the device in degrees. Rotation 1304 * @throws IllegalArgumentException if rotation value is invalid. 1307 public void setRotation(int rotation) { argument 1308 if (rotation == 0 || rotation == 90 || rotation == 180 1309 || rotation [all...] |
H A D | SensorManager.java | 544 public void onRotationChanged(int rotation) { 545 SensorManager.this.onRotationChanged(rotation); 1006 * Computes the inclination matrix <b>I</b> as well as the rotation 1027 * <p><b>I</b> is a rotation matrix transforming the geomagnetic 1029 * space). <b>I</b> is a simple rotation around the X axis. 1048 * rotation matrix, its transpose is also its inverse, conveniently, it is 1049 * often the inverse of the rotation that is needed for rendering; it can 1075 * @param R is an array of 9 floats holding the rotation matrix <b>R</b> 1077 * @param I is an array of 9 floats holding the rotation matrix <b>I</b> 1175 * Rotates the supplied rotation matri 1346 onRotationChanged(int rotation) argument [all...] |
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 318 public void onOrientationChanged(int rotation) { argument 320 if (localLOGV) Log.v(TAG, "onOrientationChanged, rotation changed to " +rotation); 322 mWindowManager.setRotation(rotation, false, 343 // We're in a dock that has a rotation affinity, an the app is willing to rotate. 359 * the user has explicitly disabled sensor based rotation or when the 625 int rotation = mContext.getResources().getInteger(resID); 626 switch (rotation) { 2100 // Initialize the rotation angles for each orientation once. 2132 // If the user has enabled auto rotation b [all...] |
/frameworks/policies/base/mid/com/android/internal/policy/impl/ |
H A D | MidWindowManager.java | 993 // get rid of rotation for now. Always rotation of 0 1035 int rotation = Surface.ROTATION_0; 1038 mWindowManager.setRotation(rotation, true, 0);
|
/frameworks/base/services/java/com/android/server/ |
H A D | WindowManagerService.java | 422 // perform a rotation animation when turning off shows the lock screen which 4513 public void setRotation(int rotation, argument 4520 setRotationUnchecked(rotation, alwaysSendConfiguration, animFlags); 4523 public void setRotationUnchecked(int rotation, argument 4531 changed = setRotationUncheckedLocked(rotation, animFlags); 4542 * Apply a new rotation to the screen, respecting the requests of 4544 * re-evaluate the desired rotation. 4546 * Returns null if the rotation has been changed. In this case YOU 4549 public boolean setRotationUncheckedLocked(int rotation, int animFlags) { argument 4551 if (rotation [all...] |
/frameworks/base/opengl/libagl/ |
H A D | matrix.cpp | 333 matrixf_t rotation; local 334 GLfloat* r = rotation.m; 377 multiply(rotation);
|
Completed in 225 milliseconds