Home
last modified time | relevance | path

Searched refs:PREFERENCES_MGR (Results 1 - 13 of 13) sorted by relevance

/foundation/multimodalinput/input/service/module_loader/include/
H A Di_preference_manager.h44 #define PREFERENCES_MGR ::OHOS::MMI::IPreferenceManager::GetInstance() macro
/foundation/multimodalinput/input/service/mouse_event_normalize/src/
H A Dmouse_transform_processor.cpp261 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 Dkey_auto_repeat_test.cpp271 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 Dkey_auto_repeat.cpp315 return PREFERENCES_MGR->SetIntValue(key, KEYBOARD_FILE_NAME, value); in PutConfigDataToDatabase()
320 value = PREFERENCES_MGR->GetIntValue(key, value); in GetConfigDataFromDatabase()
H A Devent_normalize_handler.cpp741 int32_t ret = PREFERENCES_MGR->SetBoolValue("moveEventFilterFlag", "mouse_settings.xml", moveEventFilterFlag_); in SetMoveEventFilters()
/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtouchpad_transform_processor.cpp603 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 Dpointer_drawing_manager_ex_test.cpp745 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 Dpointer_drawing_manager_test.cpp287 int32_t ret = PREFERENCES_MGR->SetIntValue(name, MOUSE_FILE_NAME, pointerStyle.id); in HWTEST_F()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dpointer_drawing_manager.cpp2004 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 Dinput_windows_manager.cpp2537 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 Dkey_command_handler.cpp2042 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 Dmmi_service.cpp3397 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 Dkey_command_handler_test.cpp2307 auto result = PREFERENCES_MGR->SetShortKeyDuration("businessId", 100);

Completed in 39 milliseconds