From 1dbab28abf6130a7be76f29141f86f751c7e347d Mon Sep 17 00:00:00 2001 From: Caisking Date: Mon, 16 Jun 2025 15:43:20 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E5=85=B6=E4=BB=96=E7=95=8C?= =?utf8?q?=E9=9D=A2=E7=9A=84container=5F=E7=9A=84=E6=B7=BB=E5=8A=A0?= =?utf8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/add_card/src/AddCardView.cpp | 1 - .../wearable/fd230app/nativeui/applist/src/ApplistModel.cpp | 2 +- .../fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp | 1 - .../fd230app/nativeui/heart_blood/CheckAbnormalView.cpp | 1 - .../wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp | 1 - .../wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp | 1 - .../fd230app/nativeui/heartrate/src/HeartDetectionView.cpp | 1 - .../fd230app/nativeui/heartrate/src/HeartResultView.cpp | 2 -- 8 files changed, 1 insertion(+), 9 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp index 69feca90f..7b8c420ed 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp @@ -38,7 +38,6 @@ namespace OHOS SetUpListView(); SetUpToast(); - SetContainerView(container_); RootView::GetInstance()->SetOnKeyActListener(presenter_); } diff --git a/code/sdk/application/wearable/fd230app/nativeui/applist/src/ApplistModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/applist/src/ApplistModel.cpp index b4ba8f08c..5724fde18 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/applist/src/ApplistModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/applist/src/ApplistModel.cpp @@ -62,7 +62,7 @@ namespace OHOS {VIEW_BLOOD_RESULT, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血氧", STR_BLOOD_OXYGEN, nullptr}, #if defined(BOARD_W9) || defined(BOARD_N9) /*W9与N9的Slice写宏里面*/ - {VIEW_BLOOD_PRESSURE_CALIBRATION, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr}, + // {VIEW_BLOOD_PRESSURE_CALIBRATION, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr}, {VIEW_BLOOD_PRESSURE_CHECK, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr}, #endif {VIEW_SLEEP, PNG_APPLIST_SLEEP_IMAGE_BIG, PNG_APPLIST_SLEEP_IMAGE, PNG_APPLIST_DEFAULT_IMG, "睡眠", STR_SLEEP, nullptr}, diff --git a/code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp b/code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp index 14c55ac33..21d28105f 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp @@ -159,7 +159,6 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BloodDetectionView::InitBloodView fail"); } - SetContainerView(container_); container_->SetDraggable(true); container_->SetTouchable(true); diff --git a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckAbnormalView.cpp b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckAbnormalView.cpp index 355804b03..537855595 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckAbnormalView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckAbnormalView.cpp @@ -171,7 +171,6 @@ namespace OHOS ui_api_vibrate_once_func(); } - SetContainerView(container_); container_->SetDraggable(true); container_->SetTouchable(true); diff --git a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp index 8058099e1..66bf70e04 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp @@ -222,7 +222,6 @@ namespace OHOS ui_api_vibrate_once_func(); } - SetContainerView(container_); container_->SetDraggable(true); container_->SetTouchable(true); diff --git a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp index f7d8f436b..2ae9f5d33 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp @@ -632,7 +632,6 @@ void HeartChartView::OnStart() { SetDataTopAndBottom(); HeartbeatImageAnimatorStart(); - SetContainerView(container_); container_->SetDraggable(true); container_->SetTouchable(true); container_->SetOnDragListener(presenter_); diff --git a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartDetectionView.cpp b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartDetectionView.cpp index 0e262c9a8..325ad408e 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartDetectionView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartDetectionView.cpp @@ -141,7 +141,6 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HeartDetectionView::InitHeartView fail"); } - SetContainerView(container_); container_->SetDraggable(true); container_->SetTouchable(true); diff --git a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartResultView.cpp b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartResultView.cpp index e49bc79cd..687cd751b 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartResultView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartResultView.cpp @@ -197,8 +197,6 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HeartResultView::InitHeartView fail"); } - SetContainerView(container_); - container_->SetDraggable(true); container_->SetTouchable(true); container_->SetOnDragListener(presenter_); -- 2.17.1