From bd004813e29f8e7ddff2d63d7dee950e36388658 Mon Sep 17 00:00:00 2001 From: tongkai0808fh Date: Mon, 6 May 2024 03:26:37 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3launcher/launcher/src/main/cp?= =?UTF-8?q?p/swipe=5Fview.cpp=E6=96=87=E4=BB=B6=E4=B8=ADBundleInfoScan?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=97=A0=E6=B3=95=E8=B0=83=E7=94=A8=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3SwipeView=E7=B1=BB=E6=97=A0=E6=B3=95=E8=B0=83?= =?UTF-8?q?=E7=94=A8BundleInfoScan=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tongkai0808fh --- launcher/launcher/src/main/cpp/swipe_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/launcher/src/main/cpp/swipe_view.cpp b/launcher/launcher/src/main/cpp/swipe_view.cpp index 2b39e52..904fa3e 100755 --- a/launcher/launcher/src/main/cpp/swipe_view.cpp +++ b/launcher/launcher/src/main/cpp/swipe_view.cpp @@ -119,12 +119,12 @@ void SwipeView::OnSetUpView() BundleInfo* pBundleInfos = nullptr; int count = 0; if (appManage_->LauncherApp(&pBundleInfos, count)) { - BundleInfoScan(pBundleInfos, count, groupCount_); + BundleInfoScan(pBundleInfos, count, groupCount_, arrPage_[MAX_VIEWGROUP]); } swipe_->SetCurrentPage(0); } -void BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP]) +void SwipeView::BundleInfoScan(BundleInfo* pBundleInfos, int count, int groupCount, ViewGroupPage* arrPage_[MAX_VIEWGROUP]) { arrPage_[0]->SetMatrix(APP_ROW_COUNT, APP_COL_COUNT); arrPage_[0]->SetScale(0.6);