!1522 手势放大维测日志

Merge pull request !1522 from fanzexuan/zoomlog
This commit is contained in:
openharmony_ci 2024-11-05 14:20:16 +00:00 committed by Gitee
commit c9881ed153
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -107,6 +107,11 @@ bool AccessibilityZoomGesture::OnPointerEvent(MMI::PointerEvent &event)
{
HILOG_DEBUG("state_ is %{public}d.", state_);
if (event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_DOWN ||
event.GetPointerAction() == MMI::PointerEvent::POINTER_ACTION_UP) {
HILOG_INFO("PointerAction: %{public}d.", event.GetPointerAction());
}
int32_t sourceType = event.GetSourceType();
if (sourceType != MMI::PointerEvent::SOURCE_TYPE_TOUCHSCREEN) {
EventTransmission::OnPointerEvent(event);
@ -735,6 +740,7 @@ void AccessibilityZoomGesture::ZoomGestureEventHandler::ProcessEvent(const AppEx
switch (eventId) {
case MULTI_TAP_MSG:
zoomGesture_.SendCacheEventsToNext();
HILOG_DEBUG("process multi tap msg.");
break;
default:
break;