Home
last modified time | relevance | path

Searched refs:SourceTool (Results 1 – 25 of 104) sorted by relevance

12345

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkGesture.ts39 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 Dace_events.h41 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 Dpointer_event.h72 SourceTool sourceTool = SourceTool::UNKNOWN;
H A Daxis_event.h79 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 Dtouch_event.h72 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 Dgesture_info.h40 …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 Dpointer_event.h56 SourceTool sourceTool = SourceTool::UNKNOWN;
80 SourceTool sourceTool = SourceTool::UNKNOWN;
H A Dcommon_type.h32 enum class SourceTool : int32_t { enum
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp26 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 Ddrag_event.h270 void SetSourceTool(SourceTool sourceTool) in SetSourceTool()
275 SourceTool GetSourceTool() const in GetSourceTool()
313 SourceTool sourceTool_ = { SourceTool::UNKNOWN };
H A Dgesture_info.h250 SourceTool sourceTool_ = SourceTool::UNKNOWN;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dmulti_fingers_recognizer_test_ng.cpp85 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 Dmmi_event_convertor.cpp39 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 Dts-universal-events-hover.md66 if (event.sourceTool == SourceTool.Pen) {
69 } else if (event.sourceTool == SourceTool.MOUSE) {
H A Dts-basic-gestures-tapgesture.md47 | allowedTypes<sup>14+</sup> | Array\<[SourceTool](ts-gesture-settings.md#sourcetool枚举说明9)> | 设置Tap…
H A Dts-basic-gestures-swipegesture.md47 | 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 Dxcomponent_test_ng.cpp417 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 DjsEnumStyle.js1151 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 Dgesture_info.h170 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 Dts-universal-events-hover.md64 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 Drich_editor_pattern_testtwo_ng.cpp161 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 Devent_adapter.h31 using OHOS::MMI::SourceTool;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dsequenced_recognizer.h75 …bool NeedStartDeadlineTimerInner(const RefPtr<NGGestureRecognizer> curRecognizer, SourceTool sourc…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gesture/
H A Dgesture_model_ng.h31 void SetAllowedTypes(const std::set<SourceTool>& allowedTypes) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dgesture_model_impl.h31 void SetAllowedTypes(const std::set<SourceTool>& allowedTypes) override {} in SetAllowedTypes()

12345