/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touch_event_normalize_test.cpp | 198 bool rotateSwitch = false; in HWTEST_F() local 199 ASSERT_TRUE(TOUCH_EVENT_HDR->SetTouchpadRotateSwitch(rotateSwitch) == RET_OK); in HWTEST_F() 211 bool rotateSwitch = true; in HWTEST_F() local 212 TOUCH_EVENT_HDR->SetTouchpadRotateSwitch(rotateSwitch); in HWTEST_F() 214 TOUCH_EVENT_HDR->GetTouchpadRotateSwitch(rotateSwitch); in HWTEST_F() 215 ASSERT_TRUE(rotateSwitch == newRotateSwitch); in HWTEST_F()
|
H A D | touchpad_transform_processor_test.cpp | 183 bool rotateSwitch = false; in HWTEST_F() local 184 ASSERT_TRUE(processor.SetTouchpadRotateSwitch(rotateSwitch) == RET_OK); in HWTEST_F() 198 bool rotateSwitch = false; in HWTEST_F() local 199 processor.SetTouchpadRotateSwitch(rotateSwitch); in HWTEST_F() 202 ASSERT_TRUE(rotateSwitch == newRotateSwitch); in HWTEST_F()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_event_normalize.cpp | 129 int32_t TouchEventNormalize::SetTouchpadRotateSwitch(bool rotateSwitch) const in SetTouchpadRotateSwitch() 131 return TouchPadTransformProcessor::SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 134 void TouchEventNormalize::GetTouchpadRotateSwitch(bool &rotateSwitch) const in GetTouchpadRotateSwitch() 136 TouchPadTransformProcessor::GetTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch()
|
H A D | touchpad_transform_processor.cpp | 579 int32_t TouchPadTransformProcessor::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 582 if (PutConfigDataToDatabase(name, rotateSwitch) != RET_OK) { in SetTouchpadRotateSwitch() 588 rotateSwitch); in SetTouchpadRotateSwitch() 592 void TouchPadTransformProcessor::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 595 GetConfigDataFromDatabase(name, rotateSwitch); in GetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_event_normalize.h | 59 int32_t SetTouchpadRotateSwitch(bool rotateSwitch) const; 60 void GetTouchpadRotateSwitch(bool &rotateSwitch) const;
|
H A D | touchpad_transform_processor.h | 84 static int32_t SetTouchpadRotateSwitch(bool rotateSwitch); 85 static void GetTouchpadRotateSwitch(bool &rotateSwitch);
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager.cpp | 512 int32_t InputManager::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 514 return InputMgrImpl.SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 517 int32_t InputManager::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 519 return InputMgrImpl.GetTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 124 int32_t SetTouchpadRotateSwitch(bool rotateSwitch); 125 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch);
|
H A D | i_multimodal_input_connect.h | 135 virtual int32_t SetTouchpadRotateSwitch(bool rotateSwitch) = 0; 136 virtual int32_t GetTouchpadRotateSwitch(bool &rotateSwitch) = 0;
|
H A D | multimodal_input_connect_proxy.h | 120 int32_t SetTouchpadRotateSwitch(bool rotateSwitch) override; 121 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch) override;
|
/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | mmi_service.h | 134 int32_t SetTouchpadRotateSwitch(bool rotateSwitch) override; 135 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch) override; 214 int32_t ReadTouchpadRotateSwitch(bool &rotateSwitch);
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_manager_impl.h | 179 int32_t SetTouchpadRotateSwitch(bool rotateSwitch); 180 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch);
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 872 * @param rotateSwitch Indicates the touchpad rotate switch state. 876 int32_t SetTouchpadRotateSwitch(bool rotateSwitch); 880 * @param rotateSwitch Indicates the touchpad rotate switch state. 884 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch);
|
/foundation/multimodalinput/input/service/connect_manager/src/ |
H A D | multimodal_input_connect_manager.cpp | 710 int32_t MultimodalInputConnectManager::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 714 return multimodalInputConnectService_->SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 717 int32_t MultimodalInputConnectManager::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 721 return multimodalInputConnectService_->GetTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch()
|
H A D | multimodal_input_connect_stub.cpp | 2250 bool rotateSwitch = true; in StubSetTouchpadRotateSwitch() local 2251 READBOOL(data, rotateSwitch, IPC_PROXY_DEAD_OBJECT_ERR); in StubSetTouchpadRotateSwitch() 2252 ret = SetTouchpadRotateSwitch(rotateSwitch); in StubSetTouchpadRotateSwitch() 2269 bool rotateSwitch = true; in StubGetTouchpadRotateSwitch() local 2270 ret = GetTouchpadRotateSwitch(rotateSwitch); in StubGetTouchpadRotateSwitch() 2275 WRITEBOOL(reply, rotateSwitch, IPC_STUB_WRITE_PARCEL_ERR); in StubGetTouchpadRotateSwitch() 2276 MMI_HILOGD("Touchpad rotate switch:%{public}d, ret:%{public}d", rotateSwitch, ret); in StubGetTouchpadRotateSwitch()
|
H A D | multimodal_input_connect_proxy.cpp | 1833 int32_t MultimodalInputConnectProxy::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 1835 return SetTouchpadBoolData(rotateSwitch, static_cast<uint32_t>(MultimodalinputConnectInterfaceCode:: in SetTouchpadRotateSwitch() 1839 int32_t MultimodalInputConnectProxy::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 1841 return GetTouchpadBoolData(rotateSwitch, static_cast<uint32_t>(MultimodalinputConnectInterfaceCode:: in GetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/frameworks/napi/pointer/include/ |
H A D | js_pointer_manager.h | 105 napi_value SetTouchpadRotateSwitch(napi_env env, bool rotateSwitch, napi_value handle = nullptr);
|
/foundation/multimodalinput/input/frameworks/napi/pointer/src/ |
H A D | js_pointer_manager.cpp | 989 napi_value JsPointerManager::SetTouchpadRotateSwitch(napi_env env, bool rotateSwitch, napi_value handle) in SetTouchpadRotateSwitch() argument 992 int32_t ret = InputManager::GetInstance()->SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 999 bool rotateSwitch = true; in GetTouchpadRotateSwitch() local 1000 int32_t ret = InputManager::GetInstance()->GetTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch() 1001 return GetTouchpadBoolData(env, handle, rotateSwitch, ret); in GetTouchpadRotateSwitch()
|
H A D | js_pointer_context.cpp | 1582 auto func = [jsPointerMgr] (napi_env env, bool rotateSwitch, napi_value handle) -> napi_value { in SetTouchpadRotateSwitch() 1583 return jsPointerMgr->SetTouchpadRotateSwitch(env, rotateSwitch, handle); in SetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | mmi_service.cpp | 2877 int32_t MMIService::ReadTouchpadRotateSwitch(bool &rotateSwitch) in ReadTouchpadRotateSwitch() argument 2879 TOUCH_EVENT_HDR->GetTouchpadRotateSwitch(rotateSwitch); in ReadTouchpadRotateSwitch() 3123 int32_t MMIService::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 3128 [rotateSwitch] { in SetTouchpadRotateSwitch() 3129 return ::OHOS::DelayedSingleton<TouchEventNormalize>::GetInstance()->SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 3140 int32_t MMIService::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 3145 [this, &rotateSwitch] { in GetTouchpadRotateSwitch() 3146 return this->ReadTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_manager_impl.cpp | 2094 int32_t InputManagerImpl::SetTouchpadRotateSwitch(bool rotateSwitch) in SetTouchpadRotateSwitch() argument 2099 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->SetTouchpadRotateSwitch(rotateSwitch); in SetTouchpadRotateSwitch() 2110 int32_t InputManagerImpl::GetTouchpadRotateSwitch(bool &rotateSwitch) in GetTouchpadRotateSwitch() argument 2115 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->GetTouchpadRotateSwitch(rotateSwitch); in GetTouchpadRotateSwitch()
|
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | input_manager_test.cpp | 3038 bool rotateSwitch = false; in HWTEST_F() local 3039 ASSERT_TRUE(InputManager::GetInstance()->SetTouchpadRotateSwitch(rotateSwitch) == RET_OK); in HWTEST_F() 3051 bool rotateSwitch = true; in HWTEST_F() local 3052 InputManager::GetInstance()->SetTouchpadRotateSwitch(rotateSwitch); in HWTEST_F() 3055 ASSERT_TRUE(rotateSwitch == newRotateSwitch); in HWTEST_F()
|
/foundation/multimodalinput/input/service/connect_manager/test/ |
H A D | multimodal_input_connect_stub_ex_test.cpp | 244 int32_t SetTouchpadRotateSwitch(bool rotateSwitch) override 246 rotateSwitch_ = rotateSwitch; 249 int32_t GetTouchpadRotateSwitch(bool &rotateSwitch) override { return static_cast<int32_t>(rotateSwitch_); }
|