Lines Matching defs:ConvertDeviceToDisplayRotation
66 if (GetCurrentDisplayRotation() == ConvertDeviceToDisplayRotation(lastSensorRotationConverted_)) {
99 if (currentDisplayRotation_ == ConvertDeviceToDisplayRotation(deviceRotation)) {
112 return defaultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT) :
113 ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE);
133 lastSensorDecidedRotation_ = ConvertDeviceToDisplayRotation(sensorRotationConverted);
146 lastSensorDecidedRotation_ = ConvertDeviceToDisplayRotation(sensorRotationConverted);
172 lastSensorDecidedRotation_ = ConvertDeviceToDisplayRotation(sensorRotationConverted);
181 lastSensorDecidedRotation_ = ConvertDeviceToDisplayRotation(sensorRotationConverted);
274 SetScreenRotation(ConvertDeviceToDisplayRotation(rotation));
281 SetScreenRotation(ConvertDeviceToDisplayRotation(rotation));
284 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT));
290 SetScreenRotation(ConvertDeviceToDisplayRotation(rotation));
293 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE));
305 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT));
317 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE));
336 Rotation ScreenRotationController::ConvertDeviceToDisplayRotation(DeviceRotation deviceRotation)
414 return Rotation::ROTATION_0 == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT);
419 return (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT)) ||
420 (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT_INVERTED));
425 return (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE)) ||
426 (rotation == ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE_INVERTED));
441 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT), withAnimation);
445 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT_INVERTED),
450 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE), withAnimation);
454 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE_INVERTED),