Home
last modified time | relevance | path

Searched refs:ScreenAction (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/display_manager/service/native/src/
Dscreen_action.cpp28 ScreenAction::ScreenAction(uint32_t displayId) : displayId_(displayId) in ScreenAction() function in OHOS::DisplayPowerMgr::ScreenAction
31 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()
Dscreen_controller.cpp42 action_ = make_shared<ScreenAction>(displayId); in ScreenController()
54 ScreenController::AnimateCallbackImpl::AnimateCallbackImpl(const std::shared_ptr<ScreenAction>& act… in AnimateCallbackImpl()
Ddisplay_power_mgr_service.cpp53 std::vector<uint32_t> displayIds = ScreenAction::GetAllDisplayId(); in Init()
222 uint32_t id = ScreenAction::GetDefaultDisplayId(); in GetMainDisplayId()
/base/powermgr/display_manager/service/native/include/
Dscreen_action.h29 class ScreenAction {
31 ScreenAction(uint32_t displayId);
32 ~ScreenAction() = default;
Dscreen_controller.h37 explicit AnimateCallbackImpl(const std::shared_ptr<ScreenAction>& action,
45 const std::shared_ptr<ScreenAction>& action_;
100 std::shared_ptr<ScreenAction> action_ {nullptr};