Lines Matching refs:rotation

471     /** 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);
596 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation);
604 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation);
612 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation);
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.
994 * @return The surface rotation to use.
999 * Given an orientation constant and a rotation, returns true if the rotation
1001 * the application requested landscape and got seascape, then the rotation
1003 * then the rotation has incompatible metrics; if the application did not specify
1008 * @param rotation The rotation to check.
1009 * @return True if the rotation is compatible with the requested orientation.
1011 public boolean rotationHasCompatibleMetricsLw(int orientation, int rotation);
1014 * Called by the window manager when the rotation changes.
1016 * @param rotation The new rotation.
1018 public void setRotationLw(int rotation);
1080 * Inform the policy that the user has chosen a preferred orientation ("rotation lock").
1084 * @param rotation One of {@link Surface#ROTATION_0}, {@link Surface#ROTATION_90},
1087 public void setUserRotationMode(int mode, int rotation);