Home
last modified time | relevance | path

Searched refs:switchFlag (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtouch_event_normalize.cpp109 int32_t TouchEventNormalize::SetTouchpadPinchSwitch(bool switchFlag) const in SetTouchpadPinchSwitch()
111 return TouchPadTransformProcessor::SetTouchpadPinchSwitch(switchFlag); in SetTouchpadPinchSwitch()
114 void TouchEventNormalize::GetTouchpadPinchSwitch(bool &switchFlag) const in GetTouchpadPinchSwitch()
116 TouchPadTransformProcessor::GetTouchpadPinchSwitch(switchFlag); in GetTouchpadPinchSwitch()
119 int32_t TouchEventNormalize::SetTouchpadSwipeSwitch(bool switchFlag) const in SetTouchpadSwipeSwitch()
121 return TouchPadTransformProcessor::SetTouchpadSwipeSwitch(switchFlag); in SetTouchpadSwipeSwitch()
124 void TouchEventNormalize::GetTouchpadSwipeSwitch(bool &switchFlag) const in GetTouchpadSwipeSwitch()
126 TouchPadTransformProcessor::GetTouchpadSwipeSwitch(switchFlag); in GetTouchpadSwipeSwitch()
139 int32_t TouchEventNormalize::SetTouchpadDoubleTapAndDragState(bool switchFlag) const in SetTouchpadDoubleTapAndDragState()
144 void TouchEventNormalize::GetTouchpadDoubleTapAndDragState(bool &switchFlag) const in GetTouchpadDoubleTapAndDragState()
[all …]
H A Dtouchpad_transform_processor.cpp517 if (PutConfigDataToDatabase(name, switchFlag) != RET_OK) { in SetTouchpadSwipeSwitch()
523 switchFlag); in SetTouchpadSwipeSwitch()
527 void TouchPadTransformProcessor::GetTouchpadSwipeSwitch(bool &switchFlag) in GetTouchpadSwipeSwitch() argument
530 GetConfigDataFromDatabase(name, switchFlag); in GetTouchpadSwipeSwitch()
536 if (PutConfigDataToDatabase(name, switchFlag) != RET_OK) { in SetTouchpadPinchSwitch()
542 switchFlag); in SetTouchpadPinchSwitch()
549 GetConfigDataFromDatabase(name, switchFlag); in GetTouchpadPinchSwitch()
574 if (PutConfigDataToDatabase(name, switchFlag) != RET_OK) { in SetTouchpadDoubleTapAndDragState()
586 if (switchFlag) { in SetTouchpadDoubleTapAndDragState()
597 switchFlag); in SetTouchpadDoubleTapAndDragState()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/include/
H A Dtouch_event_normalize.h55 int32_t SetTouchpadPinchSwitch(bool switchFlag) const;
56 void GetTouchpadPinchSwitch(bool &switchFlag) const;
57 int32_t SetTouchpadSwipeSwitch(bool switchFlag) const;
58 void GetTouchpadSwipeSwitch(bool &switchFlag) const;
61 int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag) const;
62 void GetTouchpadDoubleTapAndDragState(bool &switchFlag) const;
H A Dtouchpad_transform_processor.h79 static int32_t SetTouchpadPinchSwitch(bool switchFlag);
80 static void GetTouchpadPinchSwitch(bool &switchFlag);
81 static int32_t SetTouchpadSwipeSwitch(bool switchFlag);
82 static void GetTouchpadSwipeSwitch(bool &switchFlag);
85 static int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag);
86 static void GetTouchpadDoubleTapAndDragState(bool &switchFlag);
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp413 return InputMgrImpl.SetTouchpadScrollSwitch(switchFlag); in SetTouchpadScrollSwitch()
418 return InputMgrImpl.GetTouchpadScrollSwitch(switchFlag); in GetTouchpadScrollSwitch()
429 int32_t InputManager::SetTouchpadTapSwitch(bool switchFlag) in SetTouchpadTapSwitch() argument
431 return InputMgrImpl.SetTouchpadTapSwitch(switchFlag); in SetTouchpadTapSwitch()
434 int32_t InputManager::GetTouchpadTapSwitch(bool &switchFlag) in GetTouchpadTapSwitch() argument
436 return InputMgrImpl.GetTouchpadTapSwitch(switchFlag); in GetTouchpadTapSwitch()
449 int32_t InputManager::SetTouchpadPinchSwitch(bool switchFlag) in SetTouchpadPinchSwitch() argument
451 return InputMgrImpl.SetTouchpadPinchSwitch(switchFlag); in SetTouchpadPinchSwitch()
456 return InputMgrImpl.GetTouchpadPinchSwitch(switchFlag); in GetTouchpadPinchSwitch()
461 return InputMgrImpl.SetTouchpadSwipeSwitch(switchFlag); in SetTouchpadSwipeSwitch()
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/
H A Dswitch_event_input_subscribe_manager_test.cpp173 bool switchFlag = true; variable
174 int32_t ret = inputManager.SetTouchpadScrollSwitch(switchFlag);
176 switchFlag = false;
177 ret = inputManager.SetTouchpadScrollSwitch(switchFlag);
191 bool switchFlag = true; variable
192 int32_t ret = inputManager.GetTouchpadScrollSwitch(switchFlag);
194 switchFlag = false;
195 ret = inputManager.GetTouchpadScrollSwitch(switchFlag);
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/src/
H A Dmouse_event_normalize.cpp215 int32_t MouseEventNormalize::SetTouchpadScrollSwitch(bool switchFlag) const in SetTouchpadScrollSwitch()
217 return MouseTransformProcessor::SetTouchpadScrollSwitch(switchFlag); in SetTouchpadScrollSwitch()
220 void MouseEventNormalize::GetTouchpadScrollSwitch(bool &switchFlag) const in GetTouchpadScrollSwitch()
222 MouseTransformProcessor::GetTouchpadScrollSwitch(switchFlag); in GetTouchpadScrollSwitch()
230 void MouseEventNormalize::GetTouchpadScrollDirection(bool &switchFlag) const in GetTouchpadScrollDirection()
232 MouseTransformProcessor::GetTouchpadScrollDirection(switchFlag); in GetTouchpadScrollDirection()
235 int32_t MouseEventNormalize::SetTouchpadTapSwitch(bool switchFlag) const in SetTouchpadTapSwitch()
237 return MouseTransformProcessor::SetTouchpadTapSwitch(switchFlag); in SetTouchpadTapSwitch()
240 void MouseEventNormalize::GetTouchpadTapSwitch(bool &switchFlag) const in GetTouchpadTapSwitch()
242 MouseTransformProcessor::GetTouchpadTapSwitch(switchFlag); in GetTouchpadTapSwitch()
H A Dmouse_transform_processor.cpp957 int32_t MouseTransformProcessor::SetTouchpadScrollSwitch(bool switchFlag) in SetTouchpadScrollSwitch() argument
960 if (PutConfigDataToDatabase(name, switchFlag) != RET_OK) { in SetTouchpadScrollSwitch()
961 …ailed to set scroll switch flag to mem, name:%s, switchFlag:%{public}d", name.c_str(), switchFlag); in SetTouchpadScrollSwitch()
965 switchFlag); in SetTouchpadScrollSwitch()
970 void MouseTransformProcessor::GetTouchpadScrollSwitch(bool &switchFlag) in GetTouchpadScrollSwitch() argument
973 GetConfigDataFromDatabase(name, switchFlag); in GetTouchpadScrollSwitch()
996 int32_t MouseTransformProcessor::SetTouchpadTapSwitch(bool switchFlag) in SetTouchpadTapSwitch() argument
999 if (PutConfigDataToDatabase(name, switchFlag) != RET_OK) { in SetTouchpadTapSwitch()
1005 switchFlag); in SetTouchpadTapSwitch()
1010 void MouseTransformProcessor::GetTouchpadTapSwitch(bool &switchFlag) in GetTouchpadTapSwitch() argument
[all …]
/ohos5.0/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h114 int32_t SetTouchpadScrollSwitch(bool switchFlag) override;
118 int32_t SetTouchpadTapSwitch(bool switchFlag) override;
119 int32_t GetTouchpadTapSwitch(bool &switchFlag) override;
122 int32_t SetTouchpadPinchSwitch(bool switchFlag) override;
123 int32_t GetTouchpadPinchSwitch(bool &switchFlag) override;
124 int32_t SetTouchpadSwipeSwitch(bool switchFlag) override;
125 int32_t GetTouchpadSwipeSwitch(bool &switchFlag) override;
186 int32_t ReadTouchpadScrollSwich(bool &switchFlag);
188 int32_t ReadTouchpadTapSwitch(bool &switchFlag);
190 int32_t ReadTouchpadPinchSwitch(bool &switchFlag);
[all …]
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h104 int32_t SetTouchpadScrollSwitch(bool switchFlag);
105 int32_t GetTouchpadScrollSwitch(bool &switchFlag);
108 int32_t SetTouchpadTapSwitch(bool switchFlag);
109 int32_t GetTouchpadTapSwitch(bool &switchFlag);
112 int32_t SetTouchpadPinchSwitch(bool switchFlag);
113 int32_t GetTouchpadPinchSwitch(bool &switchFlag);
114 int32_t SetTouchpadSwipeSwitch(bool switchFlag);
115 int32_t GetTouchpadSwipeSwitch(bool &switchFlag);
120 int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag);
121 int32_t GetTouchpadDoubleTapAndDragState(bool &switchFlag);
H A Di_multimodal_input_connect.h115 virtual int32_t SetTouchpadScrollSwitch(bool switchFlag) = 0;
116 virtual int32_t GetTouchpadScrollSwitch(bool &switchFlag) = 0;
119 virtual int32_t SetTouchpadTapSwitch(bool switchFlag) = 0;
120 virtual int32_t GetTouchpadTapSwitch(bool &switchFlag) = 0;
123 virtual int32_t SetTouchpadPinchSwitch(bool switchFlag) = 0;
124 virtual int32_t GetTouchpadPinchSwitch(bool &switchFlag) = 0;
125 virtual int32_t SetTouchpadSwipeSwitch(bool switchFlag) = 0;
126 virtual int32_t GetTouchpadSwipeSwitch(bool &switchFlag) = 0;
131 virtual int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag) = 0;
132 virtual int32_t GetTouchpadDoubleTapAndDragState(bool &switchFlag) = 0;
H A Dmultimodal_input_connect_proxy.h100 int32_t SetTouchpadScrollSwitch(bool switchFlag) override;
101 int32_t GetTouchpadScrollSwitch(bool &switchFlag) override;
104 int32_t SetTouchpadTapSwitch(bool switchFlag) override;
105 int32_t GetTouchpadTapSwitch(bool &switchFlag) override;
108 int32_t SetTouchpadPinchSwitch(bool switchFlag) override;
109 int32_t GetTouchpadPinchSwitch(bool &switchFlag) override;
110 int32_t SetTouchpadSwipeSwitch(bool switchFlag) override;
111 int32_t GetTouchpadSwipeSwitch(bool &switchFlag) override;
116 int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag) override;
117 int32_t GetTouchpadDoubleTapAndDragState(bool &switchFlag) override;
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h633 int32_t SetTouchpadScrollSwitch(bool switchFlag);
641 int32_t GetTouchpadScrollSwitch(bool &switchFlag);
665 int32_t SetTouchpadTapSwitch(bool switchFlag);
673 int32_t GetTouchpadTapSwitch(bool &switchFlag);
697 int32_t SetTouchpadPinchSwitch(bool switchFlag);
705 int32_t GetTouchpadPinchSwitch(bool &switchFlag);
713 int32_t SetTouchpadSwipeSwitch(bool switchFlag);
721 int32_t GetTouchpadSwipeSwitch(bool &switchFlag);
851 int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag);
860 int32_t GetTouchpadDoubleTapAndDragState(bool &switchFlag);
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/include/
H A Dmouse_event_normalize.h52 int32_t SetTouchpadScrollSwitch(bool switchFlag) const;
53 void GetTouchpadScrollSwitch(bool &switchFlag) const;
56 int32_t SetTouchpadTapSwitch(bool switchFlag) const;
57 void GetTouchpadTapSwitch(bool &switchFlag) const;
H A Dmouse_transform_processor.h128 static int32_t SetTouchpadScrollSwitch(bool switchFlag);
129 static void GetTouchpadScrollSwitch(bool &switchFlag);
132 static int32_t SetTouchpadTapSwitch(bool switchFlag);
133 static void GetTouchpadTapSwitch(bool &switchFlag);
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_manager.cpp866 bool switchFlag = true; in GetTouchpadScrollSwitch() local
868 return GetTouchpadBoolData(env, handle, switchFlag, ret); in GetTouchpadScrollSwitch()
889 int32_t ret = InputManager::GetInstance()->SetTouchpadTapSwitch(switchFlag); in SetTouchpadTapSwitch()
896 bool switchFlag = true; in GetTouchpadTapSwitch() local
898 return GetTouchpadBoolData(env, handle, switchFlag, ret); in GetTouchpadTapSwitch()
925 bool switchFlag = true; in GetTouchpadPinchSwitch() local
927 return GetTouchpadBoolData(env, handle, switchFlag, ret); in GetTouchpadPinchSwitch()
940 bool switchFlag = true; in GetTouchpadSwipeSwitch() local
942 return GetTouchpadBoolData(env, handle, switchFlag, ret); in GetTouchpadSwipeSwitch()
985 bool switchFlag = true; in GetTouchpadDoubleTapAndDragState() local
[all …]
H A Djs_pointer_context.cpp1295 bool switchFlag = true; in SetTouchpadBoolData() local
1296 CHKRP(napi_get_value_bool(env, argv[0], &switchFlag), GET_VALUE_BOOL); in SetTouchpadBoolData()
1299 return func(env, switchFlag, nullptr); in SetTouchpadBoolData()
1306 return func(env, switchFlag, argv[1]); in SetTouchpadBoolData()
1372 auto func = [jsPointerMgr] (napi_env env, bool switchFlag, napi_value handle) -> napi_value { in SetTouchpadScrollSwitch() argument
1373 return jsPointerMgr->SetTouchpadScrollSwitch(env, switchFlag, handle); in SetTouchpadScrollSwitch()
1424 auto func = [jsPointerMgr] (napi_env env, bool switchFlag, napi_value handle) -> napi_value { in SetTouchpadTapSwitch() argument
1425 return jsPointerMgr->SetTouchpadTapSwitch(env, switchFlag, handle); in SetTouchpadTapSwitch()
1477 return jsPointerMgr->SetTouchpadPinchSwitch(env, switchFlag, handle); in SetTouchpadPinchSwitch()
1503 return jsPointerMgr->SetTouchpadSwipeSwitch(env, switchFlag, handle); in SetTouchpadSwipeSwitch()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp410 bool switchFlag = false; in OnStart() local
2167 [switchFlag] { in SetTouchpadScrollSwitch()
2184 [this, &switchFlag] { in GetTouchpadScrollSwitch()
2235 [switchFlag] { in SetTouchpadTapSwitch()
2252 [this, &switchFlag] { in GetTouchpadTapSwitch()
2303 [switchFlag] { in SetTouchpadPinchSwitch()
2320 [this, &switchFlag] { in GetTouchpadPinchSwitch()
2337 [switchFlag] { in SetTouchpadSwipeSwitch()
2354 [this, &switchFlag] { in GetTouchpadSwipeSwitch()
2439 [switchFlag] { in SetTouchpadDoubleTapAndDragState()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp580 int32_t MultimodalInputConnectManager::SetTouchpadScrollSwitch(bool switchFlag) in SetTouchpadScrollSwitch() argument
608 int32_t MultimodalInputConnectManager::SetTouchpadTapSwitch(bool switchFlag) in SetTouchpadTapSwitch() argument
612 return multimodalInputConnectService_->SetTouchpadTapSwitch(switchFlag); in SetTouchpadTapSwitch()
615 int32_t MultimodalInputConnectManager::GetTouchpadTapSwitch(bool &switchFlag) in GetTouchpadTapSwitch() argument
619 return multimodalInputConnectService_->GetTouchpadTapSwitch(switchFlag); in GetTouchpadTapSwitch()
636 int32_t MultimodalInputConnectManager::SetTouchpadPinchSwitch(bool switchFlag) in SetTouchpadPinchSwitch() argument
640 return multimodalInputConnectService_->SetTouchpadPinchSwitch(switchFlag); in SetTouchpadPinchSwitch()
647 return multimodalInputConnectService_->GetTouchpadPinchSwitch(switchFlag); in GetTouchpadPinchSwitch()
650 int32_t MultimodalInputConnectManager::SetTouchpadSwipeSwitch(bool switchFlag) in SetTouchpadSwipeSwitch() argument
654 return multimodalInputConnectService_->SetTouchpadSwipeSwitch(switchFlag); in SetTouchpadSwipeSwitch()
[all …]
H A Dmultimodal_input_connect_stub.cpp1749 bool switchFlag = true; in StubSetTouchpadScrollSwitch() local
1768 bool switchFlag = true; in StubGetTouchpadScrollSwitch() local
1827 bool switchFlag = true; in StubSetTouchpadTapSwitch() local
1829 ret = SetTouchpadTapSwitch(switchFlag); in StubSetTouchpadTapSwitch()
1846 bool switchFlag = true; in StubGetTouchpadTapSwitch() local
1989 bool switchFlag = true; in StubSetTouchpadPinchSwitch() local
2008 bool switchFlag = true; in StubGetTouchpadPinchSwitch() local
2028 bool switchFlag = true; in StubSetTouchpadSwipeSwitch() local
2047 bool switchFlag = true; in StubGetTouchpadSwipeSwitch() local
2145 bool switchFlag = true; in StubSetTouchpadDoubleTapAndDragState() local
[all …]
H A Dmultimodal_input_connect_proxy.cpp1568 WRITEBOOL(data, switchFlag, ERR_INVALID_VALUE); in SetTouchpadBoolData()
1598 READBOOL(reply, switchFlag, IPC_PROXY_DEAD_OBJECT_ERR); in GetTouchpadBoolData()
1645 int32_t MultimodalInputConnectProxy::SetTouchpadScrollSwitch(bool switchFlag) in SetTouchpadScrollSwitch() argument
1651 int32_t MultimodalInputConnectProxy::GetTouchpadScrollSwitch(bool &switchFlag) in GetTouchpadScrollSwitch() argument
1663 int32_t MultimodalInputConnectProxy::GetTouchpadScrollDirection(bool &switchFlag) in GetTouchpadScrollDirection() argument
1669 int32_t MultimodalInputConnectProxy::SetTouchpadTapSwitch(bool switchFlag) in SetTouchpadTapSwitch() argument
1675 int32_t MultimodalInputConnectProxy::GetTouchpadTapSwitch(bool &switchFlag) in GetTouchpadTapSwitch() argument
1693 int32_t MultimodalInputConnectProxy::SetTouchpadPinchSwitch(bool switchFlag) in SetTouchpadPinchSwitch() argument
1699 int32_t MultimodalInputConnectProxy::GetTouchpadPinchSwitch(bool &switchFlag) in GetTouchpadPinchSwitch() argument
1705 int32_t MultimodalInputConnectProxy::SetTouchpadSwipeSwitch(bool switchFlag) in SetTouchpadSwipeSwitch() argument
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h157 int32_t SetTouchpadScrollSwitch(bool switchFlag);
158 int32_t GetTouchpadScrollSwitch(bool &switchFlag);
161 int32_t SetTouchpadTapSwitch(bool switchFlag);
162 int32_t GetTouchpadTapSwitch(bool &switchFlag);
165 int32_t SetTouchpadPinchSwitch(bool switchFlag);
166 int32_t GetTouchpadPinchSwitch(bool &switchFlag);
167 int32_t SetTouchpadSwipeSwitch(bool switchFlag);
168 int32_t GetTouchpadSwipeSwitch(bool &switchFlag);
173 int32_t SetTouchpadDoubleTapAndDragState(bool switchFlag);
174 int32_t GetTouchpadDoubleTapAndDragState(bool &switchFlag);
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/pointer/include/
H A Djs_pointer_manager.h91 napi_value SetTouchpadScrollSwitch(napi_env env, bool switchFlag, napi_value handle = nullptr);
95 napi_value SetTouchpadTapSwitch(napi_env env, bool switchFlag, napi_value handle = nullptr);
99 napi_value SetTouchpadPinchSwitch(napi_env env, bool switchFlag, napi_value handle = nullptr);
101 napi_value SetTouchpadSwipeSwitch(napi_env env, bool switchFlag, napi_value handle = nullptr);
107 …napi_value SetTouchpadDoubleTapAndDragState(napi_env env, bool switchFlag, napi_value handle = nul…
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp1782 int32_t InputManagerImpl::SetTouchpadScrollSwitch(bool switchFlag) in SetTouchpadScrollSwitch() argument
1798 int32_t InputManagerImpl::GetTouchpadScrollSwitch(bool &switchFlag) in GetTouchpadScrollSwitch() argument
1846 int32_t InputManagerImpl::SetTouchpadTapSwitch(bool switchFlag) in SetTouchpadTapSwitch() argument
1851 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->SetTouchpadTapSwitch(switchFlag); in SetTouchpadTapSwitch()
1862 int32_t InputManagerImpl::GetTouchpadTapSwitch(bool &switchFlag) in GetTouchpadTapSwitch() argument
1910 int32_t InputManagerImpl::SetTouchpadPinchSwitch(bool switchFlag) in SetTouchpadPinchSwitch() argument
1926 int32_t InputManagerImpl::GetTouchpadPinchSwitch(bool &switchFlag) in GetTouchpadPinchSwitch() argument
1942 int32_t InputManagerImpl::SetTouchpadSwipeSwitch(bool switchFlag) in SetTouchpadSwipeSwitch() argument
1958 int32_t InputManagerImpl::GetTouchpadSwipeSwitch(bool &switchFlag) in GetTouchpadSwipeSwitch() argument
2038 int32_t InputManagerImpl::SetTouchpadDoubleTapAndDragState(bool switchFlag) in SetTouchpadDoubleTapAndDragState() argument
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_test.cpp2830 bool switchFlag = true; variable
2833 result = InputManager::GetInstance()->GetTouchpadScrollSwitch(switchFlag);
2834 ASSERT_EQ(switchFlag, true);
2864 bool switchFlag = true; variable
2865 int32_t result = InputManager::GetInstance()->SetTouchpadPinchSwitch(switchFlag);
2867 result = InputManager::GetInstance()->GetTouchpadPinchSwitch(switchFlag);
2868 ASSERT_EQ(switchFlag, true);
2881 bool switchFlag = true; variable
2884 result = InputManager::GetInstance()->GetTouchpadSwipeSwitch(switchFlag);
2885 ASSERT_EQ(switchFlag, true);
[all …]

12