/foundation/multimodalinput/input/util/common/include/ |
H A D | device_observer.h | 23 virtual void UpdatePointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug) = 0; 30 virtual void NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug) = 0;
|
/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_utils_ffi.h | 30 bool hasPointerDevice;
member
|
H A D | cj_environment_callback.cpp | 98 std::string hasPointerDevice = configuration.GetItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in CreateCConfiguration() local 99 cfg.hasPointerDevice = hasPointerDevice == "true" ? true : false; in CreateCConfiguration()
|
/foundation/multimodalinput/input/test/fuzztest/inputdevicemanager_fuzzer/ |
H A D | inputdevicemanager_fuzzer.cpp | 34 bool hasPointerDevice = true; in InputDeviceManagerFuzzTest() local 68 INPUT_DEV_MGR->NotifyPointerDevice(hasPointerDevice, isVisible, isHotPlug); in InputDeviceManagerFuzzTest()
|
/foundation/multimodalinput/input/service/interceptor/test/ |
H A D | mock.cpp | 39 void InputDeviceManager::NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug)
in NotifyPointerDevice() argument
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_data_converter.cpp | 120 std::string hasPointerDevice = configuration.GetItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in CreateJsConfiguration() local 122 env, object, "hasPointerDevice", CreateJsValue(env, hasPointerDevice == "true" ? true : false)); in CreateJsConfiguration()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | resource_config_helper.cpp | 46 void ResourceConfigHelper::SetHasPointerDevice(std::string hasPointerDevice) in SetHasPointerDevice() argument 48 hasPointerDevice_ = hasPointerDevice; in SetHasPointerDevice() 109 TAG_LOGD(AAFwkTag::ABILITY, "current colorMode: %{public}d, hasPointerDevice: %{public}d", in UpdateResConfig()
|
H A D | ability.cpp | 486 std::string hasPointerDevice; in OnConfigurationUpdatedNotify() local 487 InitConfigurationProperties(configuration, language, colormode, hasPointerDevice); in OnConfigurationUpdatedNotify() 510 if (!hasPointerDevice.empty()) { in OnConfigurationUpdatedNotify() 511 resConfig->SetInputDevice(ConvertHasPointerDevice(hasPointerDevice)); in OnConfigurationUpdatedNotify() 515 "colorMode:%{public}d,hasPointerDevice:%{publis}d", in OnConfigurationUpdatedNotify() 527 std::string& colormode, std::string& hasPointerDevice) in InitConfigurationProperties() 533 hasPointerDevice = changeConfiguration.GetItem(displayId, AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in InitConfigurationProperties() 535 "hasPointerDevice: [%{public}s]", displayId, language.c_str(), colormode.c_str(), hasPointerDevice.c_str()); in InitConfigurationProperties() 539 hasPointerDevice in InitConfigurationProperties() 526 InitConfigurationProperties(const Configuration& changeConfiguration, std::string& language, std::string& colormode, std::string& hasPointerDevice) InitConfigurationProperties() argument [all...] |
/foundation/ability/ability_base/interfaces/kits/native/configuration/include/ |
H A D | configuration_convertor.h | 33 Global::Resource::InputDevice ConvertHasPointerDevice(std::string hasPointerDevice);
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | resource_config_helper.h | 38 void SetHasPointerDevice(std::string hasPointerDevice);
|
H A D | ability.h | 1337 std::string& colormode, std::string& hasPointerDevice);
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_configuration.cpp | 74 std::string hasPointerDevice = configuration.GetItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in WrapConfiguration() local 75 jsValue = WrapBoolToJS(env, hasPointerDevice == "true" ? true : false); in WrapConfiguration() 76 SetPropertyValueByPropertyName(env, jsObject, "hasPointerDevice", jsValue); in WrapConfiguration()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_data_struct_converter.cpp | 109 std::string hasPointerDevice = configuration.GetItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in CreateJsConfiguration() local 110 napi_set_named_property(env, object, "hasPointerDevice", in CreateJsConfiguration() 111 CreateJsValue(env, hasPointerDevice == "true" ? true : false)); in CreateJsConfiguration()
|
/foundation/multimodalinput/input/service/device_manager/src/ |
H A D | input_device_manager.cpp | 510 bool hasPointerDevice = false; in ScanPointerDevice() local 513 hasPointerDevice = true; in ScanPointerDevice() 517 if (!hasPointerDevice) { in ScanPointerDevice() 567 void InputDeviceManager::NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug) in NotifyPointerDevice() argument 571 (*observer)->UpdatePointerDevice(hasPointerDevice, isVisible, isHotPlug); in NotifyPointerDevice()
|
/foundation/ability/ability_base/interfaces/kits/native/configuration/src/ |
H A D | configuration_convertor.cpp | 141 Global::Resource::InputDevice ConvertHasPointerDevice(std::string hasPointerDevice) in ConvertHasPointerDevice() argument 143 return hasPointerDevice == "true" ? Global::Resource::InputDevice::INPUTDEVICE_POINTINGDEVICE : in ConvertHasPointerDevice()
|
/foundation/multimodalinput/input/service/device_manager/include/ |
H A D | input_device_manager.h | 66 void NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug);
|
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | pointer_drawing_manager_ex_test.cpp | 1270 bool hasPointerDevice = true;
in HWTEST_F() local 1273 ASSERT_NO_FATAL_FAILURE(manager.UpdatePointerDevice(hasPointerDevice, isPointerVisible, isHotPlug));
in HWTEST_F() 1286 bool hasPointerDevice = true;
in HWTEST_F() local 1289 ASSERT_NO_FATAL_FAILURE(manager.UpdatePointerDevice(hasPointerDevice, isPointerVisible, isHotPlug));
in HWTEST_F() 1302 bool hasPointerDevice = false;
in HWTEST_F() local 1311 ASSERT_NO_FATAL_FAILURE(manager.UpdatePointerDevice(hasPointerDevice, isPointerVisible, isHotPlug));
in HWTEST_F() 1324 bool hasPointerDevice = false;
in HWTEST_F() local 1328 ASSERT_NO_FATAL_FAILURE(manager.UpdatePointerDevice(hasPointerDevice, isPointerVisible, isHotPlug));
in HWTEST_F()
|
H A D | mock.cpp | 181 void InputDeviceManager::NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug) in NotifyPointerDevice() argument 264 void PointerDrawingManager::UpdatePointerDevice(bool hasPointerDevice, bool isPointerVisible, in UpdatePointerDevice() argument
|
/foundation/multimodalinput/input/service/window_manager/include/ |
H A D | pointer_drawing_manager.h | 79 void UpdatePointerDevice(bool hasPointerDevice, bool isPointerVisible, bool isHotPlug) override;
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ability_test.cpp | 1852 std::string hasPointerDevice; in HWTEST_F() local 1853 ability->InitConfigurationProperties(config, language, colormode, hasPointerDevice); in HWTEST_F() 1856 EXPECT_EQ(hasPointerDevice, "true"); in HWTEST_F() 1861 ability->InitConfigurationProperties(config, language, colormode, hasPointerDevice); in HWTEST_F() 1864 EXPECT_EQ(hasPointerDevice, "true"); in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | main_thread.cpp | 1015 std::string hasPointerDevice = config.GetItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE); in InitResourceManager() local 1016 TAG_LOGD(AAFwkTag::APPKIT, "HasPointerDevice is %{public}s", hasPointerDevice.c_str()); in InitResourceManager() 1017 resConfig->SetInputDevice(ConvertHasPointerDevice(hasPointerDevice)); in InitResourceManager()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | pointer_drawing_manager.cpp | 2172 void PointerDrawingManager::UpdatePointerDevice(bool hasPointerDevice, bool isPointerVisible, in UpdatePointerDevice() argument 2176 MMI_HILOGD("hasPointerDevice:%{public}s, isPointerVisible:%{public}s", in UpdatePointerDevice() 2177 hasPointerDevice ? "true" : "false", isPointerVisible? "true" : "false"); in UpdatePointerDevice() 2178 hasPointerDevice_ = hasPointerDevice; in UpdatePointerDevice() 2791 std::vector<std::string> titles1 = {"hasDisplay", "hasPointerDevice", "lastPhysicalX", "lastPhysicalY", in Dump()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service_inner.cpp | 4739 std::string hasPointerDevice = system::GetParameter(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE, "false"); in InitGlobalConfiguration() local 4740 TAG_LOGI(AAFwkTag::APPMGR, "current hasPointerDevice: %{public}s", hasPointerDevice.c_str()); in InitGlobalConfiguration() 4741 configuration_->AddItem(AAFwk::GlobalConfigurationKey::INPUT_POINTER_DEVICE, hasPointerDevice); in InitGlobalConfiguration()
|