Lines Matching defs:state
528 // @brief Release (remove from key event handler) and reset visual state on UI.
540 // @brief Print (inject key code) and reset visual state on UI.
555 // @brief Only toggle visual state on UI without changing key event handler.
1546 int32_t MMIService::SetHoverScrollState(bool state)
1551 [state] {
1552 return ::OHOS::MMI::IInputWindowsManager::GetInstance()->SetHoverScrollState(state);
1556 MMI_HILOGE("Set mouse hover scroll state failed, return:%{public}d", ret);
1564 int32_t MMIService::ReadHoverScrollState(bool &state)
1566 state = WIN_MGR->GetHoverScrollState();
1571 int32_t MMIService::GetHoverScrollState(bool &state)
1576 [this, &state] {
1577 return this->ReadHoverScrollState(state);
1581 MMI_HILOGE("Get mouse hover scroll state, return:%{public}d", ret);
2478 int32_t MMIService::GetFunctionKeyState(int32_t funcKey, bool &state)
2483 [this, funcKey, &state] {
2484 return sMsgHandler_.OnGetFunctionKeyState(funcKey, state);
2919 int32_t MMIService::SetTouchpadScrollDirection(bool state)
2924 [state] {
2925 return ::OHOS::DelayedSingleton<MouseEventNormalize>::GetInstance()->SetTouchpadScrollDirection(state);
2936 int32_t MMIService::GetTouchpadScrollDirection(bool &state)
2941 [this, &state] {
2942 return this->ReadTouchpadScrollDirection(state);
3167 MMI_HILOGE("Set shield event interception state failed, return:%{public}d", ret);