Lines Matching defs:withAnimation
185 void ScreenRotationController::SetScreenRotation(Rotation targetRotation, bool withAnimation)
191 DisplayManagerServiceInner::GetInstance().SetRotationFromWindow(defaultDisplayId_, targetRotation, withAnimation);
192 WLOGFI("dms: Set screen rotation: %{public}u withAnimation: %{public}u", targetRotation, withAnimation);
429 void ScreenRotationController::ProcessSwitchToSensorUnrelatedOrientation(Orientation orientation, bool withAnimation)
437 SetScreenRotation(Rotation::ROTATION_0, withAnimation);
441 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_PORTRAIT), withAnimation);
446 withAnimation);
450 SetScreenRotation(ConvertDeviceToDisplayRotation(DeviceRotation::ROTATION_LANDSCAPE), withAnimation);
455 withAnimation);
464 void ScreenRotationController::ProcessOrientationSwitch(Orientation orientation, bool withAnimation)
467 ProcessSwitchToSensorUnrelatedOrientation(orientation, withAnimation);