/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkGesture.ts | 39 allowedTypes?: Array<SourceTool>; 57 allowedTypes(types: Array<SourceTool>) { 68 allowedTypes?: Array<SourceTool>; 101 allowedTypes(types: Array<SourceTool>) { 112 allowedTypes?: Array<SourceTool>; 151 allowedTypes(types: Array<SourceTool>) { 162 allowedTypes?: Array<SourceTool>; 183 allowedTypes(types: Array<SourceTool>) { 193 allowedTypes?: Array<SourceTool>; 231 allowedTypes(types: Array<SourceTool>) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | ace_events.h | 41 enum class SourceTool : int32_t { enum 157 void SetSourceTool(SourceTool tool) in SetSourceTool() 161 SourceTool GetSourceTool() const in GetSourceTool() 234 SourceTool sourceTool_ = SourceTool::UNKNOWN;
|
H A D | pointer_event.h | 72 SourceTool sourceTool = SourceTool::UNKNOWN;
|
H A D | axis_event.h | 79 SourceTool sourceTool = SourceTool::UNKNOWN; 96 …int64_t deviceId, SourceType sourceType, SourceTool sourceTool, std::shared_ptr<MMI::PointerEvent>… in AxisEvent() 165 if (sourceTool == SourceTool::MOUSE) {
|
H A D | touch_event.h | 72 SourceTool sourceTool = SourceTool::UNKNOWN; 100 SourceTool sourceTool = SourceTool::UNKNOWN; 224 TouchEvent& SetSourceTool(SourceTool sourceTool) in SetSourceTool() 377 sourceTool = static_cast<SourceTool>(json->GetInt("sto")); in FromJson() 392 if ((sourceType == SourceType::TOUCH) && (sourceTool == SourceTool::PEN)) { in CovertId() 469 return sourceTool == SourceTool::PEN && (type == TouchType::PROXIMITY_IN || in IsPenHoverEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_info.h | 40 …explicit GestureInfo(std::set<SourceTool> allowedTypes) : allowedTypes_(std::move(allowedTypes)) {} in GestureInfo() 61 const std::set<SourceTool>& GetAllowedTypes() const in GetAllowedTypes() 86 void SetAllowedTypes(std::set<SourceTool> allowedTypes) in SetAllowedTypes() 158 std::set<SourceTool> allowedTypes_{};
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | pointer_event.h | 56 SourceTool sourceTool = SourceTool::UNKNOWN; 80 SourceTool sourceTool = SourceTool::UNKNOWN;
|
H A D | common_type.h | 32 enum class SourceTool : int32_t { enum
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | render_xcomponent.cpp | 26 OH_NativeXComponent_TouchPointToolType ConvertNativeXComponentTouchToolType(const SourceTool& toolT… in ConvertNativeXComponentTouchToolType() 29 case SourceTool::FINGER: in ConvertNativeXComponentTouchToolType() 31 case SourceTool::PEN: in ConvertNativeXComponentTouchToolType() 33 case SourceTool::RUBBER: in ConvertNativeXComponentTouchToolType() 35 case SourceTool::BRUSH: in ConvertNativeXComponentTouchToolType() 37 case SourceTool::PENCIL: in ConvertNativeXComponentTouchToolType() 39 case SourceTool::AIRBRUSH: in ConvertNativeXComponentTouchToolType() 41 case SourceTool::MOUSE: in ConvertNativeXComponentTouchToolType() 43 case SourceTool::LENS: in ConvertNativeXComponentTouchToolType()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_event.h | 270 void SetSourceTool(SourceTool sourceTool) in SetSourceTool() 275 SourceTool GetSourceTool() const in GetSourceTool() 313 SourceTool sourceTool_ = { SourceTool::UNKNOWN };
|
H A D | gesture_info.h | 250 SourceTool sourceTool_ = SourceTool::UNKNOWN;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | multi_fingers_recognizer_test_ng.cpp | 85 event.sourceTool = SourceTool::PEN; 116 event.sourceTool = SourceTool::PEN; 148 event.sourceTool = SourceTool::PEN; 217 event.sourceTool = SourceTool::PEN;
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 39 SourceTool GetSourceTool(int32_t orgToolType) in GetSourceTool() 43 return SourceTool::FINGER; in GetSourceTool() 45 return SourceTool::PEN; in GetSourceTool() 47 return SourceTool::RUBBER; in GetSourceTool() 49 return SourceTool::BRUSH; in GetSourceTool() 51 return SourceTool::PENCIL; in GetSourceTool() 53 return SourceTool::AIRBRUSH; in GetSourceTool() 55 return SourceTool::MOUSE; in GetSourceTool() 57 return SourceTool::LENS; in GetSourceTool() 59 return SourceTool::TOUCHPAD; in GetSourceTool() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-hover.md | 66 if (event.sourceTool == SourceTool.Pen) { 69 } else if (event.sourceTool == SourceTool.MOUSE) {
|
H A D | ts-basic-gestures-tapgesture.md | 47 | allowedTypes<sup>14+</sup> | Array\<[SourceTool](ts-gesture-settings.md#sourcetool枚举说明9)> | 设置Tap…
|
H A D | ts-basic-gestures-swipegesture.md | 47 | allowedTypes<sup>14+</sup> | Array\<[SourceTool](ts-gesture-settings.md#sourcetool枚举说明9)> | 设置Swi…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_test_ng.cpp | 417 std::vector<SourceTool> sourceTools { 418 SourceTool::UNKNOWN, 419 SourceTool::FINGER, 420 SourceTool::PEN, 421 SourceTool::RUBBER, 422 SourceTool::BRUSH, 423 SourceTool::PENCIL, 424 SourceTool::AIRBRUSH, 425 SourceTool::MOUSE, 426 SourceTool::LENS, [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 1151 var SourceTool; variable 1152 (function (SourceTool) { 1153 SourceTool[SourceTool["Unknown"] = 0] = "Unknown"; 1154 SourceTool[SourceTool["FINGER"] = 1] = "FINGER"; 1155 SourceTool["Finger"] = 1; 1156 SourceTool[SourceTool["PEN"] = 2] = "PEN"; 1157 SourceTool["Pen"] = 2; 1158 SourceTool[SourceTool["MOUSE"] = 7] = "MOUSE"; 1159 SourceTool[SourceTool["TOUCHPAD"] = 9] = "TOUCHPAD"; 1160 SourceTool[SourceTool["JOYSTICK"] = 10] = "JOYSTICK"; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/ |
H A D | gesture_info.h | 170 void SetAllowedTypes(std::set<SourceTool> allowedTypes) in SetAllowedTypes() 187 std::set<SourceTool> GetAllowedTypes() in GetAllowedTypes()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-hover.md | 64 if (event.sourceTool == SourceTool.Pen) { 67 } else if (event.sourceTool == SourceTool.MOUSE) {
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testtwo_ng.cpp | 161 touchEvent.sourceTool = SourceTool::UNKNOWN; 195 touchEvent.sourceTool = SourceTool::PEN; 387 touchEvent.sourceTool = SourceTool::PEN; 406 touchEvent.sourceTool = SourceTool::PEN; 425 info.sourceTool_ = SourceTool::FINGER; 442 info.sourceTool_ = SourceTool::FINGER;
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/samples/ |
H A D | event_adapter.h | 31 using OHOS::MMI::SourceTool;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | sequenced_recognizer.h | 75 …bool NeedStartDeadlineTimerInner(const RefPtr<NGGestureRecognizer> curRecognizer, SourceTool sourc…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gesture/ |
H A D | gesture_model_ng.h | 31 void SetAllowedTypes(const std::set<SourceTool>& allowedTypes) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | gesture_model_impl.h | 31 void SetAllowedTypes(const std::set<SourceTool>& allowedTypes) override {} in SetAllowedTypes()
|