Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/subscriber/include/
H A Dkey_gesture_manager.h35 Handler(int32_t id, int32_t pid, int32_t longPressTime, in Handler() argument
37 : id_(id), pid_(pid), longPressTime_(longPressTime), callback_(callback) {} in Handler()
55 void SetLongPressTime(int32_t longPressTime) in SetLongPressTime() argument
57 longPressTime_ = longPressTime; in SetLongPressTime()
83 virtual int32_t AddHandler(int32_t pid, int32_t longPressTime,
147 int32_t AddHandler(int32_t pid, int32_t longPressTime,
H A Dkey_shortcut_manager.h60 int32_t longPressTime; // ms member
69 int32_t longPressTime; // ms member
106 int32_t longPressTime; // ms member
115 int32_t longPressTime; // ms member
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_shortcut_manager.cpp67 if (longPressTime != other.longPressTime) { in operator <()
68 return (longPressTime < other.longPressTime); in operator <()
108 .longPressTime = key.longPressTime, in RegisterSystemKey()
114 FormatModifiers(key.modifiers).c_str(), key.finalKey, key.longPressTime, key.triggerType); in RegisterSystemKey()
119 shortcutId, FormatModifiers(key.modifiers).c_str(), key.finalKey, key.longPressTime, key.triggerType); in RegisterSystemKey()
129 shortcutId, FormatModifiers(key.modifiers).c_str(), key.finalKey, key.longPressTime, key.triggerType); in RegisterSystemKey()
137 iter->first, shortcut.modifiers, shortcut.finalKey, shortcut.longPressTime, in RegisterSystemKey()
[all...]
H A Dkey_gesture_manager.cpp92 int32_t KeyGestureManager::KeyGesture::AddHandler(int32_t pid, int32_t longPressTime, in AddHandler() argument
97 longPressTime = std::max(longPressTime, COMBINATION_KEY_TIMEOUT); in AddHandler()
98 return handlers_.emplace_back(++baseId, pid, longPressTime, callback).GetId(); in AddHandler()
389 int32_t longPressTime, std::function<void(std::shared_ptr<KeyEvent>)> callback) in AddHandler()
388 AddHandler(int32_t pid, int32_t longPressTime, std::function<void(std::shared_ptr<KeyEvent>)> callback) AddHandler() argument
H A Dkey_subscriber_handler.cpp243 .longPressTime = option->GetFinalKeyDownDuration(), in RegisterSystemKey()
258 .longPressTime = option->GetFinalKeyDownDuration(), in RegisterHotKey()
/foundation/multimodalinput/input/service/subscriber/test/src/
H A Dkey_shortcut_manager_test.cpp217 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
400 .longPressTime = NO_LONG_PRESS, in HWTEST_F()
454 .longPressTime = NO_LONG_PRESS, in HWTEST_F()
506 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
571 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
639 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
705 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
755 .longPressTime = NO_LONG_PRESS, in HWTEST_F()
902 .longPressTime = DEFAULT_LONG_PRESS_TIME, in HWTEST_F()
951 .longPressTime in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/
H A Dselecttitlebar.js461 this.longPressTime = 500;
517 if (params.longPressTime !== undefined) {
518 this.longPressTime = params.longPressTime;
841 LongPressGesture.create({ repeat: false, duration: this.longPressTime });
960 this.longPressTime = 500;
1012 if (params.longPressTime !== undefined) {
1013 this.longPressTime = params.longPressTime;
1267 LongPressGesture.create({ repeat: false, duration: this.longPressTime });
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/
H A Dcomposetitlebar.js357 this.longPressTime = 500;
411 if (j7.longPressTime !== undefined) {
412 this.longPressTime = j7.longPressTime;
697 LongPressGesture.create({ repeat: false, duration: this.longPressTime });
851 this.longPressTime = 500;
901 if (v2.longPressTime !== undefined) {
902 this.longPressTime = v2.longPressTime;
1103 LongPressGesture.create({ repeat: false, duration: this.longPressTime });
[all...]
/foundation/multimodalinput/input/service/account_manager/src/
H A Daccount_manager.cpp244 int32_t longPressTime {}; in ReadLongPressTime()
246 ACC_SHORTCUT_TIMEOUT, longPressTime, std::string(buf)); in ReadLongPressTime()
252 accShortcutTimeout_ = longPressTime; in ReadLongPressTime()
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/
H A Deditabletitlebar.js75 s10.addGesture(new LongPressGestureHandler({ repeat: false, duration: ButtonGestureModifier.longPressTime })
90 ButtonGestureModifier.longPressTime = 500;
701 this.longPressTime = 500;
761 if (c4.longPressTime !== undefined) {
762 this.longPressTime = c4.longPressTime;
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js386 this.longPressTime = 500;
440 if (a6.longPressTime !== undefined) {
441 this.longPressTime = a6.longPressTime;
693 LongPressGesture.create({ repeat: false, duration: this.longPressTime });
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/
H A Dtoolbar.js65 j7.addGesture(new LongPressGestureHandler({ repeat: false, duration: ButtonGestureModifier.longPressTime })
80 ButtonGestureModifier.longPressTime = 500;
/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler_util.cpp576 .longPressTime = shortcutKey.keyDownDuration, in RegisterSystemKey()

Completed in 14 milliseconds