Searched refs:ScreenAction (Results 1 – 5 of 5) sorted by relevance
28 ScreenAction::ScreenAction(uint32_t displayId) : displayId_(displayId) in ScreenAction() function in OHOS::DisplayPowerMgr::ScreenAction31 uint32_t ScreenAction::GetDefaultDisplayId() in GetDefaultDisplayId()39 std::vector<uint32_t> ScreenAction::GetAllDisplayId() in GetAllDisplayId()55 uint32_t ScreenAction::GetDisplayId() in GetDisplayId()60 DisplayState ScreenAction::GetDisplayState() in GetDisplayState()85 bool ScreenAction::SetDisplayState(DisplayState state, const std::function<void(DisplayState)>& cal… in SetDisplayState()127 bool ScreenAction::SetDisplayPower(DisplayState state, uint32_t reason) in SetDisplayPower()154 uint32_t ScreenAction::GetBrightness() in GetBrightness()164 bool ScreenAction::SetBrightness(uint32_t value) in SetBrightness()
42 action_ = make_shared<ScreenAction>(displayId); in ScreenController()54 ScreenController::AnimateCallbackImpl::AnimateCallbackImpl(const std::shared_ptr<ScreenAction>& act… in AnimateCallbackImpl()
53 std::vector<uint32_t> displayIds = ScreenAction::GetAllDisplayId(); in Init()222 uint32_t id = ScreenAction::GetDefaultDisplayId(); in GetMainDisplayId()
29 class ScreenAction {31 ScreenAction(uint32_t displayId);32 ~ScreenAction() = default;
37 explicit AnimateCallbackImpl(const std::shared_ptr<ScreenAction>& action,45 const std::shared_ptr<ScreenAction>& action_;100 std::shared_ptr<ScreenAction> action_ {nullptr};