Lines Matching refs:Rotation
30 Rotation ScreenRotationController::currentDisplayRotation_;
34 Rotation ScreenRotationController::lastSensorDecidedRotation_;
35 Rotation ScreenRotationController::rotationLockedRotation_;
38 std::map<DeviceRotation, Rotation> ScreenRotationController::deviceToDisplayRotationMap_;
39 std::map<Rotation, DisplayOrientation> ScreenRotationController::displayToDisplayOrientationMap_;
103 Rotation targetDisplayRotation = CalcTargetDisplayRotation(orientation, deviceRotation);
107 Rotation ScreenRotationController::GetCurrentDisplayRotation()
128 Rotation ScreenRotationController::CalcTargetDisplayRotation(
167 Rotation ScreenRotationController::ProcessAutoRotationPortraitOrientation(DeviceRotation sensorRotationConverted)
176 Rotation ScreenRotationController::ProcessAutoRotationLandscapeOrientation(DeviceRotation sensorRotationConverted)
185 void ScreenRotationController::SetScreenRotation(Rotation targetRotation, bool withAnimation)
328 DisplayOrientation ScreenRotationController::ConvertRotationToDisplayOrientation(Rotation rotation)
336 Rotation ScreenRotationController::ConvertDeviceToDisplayRotation(DeviceRotation deviceRotation)
358 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90},
360 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90},
362 defaultDeviceRotation_ == 0 ? Rotation::ROTATION_180 : Rotation::ROTATION_270},
364 defaultDeviceRotation_ == 1 ? Rotation::ROTATION_180 : Rotation::ROTATION_270},
369 {defaultDeviceRotation_ == 0 ? Rotation::ROTATION_0 : Rotation::ROTATION_90,
371 {defaultDeviceRotation_ == 1 ? Rotation::ROTATION_0 : Rotation::ROTATION_90,
373 {defaultDeviceRotation_ == 0 ? Rotation::ROTATION_180 : Rotation::ROTATION_270,
375 {defaultDeviceRotation_ == 1 ? Rotation::ROTATION_180 : Rotation::ROTATION_270,
414 return Rotation::ROTATION_0 == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT);
417 bool ScreenRotationController::IsDisplayRotationVertical(Rotation rotation)
423 bool ScreenRotationController::IsDisplayRotationHorizontal(Rotation rotation)
437 SetScreenRotation(Rotation::ROTATION_0, withAnimation);