Home
last modified time | relevance | path

Searched refs:PREFERENCES_MGR (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/src/
H A Dmouse_transform_processor.cpp270 int32_t primaryButton = PREFERENCES_MGR->GetIntValue(name, 0); in HandleButtonValueInner()
295 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, rows); in SetMouseScrollRows()
308 int32_t rows = PREFERENCES_MGR->GetIntValue(name, DEFAULT_ROWS); in GetMouseScrollRows()
781 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, primaryButton); in SetMousePrimaryButton()
793 int32_t primaryButton = PREFERENCES_MGR->GetIntValue(name, 0); in GetMousePrimaryButton()
808 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, speed); in SetPointerSpeed()
820 int32_t speed = PREFERENCES_MGR->GetIntValue(name, DEFAULT_SPEED); in GetPointerSpeed()
1063 return PREFERENCES_MGR->SetBoolValue(key, MOUSE_FILE_NAME, value); in PutConfigDataToDatabase()
1068 value = PREFERENCES_MGR->GetBoolValue(key, true); in GetConfigDataFromDatabase()
1073 return PREFERENCES_MGR->SetIntValue(key, MOUSE_FILE_NAME, value); in PutConfigDataToDatabase()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/
H A Dkey_auto_repeat_test.cpp271 ASSERT_TRUE(PREFERENCES_MGR->GetIntValue(testKey, testValue));
286 PREFERENCES_MGR->SetIntValue(key, KEYBOARD_FILE_NAME, 42);
/ohos5.0/foundation/multimodalinput/input/service/module_loader/include/
H A Di_preference_manager.h44 #define PREFERENCES_MGR ::OHOS::MMI::IPreferenceManager::GetInstance() macro
/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/
H A Dkey_auto_repeat.cpp306 return PREFERENCES_MGR->SetIntValue(key, KEYBOARD_FILE_NAME, value); in PutConfigDataToDatabase()
311 value = PREFERENCES_MGR->GetIntValue(key, value); in GetConfigDataFromDatabase()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dpointer_drawing_manager_ex_test.cpp565 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id);
926 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, color);
949 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
966 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
983 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dpointer_drawing_manager.cpp1335 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, color); in SetPointerColor()
1363 int32_t pointerColor = PREFERENCES_MGR->GetIntValue(name, DEFAULT_VALUE); in GetPointerColor()
1415 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size); in SetPointerSize()
1463 int32_t pointerSize = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_SIZE); in GetPointerSize()
1850 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id); in SetPointerStylePreference()
1931 pointerStyle.color = PREFERENCES_MGR->GetIntValue(name, DEFAULT_VALUE); in GetPointerStyle()
1933 pointerStyle.size = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_SIZE); in GetPointerStyle()
1935 int32_t style = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_STYLE); in GetPointerStyle()
H A Dinput_windows_manager.cpp2478 return PREFERENCES_MGR->SetBoolValue(name, MOUSE_FILE_NAME, state); in UpdateDisplayInfo()
2485 bool state = PREFERENCES_MGR->GetBoolValue(name, true); in UpdateDisplayInfo()
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtouchpad_transform_processor.cpp609 return PREFERENCES_MGR->SetBoolValue(key, TOUCHPAD_FILE_NAME, value); in PutConfigDataToDatabase()
614 value = PREFERENCES_MGR->GetBoolValue(key, true); in GetConfigDataFromDatabase()
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp2198 return PREFERENCES_MGR->GetShortKeyDuration(businessId); in GetKeyDownDurationFromXml()
2432 return PREFERENCES_MGR->SetShortKeyDuration(businessId, delay); in UpdateSettingsXml()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp408 PREFERENCES_MGR->InitPreferences(); in OnStart()
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp1545 auto result = PREFERENCES_MGR->SetShortKeyDuration("businessId", 100);