Lines Matching refs:Orientation
33 Orientation ScreenRotationController::lastOrientationType_ = Orientation::UNSPECIFIED;
69 Orientation currentOrientation = GetPreferredOrientation();
91 Orientation orientation = GetPreferredOrientation();
118 Orientation ScreenRotationController::GetPreferredOrientation()
123 return Orientation::UNSPECIFIED;
129 Orientation requestedOrientation, DeviceRotation sensorRotationConverted)
132 case Orientation::SENSOR: {
136 case Orientation::SENSOR_VERTICAL: {
139 case Orientation::SENSOR_HORIZONTAL: {
142 case Orientation::AUTO_ROTATION_RESTRICTED: {
149 case Orientation::AUTO_ROTATION_PORTRAIT_RESTRICTED: {
155 case Orientation::AUTO_ROTATION_LANDSCAPE_RESTRICTED: {
218 bool ScreenRotationController::IsSensorRelatedOrientation(Orientation orientation)
220 if ((orientation >= Orientation::UNSPECIFIED && orientation <= Orientation::REVERSE_HORIZONTAL) ||
221 orientation == Orientation::LOCKED) {
228 Orientation orientation, DeviceRotation sensorRotationConverted)
232 case Orientation::AUTO_ROTATION_RESTRICTED: {
239 case Orientation::SENSOR: {
243 case Orientation::AUTO_ROTATION_PORTRAIT_RESTRICTED: {
250 case Orientation::SENSOR_VERTICAL: {
254 case Orientation::AUTO_ROTATION_LANDSCAPE_RESTRICTED: {
261 case Orientation::SENSOR_HORIZONTAL: {
429 void ScreenRotationController::ProcessSwitchToSensorUnrelatedOrientation(Orientation orientation, bool withAnimation)
436 case Orientation::UNSPECIFIED: {
440 case Orientation::VERTICAL: {
444 case Orientation::REVERSE_VERTICAL: {
449 case Orientation::HORIZONTAL: {
453 case Orientation::REVERSE_HORIZONTAL: {
464 void ScreenRotationController::ProcessOrientationSwitch(Orientation orientation, bool withAnimation)