Home
last modified time | relevance | path

Searched refs:hasPointerDevice (Results 1 - 23 of 23) sorted by relevance

/foundation/multimodalinput/input/util/common/include/
H A Ddevice_observer.h23 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 Dcj_utils_ffi.h30 bool hasPointerDevice; member
H A Dcj_environment_callback.cpp98 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 Dinputdevicemanager_fuzzer.cpp34 bool hasPointerDevice = true; in InputDeviceManagerFuzzTest() local
68 INPUT_DEV_MGR->NotifyPointerDevice(hasPointerDevice, isVisible, isHotPlug); in InputDeviceManagerFuzzTest()
/foundation/multimodalinput/input/service/interceptor/test/
H A Dmock.cpp39 void InputDeviceManager::NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug) in NotifyPointerDevice() argument
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_data_converter.cpp120 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 Dresource_config_helper.cpp46 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 Dability.cpp486 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 Dconfiguration_convertor.h33 Global::Resource::InputDevice ConvertHasPointerDevice(std::string hasPointerDevice);
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dresource_config_helper.h38 void SetHasPointerDevice(std::string hasPointerDevice);
H A Dability.h1337 std::string& colormode, std::string& hasPointerDevice);
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_configuration.cpp74 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 Djs_data_struct_converter.cpp109 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 Dinput_device_manager.cpp510 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 Dconfiguration_convertor.cpp141 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 Dinput_device_manager.h66 void NotifyPointerDevice(bool hasPointerDevice, bool isVisible, bool isHotPlug);
/foundation/multimodalinput/input/service/window_manager/test/
H A Dpointer_drawing_manager_ex_test.cpp1270 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 Dmock.cpp181 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 Dpointer_drawing_manager.h79 void UpdatePointerDevice(bool hasPointerDevice, bool isPointerVisible, bool isHotPlug) override;
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_test.cpp1852 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 Dmain_thread.cpp1015 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 Dpointer_drawing_manager.cpp2172 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 Dapp_mgr_service_inner.cpp4739 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()

Completed in 44 milliseconds