/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_transform_processor.cpp | 270 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 D | key_auto_repeat_test.cpp | 271 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 D | i_preference_manager.h | 44 #define PREFERENCES_MGR ::OHOS::MMI::IPreferenceManager::GetInstance() macro
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_auto_repeat.cpp | 306 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 D | pointer_drawing_manager_ex_test.cpp | 565 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 D | pointer_drawing_manager.cpp | 1335 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 D | input_windows_manager.cpp | 2478 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 D | touchpad_transform_processor.cpp | 609 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 D | key_command_handler.cpp | 2198 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 D | mmi_service.cpp | 408 PREFERENCES_MGR->InitPreferences(); in OnStart()
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_test.cpp | 1545 auto result = PREFERENCES_MGR->SetShortKeyDuration("businessId", 100);
|