/foundation/multimodalinput/input/frameworks/napi/touch_event/include/ |
H A D | js_touch_event.h | 39 PEN = 1, member in OHOS::MMI::final::ToolType 50 PEN = 1, member in OHOS::MMI::final::SourceType
|
/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | multi_fingers_recognizer_test_ng.cpp | 85 event.sourceTool = SourceTool::PEN; in HWTEST_F() 116 event.sourceTool = SourceTool::PEN; in HWTEST_F() 148 event.sourceTool = SourceTool::PEN; in HWTEST_F() 217 event.sourceTool = SourceTool::PEN; in HWTEST_F()
|
/foundation/multimodalinput/input/frameworks/napi/input_event_client/include/ |
H A D | js_register_module.h | 48 PEN = 1, enumerator
|
/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | common_type.h | 35 PEN = 2, member in OHOS::MMI::SourceType::SourceTool
|
/foundation/multimodalinput/input/frameworks/napi/touch_event/src/ |
H A D | js_touch_event.cpp | 65 DECLARE_NAPI_STATIC_PROPERTY("PEN", GetNapiInt32(env, static_cast<int32_t>(ToolType::PEN))), in Export() 80 DECLARE_NAPI_STATIC_PROPERTY("PEN", GetNapiInt32(env, static_cast<int32_t>(SourceType::PEN))), in Export()
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/include/ |
H A D | ge_visual_effect.h | 30 enum class DrawingPaintType { NONE, BRUSH, PEN, PAINT, BRUSH_PEN };
member in OHOS::Rosen::Drawing::DrawingPaintType
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | ace_events.h | 44 PEN = 2, member in OHOS::Ace::KeyCode::SourceTool
|
H A D | touch_event.cpp | 275 if ((sourceType == SourceType::TOUCH) && (sourceTool == SourceTool::PEN)) { in CovertId() 351 return sourceTool == SourceTool::PEN && (type == TouchType::PROXIMITY_IN || type == TouchType::PROXIMITY_OUT || in IsPenHoverEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testthree.cpp | 299 touchEvent.sourceTool = SourceTool::PEN; in HWTEST_F() 306 touchEvent.sourceTool = SourceTool::PEN; in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 38 return SourceTool::PEN; in GetSourceTool() 140 if (mouseEvent.sourceType != SourceType::TOUCH || mouseEvent.sourceTool != SourceTool::PEN) { in UpdateMouseEventForPen() 191 if (event.sourceType == SourceType::TOUCH && event.sourceTool == SourceTool::PEN) { in ConvertTouchEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testtwo_ng.cpp | 229 touchEvent.sourceTool = SourceTool::PEN; in HWTEST_F() 421 touchEvent.sourceTool = SourceTool::PEN; in HWTEST_F() 440 touchEvent.sourceTool = SourceTool::PEN; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | render_xcomponent.cpp | 29 case SourceTool::PEN: in ConvertNativeXComponentTouchToolType()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_mgr.cpp | 652 return touchEvent.sourceTool == SourceTool::PEN && touchEvent.type == TouchType::DOWN; in IsStylusTouchEvent()
|
/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/ |
H A D | js_register_module.cpp | 451 if (sourceType == TOUCH_SCREEN || sourceType == PEN) { in HandleTouchPropertyInt32()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_test_ng.cpp | 412 SourceTool::PEN, in HWTEST_F() member in OHOS::Ace::NG::SourceTool
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_pattern.cpp | 100 case SourceTool::PEN: in ConvertNativeXComponentTouchToolType()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 2937 CHECK_NULL_VOID(sourceTool != SourceTool::PEN); 10892 if (touchEvent.sourceTool != SourceTool::PEN || touchEvent.type != TouchType::DOWN) { in IsResponseRegionExpandingNeededForStylus()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 3348 if (point.sourceTool != SourceTool::PEN || point.type != TouchType::DOWN || NearZero(point.force)) { in HandlePenHoverOut()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_pattern.cpp | 8441 if (touchEvent.sourceTool != SourceTool::PEN || touchEvent.type != TouchType::DOWN) { in OnBackPressed()
|