Lines Matching refs:orientation

466     Vibrator mVibrator; // Vibrator for giving feedback of orientation changes
588 // Default display does not rotate, apps that require non-default orientation will have to
589 // have the orientation emulated.
1187 // orientation, then we need to turn the sensor on.
1196 // orientation management,
1202 // a window that forces an orientation that does not use the
1205 // orientation for a little bit, which can cause orientation
1220 * screen turned on and current app has sensor based orientation, enable listeners
1222 * screen turned on and current app does not have sensor orientation, disable listeners if
1224 * screen turning on and current app has sensor based orientation, enable listeners if needed
1225 * screen turning on and current app has nosensor based orientation, do nothing
1233 // change of the currently visible window's orientation.
1249 // Don't clear the current sensor orientation if the keyguard is going away in
1251 // determine the orientation vs. falling back to the last known orientation if
1253 // will show in the wrong orientation first before correcting leading to app
2411 // Only force the default orientation if the screen is xlarge, at least 960dp x 720dp, per
2414 // so if the orientation is forced, we need to respect that no matter what.
2418 // so if the orientation is forced, we need to respect that no matter what.
2475 updateOrientationListenerLp(); // Enable, disable the orientation listener
6885 // as well as enabling the orientation change logic/sensor.
6986 // We have just finished drawing screen content. Since the orientation listener
7241 public int rotationForOrientationLw(int orientation, int lastRotation, boolean defaultDisplay) {
7244 + orientation + ", last=" + lastRotation
7287 // Note that the dock orientation overrides the HDMI orientation.
7291 // Ignore sensor when plugged into HDMI and an undocked orientation has
7294 // Note that the dock orientation overrides the HDMI orientation.
7298 // Note that the dock orientation and HDMI rotation lock override this.
7303 // and ignored any orientation lock that the user has set (this conditional
7306 } else if (orientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) {
7314 && (orientation == ActivityInfo.SCREEN_ORIENTATION_USER
7315 || orientation == ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED
7316 || orientation == ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
7317 || orientation == ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT
7318 || orientation == ActivityInfo.SCREEN_ORIENTATION_FULL_USER))
7319 || orientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR
7320 || orientation == ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR
7321 || orientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE
7322 || orientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT) {
7334 || orientation == ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR
7335 || orientation == ActivityInfo.SCREEN_ORIENTATION_FULL_USER) {
7341 && orientation != ActivityInfo.SCREEN_ORIENTATION_NOSENSOR) {
7353 switch (orientation) {
7406 // just return the preferred orientation we already calculated.
7416 public boolean rotationHasCompatibleMetricsLw(int orientation, int rotation) {
7417 switch (orientation) {
7438 public boolean isRotationChoicePossible(int orientation) {
7447 return false; // Rotation is forced to default orientation
7478 // Ensure that some rotation choice is possible for the given orientation
7479 switch (orientation) {
7493 public boolean isValidRotationChoice(int orientation, final int preferredRotation) {
7494 // Determine if the given app orientation is compatible with the provided rotation choice
7495 switch (orientation) {
7535 // User rotation: to be used when all else fails in assigning an orientation to the device
7863 //set orientation on WindowManager
7872 //set orientation on WindowManager
8544 // Note most apps (using orientation:sensor or user as opposed to fullSensor)
8545 // will not enter the reverse portrait orientation, so actually the
8546 // orientation won't change at all.