From 84b9c9cb277fd1b832a9a83318da97b484a22e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E6=B8=85=E4=BA=91?= Date: Tue, 19 Nov 2024 11:06:15 +0800 Subject: [PATCH] =?UTF-8?q?ACE=5FMOUSE=E6=97=A5=E5=BF=97=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡清云 --- adapter/ohos/osal/mouse_style_ohos.cpp | 2 +- frameworks/core/pipeline_ng/pipeline_context.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/adapter/ohos/osal/mouse_style_ohos.cpp b/adapter/ohos/osal/mouse_style_ohos.cpp index 8011b8b131c..fa8863262e4 100644 --- a/adapter/ohos/osal/mouse_style_ohos.cpp +++ b/adapter/ohos/osal/mouse_style_ohos.cpp @@ -93,7 +93,7 @@ bool MouseStyleOhos::SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) } MMI::PointerStyle style; style.id = MMIPointStyle; - TAG_LOGI(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d", + TAG_LOGD(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d", windowId, static_cast(pointerStyle), isUIExtension); int32_t setResult = inputManager->SetPointerStyle(windowId, style, isUIExtension); if (setResult == -1) { diff --git a/frameworks/core/pipeline_ng/pipeline_context.cpp b/frameworks/core/pipeline_ng/pipeline_context.cpp index 9516c78393f..232e12a751d 100644 --- a/frameworks/core/pipeline_ng/pipeline_context.cpp +++ b/frameworks/core/pipeline_ng/pipeline_context.cpp @@ -3381,9 +3381,8 @@ void PipelineContext::DispatchMouseEvent( bool PipelineContext::ChangeMouseStyle(int32_t nodeId, MouseFormat format, int32_t windowId, bool isByPass) { if (static_cast(format) == 0) { - TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle nodeId=%{public}d style=%{public}d windowId=%{public}d " - "isByPass=%{public}d mouseStyleNodeId_=%{public}d", - nodeId, static_cast(format), windowId, isByPass, mouseStyleNodeId_.value_or(-1)); + TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle [%{public}d,%{public}d,%{public}d,%{public}d,%{public}d]", + nodeId, mouseStyleNodeId_.value_or(-1), static_cast(format), windowId, isByPass); } auto window = GetWindow(); if (window && window->IsUserSetCursor()) {