WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "scrollView_ new fail");
return;
}
- scrollView_->SetScrollBlankSize(35);
- scrollView_->SetReboundSize(50);
- scrollView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(),
- Screen::GetInstance().GetHeight());
+ // scrollView_->SetScrollBlankSize(35);
+ // scrollView_->SetReboundSize(50);
+ scrollView_->SetPosition(0, 0, 466, 466);
scrollView_->SetDraggable(true);
scrollView_->SetStyle(STYLE_BACKGROUND_COLOR, BACK_GROUND_COLOR);
scrollView_->SetOnDragListener(listener);
if (!BloodResultViewInit()) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP,
- "BloodResultView::InitBloodView fail");
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BloodResultView::InitBloodView fail");
}
AddViewToRootContainer(scrollView_);
if(ots_timer_running == false && g_hx3508_timer)
{
// app_timer_start(g_hx3508_timer, APP_TIMER_TICKS(50), NULL);//定义为50ms定时器间隔
- int ret = osTimerStart(g_hx3508_timer,50);
+ int ret = osTimerStart(g_hx3508_timer,20);
// printf("ret:%d\n",ret);
ots_timer_running = true;
}