/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | i_preference_manager.h | 44 #define PREFERENCES_MGR ::OHOS::MMI::IPreferenceManager::GetInstance() macro
|
/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_transform_processor.cpp | 261 int32_t primaryButton = PREFERENCES_MGR->GetIntValue(name, 0); in HandleButtonValueInner() 286 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, rows); in SetMouseScrollRows() 295 int32_t rows = PREFERENCES_MGR->GetIntValue(name, DEFAULT_ROWS); in GetMouseScrollRows() 741 PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, primaryButton); in SetMousePrimaryButton() 749 int32_t primaryButton = PREFERENCES_MGR->GetIntValue(name, 0); in GetMousePrimaryButton() 764 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, speed); in SetPointerSpeed() 772 int32_t speed = PREFERENCES_MGR->GetIntValue(name, DEFAULT_SPEED); in GetPointerSpeed() 1016 return PREFERENCES_MGR->SetBoolValue(key, MOUSE_FILE_NAME, value); in PutConfigDataToDatabase() 1021 value = PREFERENCES_MGR->GetBoolValue(key, true); in GetConfigDataFromDatabase() 1026 return PREFERENCES_MGR in PutConfigDataToDatabase() [all...] |
/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | key_auto_repeat_test.cpp | 271 ASSERT_TRUE(PREFERENCES_MGR->GetIntValue(testKey, testValue)); in HWTEST_F() 286 PREFERENCES_MGR->SetIntValue(key, KEYBOARD_FILE_NAME, 42); in HWTEST_F()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_auto_repeat.cpp | 315 return PREFERENCES_MGR->SetIntValue(key, KEYBOARD_FILE_NAME, value); in PutConfigDataToDatabase() 320 value = PREFERENCES_MGR->GetIntValue(key, value); in GetConfigDataFromDatabase()
|
H A D | event_normalize_handler.cpp | 741 int32_t ret = PREFERENCES_MGR->SetBoolValue("moveEventFilterFlag", "mouse_settings.xml", moveEventFilterFlag_); in SetMoveEventFilters()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touchpad_transform_processor.cpp | 603 int32_t ret = PREFERENCES_MGR->SetIntValue(name, TOUCHPAD_FILE_NAME, newRows); in SetTouchpadScrollRows() 612 int32_t rows = PREFERENCES_MGR->GetIntValue(name, DEFAULT_ROWS); in GetTouchpadScrollRows() 619 return PREFERENCES_MGR->SetBoolValue(key, TOUCHPAD_FILE_NAME, value); in PutConfigDataToDatabase() 624 value = PREFERENCES_MGR->GetBoolValue(key, true); in GetConfigDataFromDatabase()
|
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | pointer_drawing_manager_ex_test.cpp | 745 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id);
in HWTEST_F() 1191 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, color);
in HWTEST_F() 1214 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
in HWTEST_F() 1231 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
in HWTEST_F() 1249 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size);
in HWTEST_F()
|
H A D | pointer_drawing_manager_test.cpp | 287 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id); in HWTEST_F()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | pointer_drawing_manager.cpp | 2004 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, color); in SetPointerColor() 2033 int32_t pointerColor = PREFERENCES_MGR->GetIntValue(name, DEFAULT_VALUE); in GetPointerColor() 2085 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, size); in SetPointerSize() 2131 int32_t pointerSize = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_SIZE); in GetPointerSize() 2514 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id); in SetPointerStylePreference() 2598 pointerStyle.color = PREFERENCES_MGR->GetIntValue(name, DEFAULT_VALUE); in GetPointerStyle() 2600 pointerStyle.size = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_SIZE); in GetPointerStyle() 2602 int32_t style = PREFERENCES_MGR->GetIntValue(name, DEFAULT_POINTER_STYLE); in GetPointerStyle()
|
H A D | input_windows_manager.cpp | 2537 return PREFERENCES_MGR->SetBoolValue(name, MOUSE_FILE_NAME, state); in UpdateDisplayInfo() 2544 bool state = PREFERENCES_MGR->GetBoolValue(name, true); in UpdateDisplayInfo()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 2042 return PREFERENCES_MGR->GetShortKeyDuration(businessId); in GetKeyDownDurationFromXml() 2269 return PREFERENCES_MGR->SetShortKeyDuration(businessId, delay); in UpdateSettingsXml()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | mmi_service.cpp | 3397 PREFERENCES_MGR->InitPreferences(); in InitPreferences() 3399 int32_t ret = SetMoveEventFilters(PREFERENCES_MGR->GetBoolValue("moveEventFilterFlag", false)); in InitPreferences()
|
/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_test.cpp | 2307 auto result = PREFERENCES_MGR->SetShortKeyDuration("businessId", 100);
|