-set(COMPONENT_NAME "nativelauncher")
-set(MODULE_NAME "app")
-set(AUTO_DEF_FILE_ID TRUE)
-set(UI_SAMPLE_ROOT ${ROOT_DIR}/middleware/services/gui/uikit/sample/uitest)
-
-set(PUBLIC_HEADER
- ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/include/slices/main
-)
-
-set(PRIVATE_HEADER
- ${ROOT_DIR}/open_source/openharmony/foundation/ace/ace_engine_lite/interfaces/base
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rtcservice/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclockmanage/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclocktimerconfig/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/key/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/screensetting/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uiservice/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/InitComponent/include
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/include
- ${UI_SAMPLE_ROOT}/components
- ${CMAKE_CURRENT_SOURCE_DIR}/../service/smart_voice/smart_voice_service/interfaces/innerkits/native_c/include
- ${CMAKE_CURRENT_SOURCE_DIR}/../service/smart_voice/voice_engine_hal/interfaces/innerkits/native_c/include
- ${CMAKE_CURRENT_SOURCE_DIR}/../ohos_deps
-
- ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/src/utils/innerkits
- ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/include
- ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/src/ui/frameworks
- ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/include/service
- ${ROOT_DIR}/middleware/services/gui/uikit/ui/interfaces/innerkits
-
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits/events
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/kits
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/kits/gfx_utils
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/innerkits
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/innerkits
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/frameworks
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/surface/interfaces/kits
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits/components
- ${ROOT_DIR}/open_source/openharmony/foundation/graphic/service/include
- ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audio_player/interfaces/kits
- ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audiomanager/interfaces/kits/audiomanager
- ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audiomanager/interfaces/kits/audiocommon
- ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/player/interfaces/kits/
- ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/utils/include
-
- ${ROOT_DIR}/include/middleware/services/bts/common
- ${ROOT_DIR}/include/middleware/services/bts/ble
- ${ROOT_DIR}/include/middleware/services/bts/br
-
- ${ROOT_DIR}/open_source/openharmony/drivers/peripheral/display/interfaces/include
- ${ROOT_DIR}/open_source/openharmony/foundation/distributedschedule/samgr_lite/interfaces/kits/samgr
-)
-
-set(SOURCES
- ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/NativeLauncher.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uiservice/src/ui_service.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/slices/main/MainPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/slices/main/MainView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainViewSample.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainPresenterSample.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainSwipeViewGroup.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/ModelListenerSample.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/PresenterTask.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/HealthModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/PullUpDownView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/AppItemView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistAdapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/MainClockView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/DialUserView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/DialMalioView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodBandoffView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothDeviceCaseListAdapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothDeviceListView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothHeadsetEvent.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/MainBluetoothView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothEarPhoneView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsConnFailMessageView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsFailMessageView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsSuccMessageView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothEarListView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothOptionsView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothReconnectView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothItemView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothCaseListAdapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkPreparedView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkMotionView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFirst.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageSecond.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageThird.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFourth.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFifth.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/CustomizationView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkEndView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectPhoneView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectSelectView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectOpenView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectPhonePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootDeviceView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/ShutdownDeviceView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerItemView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/CallerDisplayView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/WaitingHintsView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/CallingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/MainCallingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/DialingScreenView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/MainCallingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/VolumeSettingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/VolumeSettingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/BluetoothView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersCaseListAdapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/MainActivityView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityWeekView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRateView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmClockModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/MainAlarmView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmConfigView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmSetTimeView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmSetWeekView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmJudgeView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPopUpView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmRingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmCloseRingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmNewTimeView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPopUpPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmMaxClock.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempJoinStudy.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMainView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMeasure.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempExitInter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempPromptWear.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempClickMea.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempRemindWear.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMeaProcess.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempInitInter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempWarn.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempLittleTip.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempExitPrompt.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempStudyAbout.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempContinueWarn.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempReport.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingAdapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingItemView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/key/src/KeyInputListener.cpp
- #ʡ��
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveEleModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveElePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveEleView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveBatPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveBatView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepPresenter.cpp
- #˯��
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepTimePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepTimeView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepActPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepActView.cpp
- #�绰
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhonePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneDirView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneDirPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallupView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallupPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneRingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneRingPresenter.cpp
- #��������
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/GetPicPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/GetPicView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/TakePicPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/TakePicView.cpp
- #Ѫ��
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodShowView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodShowPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodCheckView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodCheckPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodErrorView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodErrorPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodNoteView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodNotePresenter.cpp
- #����
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/dial/src/DialView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/dial/src/DialPresenter.cpp
-
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRemindView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRemindPresenter.cpp
-
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/traing/src/TraingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/traing/src/TraingPresenter.cpp
- #ָ����
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassControlView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassCalibrationView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MainCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MainCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PlaceMakerCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PlaceMakerCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MakerPointCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MakerPointCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/StartPathRecordCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/StartPathRecordCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndPathRecordCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndPathRecordCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathBackTrackingCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathBackTrackingCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/ResetPlaceMakerCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/ResetPlaceMakerCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathRetracingCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathRetracingCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingEarlyCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingEarlyCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingCompassView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/GPSLossCompassPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/GPSLossCompassView.cpp
- #辅助功能
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/SecondaryFunctionView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingAttentionPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingAttentionView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/src/PhoneService.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/src/PhoneAudio.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/MainVocassistView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/screensetting/src/ScreenModels.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclockmanage/src/AlarmClockManage.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rtcservice/src/RtcService.cpp
-
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessPresent.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/BrightnessControlPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/BrightnessControlView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/ScreenDurationPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/ScreenDurationView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SoundAndVibrationPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SoundAndVibrationView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SystemVolumePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SystemVolumeView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/quickaccess/src/QuickAccessPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/quickaccess/src/QuickAccessView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemAboutPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemAboutView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemSupervisePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemSuperviseView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemLanguagePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemLanguageView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordListPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordListView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPlayPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPlayView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordDeletePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordDeleteView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordGoingPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordGoingView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemRebootPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemRebootView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemShoutDownPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemShoutDownView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemFactoryResetPresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemFactoryResetView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/InitComponent/src/InitComponent.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISampleView.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISamplePresenter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISampleModel.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/src/test_case_list_adapter.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/src/ui_test_group.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_tiger/tiger_view.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_tiger/ui_test_tiger.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_running_ball/ui_test_running_ball.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_breath/ui_test_breath.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_card_switch/ui_test_card_switch.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_countdown/ui_test_countdown.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_list_fps/image_text_adapter.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_list_fps/ui_test_list_fps.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_message/ui_test_message.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_cube_rotate/cube_rotate_view.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_cube_rotate/ui_test_cube_rotate.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_video_play/ui_test_video_play.cpp
- ${UI_SAMPLE_ROOT}/components/ui_test_video_play/media_video_play.cpp
-)
-
-set(COMPONENT_PUBLIC_CCFLAGS
-)
-
-set(COMPONENT_CCFLAGS
- -std=c++11
- -Wno-error
- -Wno-unused-parameter
- -fno-exceptions
- -fno-unwind-tables
- -fno-asynchronous-unwind-tables
- -Wno-undef
- -Wno-bitwise-op-parentheses
- -Wno-shift-op-parentheses
- -nostdlibinc
- -nostdinc
- -nostdlib
- -Wno-c++11-narrowing
- -Wno-error=unused-function
-)
-
-set(WHOLE_LINK
- true
-)
-
-set(MAIN_COMPONENT
- false
-)
-
-set(PUBLIC_DEFINES
- SUPPORT_NATIVE_UI
-)
-
-set(PRIVATE_DEFINES
-)
-
-build_component()
+set(COMPONENT_NAME "nativelauncher")\r
+set(MODULE_NAME "app")\r
+set(AUTO_DEF_FILE_ID TRUE)\r
+set(UI_SAMPLE_ROOT ${ROOT_DIR}/middleware/services/gui/uikit/sample/uitest)\r
+\r
+set(PUBLIC_HEADER\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/include/slices/main\r
+)\r
+\r
+set(PRIVATE_HEADER\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/ace/ace_engine_lite/interfaces/base\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rtcservice/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclockmanage/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclocktimerconfig/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/key/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/screensetting/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uiservice/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/InitComponent/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/include\r
+ ${UI_SAMPLE_ROOT}/components\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/../service/smart_voice/smart_voice_service/interfaces/innerkits/native_c/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/../service/smart_voice/voice_engine_hal/interfaces/innerkits/native_c/include\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/../ohos_deps\r
+\r
+ ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/src/utils/innerkits\r
+ ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/include\r
+ ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/src/ui/frameworks\r
+ ${ROOT_DIR}/middleware/services/gui/uikit/proprietary/include/service\r
+ ${ROOT_DIR}/middleware/services/gui/uikit/ui/interfaces/innerkits\r
+\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits/events\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/kits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/kits/gfx_utils\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/utils/interfaces/innerkits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/innerkits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/frameworks\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/surface/interfaces/kits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/ui/interfaces/kits/components\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/graphic/service/include\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audio_player/interfaces/kits\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audiomanager/interfaces/kits/audiomanager\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/audiomanager/interfaces/kits/audiocommon\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/player/interfaces/kits/\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/multimedia/utils/include\r
+\r
+ ${ROOT_DIR}/include/middleware/services/bts/common\r
+ ${ROOT_DIR}/include/middleware/services/bts/ble\r
+ ${ROOT_DIR}/include/middleware/services/bts/br\r
+\r
+ ${ROOT_DIR}/open_source/openharmony/drivers/peripheral/display/interfaces/include\r
+ ${ROOT_DIR}/open_source/openharmony/foundation/distributedschedule/samgr_lite/interfaces/kits/samgr\r
+)\r
+\r
+set(SOURCES\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/NativeLauncher.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uiservice/src/ui_service.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/slices/main/MainPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativelauncher/src/slices/main/MainView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainViewSample.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainPresenterSample.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/MainSwipeViewGroup.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/ModelListenerSample.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/PresenterTask.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/HealthModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/PullUpDownView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/AppItemView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistAdapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/applist/src/ApplistView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/MainClockView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/DialUserView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/clock/src/DialMalioView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodBandoffView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bloodoxygen/src/BloodOxygenModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothDeviceCaseListAdapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothDeviceListView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothHeadsetEvent.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/MainBluetoothView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothEarPhoneView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsConnFailMessageView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsFailMessageView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/TipsSuccMessageView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothEarListView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothOptionsView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothReconnectView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothItemView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetooth/src/BluetoothCaseListAdapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkPreparedView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkMotionView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFirst.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageSecond.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageThird.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFourth.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/MotionPageFifth.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/CustomizationView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/indoorwalk/src/IndoorWalkEndView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectPhoneView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectSelectView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectOpenView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/connectnewphone/src/ConnectPhonePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/RebootDeviceView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rebootdevice/src/ShutdownDeviceView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerLogModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/callerlog/src/CallerItemView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/CallerDisplayView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/WaitingHintsView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/CallingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/MainCallingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/DialingScreenView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/makephone/src/MainCallingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/VolumeSettingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/main/src/VolumeSettingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/BluetoothView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/player/src/PlayersCaseListAdapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/MainActivityView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityWeekView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/activity/src/ActivityModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRateView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmClockModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/MainAlarmView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmConfigView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmSetTimeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmSetWeekView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmJudgeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPopUpView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmRingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmCloseRingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmNewTimeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmPopUpPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarm/src/AlarmMaxClock.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempJoinStudy.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMainView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMeasure.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempExitInter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempPromptWear.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempClickMea.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempRemindWear.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempMeaProcess.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempInitInter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempWarn.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempLittleTip.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempExitPrompt.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempStudyAbout.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempContinueWarn.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/temperature/src/TempReport.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingAdapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/settings/src/SettingItemView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/key/src/KeyInputListener.cpp\r
+ #ʡ��\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveEleModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveElePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveEleView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveBatPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/saveele/src/SaveBatView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepPresenter.cpp\r
+ #˯��\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepTimePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepTimeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepActPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/sleep/src/SleepActView.cpp\r
+ #�绰\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhonePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneDirView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneDirPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallupView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneCallupPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneRingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phone/src/PhoneRingPresenter.cpp\r
+ #��������\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/GetPicPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/GetPicView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/TakePicPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/getpic/src/TakePicView.cpp\r
+ #Ѫ��\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodShowView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodShowPresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodCheckView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodCheckPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodErrorView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodErrorPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodNoteView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/blood/src/BloodNotePresenter.cpp\r
+ #����\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/dial/src/DialView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/dial/src/DialPresenter.cpp\r
+\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRemindView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/heartrate/src/HeartRemindPresenter.cpp\r
++\r
++ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/traing/src/TraingView.cpp\r
++ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/traing/src/TraingPresenter.cpp\r
+ #ָ����\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassControlView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassCalibrationView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/CompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MainCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MainCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PlaceMakerCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PlaceMakerCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MakerPointCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/MakerPointCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/StartPathRecordCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/StartPathRecordCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndPathRecordCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndPathRecordCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathBackTrackingCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathBackTrackingCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/ResetPlaceMakerCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/ResetPlaceMakerCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathRetracingCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/PathRetracingCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingEarlyCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingEarlyCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/EndBackTrackingCompassView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/GPSLossCompassPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/compass/src/GPSLossCompassView.cpp\r
+ #辅助功能\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/SecondaryFunctionPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/SecondaryFunctionView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingAttentionPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingAttentionView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/FastTrainingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/src/PhoneService.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/phoneservice/src/PhoneAudio.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/VocassistView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/offlinevoice/src/MainVocassistView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/screensetting/src/ScreenModels.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclockmanage/src/AlarmClockManage.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/alarmclocktimerconfig/src/AlarmClockTimerConfig.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/rtcservice/src/RtcService.cpp\r
+\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessPresent.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/DisplayBrightnessView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/BrightnessControlPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/BrightnessControlView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/ScreenDurationPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/displaybrightness/src/ScreenDurationView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/bluetoothofsetting/src/BlueToothOfSettingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SoundAndVibrationPresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SoundAndVibrationView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SystemVolumePresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/SystemVolumeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/CallVolumePresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/CallVolumeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/MediaVolumePresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/soundandvibration/src/MediaVolumeView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/QuickAccessPresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/secondaryfunction/src/QuickAccessView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemPresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemAboutPresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemAboutView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemSupervisePresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemSuperviseView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemLanguagePresenter.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemLanguageView.cpp \r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordListPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordListView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPlayPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordPlayView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordDeletePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordDeleteView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordGoingPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/record/src/RecordGoingView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemRebootPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemRebootView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemShoutDownPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemShoutDownView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemFactoryResetPresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/system/src/SystemFactoryResetView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/InitComponent/src/InitComponent.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISampleView.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISamplePresenter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/src/UISampleModel.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/src/test_case_list_adapter.cpp\r
+ ${CMAKE_CURRENT_SOURCE_DIR}/nativeui/uisample/uitest/framework/src/ui_test_group.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_tiger/tiger_view.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_tiger/ui_test_tiger.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_running_ball/ui_test_running_ball.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_breath/ui_test_breath.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_card_switch/ui_test_card_switch.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_countdown/ui_test_countdown.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_list_fps/image_text_adapter.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_list_fps/ui_test_list_fps.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_message/ui_test_message.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_cube_rotate/cube_rotate_view.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_cube_rotate/ui_test_cube_rotate.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_video_play/ui_test_video_play.cpp\r
+ ${UI_SAMPLE_ROOT}/components/ui_test_video_play/media_video_play.cpp\r
+)\r
+\r
+set(COMPONENT_PUBLIC_CCFLAGS\r
+)\r
+\r
+set(COMPONENT_CCFLAGS\r
+ -std=c++11\r
+ -Wno-error\r
+ -Wno-unused-parameter\r
+ -fno-exceptions\r
+ -fno-unwind-tables\r
+ -fno-asynchronous-unwind-tables\r
+ -Wno-undef\r
+ -Wno-bitwise-op-parentheses\r
+ -Wno-shift-op-parentheses\r
+ -nostdlibinc\r
+ -nostdinc\r
+ -nostdlib\r
+ -Wno-c++11-narrowing\r
+ -Wno-error=unused-function\r
+)\r
+\r
+set(WHOLE_LINK\r
+ true\r
+)\r
+\r
+set(MAIN_COMPONENT\r
+ false\r
+)\r
+\r
+set(PUBLIC_DEFINES\r
+ SUPPORT_NATIVE_UI\r
+)\r
+\r
+set(PRIVATE_DEFINES\r
+)\r
+\r
+build_component()\r
-/*
- * Copyright (c) 2020-2021 CompanyNameMagicTag.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef APP_VIEW_IDS_H
-#define APP_VIEW_IDS_H
-
-#include <cstdint>
-
-/*
- * 基础应用的view id,与MVP的V一一对应
- * 枚举命名要求:参考View名字,名字尽量简短
- */
-typedef enum : uint16_t
-{
- VIEW_INVALID = 0,
- VIEW_MAIN = 1,
- VIEW_SETTING = 2,
- VIEW_APPLIST = 3,
- VIEW_SETTING_FIRST = 4,
- VIEW_MAIN_SAMPLE = 5,
- VIEW_MAIN_ALARM = 6,
- VIEW_MAIN_ACTIVITY = 7,
- VIEW_ALARM_POP_UP,
- VIEW_CALLER_SAMPLE,
- VIEW_MAEKPHONE_SAMPLE,
- VIEW_BLOODOXY_SAMPLE,
- VIEW_BLUETOOTH_EARPHONE,
- VIEW_OFFLINEVOICE,
- VIEW_WIFI,
- VIEW_VOLUME,
- VIEW_CONNECT_PHONE,
- VIEW_MAIN_TEMP,
- VIEW_INDOORWALK,
- VIEW_REBOOT,
- VIEW_UISAMPLE, // 实例
- VIEW_GETPIC, // 手势拍照
- VIEW_TAKEPIC, // 拍照
-
- VIEW_BLOOD, // 血氧
- VIEW_BLOODSHOW, // 血氧说明
- VIEW_BLOODCHECK, // 血氧检查
- VIEW_BLOODERROR, // 血氧监测错误
- VIEW_BLOODNOTE, // 血氧过低提醒
-
- VIEW_DIAL, // 表盘
- VIEW_DIALSETUP, // 表盘安装
- VIEW_DIALSUCCES, // 表盘安装成功
-
- VIEW_SAVEELE, // 省电模式
- VIEW_SAVEBAT, // 省电模式界面
-
- VIEW_COMPASS, // 指南针
- VIEW_COMPASS_PLACE_MAKER, // 指南针:放置标记点
- VIEW_COMPASS_MAKER_POINT, // 指南针:标记点介绍
- VIEW_COMPASS_START_PATH_RECORD, // 指南针:开始路径记录
- VIEW_COMPASS_END_PATH_RECORD, // 指南针:结束路径记录
- VIEW_COMPASS_PATH_BACKTRACKING, // 指南针:路径回溯
- VIEW_COMPASS_RESET_PLACE_MAKER, // 指南针:重置标记点
- VIEW_COMPASS_PATH_RETRACING, // 指南针:路径回溯中
- VIEW_COMPASS_GPS_LOSS, // 指南针:GPS丢失
- VIEW_COMPASS_END_BACK_TRACKING, // 指南针:结束路径回溯
- VIEW_COMPASS_END_BACK_TRACKING_EARLY, // 指南针:提前结束路径回溯
- VIEW_SPORT, // 活动
-
- VIEW_HEARTRATEREMIND, // 心率提醒
-
- VIEW_TRAINING, // 训练
- VIEW_TRAINING_RECORD, // 训练记录
-
- VIEW_BLOODPRESSURE, // 昨日睡眠时间
- VIEW_SLEEPTIME, // 睡眠详细数据
- VIEW_SLEEPACT, // 睡眠事项说明
- VIEW_MUSIC, // 音乐
- VIEW_WEATHER, // 天气
- VIEW_RECORD, // 录音
- // 录音
- VIEW_RECORD_LIST,
- VIEW_RECORD_PLAY,
- VIEW_RECORD_DELETE,
- VIEW_RECORD_GOING,
- // 电话
- VIEW_PHONE, // 电话
- VIEW_PHONECALL, // 拨号
- VIEW_PHONERING, // 拨号界面
- VIEW_PHONECALLING, // 来电
- VIEW_PHONECALLUP, // 通话界面
- VIEW_PHONEDIR, // 电话簿
- VIEW_CHRONOMETER, // 秒表
- VIEW_COUNTDOWN, // 计时器
- VIEW_BLUETOOTH, // 蓝牙
- // 设置
- VIEW_DISPLAY_BRIGHTNESS, // 屏幕与亮度
- VIEW_CONNECT_BLUETOOTH, // 蓝牙
- VIEW_SOUND_VIBRATION, // 声音与震动
- VIEW_SYSTEM_VOLUME, // 系统音量
- VIEW_QUICK_ACCESS, // 快速访问
- VIEW_SYSTEM, // 系统
- // 系统
- VIEW_SYSTEM_ABOUT_WATCH, // 系统:关于手表
- VIEW_SYSTEM_SUPERVISE, // 系统:监管
- VIEW_SYSTEM_SYSTEM_LANGUAGE, // 系统:系统语言
- VIEW_SYSTEM_REBOOT, // 系统:重新启动
- VIEW_SYSTEM_SHOUTDOWN, // 系统:关机
- VIEW_SYSTEM_FACTORY_RESET, // 系统:恢复出厂设置
- VIEW_BRIGHTNESS_CONTROL, // 亮度调节
- VIEW_SCREEN_DURATION, // 亮屏时长
- //按键按下进入的视图
- VIEW_SECONDARY_FUNCTION, //辅助功能
- VIEW_FAST_TRAINING, //快速训练
- VIEW_FAST_TRAINING_ATTENTION,//快速训练项目选择超出提示
- VIEW_MAX_INTER_APP, // 在此之前添加native应用ID
- VIEW_EXTERN_APP = 0xFFFE, // 三方应用
- VIEW_INVALIDE_APP = 0xFFFF,
-} AppViewId;
-
-/*
- * Slice页面优先级,越小优先级越高
- */
-typedef enum : uint16_t
-{
- PRIO_0 = 0,
- PRIO_1,
- PRIO_2,
- PRIO_3,
- PRIO_4
-} AppPriority;
-
-#endif
+/*\r
+ * Copyright (c) 2020-2021 CompanyNameMagicTag.\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef APP_VIEW_IDS_H\r
+#define APP_VIEW_IDS_H\r
+\r
+#include <cstdint>\r
+\r
+/*\r
+ * 基础应用的view id,与MVP的V一一对应\r
+ * 枚举命名要求:参考View名字,名字尽量简短\r
+ */\r
+typedef enum : uint16_t\r
+{\r
+ VIEW_INVALID = 0,\r
+ VIEW_MAIN = 1,\r
+ VIEW_SETTING = 2,\r
+ VIEW_APPLIST = 3,\r
+ VIEW_SETTING_FIRST = 4,\r
+ VIEW_MAIN_SAMPLE = 5,\r
+ VIEW_MAIN_ALARM = 6,\r
+ VIEW_MAIN_ACTIVITY = 7,\r
+ VIEW_ALARM_POP_UP,\r
+ VIEW_CALLER_SAMPLE,\r
+ VIEW_MAEKPHONE_SAMPLE,\r
+ VIEW_BLOODOXY_SAMPLE,\r
+ VIEW_BLUETOOTH_EARPHONE,\r
+ VIEW_OFFLINEVOICE,\r
+ VIEW_WIFI,\r
+ VIEW_VOLUME,\r
+ VIEW_CONNECT_PHONE,\r
+ VIEW_MAIN_TEMP,\r
+ VIEW_INDOORWALK,\r
+ VIEW_REBOOT,\r
+ VIEW_UISAMPLE, // 实例\r
+ VIEW_GETPIC, // 手势拍照\r
+ VIEW_TAKEPIC, // 拍照\r
+\r
+ VIEW_BLOOD, // 血氧\r
+ VIEW_BLOODSHOW, // 血氧说明\r
+ VIEW_BLOODCHECK, // 血氧检查\r
+ VIEW_BLOODERROR, // 血氧监测错误\r
+ VIEW_BLOODNOTE, // 血氧过低提醒\r
+\r
+ VIEW_DIAL, // 表盘\r
+ VIEW_DIALSETUP, // 表盘安装\r
+ VIEW_DIALSUCCES, // 表盘安装成功\r
+\r
+ VIEW_SAVEELE, // 省电模式\r
+ VIEW_SAVEBAT, // 省电模式界面\r
+ \r
+ VIEW_COMPASS, // 指南针\r
+ VIEW_COMPASS_PLACE_MAKER, // 指南针:放置标记点\r
+ VIEW_COMPASS_MAKER_POINT, // 指南针:标记点介绍\r
+ VIEW_COMPASS_START_PATH_RECORD, // 指南针:开始路径记录\r
+ VIEW_COMPASS_END_PATH_RECORD, // 指南针:结束路径记录\r
+ VIEW_COMPASS_PATH_BACKTRACKING, // 指南针:路径回溯\r
+ VIEW_COMPASS_RESET_PLACE_MAKER, // 指南针:重置标记点\r
+ VIEW_COMPASS_PATH_RETRACING, // 指南针:路径回溯中\r
+ VIEW_COMPASS_GPS_LOSS, // 指南针:GPS丢失\r
+ VIEW_COMPASS_END_BACK_TRACKING, // 指南针:结束路径回溯\r
+ VIEW_COMPASS_END_BACK_TRACKING_EARLY, // 指南针:提前结束路径回溯\r
+ VIEW_SPORT, // 活动\r
+\r
+ VIEW_HEARTRATEREMIND, // 心率提醒\r
+\r
+ VIEW_TRAINING, // 训练\r
+ VIEW_TRAINING_RECORD, // 训练记录\r
++ \r
+ VIEW_BLOODPRESSURE, // 昨日睡眠时间\r
+ VIEW_SLEEPTIME, // 睡眠详细数据\r
+ VIEW_SLEEPACT, // 睡眠事项说明\r
+ VIEW_MUSIC, // 音乐\r
+ VIEW_WEATHER, // 天气\r
+ VIEW_RECORD, // 录音\r
+ // 录音\r
+ VIEW_RECORD_LIST,\r
+ VIEW_RECORD_PLAY,\r
+ VIEW_RECORD_DELETE,\r
+ VIEW_RECORD_GOING,\r
+ // 电话\r
+ VIEW_PHONE, // 电话\r
+ VIEW_PHONECALL, // 拨号\r
+ VIEW_PHONERING, // 拨号界面\r
+ VIEW_PHONECALLING, // 来电\r
+ VIEW_PHONECALLUP, // 通话界面\r
+ VIEW_PHONEDIR, // 电话簿\r
+ VIEW_CHRONOMETER, // 秒表\r
+ VIEW_COUNTDOWN, // 计时器\r
+ VIEW_BLUETOOTH, // 蓝牙\r
+ // 设置\r
+ VIEW_DISPLAY_BRIGHTNESS, // 屏幕与亮度\r
+ VIEW_CONNECT_BLUETOOTH, // 蓝牙\r
+ VIEW_SOUND_VIBRATION, // 声音与震动\r
+ VIEW_SYSTEM_VOLUME, // 系统音量\r
+ VIEW_CALL_VOLUME, // 通话音量\r
+ VIEW_MEDIA_VOLUME, // 媒体音量\r
+ VIEW_SECONDARY_FUNCTION, // 辅助功能\r
+ VIEW_SYSTEM, // 系统\r
+ // 系统\r
+ VIEW_SYSTEM_ABOUT_WATCH, // 系统:关于手表\r
+ VIEW_SYSTEM_SUPERVISE, // 系统:监管\r
+ VIEW_SYSTEM_SYSTEM_LANGUAGE, // 系统:系统语言\r
+ VIEW_SYSTEM_REBOOT, // 系统:重新启动\r
+ VIEW_SYSTEM_SHOUTDOWN, // 系统:关机\r
+ VIEW_SYSTEM_FACTORY_RESET, // 系统:恢复出厂设置\r
+ VIEW_BRIGHTNESS_CONTROL, // 亮度调节\r
+ VIEW_SCREEN_DURATION, // 亮屏时长\r
+ //按键按下进入的视图\r
+ VIEW_QUICK_ACCESS, // 快速访问\r
+ VIEW_FAST_TRAINING, //快速训练\r
+ VIEW_FAST_TRAINING_ATTENTION,//快速训练项目选择超出提示\r
+ VIEW_MAX_INTER_APP, // 在此之前添加native应用ID\r
+ VIEW_EXTERN_APP = 0xFFFE, // 三方应用\r
+ VIEW_INVALIDE_APP = 0xFFFF,\r
+} AppViewId;\r
+\r
+/*\r
+ * Slice页面优先级,越小优先级越高\r
+ */\r
+typedef enum : uint16_t\r
+{\r
+ PRIO_0 = 0,\r
+ PRIO_1,\r
+ PRIO_2,\r
+ PRIO_3,\r
+ PRIO_4\r
+} AppPriority;\r
+\r
+#endif\r
-/*
- * Copyright (c) 2020-2021 CompanyNameMagicTag.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef NATIVE_LAUNCHER_H
-#define NATIVE_LAUNCHER_H
-#include "AppViewIDs.h"
-
-namespace OHOS {
-class NativeLauncher {
-public:
- static NativeLauncher &GetInstance(void);
- void InitNativeLauncher(void);
- void InitMainSlice(void);
- void InitMainSampleSlice(void);
- void InitSettingSlice(void);
- void InitApplistSlice(void);
- void InitMainAlarmSlice(void);
- void InitAlarmPopUpSlice(void);
- void InitActivitySlice(void);
- void InitWeekStepSlice(void);
- void InitBluetoothSlice(void);
- void InitWifiView(void);
- void InitMainBloodOxyView(void);
- void InitMainCallerLogView(void);
- void InitMainMakePhoneView(void);
- void InitCompassSlice(void);
- void InitOfflineVoice(void);
- void InitConnectPhoneSlice(void);
- void InitMainTempSlice(void);
- void InitIndoorWalkSlice(void);
- void InitRebootSlice(void);
- void InitUISampleSlice(void);
- void InitSaveEleSlice(void);
- void InitSaveBatSlice(void);
- void InitSleepSlice(void);
- void InitSleepTimeSlice(void);
- void InitSleepActSlice(void);
- void InitGetPicSlice(void);
- void InitTakePicSlice(void);
- void InitBloodSlice(void);
- void InitBloodShowSlice(void);
- void InitBloodCheckSlice(void);
- void InitBloodErrorSlice(void);
- void InitBloodNoteSlice(void);
- void InitDialSlice(void);
- void InitHeartRemindSlice(void);
- void InitPhoneSlice(void);
- void InitPhoneCallSlice(void);
- void InitPhoneDirSlice(void);
- void InitPhoneCallingSlice(void);
- void InitPhoneCallupSlice(void);
- void InitPhoneRingSlice(void);
- void InitTraingSlice(void);
- void InitUIDisplayBrightnessSlice(void);
- void InitBlueToothSettingSlice(void);
- void InitBrightnessControlSlice(void);
- void InitScreenDurationSlice(void);
- void InitSoundAndVibrationSlice(void);
- void InitSystemVolumeSlice(void);
- void InitQuickAccessSlice(void);
- void InitSystemSlice(void);
- void InitSystemAboutWatchSlice(void);
- void InitSystemSuperviseSlice(void);
- void InitSystemLanguageSlice(void);
- void InitSystemRebootSlice(void);
- void InitSystemShoutDownSlice(void);
- void InitSystemFactoryResetSlice(void);
- void InitRecordingSlice(void);
- void InitRecordingListSlice(void);
- void InitRecordingPlaySlice(void);
- void InitRecordingDeleteSlice(void);
- void InitRecordingGoingSlice(void);
- void InitCompassPlaceMakerSlice(void);
- void InitCompassMakerPointSlice(void);
- void InitCompassStartPathRecordSlice(void);
- void InitCompassEndPathRecordSlice(void);
- void InitCompassPathBackTrackingSlice(void);
- void InitCompassResetPlaceMakerSlice(void);
- void InitCompassPathRetracingSlice(void);
- void InitCompassEndBackTrackingEarlySlice();
- void InitCompassEndBackTrackingSlice(void);
- void InitCompassGPSLossSlice(void);
- void InitSecondaryFunction(void);
- void InitFastTrainingSlice(void);
- void InitFastTrainingAttentionSlice(void);
-private:
- void InitAllNativeSlices(void);
-
- NativeLauncher();
- NativeLauncher(const NativeLauncher &);
- NativeLauncher &operator=(const NativeLauncher &);
- ~NativeLauncher();
-};
-}
-#endif // NATIVE_LAUNCHER_H
+/*\r
+ * Copyright (c) 2020-2021 CompanyNameMagicTag.\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef NATIVE_LAUNCHER_H\r
+#define NATIVE_LAUNCHER_H\r
+#include "AppViewIDs.h"\r
+\r
+namespace OHOS {\r
+class NativeLauncher {\r
+public:\r
+ static NativeLauncher &GetInstance(void);\r
+ void InitNativeLauncher(void);\r
+ void InitMainSlice(void);\r
+ void InitMainSampleSlice(void);\r
+ void InitSettingSlice(void);\r
+ void InitApplistSlice(void);\r
+ void InitMainAlarmSlice(void);\r
+ void InitAlarmPopUpSlice(void);\r
+ void InitActivitySlice(void);\r
+ void InitWeekStepSlice(void);\r
+ void InitBluetoothSlice(void);\r
+ void InitWifiView(void);\r
+ void InitMainBloodOxyView(void);\r
+ void InitMainCallerLogView(void);\r
+ void InitMainMakePhoneView(void);\r
+ void InitCompassSlice(void);\r
+ void InitOfflineVoice(void);\r
+ void InitConnectPhoneSlice(void);\r
+ void InitMainTempSlice(void);\r
+ void InitIndoorWalkSlice(void);\r
+ void InitRebootSlice(void);\r
+ void InitUISampleSlice(void); \r
+ void InitSaveEleSlice(void);\r
+ void InitSaveBatSlice(void);\r
+ void InitSleepSlice(void);\r
+ void InitSleepTimeSlice(void);\r
+ void InitSleepActSlice(void);\r
+ void InitGetPicSlice(void);\r
+ void InitTakePicSlice(void);\r
+ void InitBloodSlice(void);\r
+ void InitBloodShowSlice(void);\r
+ void InitBloodCheckSlice(void);\r
+ void InitBloodErrorSlice(void);\r
+ void InitBloodNoteSlice(void);\r
+ void InitDialSlice(void);\r
+ void InitHeartRemindSlice(void);\r
+ void InitPhoneSlice(void);\r
+ void InitPhoneCallSlice(void);\r
+ void InitPhoneDirSlice(void);\r
+ void InitPhoneCallingSlice(void);\r
+ void InitPhoneCallupSlice(void);\r
+ void InitPhoneRingSlice(void);\r
++ void InitTraingSlice(void);\r
+ void InitUIDisplayBrightnessSlice(void); \r
+ void InitBlueToothSettingSlice(void); \r
+ void InitBrightnessControlSlice(void); \r
+ void InitScreenDurationSlice(void); \r
+ void InitSoundAndVibrationSlice(void); \r
+ void InitSystemVolumeSlice(void);\r
+ void InitCallVolumeSlice(void); \r
+ void InitMediaVolumeSlice(void); \r
+ void InitQuickAccessSlice(void); \r
+ void InitSystemSlice(void); \r
+ void InitSystemAboutWatchSlice(void); \r
+ void InitSystemSuperviseSlice(void); \r
+ void InitSystemLanguageSlice(void); \r
+ void InitSystemRebootSlice(void); \r
+ void InitSystemShoutDownSlice(void); \r
+ void InitSystemFactoryResetSlice(void); \r
+ void InitRecordingSlice(void); \r
+ void InitRecordingListSlice(void); \r
+ void InitRecordingPlaySlice(void); \r
+ void InitRecordingDeleteSlice(void); \r
+ void InitRecordingGoingSlice(void); \r
+ void InitCompassPlaceMakerSlice(void); \r
+ void InitCompassMakerPointSlice(void); \r
+ void InitCompassStartPathRecordSlice(void); \r
+ void InitCompassEndPathRecordSlice(void); \r
+ void InitCompassPathBackTrackingSlice(void); \r
+ void InitCompassResetPlaceMakerSlice(void); \r
+ void InitCompassPathRetracingSlice(void); \r
+ void InitCompassEndBackTrackingEarlySlice();\r
+ void InitCompassEndBackTrackingSlice(void); \r
+ void InitCompassGPSLossSlice(void);\r
+ void InitSecondaryFunction(void);\r
+ void InitFastTrainingSlice(void); \r
+ void InitFastTrainingAttentionSlice(void); \r
+private:\r
+ void InitAllNativeSlices(void);\r
+\r
+ NativeLauncher();\r
+ NativeLauncher(const NativeLauncher &);\r
+ NativeLauncher &operator=(const NativeLauncher &);\r
+ ~NativeLauncher();\r
+};\r
+}\r
+#endif // NATIVE_LAUNCHER_H\r
-/*
- * Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
- * Description: UiConfig for application resource
- * Author:
- * Create: 2021-12-03
- */
-
-#ifndef UI_CONFIG_H
-#define UI_CONFIG_H
-
-#include <cstdint>
-#include "ohos_types.h"
-#include "graphic_config.h"
-
-namespace OHOS
-{
-#ifndef UNUSED
-#define UNUSED(x) ((void)(x))
-#endif
-
-#define LA_HORIZONTAL_RESOLUTION 400 // watch width
-#define LA_VERTICAL_RESOLUTION 400 // watch height
-#define NORMAL_BUTTON_WIDTH 100 // normal button width
-#define NORMAL_BUTTON_HEIGHT 50 // normal button height
-#define NORMAL_MARGIN 5 // normal margin
-#define DIAL_SQUARE 250 // watch plate sauqre
-#define SETTING_ITEM_HEIGHT 100 // setting item height
-#define UN_OPACITY 255 // UN_OPACITY
-
-#define MILLESECOND 1
-#define SECOND 1000 // 1s 1000ms
-#define MINUTE (60 * SECOND) // 1min 60s
-#define HOUR (60 * MINUTE) // 1hour 60min
-
-#define FONT_COMMON 20 // 20px
-#define X_DRAG_OFFSET 20
-#define DOUBLES 2
-
-#define APP_RES_PATH "/user/res"
-#define APP_MUSIC_PATH "/user/music"
-#define APP_VIDEO_PATH "/user/video"
-
- static constexpr const char *CARD_CONFIG_PATH = "/user/cardconfig.bin";
-
- static constexpr const char *CLOCK_IAMGES = APP_RES_PATH "/clock/clock.bin";
- static constexpr const char *PLAYER_IAMGES = APP_RES_PATH "/player/player.bin";
- static constexpr const char *COMPASS_IAMGES = APP_RES_PATH "/compass/compass.bin";
- static constexpr const char *DROPDOWN_IAMGES = APP_RES_PATH "/dropdown/dropdown.bin";
- static constexpr const char *HEART_IAMGES = APP_RES_PATH "/heart/heart.bin";
- static constexpr const char *PNG_BLUETOOTH_HINTS_PATH = APP_RES_PATH "/BLUETOOTH_HINTS.bin";
- static constexpr const char *PNG_BLOODOXYGEN_IMAGE_PATH = APP_RES_PATH "/BLOODOXYGEN_VIEW.bin";
-
- static constexpr const char *PNG_BLOOD_ICON_ENTER = APP_RES_PATH "/BLOOD_ICON_ENTER.bin";
-
- static constexpr const char *PNG_AGREEING_IMAGE_PATH = APP_RES_PATH "/AGREEING.bin";
- static constexpr const char *PNG_DISSGREE_IMAGE_PATH = APP_RES_PATH "/DISSGREE.bin";
- static constexpr const char *PNG_MICROPHONE_OPEN_IMAGE_PATH = APP_RES_PATH "/MICRO_PHONE_OPEN.bin";
- static constexpr const char *PNG_MICROPHONE_CLOSE_IMAGE_PATH = APP_RES_PATH "/MICRO_PHONE_CLOSE.bin";
- static constexpr const char *PNG_HANDUP_IMAGE_PATH = APP_RES_PATH "/HANDUP.bin";
- static constexpr const char *PNG_ANSWER_TMAGE_PATH = APP_RES_PATH "/ANSWER_PHONE.bin";
- static constexpr const char *PNG_CALLING_TMAGE_PATH = APP_RES_PATH "/CALLING_PHONE.bin";
- static constexpr const char *PNG_CALLER_TMAGE_PATH = APP_RES_PATH "/CALLER_LOG_IMAGE.bin";
- static constexpr const char *PNG_NO_CALLER_LOG_IMAGE = APP_RES_PATH "/NO_CALLER_LOG_IMAGE.bin";
- static constexpr const char *PNG_APPLIST_CALLER_IMAGE = APP_RES_PATH "/APPLIST_CALLER_IMAGE.bin";
- static constexpr const char *PNG_APPLIST_COMPASS_IMAGE = APP_RES_PATH "/APPLIST_COMPASS_IMAGE.bin";
-
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_0 = APP_RES_PATH "/COUNTDOWN_IMAGE_01.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_1 = APP_RES_PATH "/COUNTDOWN_IMAGE_02.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_2 = APP_RES_PATH "/COUNTDOWN_IMAGE_03.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_3 = APP_RES_PATH "/COUNTDOWN_IMAGE_04.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_4 = APP_RES_PATH "/COUNTDOWN_IMAGE_05.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_5 = APP_RES_PATH "/COUNTDOWN_IMAGE_06.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_6 = APP_RES_PATH "/COUNTDOWN_IMAGE_07.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_7 = APP_RES_PATH "/COUNTDOWN_IMAGE_08.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_8 = APP_RES_PATH "/COUNTDOWN_IMAGE_09.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_9 = APP_RES_PATH "/COUNTDOWN_IMAGE_10.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_10 = APP_RES_PATH "/COUNTDOWN_IMAGE_11.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_11 = APP_RES_PATH "/COUNTDOWN_IMAGE_12.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_12 = APP_RES_PATH "/COUNTDOWN_IMAGE_13.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_13 = APP_RES_PATH "/COUNTDOWN_IMAGE_14.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_14 = APP_RES_PATH "/COUNTDOWN_IMAGE_15.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_15 = APP_RES_PATH "/COUNTDOWN_IMAGE_16.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_16 = APP_RES_PATH "/COUNTDOWN_IMAGE_17.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_17 = APP_RES_PATH "/COUNTDOWN_IMAGE_18.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_18 = APP_RES_PATH "/COUNTDOWN_IMAGE_19.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_19 = APP_RES_PATH "/COUNTDOWN_IMAGE_20.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_20 = APP_RES_PATH "/COUNTDOWN_IMAGE_21.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_21 = APP_RES_PATH "/COUNTDOWN_IMAGE_22.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_22 = APP_RES_PATH "/COUNTDOWN_IMAGE_23.bin";
- static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_23 = APP_RES_PATH "/COUNTDOWN_IMAGE_24.bin";
-
- static constexpr const char *PNG_PROGRESS_BAR_TMAGE = APP_RES_PATH "/PROGRESS_BAR_TMAGE.bin";
- static constexpr const char *TEMP_WAITING = APP_RES_PATH "/TEMP_WAITING.bin";
- static constexpr const char *TEMP_REPORT = APP_RES_PATH "/TEMP_REPORT.bin";
- static constexpr const char *TEMP_POINT = APP_RES_PATH "/TEMP_POINT.bin";
- static constexpr const char *TEMP_REV_POINTER = APP_RES_PATH "/TEMP_REV_POINTER.bin";
-
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_0 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_02.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_1 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_03.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_2 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_04.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_3 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_05.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_4 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_06.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_5 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_07.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_6 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_08.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_7 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_09.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_8 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_10.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_9 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_11.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_10 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_12.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_11 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_13.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_12 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_14.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_13 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_15.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_14 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_16.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_15 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_17.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_16 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_18.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_17 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_19.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_18 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_20.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_19 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_21.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_20 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_22.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_21 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_23.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_22 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_24.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_23 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_25.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_24 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_26.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_25 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_27.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_26 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_28.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_27 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_29.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_28 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_30.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_29 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_31.bin";
- static constexpr const char *PNG_BLOOD_FLOW_IMAGE_30 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_32.bin";
-
- static constexpr const char *PNG_SOUNDBUTTON2 = APP_RES_PATH "/SOUND_IMAGE.bin";
- static constexpr const char *PNG_PULLBUTTON_FACE_IMAGE = APP_RES_PATH "/BLOOD_FLOW_IMAGE_01.bin";
- static constexpr const char *MUSIC_2 = APP_RES_PATH "/mp3_48k_caiqing.mp3";
- static constexpr const char *MUSIC_1 = APP_RES_PATH "/one.mp3";
-
- static constexpr const char *PNG_SETTTING_BUTTON_IMAGE = APP_RES_PATH "/SETTTING_BUTTON.bin";
- static constexpr const char *PNG_BLUETOOTH_IMAGE = APP_RES_PATH "/BLUETOOTH_IMAGE.bin";
- static constexpr const char *PNG_WATCH_IMAGE = APP_RES_PATH "/WATCH_IMAGE.bin";
- static constexpr const char *PNG_PHONE_IMAGE = APP_RES_PATH "/PHONE_IMAGE.bin";
- static constexpr const char *PNG_REBOOT_BUTTON_IMAGE = APP_RES_PATH "/REBOOT_BUTTON.bin";
- static constexpr const char *PNG_SHUTDOWN_BUTTON_IMAGE = APP_RES_PATH "/SHUTDOWN_BUTTON.bin";
- static constexpr const char *PNG_SETTTING_REBOOT_IMAGE = APP_RES_PATH "/SETTTING_REBOOT.bin";
- static constexpr const char *PNG_SETTTING_SHUTDOWN_IMAGE = APP_RES_PATH "/SETTTING_SHUTDOWN.bin";
-
- static constexpr const char *PNG_CONNECT_PHONE_IMAGE = APP_RES_PATH "/CONNECT_PHONE.bin";
- static constexpr const char *PNG_BLUETOOTH_STITLE = APP_RES_PATH "/BLUETOOTH_TITLE.bin";
-
- static constexpr const char *PNG_DISPLAY_BRIGHTNESS = APP_RES_PATH "/DISPLAY_BRIGHTNESS.bin"; // 显示与亮度
- static constexpr const char *PNG_BLUETOOTH = APP_RES_PATH "/BLUETOOTH.bin"; // 蓝牙
- static constexpr const char *PNG_SOUND_VIBRATION = APP_RES_PATH "/SOUND_VIBRATION.bin"; // 声音与震动
- static constexpr const char *PNG_QUICK_ACCESS = APP_RES_PATH "/QUICK_ACCESS.bin"; // 快速访问
- static constexpr const char *PNG_SYSTEM = APP_RES_PATH "/SYSTEM.bin"; // 系统
-
- static constexpr const char *PNG_NEW_DEVICE = APP_RES_PATH "/NEW_DEVICE.bin";
- static constexpr const char *PNG_BT_LIST = APP_RES_PATH "/BT_LIST.bin";
- static constexpr const char *PNG_SELECTION_BOX = APP_RES_PATH "/SELECTION_BOX.bin";
- static constexpr const char *PNG_GANTAN = APP_RES_PATH "/GANTAN.bin";
- static constexpr const char *PNG_RIGHT = APP_RES_PATH "/RIGHT.bin";
-
- static constexpr const char *PNG_NEW_WLAN_WIFI = APP_RES_PATH "/FULL_SIGNAL_OPEN.bin";
- static constexpr const char *FULL_SIGNAL_ENCRYPTION = APP_RES_PATH "/FULL_SIGNAL_ENCRYPTION.bin";
-
- static constexpr const char *PNG_MAIN_FACE_IMAGE = APP_RES_PATH "/MAIN_FACE_IMAGE.bin";
- static constexpr const char *B024_009_IMAGE_PATH = APP_RES_PATH "/HOURHAND.bin";
- static constexpr const char *B024_010_IMAGE_PATH = APP_RES_PATH "/SECONDHAND.bin";
- static constexpr const char *B024_011_IMAGE_PATH = APP_RES_PATH "/MINUTEHAND.bin";
- static constexpr const char *ALARM_ADD_BUTTON_PATH = APP_RES_PATH "/BLUE_ADD.bin";
- static constexpr const char *ALARM_ADD_BUTTON_PATH_IMAGE = APP_RES_PATH "/ALARM_ADD_BACKGROUND.bin"; //闹钟增加背景图片
- static constexpr const char *ALARM_CLOCK_CLOSE_ADD_PATH = APP_RES_PATH "/CLOSE_RING_CLOCK.bin";
- static constexpr const char *ALARM_CLOCK_ADD_PATH = APP_RES_PATH "/POP_UP_CLOCK.bin";
- static constexpr const char *ALARM_CLOCK_POP_ADD_PATH = APP_RES_PATH "/RING_CLOCK.bin";
- static constexpr const char *ALARM_DELETE_ADD_PATH = APP_RES_PATH "/DELETE.bin";
- static constexpr const char *ALARM_TRUE_ADD_PATH = APP_RES_PATH "/TRUE_ADD.bin";
- static constexpr const char *TEMP_MEASURE = APP_RES_PATH "/TEMP_MEASURE.bin";
- static constexpr const char *TEMP_UP_DROP = APP_RES_PATH "/TEMP_UP_DROP.bin";
- static constexpr const char *TEMP_EXIT = APP_RES_PATH "/TEMP_EXIT.bin";
- static constexpr const char *TEMP_ROTATE = APP_RES_PATH "/TEMP_ROTATE.bin";
- static constexpr const char *TEMP_ICON_ENTER = APP_RES_PATH "/TEMP_ICON_ENTER.bin";
- static constexpr const char *TEMP_BACKGROUND = APP_RES_PATH "/TEMP_BACKGROUND.bin";
- static constexpr const char *TEMP_WARN = APP_RES_PATH "/TEMP_WARN.bin";
- static constexpr const char *TEMP_LITTLE_MEASURE = APP_RES_PATH "/TEMP_LITTLE_MEASURE.bin";
- static constexpr const char *TEMP_HOT = APP_RES_PATH "/TEMP_HOT.bin";
- static constexpr const char *TEMP_COLD = APP_RES_PATH "/TEMP_COLD.bin";
- static constexpr const char *TEMP_LIT_TIP = APP_RES_PATH "/TEMP_LIT_TIP.bin";
- static constexpr const char *TEMP_ABOUT_STUDY = APP_RES_PATH "/TEMP_ABOUT_STUDY.bin";
- static constexpr const char *TEMP_TRUE = APP_RES_PATH "/TEMP_TRUE.bin";
- static constexpr const char *TEMP_DELETE = APP_RES_PATH "/TEMP_DELETE.bin";
-
- static constexpr const char *COMPASS_CALIBRATE_IMAGE = APP_RES_PATH "/COMPASS_CALIBRATE_IMAGE.bin";
- static constexpr const char *PNG_SETTING_NEXT_IMAGE = APP_RES_PATH "/SETTING_NEXT.bin"; // 箭头图片
- static constexpr const char *PNG_SETTING_BACKGROUND_IMAGE = APP_RES_PATH "/SETTING_BACKGROUND.bin"; // 按钮的背景图片
- static constexpr const char *PNG_BRIGHTNESS_CONTROL_VECTOR = APP_RES_PATH "/BringhtnessContuolVector.bin"; // 调节亮度图片
- static constexpr const char *PNG_VOLUME_CONTROL_VECTOR = APP_RES_PATH "/VolumeControlVector.bin"; // 调节音量图片
- static constexpr const char *PNG_SYSTEM_VOLUME_IMAGE = APP_RES_PATH "/SYSTEM_VOLUME.bin"; // 系统音量
- static constexpr const char *PNG_CALL_VOLUME_IMAGE = APP_RES_PATH "/CALL_VOLUME.bin"; // 通话音量
- static constexpr const char *PNG_MEDIA_VOLUME_IMAGE = APP_RES_PATH "/MEDIA_VOLUME.bin"; // 媒体音量
- static constexpr const char *PNG_CHECKBOX_OFF_IMAGE = APP_RES_PATH "/CHECKBOX_OFF.bin"; // checkbox未选中图片
- static constexpr const char *PNG_CHECKBOX_ON_IMAGE = APP_RES_PATH "/CHECKBOX_ON.bin"; // checkbox选中图片
- static constexpr const char *PNG_TOGGLEBUTTON_OFF_IMAGE = APP_RES_PATH "/TOGGLEBUTTON_OFF.bin"; // togglebuttton未选中图片
- static constexpr const char *PNG_TOGGLEBUTTON_ON_IMAGE = APP_RES_PATH "/TOGGLEBUTTON_ON.bin"; // togglebuttton选中图片
- static constexpr const char *PNG_SYSTEM_ABOUT_THE_WATCH_IMAGE = APP_RES_PATH "/SYSTEM_ABOUT_THE_WATCH.bin"; // 系统:关于手表
- static constexpr const char *PNG_SYSTEM_SUPERVISE_IMAGE = APP_RES_PATH "/SYSTEM_SUPERVISE.bin"; // 系统:监管
- static constexpr const char *PNG_SYSTEM_SYSTEM_LANGUAGE_IMAGE = APP_RES_PATH "/SYSTEM_SYSTEM_LANGUAGE.bin"; // 系统:系统语言
- static constexpr const char *PNG_SYSTEM_REBOOT_IMAGE = APP_RES_PATH "/SYSTEM_REBOOT.bin"; // 系统:重新启动
- static constexpr const char *PNG_SYSTEM_SHOUTDOWM_IMAGE = APP_RES_PATH "/SYSTEM_SHOUTDOWM.bin"; // 系统:关机
- static constexpr const char *PNG_SYSTEM_FACTORY_RESET_IMAGE = APP_RES_PATH "/SYSTEM_FACTORY_RESET.bin"; // 系统:恢复出厂设置
- static constexpr const char *PNG_REBOOT_IMAGE = APP_RES_PATH "/SYSTEM__Reboot.bin"; // 重新启动
- static constexpr const char *PNG_SHOUTDOWN_IMAGE = APP_RES_PATH "/SYSTEM_ShoutDown.bin"; // 关机
- static constexpr const char *PNG_FACTORY_RESET = APP_RES_PATH "/SYSTEM_FactoryReset.bin"; // 恢复出厂设置
- static constexpr const char *PNG_SYSTEM_CHECK_ON_IMAGE = APP_RES_PATH "/SYSTEM_CheckOn.bin"; // 勾
- static constexpr const char *PNG_SYSTEM_CHECK_OFF_IMAGE = APP_RES_PATH "/SYSTEM_CheckOff.bin"; // 叉
- static constexpr const char *PNG_FAST_TRAINING_ATTENTION_IMAGE = APP_RES_PATH "/FastTrainingAttentionVector.bin"; //快速训练选中操过三个后出现
- // 录音
- static constexpr const char *PNG_ANIMATOR1_IMAGE = APP_RES_PATH "/Record/animator1.bin";
- static constexpr const char *PNG_ANIMATOR2_IMAGE = APP_RES_PATH "/Record/animator2.bin";
- static constexpr const char *PNG_RECORD1_IMAGE = APP_RES_PATH "/Record/RECORD1.bin";
- static constexpr const char *PNG_RECORD2_IMAGE = APP_RES_PATH "/Record/RECORD2.bin";
- static constexpr const char *PNG_RECORD3_IMAGE = APP_RES_PATH "/Record/RECORD3.bin";
- static constexpr const char *PNG_UNIVERSAL_PAUSE_IMAGE = APP_RES_PATH "/Record/UNIVERSAL_PAUSE.bin"; // 暂停
- static constexpr const char *PNG_UNIVERSAL_PLAY_IMAGE = APP_RES_PATH "/Record/UNIVERSAL_PLAY.bin"; // 播放
- static constexpr const char *PNG_RECORD_PLAY_BACKGROUND_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_BACKGROUND.bin"; // 背景
- static constexpr const char *PNG_RECORD_PLAY_PROVE_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_PROVE.bin"; // 上一首
- static constexpr const char *PNG_RECORD_PLAY_NEXT_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_NEXT.bin"; // 下一首
- static constexpr const char *PNG_RECORD_PLAY_DELETE_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_DELETE.bin"; // 删除
- static constexpr const char *PNG_RECORD_PLAY_VOLUME_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_VOLUME.bin"; // 音量
- static constexpr const char *PNG_RECORD_DELETE_BACKGROUND_IMAGE = APP_RES_PATH "/Record/RECORD_DELETE_BACKGROUND.bin"; // 删除录音的背景图
- // 指南针
- static constexpr const char *PNG_COMPASS_BACKGROUND_IMAGE = APP_RES_PATH "/compass/compass0.bin"; // 指南针的背景图片
- static constexpr const char *PNG_COMPASS_PLACE_MARKER_BUTTON_IMAGE = APP_RES_PATH "/compass/compass1.bin"; // 指南针放置标记点按钮图片
- static constexpr const char *PNG_COMPASS_TRIANGULATION_IMAGE = APP_RES_PATH "/compass/compass2.bin"; // 指南针三角形图片
- static constexpr const char *PNG_COMPASS_PLACE_MAKER_BACKGROUND_IMAGE = APP_RES_PATH "/compass/PLACE_MAKER_BACKGROUND.bin"; // 指南针放置标记点背景图片
- static constexpr const char *PNG_COMPASS_MAKER_POINT_BACKGROUND_IMAGE = APP_RES_PATH "/compass/MAKER_POINT_BACKGROUND.bin"; // 指南针标记点介绍背景图片
- static constexpr const char *PNG_COMPASS_START_PATH_RECORD_IMAGE = APP_RES_PATH "/compass/COMPASS_START_PATH_RECORD.bin"; // 指南针开始路径记录图片
- static constexpr const char *PNG_COMPASS_END_PATH_RECORD_IMAGE = APP_RES_PATH "/compass/COMPASS_END_PATH_RECORD.bin"; // 指南针结束路径记录图片
- static constexpr const char *PNG_COMPASS_PATH_BACKTRACKING_IMAGE = APP_RES_PATH "/compass/COMPASS_PATH_BACKTRACKING.bin"; // 指南针路径回溯按钮图片
- static constexpr const char *PNG_COMPASS_RESET_PLACE_MAKER_BACKGROUND_IMAGE = APP_RES_PATH "/compass/COMPASS_RESET_PLACE_MAKER_BACKGROUND.bin"; // 指南针:重置标记点背景图片
- static constexpr const char *PNG_COMPASS_PATH_BACKTRACKING_DIRECT_IMAGE = APP_RES_PATH "/compass/COMPASS_PATH_BACKTRACKING_DIRECT.bin"; // 指南针:路径回溯中的方向箭头图片
- static constexpr const char *PNG_COMPASS_END_BACK_TRACKING_EARLY_IMAGE = APP_RES_PATH "/compass/COMPASS_END_BACK_TRACKING_EARLY.bin"; // 指南针提前结束路径回溯
- static constexpr const char *PNG_COMPASS_END_BACK_TRACKING_IMAGE = APP_RES_PATH "/compass/COMPASS_END_BACK_TRACKING.bin"; // 指南针结束路径回溯
- static constexpr const char *PNG_COMPASS_GPS_LOSS_IMAGE = APP_RES_PATH "/compass/COMPASS_GPS_LOSS.bin"; // 指南针GPS丢失背景图片
- // 睡眠记录
- static constexpr const char *PNG_SLEEP_ROOM_IMAGE = APP_RES_PATH "/SleepTime/room.bin";
- static constexpr const char *PNG_SLEEP_NOTE_IMAGE = APP_RES_PATH "/SleepTime/Ellipse 185.bin";
- static constexpr const char *PNG_SLEEP_UP_IMAGE = APP_RES_PATH "/SleepTime/up.bin";
- static constexpr const char *PNG_SLEEP_VECTOR_IMAGE = APP_RES_PATH "/SleepTime/Vector.bin";
- static constexpr const char *PNG_SLEEP_VECTOR2_IMAGE = APP_RES_PATH "/SleepTime/Vector2.bin";
- static constexpr const char *PNG_SLEEP_LINE1_IMAGE = APP_RES_PATH "/SleepTime/Line 1.bin";
- static constexpr const char *PNG_SLEEP_LINE3_IMAGE = APP_RES_PATH "/SleepTime/Line 3.bin";
- static constexpr const char *PNG_SLEEP_BUTTON_IMAGE = APP_RES_PATH "/SleepTime/button.bin";
- // 手势拍照
- static constexpr const char *PNG_GETPIC_CAMERA_IMAGE = APP_RES_PATH "/GetPic/camera.bin";
- static constexpr const char *PNG_GETPIC_PICBOUTTON_IMAGE = APP_RES_PATH "/GetPic/pic_button.bin";
- static constexpr const char *PNG_GETPIC_SMILE_IMAGE = APP_RES_PATH "/GetPic/smile.bin";
- // 省电模式
- static constexpr const char *PNG_SAVEELE_BATE_IMAGE = APP_RES_PATH "/Save_Ele/Battery-E.bin";
- static constexpr const char *PNG_SAVEELE_BATF_IMAGE = APP_RES_PATH "/Save_Ele/Battery-F.bin";
- static constexpr const char *PNG_SAVEELE_FINGER_IMAGE = APP_RES_PATH "/Save_Ele/finger.bin";
- // 血氧
- static constexpr const char *PNG_BLOOD_ERROR_IMAGE = APP_RES_PATH "/Blood/Error.bin";
- static constexpr const char *PNG_BLOOD_NOTE_IMAGE = APP_RES_PATH "/Blood/boutton.bin";
- //表盘切换
- static constexpr const char *PNG_DIAL_USER_IMAGE = APP_RES_PATH "/Dial/Diallogo.bin";
- static constexpr const char *PNG_PHONE_FINGER_IMAGE = APP_RES_PATH "/Save_Ele/finger.bin";
- //快速训练
- static constexpr const char *PNG_TRAING_BOUTTONMORE_IMAGE = APP_RES_PATH "/Training/More.bin";
- static constexpr const char *PNG_TRAING_BUTTONGRONG_IMAGE = APP_RES_PATH "/Training/Bouttonground.bin";
- static constexpr const char *PNG_TRAING_BUTTONGRONG2_IMAGE = APP_RES_PATH "/Training/Buttonground2.bin";
- static constexpr const char *PNG_TRAING_RIDINGBIG_IMAGE = APP_RES_PATH "/Training/riding-big2.bin";
- static constexpr const char *PNG_TRAING_RUNNINGBIG_IMAGE = APP_RES_PATH "/Training/running-big.bin";
- static constexpr const char *PNG_TRAING_WALKINGBIG_IMAGE = APP_RES_PATH "/Training/walking-big.bin";
- //static constexpr const char *PNG_TRAING_BUTTONGRONG1_IMAGE = APP_RES_PATH "/TRAING/More.bin";
- //static constexpr const char *PNG_TRAING_BUTTONGRONG1_IMAGE = APP_RES_PATH "/TRAING/More.bin";
-
-
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE01 = APP_RES_PATH "/VOICE_ASSISTANT_01.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE02 = APP_RES_PATH "/VOICE_ASSISTANT_02.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE03 = APP_RES_PATH "/VOICE_ASSISTANT_03.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE04 = APP_RES_PATH "/VOICE_ASSISTANT_04.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE05 = APP_RES_PATH "/VOICE_ASSISTANT_05.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE06 = APP_RES_PATH "/VOICE_ASSISTANT_06.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE07 = APP_RES_PATH "/VOICE_ASSISTANT_07.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE08 = APP_RES_PATH "/VOICE_ASSISTANT_08.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE09 = APP_RES_PATH "/VOICE_ASSISTANT_09.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE10 = APP_RES_PATH "/VOICE_ASSISTANT_10.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE11 = APP_RES_PATH "/VOICE_ASSISTANT_11.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE12 = APP_RES_PATH "/VOICE_ASSISTANT_12.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE13 = APP_RES_PATH "/VOICE_ASSISTANT_13.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE14 = APP_RES_PATH "/VOICE_ASSISTANT_14.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE15 = APP_RES_PATH "/VOICE_ASSISTANT_15.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE16 = APP_RES_PATH "/VOICE_ASSISTANT_16.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE17 = APP_RES_PATH "/VOICE_ASSISTANT_17.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE18 = APP_RES_PATH "/VOICE_ASSISTANT_18.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE19 = APP_RES_PATH "/VOICE_ASSISTANT_19.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE20 = APP_RES_PATH "/VOICE_ASSISTANT_20.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE21 = APP_RES_PATH "/VOICE_ASSISTANT_21.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE22 = APP_RES_PATH "/VOICE_ASSISTANT_22.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE23 = APP_RES_PATH "/VOICE_ASSISTANT_23.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE24 = APP_RES_PATH "/VOICE_ASSISTANT_24.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE25 = APP_RES_PATH "/VOICE_ASSISTANT_25.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE26 = APP_RES_PATH "/VOICE_ASSISTANT_26.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE27 = APP_RES_PATH "/VOICE_ASSISTANT_27.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE28 = APP_RES_PATH "/VOICE_ASSISTANT_28.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE29 = APP_RES_PATH "/VOICE_ASSISTANT_29.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE30 = APP_RES_PATH "/VOICE_ASSISTANT_30.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE31 = APP_RES_PATH "/VOICE_ASSISTANT_31.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE32 = APP_RES_PATH "/VOICE_ASSISTANT_32.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE33 = APP_RES_PATH "/VOICE_ASSISTANT_33.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE34 = APP_RES_PATH "/VOICE_ASSISTANT_34.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE35 = APP_RES_PATH "/VOICE_ASSISTANT_35.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE36 = APP_RES_PATH "/VOICE_ASSISTANT_36.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE37 = APP_RES_PATH "/VOICE_ASSISTANT_37.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE38 = APP_RES_PATH "/VOICE_ASSISTANT_38.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE39 = APP_RES_PATH "/VOICE_ASSISTANT_39.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE40 = APP_RES_PATH "/VOICE_ASSISTANT_40.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE41 = APP_RES_PATH "/VOICE_ASSISTANT_41.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE42 = APP_RES_PATH "/VOICE_ASSISTANT_42.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE43 = APP_RES_PATH "/VOICE_ASSISTANT_43.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE44 = APP_RES_PATH "/VOICE_ASSISTANT_44.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE45 = APP_RES_PATH "/VOICE_ASSISTANT_45.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE46 = APP_RES_PATH "/VOICE_ASSISTANT_46.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE47 = APP_RES_PATH "/VOICE_ASSISTANT_47.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE48 = APP_RES_PATH "/VOICE_ASSISTANT_48.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE49 = APP_RES_PATH "/VOICE_ASSISTANT_49.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE50 = APP_RES_PATH "/VOICE_ASSISTANT_50.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE51 = APP_RES_PATH "/VOICE_ASSISTANT_51.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE52 = APP_RES_PATH "/VOICE_ASSISTANT_52.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE53 = APP_RES_PATH "/VOICE_ASSISTANT_53.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE54 = APP_RES_PATH "/VOICE_ASSISTANT_54.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE55 = APP_RES_PATH "/VOICE_ASSISTANT_55.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE56 = APP_RES_PATH "/VOICE_ASSISTANT_56.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE57 = APP_RES_PATH "/VOICE_ASSISTANT_57.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE58 = APP_RES_PATH "/VOICE_ASSISTANT_58.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE59 = APP_RES_PATH "/VOICE_ASSISTANT_59.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE60 = APP_RES_PATH "/VOICE_ASSISTANT_60.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE61 = APP_RES_PATH "/VOICE_ASSISTANT_61.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE62 = APP_RES_PATH "/VOICE_ASSISTANT_62.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE63 = APP_RES_PATH "/VOICE_ASSISTANT_63.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE64 = APP_RES_PATH "/VOICE_ASSISTANT_64.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE65 = APP_RES_PATH "/VOICE_ASSISTANT_65.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE66 = APP_RES_PATH "/VOICE_ASSISTANT_66.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE67 = APP_RES_PATH "/VOICE_ASSISTANT_67.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE68 = APP_RES_PATH "/VOICE_ASSISTANT_68.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE69 = APP_RES_PATH "/VOICE_ASSISTANT_69.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE70 = APP_RES_PATH "/VOICE_ASSISTANT_70.bin";
- static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE71 = APP_RES_PATH "/VOICE_ASSISTANT_71.bin";
- static constexpr const char *PNG_APPLIST_VOCASSIST_IMAGE = APP_RES_PATH "/APPLIST_VOCASSIST_IMAGE.bin";
-
- static constexpr const char *PNG_STEP_SHOE_IMAGE_PATH = APP_RES_PATH "/SHOE_IMAGE.bin";
-
- static constexpr const char *PNG_A004_070_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_01.bin";
- static constexpr const char *PNG_A004_071_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_02.bin";
- static constexpr const char *PNG_A004_072_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_03.bin";
- static constexpr const char *PNG_A004_073_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_04.bin";
- static constexpr const char *PNG_A004_074_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_05.bin";
- static constexpr const char *PNG_A004_075_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_06.bin";
- static constexpr const char *PNG_A004_076_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_07.bin";
- static constexpr const char *PNG_A004_077_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_08.bin";
- static constexpr const char *PNG_A004_078_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_09.bin";
- static constexpr const char *PNG_A004_079_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_10.bin";
- static constexpr const char *PNG_A004_080_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_11.bin";
- static constexpr const char *PNG_A004_081_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_12.bin";
- static constexpr const char *PNG_A004_082_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_13.bin";
- static constexpr const char *PNG_A004_083_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_14.bin";
- static constexpr const char *PNG_A004_084_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_15.bin";
- static constexpr const char *PNG_A004_085_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_16.bin";
- static constexpr const char *PNG_A004_086_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_17.bin";
- static constexpr const char *PNG_A004_087_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_18.bin";
- static constexpr const char *PNG_A004_088_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_19.bin";
-
- static constexpr const char *PNG_A019_080_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_01.bin";
- static constexpr const char *PNG_A019_081_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_02.bin";
- static constexpr const char *PNG_A019_082_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_03.bin";
- static constexpr const char *PNG_A019_083_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_04.bin";
- static constexpr const char *PNG_A019_084_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_05.bin";
- static constexpr const char *PNG_A019_085_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_06.bin";
- static constexpr const char *PNG_A019_086_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_07.bin";
- static constexpr const char *PNG_A019_087_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_08.bin";
-
- static constexpr const char *PNG_A019_088_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_09.bin";
- static constexpr const char *PNG_A019_089_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_10.bin";
- static constexpr const char *PNG_A019_090_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_11.bin";
- static constexpr const char *PNG_A019_091_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_12.bin";
- static constexpr const char *PNG_A019_092_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_13.bin";
- static constexpr const char *PNG_A019_093_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_14.bin";
- static constexpr const char *PNG_A019_094_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_15.bin";
- static constexpr const char *PNG_A019_095_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_16.bin";
- static constexpr const char *PNG_BLUETOOTHEAR = APP_RES_PATH "/BLUETOOTHEAR.bin";
- // AppList
- static constexpr const char *PNG_APPLIST_ALARM_IMAGE = APP_RES_PATH "/APPLIST_ALARM.bin"; // 闹钟
- static constexpr const char *PNG_APPLIST_SPO2_IMAGE = APP_RES_PATH "/APPLIST_SPO2.bin"; // 血氧
- static constexpr const char *PNG_APPLIST_SETTING_IMAGE = APP_RES_PATH "/APPLIST_SETTING.bin"; // 设置
- static constexpr const char *PNG_APPLIST_TEMP_IMAGE = APP_RES_PATH "/TEMP_IMAGE.bin"; // 体温
-
- static constexpr const char *PNG_APPLIST_DIAL_IMAGE = APP_RES_PATH "/dial.bin"; // 表盘设置
- static constexpr const char *PNG_APPLIST_SPORT_IMAGE = APP_RES_PATH "/sport.bin"; // 活动
- static constexpr const char *PNG_APPLIST_HEARTRATE_IMAGE = APP_RES_PATH "/heart rate.bin"; // 心率
- static constexpr const char *PNG_APPLIST_TRAINING_IMAGE = APP_RES_PATH "/training.bin"; // 训练
- static constexpr const char *PNG_APPLIST_TRAINING_RECORD_IMAGE = APP_RES_PATH "/Training record.bin"; // 训练记录
- static constexpr const char *PNG_APPLIST_BLOODPRESSURE_IMAGE = APP_RES_PATH "/bloodpressure.bin"; // 睡眠
- static constexpr const char *PNG_APPLIST_GETPIC_IMAGE = APP_RES_PATH "/getpic.bin"; // 拍照
- static constexpr const char *PNG_APPLIST_BLOOD_IMAGE = APP_RES_PATH "/blood.bin"; // 血氧
- static constexpr const char *PNG_APPLIST_MUSIC_IMAGE = APP_RES_PATH "/music.bin"; // 音乐
- static constexpr const char *PNG_APPLIST_WEATHER_IMAGE = APP_RES_PATH "/weather.bin"; // 天气
- static constexpr const char *PNG_APPLIST_RECORD_IMAGE = APP_RES_PATH "/record.bin"; // 录音
- static constexpr const char *PNG_APPLIST_PHONE_IMAGE = APP_RES_PATH "/phone.bin"; // 电话
- static constexpr const char *PNG_APPLIST_CHRONOMETER_IMAGE = APP_RES_PATH "/chronometer.bin"; // 秒表
- static constexpr const char *PNG_APPLIST_COUNTDOWN_IMAGE = APP_RES_PATH "/countdown.bin"; // 计时器
- static constexpr const char *PNG_APPLIST_BLUETOOTH_IMAGE = APP_RES_PATH "/Bluetooth.bin"; // 蓝牙
-
- // 室内步行
- static constexpr const char *PNG_APPLIST_WALK_IMAGE = APP_RES_PATH "/APPLIST_WALK.bin"; // Applist图标
- static constexpr const char *PNG_WALK_BACK_GROUND = APP_RES_PATH "/WALK_BACK_GROUND.bin";
- static constexpr const char *PNG_WALK_IMAGE = APP_RES_PATH "/INDOORWALK.bin";
- static constexpr const char *PNG_AEROBIC_IMAGE = APP_RES_PATH "/AEROBIC.bin";
- static constexpr const char *PNG_ANAEROBIC_IMAGE = APP_RES_PATH "/ANAEROBIC.bin";
- static constexpr const char *PNG_OPTIONS_BOX1_IMAGE = APP_RES_PATH "/OPTIONS_BOX1.bin";
- static constexpr const char *PNG_OPTIONS_BOX2_IMAGE = APP_RES_PATH "/OPTIONS_BOX2.bin";
- static constexpr const char *PNG_OPTIONS_BOX3_IMAGE = APP_RES_PATH "/OPTIONS_BOX3.bin";
- static constexpr const char *PNG_OPTIONS_BOX4_IMAGE = APP_RES_PATH "/OPTIONS_BOX4.bin";
- static constexpr const char *PNG_WALK_TIME_IMAGE = APP_RES_PATH "/TIME_IMAGE.bin";
- static constexpr const char *PNG_WALK_DISTANCES_IMAGE = APP_RES_PATH "/DISTANCES_IMAGE.bin";
- static constexpr const char *PNG_WALK_HEART_IMAGE = APP_RES_PATH "/HEART_IMAGE.bin";
- static constexpr const char *PNG_WALK_SPEED_IMAGE = APP_RES_PATH "/SPEED_IMAGE.bin";
- static constexpr const char *PNG_WALK_STEPS_IMAGE = APP_RES_PATH "/STEPS_IMAGE.bin";
-
- static constexpr const char *PNG_APPLIST_UI_SAMPLE_IMAGE = APP_RES_PATH "/APPLIST_UI_SAMPLE.bin"; // Applist图标
-}
-
-#endif // UI_CONFIG_H
+/*\r
+ * Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.\r
+ * Description: UiConfig for application resource\r
+ * Author:\r
+ * Create: 2021-12-03\r
+ */\r
+\r
+#ifndef UI_CONFIG_H\r
+#define UI_CONFIG_H\r
+\r
+#include <cstdint>\r
+#include "ohos_types.h"\r
+#include "graphic_config.h"\r
+\r
+namespace OHOS\r
+{\r
+#ifndef UNUSED\r
+#define UNUSED(x) ((void)(x))\r
+#endif\r
+\r
+#define LA_HORIZONTAL_RESOLUTION 400 // watch width\r
+#define LA_VERTICAL_RESOLUTION 400 // watch height\r
+#define NORMAL_BUTTON_WIDTH 100 // normal button width\r
+#define NORMAL_BUTTON_HEIGHT 50 // normal button height\r
+#define NORMAL_MARGIN 5 // normal margin\r
+#define DIAL_SQUARE 250 // watch plate sauqre\r
+#define SETTING_ITEM_HEIGHT 100 // setting item height\r
+#define UN_OPACITY 255 // UN_OPACITY\r
+\r
+#define MILLESECOND 1\r
+#define SECOND 1000 // 1s 1000ms\r
+#define MINUTE (60 * SECOND) // 1min 60s\r
+#define HOUR (60 * MINUTE) // 1hour 60min\r
+\r
+#define FONT_COMMON 20 // 20px\r
+#define X_DRAG_OFFSET 20\r
+#define DOUBLES 2\r
+\r
+#define APP_RES_PATH "/user/res"\r
+#define APP_MUSIC_PATH "/user/music"\r
+#define APP_VIDEO_PATH "/user/video"\r
+\r
+ static constexpr const char *CARD_CONFIG_PATH = "/user/cardconfig.bin";\r
+\r
+ static constexpr const char *CLOCK_IAMGES = APP_RES_PATH "/clock/clock.bin";\r
+ static constexpr const char *PLAYER_IAMGES = APP_RES_PATH "/player/player.bin";\r
+ static constexpr const char *COMPASS_IAMGES = APP_RES_PATH "/compass/compass.bin";\r
+ static constexpr const char *DROPDOWN_IAMGES = APP_RES_PATH "/dropdown/dropdown.bin";\r
+ static constexpr const char *HEART_IAMGES = APP_RES_PATH "/heart/heart.bin";\r
+ static constexpr const char *PNG_BLUETOOTH_HINTS_PATH = APP_RES_PATH "/BLUETOOTH_HINTS.bin";\r
+ static constexpr const char *PNG_BLOODOXYGEN_IMAGE_PATH = APP_RES_PATH "/BLOODOXYGEN_VIEW.bin";\r
+\r
+ static constexpr const char *PNG_BLOOD_ICON_ENTER = APP_RES_PATH "/BLOOD_ICON_ENTER.bin";\r
+\r
+ static constexpr const char *PNG_AGREEING_IMAGE_PATH = APP_RES_PATH "/AGREEING.bin";\r
+ static constexpr const char *PNG_DISSGREE_IMAGE_PATH = APP_RES_PATH "/DISSGREE.bin";\r
+ static constexpr const char *PNG_MICROPHONE_OPEN_IMAGE_PATH = APP_RES_PATH "/MICRO_PHONE_OPEN.bin";\r
+ static constexpr const char *PNG_MICROPHONE_CLOSE_IMAGE_PATH = APP_RES_PATH "/MICRO_PHONE_CLOSE.bin";\r
+ static constexpr const char *PNG_HANDUP_IMAGE_PATH = APP_RES_PATH "/HANDUP.bin";\r
+ static constexpr const char *PNG_ANSWER_TMAGE_PATH = APP_RES_PATH "/ANSWER_PHONE.bin";\r
+ static constexpr const char *PNG_CALLING_TMAGE_PATH = APP_RES_PATH "/CALLING_PHONE.bin";\r
+ static constexpr const char *PNG_CALLER_TMAGE_PATH = APP_RES_PATH "/CALLER_LOG_IMAGE.bin";\r
+ static constexpr const char *PNG_NO_CALLER_LOG_IMAGE = APP_RES_PATH "/NO_CALLER_LOG_IMAGE.bin";\r
+ static constexpr const char *PNG_APPLIST_CALLER_IMAGE = APP_RES_PATH "/APPLIST_CALLER_IMAGE.bin";\r
+ static constexpr const char *PNG_APPLIST_COMPASS_IMAGE = APP_RES_PATH "/APPLIST_COMPASS_IMAGE.bin";\r
+\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_0 = APP_RES_PATH "/COUNTDOWN_IMAGE_01.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_1 = APP_RES_PATH "/COUNTDOWN_IMAGE_02.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_2 = APP_RES_PATH "/COUNTDOWN_IMAGE_03.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_3 = APP_RES_PATH "/COUNTDOWN_IMAGE_04.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_4 = APP_RES_PATH "/COUNTDOWN_IMAGE_05.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_5 = APP_RES_PATH "/COUNTDOWN_IMAGE_06.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_6 = APP_RES_PATH "/COUNTDOWN_IMAGE_07.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_7 = APP_RES_PATH "/COUNTDOWN_IMAGE_08.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_8 = APP_RES_PATH "/COUNTDOWN_IMAGE_09.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_9 = APP_RES_PATH "/COUNTDOWN_IMAGE_10.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_10 = APP_RES_PATH "/COUNTDOWN_IMAGE_11.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_11 = APP_RES_PATH "/COUNTDOWN_IMAGE_12.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_12 = APP_RES_PATH "/COUNTDOWN_IMAGE_13.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_13 = APP_RES_PATH "/COUNTDOWN_IMAGE_14.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_14 = APP_RES_PATH "/COUNTDOWN_IMAGE_15.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_15 = APP_RES_PATH "/COUNTDOWN_IMAGE_16.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_16 = APP_RES_PATH "/COUNTDOWN_IMAGE_17.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_17 = APP_RES_PATH "/COUNTDOWN_IMAGE_18.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_18 = APP_RES_PATH "/COUNTDOWN_IMAGE_19.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_19 = APP_RES_PATH "/COUNTDOWN_IMAGE_20.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_20 = APP_RES_PATH "/COUNTDOWN_IMAGE_21.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_21 = APP_RES_PATH "/COUNTDOWN_IMAGE_22.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_22 = APP_RES_PATH "/COUNTDOWN_IMAGE_23.bin";\r
+ static constexpr const char *PNG_COUNTDOWN_TIME_IMAGE_23 = APP_RES_PATH "/COUNTDOWN_IMAGE_24.bin";\r
+\r
+ static constexpr const char *PNG_PROGRESS_BAR_TMAGE = APP_RES_PATH "/PROGRESS_BAR_TMAGE.bin";\r
+ static constexpr const char *TEMP_WAITING = APP_RES_PATH "/TEMP_WAITING.bin";\r
+ static constexpr const char *TEMP_REPORT = APP_RES_PATH "/TEMP_REPORT.bin";\r
+ static constexpr const char *TEMP_POINT = APP_RES_PATH "/TEMP_POINT.bin";\r
+ static constexpr const char *TEMP_REV_POINTER = APP_RES_PATH "/TEMP_REV_POINTER.bin";\r
+\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_0 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_02.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_1 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_03.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_2 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_04.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_3 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_05.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_4 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_06.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_5 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_07.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_6 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_08.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_7 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_09.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_8 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_10.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_9 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_11.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_10 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_12.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_11 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_13.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_12 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_14.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_13 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_15.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_14 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_16.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_15 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_17.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_16 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_18.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_17 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_19.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_18 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_20.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_19 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_21.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_20 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_22.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_21 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_23.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_22 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_24.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_23 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_25.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_24 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_26.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_25 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_27.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_26 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_28.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_27 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_29.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_28 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_30.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_29 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_31.bin";\r
+ static constexpr const char *PNG_BLOOD_FLOW_IMAGE_30 = APP_RES_PATH "/BLOOD_FLOW_IMAGE_32.bin";\r
+\r
+ static constexpr const char *PNG_SOUNDBUTTON2 = APP_RES_PATH "/SOUND_IMAGE.bin";\r
+ static constexpr const char *PNG_PULLBUTTON_FACE_IMAGE = APP_RES_PATH "/BLOOD_FLOW_IMAGE_01.bin";\r
+ static constexpr const char *MUSIC_2 = APP_RES_PATH "/mp3_48k_caiqing.mp3";\r
+ static constexpr const char *MUSIC_1 = APP_RES_PATH "/one.mp3";\r
+\r
+ static constexpr const char *PNG_SETTTING_BUTTON_IMAGE = APP_RES_PATH "/SETTTING_BUTTON.bin";\r
+ static constexpr const char *PNG_BLUETOOTH_IMAGE = APP_RES_PATH "/BLUETOOTH_IMAGE.bin";\r
+ static constexpr const char *PNG_WATCH_IMAGE = APP_RES_PATH "/WATCH_IMAGE.bin";\r
+ static constexpr const char *PNG_PHONE_IMAGE = APP_RES_PATH "/PHONE_IMAGE.bin";\r
+ static constexpr const char *PNG_REBOOT_BUTTON_IMAGE = APP_RES_PATH "/REBOOT_BUTTON.bin";\r
+ static constexpr const char *PNG_SHUTDOWN_BUTTON_IMAGE = APP_RES_PATH "/SHUTDOWN_BUTTON.bin";\r
+ static constexpr const char *PNG_SETTTING_REBOOT_IMAGE = APP_RES_PATH "/SETTTING_REBOOT.bin";\r
+ static constexpr const char *PNG_SETTTING_SHUTDOWN_IMAGE = APP_RES_PATH "/SETTTING_SHUTDOWN.bin";\r
+\r
+ static constexpr const char *PNG_CONNECT_PHONE_IMAGE = APP_RES_PATH "/CONNECT_PHONE.bin";\r
+ static constexpr const char *PNG_BLUETOOTH_STITLE = APP_RES_PATH "/BLUETOOTH_TITLE.bin";\r
+\r
+ static constexpr const char *PNG_DISPLAY_BRIGHTNESS = APP_RES_PATH "/DISPLAY_BRIGHTNESS.bin"; // 显示与亮度\r
+ static constexpr const char *PNG_BLUETOOTH = APP_RES_PATH "/BLUETOOTH.bin"; // 蓝牙\r
+ static constexpr const char *PNG_SOUND_VIBRATION = APP_RES_PATH "/SOUND_VIBRATION.bin"; // 声音与震动\r
+ static constexpr const char *PNG_SECONDARY_FUNCTION = APP_RES_PATH "/QUICK_ACCESS.bin"; // 辅助功能\r
+ static constexpr const char *PNG_SYSTEM = APP_RES_PATH "/SYSTEM.bin"; // 系统\r
+\r
+ static constexpr const char *PNG_NEW_DEVICE = APP_RES_PATH "/NEW_DEVICE.bin";\r
+ static constexpr const char *PNG_BT_LIST = APP_RES_PATH "/BT_LIST.bin";\r
+ static constexpr const char *PNG_SELECTION_BOX = APP_RES_PATH "/SELECTION_BOX.bin";\r
+ static constexpr const char *PNG_GANTAN = APP_RES_PATH "/GANTAN.bin";\r
+ static constexpr const char *PNG_RIGHT = APP_RES_PATH "/RIGHT.bin";\r
+\r
+ static constexpr const char *PNG_NEW_WLAN_WIFI = APP_RES_PATH "/FULL_SIGNAL_OPEN.bin";\r
+ static constexpr const char *FULL_SIGNAL_ENCRYPTION = APP_RES_PATH "/FULL_SIGNAL_ENCRYPTION.bin";\r
+\r
+ static constexpr const char *PNG_MAIN_FACE_IMAGE = APP_RES_PATH "/MAIN_FACE_IMAGE.bin";\r
+ static constexpr const char *B024_009_IMAGE_PATH = APP_RES_PATH "/HOURHAND.bin";\r
+ static constexpr const char *B024_010_IMAGE_PATH = APP_RES_PATH "/SECONDHAND.bin";\r
+ static constexpr const char *B024_011_IMAGE_PATH = APP_RES_PATH "/MINUTEHAND.bin";\r
+ static constexpr const char *ALARM_ADD_BUTTON_PATH = APP_RES_PATH "/BLUE_ADD.bin";\r
+ static constexpr const char *ALARM_ADD_BUTTON_PATH_IMAGE = APP_RES_PATH "/ALARM_ADD_BACKGROUND.bin"; //闹钟增加背景图片\r
+ static constexpr const char *ALARM_CLOCK_CLOSE_ADD_PATH = APP_RES_PATH "/CLOSE_RING_CLOCK.bin";\r
+ static constexpr const char *ALARM_CLOCK_ADD_PATH = APP_RES_PATH "/POP_UP_CLOCK.bin";\r
+ static constexpr const char *ALARM_CLOCK_POP_ADD_PATH = APP_RES_PATH "/RING_CLOCK.bin";\r
+ static constexpr const char *ALARM_DELETE_ADD_PATH = APP_RES_PATH "/DELETE.bin";\r
+ static constexpr const char *ALARM_TRUE_ADD_PATH = APP_RES_PATH "/TRUE_ADD.bin";\r
+ static constexpr const char *TEMP_MEASURE = APP_RES_PATH "/TEMP_MEASURE.bin";\r
+ static constexpr const char *TEMP_UP_DROP = APP_RES_PATH "/TEMP_UP_DROP.bin";\r
+ static constexpr const char *TEMP_EXIT = APP_RES_PATH "/TEMP_EXIT.bin";\r
+ static constexpr const char *TEMP_ROTATE = APP_RES_PATH "/TEMP_ROTATE.bin";\r
+ static constexpr const char *TEMP_ICON_ENTER = APP_RES_PATH "/TEMP_ICON_ENTER.bin";\r
+ static constexpr const char *TEMP_BACKGROUND = APP_RES_PATH "/TEMP_BACKGROUND.bin";\r
+ static constexpr const char *TEMP_WARN = APP_RES_PATH "/TEMP_WARN.bin";\r
+ static constexpr const char *TEMP_LITTLE_MEASURE = APP_RES_PATH "/TEMP_LITTLE_MEASURE.bin";\r
+ static constexpr const char *TEMP_HOT = APP_RES_PATH "/TEMP_HOT.bin";\r
+ static constexpr const char *TEMP_COLD = APP_RES_PATH "/TEMP_COLD.bin";\r
+ static constexpr const char *TEMP_LIT_TIP = APP_RES_PATH "/TEMP_LIT_TIP.bin";\r
+ static constexpr const char *TEMP_ABOUT_STUDY = APP_RES_PATH "/TEMP_ABOUT_STUDY.bin";\r
+ static constexpr const char *TEMP_TRUE = APP_RES_PATH "/TEMP_TRUE.bin";\r
+ static constexpr const char *TEMP_DELETE = APP_RES_PATH "/TEMP_DELETE.bin";\r
+\r
+ static constexpr const char *COMPASS_CALIBRATE_IMAGE = APP_RES_PATH "/COMPASS_CALIBRATE_IMAGE.bin";\r
+ static constexpr const char *PNG_SETTING_NEXT_IMAGE = APP_RES_PATH "/SETTING_NEXT.bin"; // 箭头图片\r
+ static constexpr const char *PNG_SETTING_BACKGROUND_IMAGE = APP_RES_PATH "/SETTING_BACKGROUND.bin"; // 按钮的背景图片\r
+ static constexpr const char *PNG_BRIGHTNESS_CONTROL_VECTOR = APP_RES_PATH "/BringhtnessContuolVector.bin"; // 调节亮度图片\r
+ static constexpr const char *PNG_VOLUME_CONTROL_VECTOR = APP_RES_PATH "/VolumeControlVector.bin"; // 调节音量图片\r
+ static constexpr const char *PNG_SYSTEM_VOLUME_IMAGE = APP_RES_PATH "/SYSTEM_VOLUME.bin"; // 系统音量\r
+ static constexpr const char *PNG_CALL_VOLUME_IMAGE = APP_RES_PATH "/CALL_VOLUME.bin"; // 通话音量\r
+ static constexpr const char *PNG_MEDIA_VOLUME_IMAGE = APP_RES_PATH "/MEDIA_VOLUME.bin"; // 媒体音量\r
+ static constexpr const char *PNG_CHECKBOX_OFF_IMAGE = APP_RES_PATH "/CHECKBOX_OFF.bin"; // checkbox未选中图片\r
+ static constexpr const char *PNG_CHECKBOX_ON_IMAGE = APP_RES_PATH "/CHECKBOX_ON.bin"; // checkbox选中图片\r
+ static constexpr const char *PNG_TOGGLEBUTTON_OFF_IMAGE = APP_RES_PATH "/TOGGLEBUTTON_OFF.bin"; // togglebuttton未选中图片\r
+ static constexpr const char *PNG_TOGGLEBUTTON_ON_IMAGE = APP_RES_PATH "/TOGGLEBUTTON_ON.bin"; // togglebuttton选中图片\r
+ static constexpr const char *PNG_SYSTEM_ABOUT_THE_WATCH_IMAGE = APP_RES_PATH "/SYSTEM_ABOUT_THE_WATCH.bin"; // 系统:关于手表\r
+ static constexpr const char *PNG_SYSTEM_SUPERVISE_IMAGE = APP_RES_PATH "/SYSTEM_SUPERVISE.bin"; // 系统:监管\r
+ static constexpr const char *PNG_SYSTEM_SYSTEM_LANGUAGE_IMAGE = APP_RES_PATH "/SYSTEM_SYSTEM_LANGUAGE.bin"; // 系统:系统语言\r
+ static constexpr const char *PNG_SYSTEM_REBOOT_IMAGE = APP_RES_PATH "/SYSTEM_REBOOT.bin"; // 系统:重新启动\r
+ static constexpr const char *PNG_SYSTEM_SHOUTDOWM_IMAGE = APP_RES_PATH "/SYSTEM_SHOUTDOWM.bin"; // 系统:关机\r
+ static constexpr const char *PNG_SYSTEM_FACTORY_RESET_IMAGE = APP_RES_PATH "/SYSTEM_FACTORY_RESET.bin"; // 系统:恢复出厂设置\r
+ static constexpr const char *PNG_REBOOT_IMAGE = APP_RES_PATH "/SYSTEM__Reboot.bin"; // 重新启动\r
+ static constexpr const char *PNG_SHOUTDOWN_IMAGE = APP_RES_PATH "/SYSTEM_ShoutDown.bin"; // 关机\r
+ static constexpr const char *PNG_FACTORY_RESET = APP_RES_PATH "/SYSTEM_FactoryReset.bin"; // 恢复出厂设置\r
+ static constexpr const char *PNG_SYSTEM_CHECK_ON_IMAGE = APP_RES_PATH "/SYSTEM_CheckOn.bin"; // 勾\r
+ static constexpr const char *PNG_SYSTEM_CHECK_OFF_IMAGE = APP_RES_PATH "/SYSTEM_CheckOff.bin"; // 叉\r
+ static constexpr const char *PNG_FAST_TRAINING_ATTENTION_IMAGE = APP_RES_PATH "/FastTrainingAttentionVector.bin"; //快速训练选中操过三个后出现\r
+ // 录音\r
+ static constexpr const char *PNG_ANIMATOR1_IMAGE = APP_RES_PATH "/Record/animator1.bin";\r
+ static constexpr const char *PNG_ANIMATOR2_IMAGE = APP_RES_PATH "/Record/animator2.bin";\r
+ static constexpr const char *PNG_RECORD1_IMAGE = APP_RES_PATH "/Record/RECORD1.bin";\r
+ static constexpr const char *PNG_RECORD2_IMAGE = APP_RES_PATH "/Record/RECORD2.bin";\r
+ static constexpr const char *PNG_RECORD3_IMAGE = APP_RES_PATH "/Record/RECORD3.bin";\r
+ static constexpr const char *PNG_UNIVERSAL_PAUSE_IMAGE = APP_RES_PATH "/Record/UNIVERSAL_PAUSE.bin"; // 暂停\r
+ static constexpr const char *PNG_UNIVERSAL_PLAY_IMAGE = APP_RES_PATH "/Record/UNIVERSAL_PLAY.bin"; // 播放\r
+ static constexpr const char *PNG_RECORD_PLAY_BACKGROUND_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_BACKGROUND.bin"; // 背景\r
+ static constexpr const char *PNG_RECORD_PLAY_PROVE_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_PROVE.bin"; // 上一首\r
+ static constexpr const char *PNG_RECORD_PLAY_NEXT_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_NEXT.bin"; // 下一首\r
+ static constexpr const char *PNG_RECORD_PLAY_DELETE_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_DELETE.bin"; // 删除\r
+ static constexpr const char *PNG_RECORD_PLAY_VOLUME_IMAGE = APP_RES_PATH "/Record/RECORD_PLAY_VOLUME.bin"; // 音量\r
+ static constexpr const char *PNG_RECORD_DELETE_BACKGROUND_IMAGE = APP_RES_PATH "/Record/RECORD_DELETE_BACKGROUND.bin"; // 删除录音的背景图\r
+ // 指南针\r
+ static constexpr const char *PNG_COMPASS_BACKGROUND_IMAGE = APP_RES_PATH "/compass/compass0.bin"; // 指南针的背景图片\r
+ static constexpr const char *PNG_COMPASS_PLACE_MARKER_BUTTON_IMAGE = APP_RES_PATH "/compass/compass1.bin"; // 指南针放置标记点按钮图片\r
+ static constexpr const char *PNG_COMPASS_TRIANGULATION_IMAGE = APP_RES_PATH "/compass/compass2.bin"; // 指南针三角形图片\r
+ static constexpr const char *PNG_COMPASS_PLACE_MAKER_BACKGROUND_IMAGE = APP_RES_PATH "/compass/PLACE_MAKER_BACKGROUND.bin"; // 指南针放置标记点背景图片\r
+ static constexpr const char *PNG_COMPASS_MAKER_POINT_BACKGROUND_IMAGE = APP_RES_PATH "/compass/MAKER_POINT_BACKGROUND.bin"; // 指南针标记点介绍背景图片\r
+ static constexpr const char *PNG_COMPASS_START_PATH_RECORD_IMAGE = APP_RES_PATH "/compass/COMPASS_START_PATH_RECORD.bin"; // 指南针开始路径记录图片\r
+ static constexpr const char *PNG_COMPASS_END_PATH_RECORD_IMAGE = APP_RES_PATH "/compass/COMPASS_END_PATH_RECORD.bin"; // 指南针结束路径记录图片\r
+ static constexpr const char *PNG_COMPASS_PATH_BACKTRACKING_IMAGE = APP_RES_PATH "/compass/COMPASS_PATH_BACKTRACKING.bin"; // 指南针路径回溯按钮图片\r
+ static constexpr const char *PNG_COMPASS_RESET_PLACE_MAKER_BACKGROUND_IMAGE = APP_RES_PATH "/compass/COMPASS_RESET_PLACE_MAKER_BACKGROUND.bin"; // 指南针:重置标记点背景图片\r
+ static constexpr const char *PNG_COMPASS_PATH_BACKTRACKING_DIRECT_IMAGE = APP_RES_PATH "/compass/COMPASS_PATH_BACKTRACKING_DIRECT.bin"; // 指南针:路径回溯中的方向箭头图片\r
+ static constexpr const char *PNG_COMPASS_END_BACK_TRACKING_EARLY_IMAGE = APP_RES_PATH "/compass/COMPASS_END_BACK_TRACKING_EARLY.bin"; // 指南针提前结束路径回溯\r
+ static constexpr const char *PNG_COMPASS_END_BACK_TRACKING_IMAGE = APP_RES_PATH "/compass/COMPASS_END_BACK_TRACKING.bin"; // 指南针结束路径回溯\r
+ static constexpr const char *PNG_COMPASS_GPS_LOSS_IMAGE = APP_RES_PATH "/compass/COMPASS_GPS_LOSS.bin"; // 指南针GPS丢失背景图片\r
+ // 睡眠记录\r
+ static constexpr const char *PNG_SLEEP_ROOM_IMAGE = APP_RES_PATH "/SleepTime/room.bin";\r
+ static constexpr const char *PNG_SLEEP_NOTE_IMAGE = APP_RES_PATH "/SleepTime/Ellipse 185.bin";\r
+ static constexpr const char *PNG_SLEEP_UP_IMAGE = APP_RES_PATH "/SleepTime/up.bin";\r
+ static constexpr const char *PNG_SLEEP_VECTOR_IMAGE = APP_RES_PATH "/SleepTime/Vector.bin";\r
+ static constexpr const char *PNG_SLEEP_VECTOR2_IMAGE = APP_RES_PATH "/SleepTime/Vector2.bin";\r
+ static constexpr const char *PNG_SLEEP_LINE1_IMAGE = APP_RES_PATH "/SleepTime/Line 1.bin";\r
+ static constexpr const char *PNG_SLEEP_LINE3_IMAGE = APP_RES_PATH "/SleepTime/Line 3.bin";\r
+ static constexpr const char *PNG_SLEEP_BUTTON_IMAGE = APP_RES_PATH "/SleepTime/button.bin";\r
+ // 手势拍照\r
+ static constexpr const char *PNG_GETPIC_CAMERA_IMAGE = APP_RES_PATH "/GetPic/camera.bin";\r
+ static constexpr const char *PNG_GETPIC_PICBOUTTON_IMAGE = APP_RES_PATH "/GetPic/pic_button.bin";\r
+ static constexpr const char *PNG_GETPIC_SMILE_IMAGE = APP_RES_PATH "/GetPic/smile.bin";\r
+ // 省电模式\r
+ static constexpr const char *PNG_SAVEELE_BATE_IMAGE = APP_RES_PATH "/Save_Ele/Battery-E.bin";\r
+ static constexpr const char *PNG_SAVEELE_BATF_IMAGE = APP_RES_PATH "/Save_Ele/Battery-F.bin";\r
+ static constexpr const char *PNG_SAVEELE_FINGER_IMAGE = APP_RES_PATH "/Save_Ele/finger.bin";\r
+ // 血氧\r
+ static constexpr const char *PNG_BLOOD_ERROR_IMAGE = APP_RES_PATH "/Blood/Error.bin";\r
+ static constexpr const char *PNG_BLOOD_NOTE_IMAGE = APP_RES_PATH "/Blood/boutton.bin";\r
+ //表盘切换\r
+ static constexpr const char *PNG_DIAL_USER_IMAGE = APP_RES_PATH "/Dial/Diallogo.bin";\r
+ static constexpr const char *PNG_PHONE_FINGER_IMAGE = APP_RES_PATH "/Save_Ele/finger.bin";\r
++ //快速训练\r
++ static constexpr const char *PNG_TRAING_BOUTTONMORE_IMAGE = APP_RES_PATH "/Training/More.bin";\r
++ static constexpr const char *PNG_TRAING_BUTTONGRONG_IMAGE = APP_RES_PATH "/Training/Bouttonground.bin";\r
++ static constexpr const char *PNG_TRAING_BUTTONGRONG2_IMAGE = APP_RES_PATH "/Training/Buttonground2.bin";\r
++ static constexpr const char *PNG_TRAING_RIDINGBIG_IMAGE = APP_RES_PATH "/Training/riding-big2.bin";\r
++ static constexpr const char *PNG_TRAING_RUNNINGBIG_IMAGE = APP_RES_PATH "/Training/running-big.bin";\r
++ static constexpr const char *PNG_TRAING_WALKINGBIG_IMAGE = APP_RES_PATH "/Training/walking-big.bin";\r
++ //static constexpr const char *PNG_TRAING_BUTTONGRONG1_IMAGE = APP_RES_PATH "/TRAING/More.bin";\r
++ //static constexpr const char *PNG_TRAING_BUTTONGRONG1_IMAGE = APP_RES_PATH "/TRAING/More.bin";\r
++\r
++\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE01 = APP_RES_PATH "/VOICE_ASSISTANT_01.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE02 = APP_RES_PATH "/VOICE_ASSISTANT_02.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE03 = APP_RES_PATH "/VOICE_ASSISTANT_03.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE04 = APP_RES_PATH "/VOICE_ASSISTANT_04.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE05 = APP_RES_PATH "/VOICE_ASSISTANT_05.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE06 = APP_RES_PATH "/VOICE_ASSISTANT_06.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE07 = APP_RES_PATH "/VOICE_ASSISTANT_07.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE08 = APP_RES_PATH "/VOICE_ASSISTANT_08.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE09 = APP_RES_PATH "/VOICE_ASSISTANT_09.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE10 = APP_RES_PATH "/VOICE_ASSISTANT_10.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE11 = APP_RES_PATH "/VOICE_ASSISTANT_11.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE12 = APP_RES_PATH "/VOICE_ASSISTANT_12.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE13 = APP_RES_PATH "/VOICE_ASSISTANT_13.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE14 = APP_RES_PATH "/VOICE_ASSISTANT_14.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE15 = APP_RES_PATH "/VOICE_ASSISTANT_15.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE16 = APP_RES_PATH "/VOICE_ASSISTANT_16.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE17 = APP_RES_PATH "/VOICE_ASSISTANT_17.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE18 = APP_RES_PATH "/VOICE_ASSISTANT_18.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE19 = APP_RES_PATH "/VOICE_ASSISTANT_19.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE20 = APP_RES_PATH "/VOICE_ASSISTANT_20.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE21 = APP_RES_PATH "/VOICE_ASSISTANT_21.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE22 = APP_RES_PATH "/VOICE_ASSISTANT_22.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE23 = APP_RES_PATH "/VOICE_ASSISTANT_23.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE24 = APP_RES_PATH "/VOICE_ASSISTANT_24.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE25 = APP_RES_PATH "/VOICE_ASSISTANT_25.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE26 = APP_RES_PATH "/VOICE_ASSISTANT_26.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE27 = APP_RES_PATH "/VOICE_ASSISTANT_27.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE28 = APP_RES_PATH "/VOICE_ASSISTANT_28.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE29 = APP_RES_PATH "/VOICE_ASSISTANT_29.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE30 = APP_RES_PATH "/VOICE_ASSISTANT_30.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE31 = APP_RES_PATH "/VOICE_ASSISTANT_31.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE32 = APP_RES_PATH "/VOICE_ASSISTANT_32.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE33 = APP_RES_PATH "/VOICE_ASSISTANT_33.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE34 = APP_RES_PATH "/VOICE_ASSISTANT_34.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE35 = APP_RES_PATH "/VOICE_ASSISTANT_35.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE36 = APP_RES_PATH "/VOICE_ASSISTANT_36.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE37 = APP_RES_PATH "/VOICE_ASSISTANT_37.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE38 = APP_RES_PATH "/VOICE_ASSISTANT_38.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE39 = APP_RES_PATH "/VOICE_ASSISTANT_39.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE40 = APP_RES_PATH "/VOICE_ASSISTANT_40.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE41 = APP_RES_PATH "/VOICE_ASSISTANT_41.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE42 = APP_RES_PATH "/VOICE_ASSISTANT_42.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE43 = APP_RES_PATH "/VOICE_ASSISTANT_43.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE44 = APP_RES_PATH "/VOICE_ASSISTANT_44.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE45 = APP_RES_PATH "/VOICE_ASSISTANT_45.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE46 = APP_RES_PATH "/VOICE_ASSISTANT_46.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE47 = APP_RES_PATH "/VOICE_ASSISTANT_47.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE48 = APP_RES_PATH "/VOICE_ASSISTANT_48.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE49 = APP_RES_PATH "/VOICE_ASSISTANT_49.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE50 = APP_RES_PATH "/VOICE_ASSISTANT_50.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE51 = APP_RES_PATH "/VOICE_ASSISTANT_51.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE52 = APP_RES_PATH "/VOICE_ASSISTANT_52.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE53 = APP_RES_PATH "/VOICE_ASSISTANT_53.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE54 = APP_RES_PATH "/VOICE_ASSISTANT_54.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE55 = APP_RES_PATH "/VOICE_ASSISTANT_55.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE56 = APP_RES_PATH "/VOICE_ASSISTANT_56.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE57 = APP_RES_PATH "/VOICE_ASSISTANT_57.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE58 = APP_RES_PATH "/VOICE_ASSISTANT_58.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE59 = APP_RES_PATH "/VOICE_ASSISTANT_59.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE60 = APP_RES_PATH "/VOICE_ASSISTANT_60.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE61 = APP_RES_PATH "/VOICE_ASSISTANT_61.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE62 = APP_RES_PATH "/VOICE_ASSISTANT_62.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE63 = APP_RES_PATH "/VOICE_ASSISTANT_63.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE64 = APP_RES_PATH "/VOICE_ASSISTANT_64.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE65 = APP_RES_PATH "/VOICE_ASSISTANT_65.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE66 = APP_RES_PATH "/VOICE_ASSISTANT_66.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE67 = APP_RES_PATH "/VOICE_ASSISTANT_67.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE68 = APP_RES_PATH "/VOICE_ASSISTANT_68.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE69 = APP_RES_PATH "/VOICE_ASSISTANT_69.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE70 = APP_RES_PATH "/VOICE_ASSISTANT_70.bin";\r
+ static constexpr const char *PNG_VOICE_ASSISTANT_IMAGE71 = APP_RES_PATH "/VOICE_ASSISTANT_71.bin";\r
+ static constexpr const char *PNG_APPLIST_VOCASSIST_IMAGE = APP_RES_PATH "/APPLIST_VOCASSIST_IMAGE.bin";\r
+\r
+ static constexpr const char *PNG_STEP_SHOE_IMAGE_PATH = APP_RES_PATH "/SHOE_IMAGE.bin";\r
+\r
+ static constexpr const char *PNG_A004_070_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_01.bin";\r
+ static constexpr const char *PNG_A004_071_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_02.bin";\r
+ static constexpr const char *PNG_A004_072_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_03.bin";\r
+ static constexpr const char *PNG_A004_073_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_04.bin";\r
+ static constexpr const char *PNG_A004_074_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_05.bin";\r
+ static constexpr const char *PNG_A004_075_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_06.bin";\r
+ static constexpr const char *PNG_A004_076_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_07.bin";\r
+ static constexpr const char *PNG_A004_077_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_08.bin";\r
+ static constexpr const char *PNG_A004_078_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_09.bin";\r
+ static constexpr const char *PNG_A004_079_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_10.bin";\r
+ static constexpr const char *PNG_A004_080_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_11.bin";\r
+ static constexpr const char *PNG_A004_081_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_12.bin";\r
+ static constexpr const char *PNG_A004_082_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_13.bin";\r
+ static constexpr const char *PNG_A004_083_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_14.bin";\r
+ static constexpr const char *PNG_A004_084_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_15.bin";\r
+ static constexpr const char *PNG_A004_085_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_16.bin";\r
+ static constexpr const char *PNG_A004_086_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_17.bin";\r
+ static constexpr const char *PNG_A004_087_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_18.bin";\r
+ static constexpr const char *PNG_A004_088_IMAGE_PATH = APP_RES_PATH "/HEARTBEAT_IMAGE_19.bin";\r
+\r
+ static constexpr const char *PNG_A019_080_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_01.bin";\r
+ static constexpr const char *PNG_A019_081_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_02.bin";\r
+ static constexpr const char *PNG_A019_082_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_03.bin";\r
+ static constexpr const char *PNG_A019_083_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_04.bin";\r
+ static constexpr const char *PNG_A019_084_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_05.bin";\r
+ static constexpr const char *PNG_A019_085_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_06.bin";\r
+ static constexpr const char *PNG_A019_086_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_07.bin";\r
+ static constexpr const char *PNG_A019_087_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_08.bin";\r
+\r
+ static constexpr const char *PNG_A019_088_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_09.bin";\r
+ static constexpr const char *PNG_A019_089_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_10.bin";\r
+ static constexpr const char *PNG_A019_090_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_11.bin";\r
+ static constexpr const char *PNG_A019_091_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_12.bin";\r
+ static constexpr const char *PNG_A019_092_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_13.bin";\r
+ static constexpr const char *PNG_A019_093_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_14.bin";\r
+ static constexpr const char *PNG_A019_094_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_15.bin";\r
+ static constexpr const char *PNG_A019_095_IMAGE_PATH = APP_RES_PATH "/BLUETOOTH_IMAGE_16.bin";\r
+ static constexpr const char *PNG_BLUETOOTHEAR = APP_RES_PATH "/BLUETOOTHEAR.bin";\r
+ // AppList\r
+ static constexpr const char *PNG_APPLIST_ALARM_IMAGE = APP_RES_PATH "/APPLIST_ALARM.bin"; // 闹钟\r
+ static constexpr const char *PNG_APPLIST_SPO2_IMAGE = APP_RES_PATH "/APPLIST_SPO2.bin"; // 血氧\r
+ static constexpr const char *PNG_APPLIST_SETTING_IMAGE = APP_RES_PATH "/APPLIST_SETTING.bin"; // 设置\r
+ static constexpr const char *PNG_APPLIST_TEMP_IMAGE = APP_RES_PATH "/TEMP_IMAGE.bin"; // 体温\r
+\r
+ static constexpr const char *PNG_APPLIST_DIAL_IMAGE = APP_RES_PATH "/dial.bin"; // 表盘设置\r
+ static constexpr const char *PNG_APPLIST_SPORT_IMAGE = APP_RES_PATH "/sport.bin"; // 活动\r
+ static constexpr const char *PNG_APPLIST_HEARTRATE_IMAGE = APP_RES_PATH "/heart rate.bin"; // 心率\r
+ static constexpr const char *PNG_APPLIST_TRAINING_IMAGE = APP_RES_PATH "/training.bin"; // 训练\r
+ static constexpr const char *PNG_APPLIST_TRAINING_RECORD_IMAGE = APP_RES_PATH "/Training record.bin"; // 训练记录\r
+ static constexpr const char *PNG_APPLIST_BLOODPRESSURE_IMAGE = APP_RES_PATH "/bloodpressure.bin"; // 睡眠\r
+ static constexpr const char *PNG_APPLIST_GETPIC_IMAGE = APP_RES_PATH "/getpic.bin"; // 拍照\r
+ static constexpr const char *PNG_APPLIST_BLOOD_IMAGE = APP_RES_PATH "/blood.bin"; // 血氧\r
+ static constexpr const char *PNG_APPLIST_MUSIC_IMAGE = APP_RES_PATH "/music.bin"; // 音乐\r
+ static constexpr const char *PNG_APPLIST_WEATHER_IMAGE = APP_RES_PATH "/weather.bin"; // 天气\r
+ static constexpr const char *PNG_APPLIST_RECORD_IMAGE = APP_RES_PATH "/record.bin"; // 录音\r
+ static constexpr const char *PNG_APPLIST_PHONE_IMAGE = APP_RES_PATH "/phone.bin"; // 电话\r
+ static constexpr const char *PNG_APPLIST_CHRONOMETER_IMAGE = APP_RES_PATH "/chronometer.bin"; // 秒表\r
+ static constexpr const char *PNG_APPLIST_COUNTDOWN_IMAGE = APP_RES_PATH "/countdown.bin"; // 计时器\r
+ static constexpr const char *PNG_APPLIST_BLUETOOTH_IMAGE = APP_RES_PATH "/Bluetooth.bin"; // 蓝牙\r
+\r
+ // 室内步行\r
+ static constexpr const char *PNG_APPLIST_WALK_IMAGE = APP_RES_PATH "/APPLIST_WALK.bin"; // Applist图标\r
+ static constexpr const char *PNG_WALK_BACK_GROUND = APP_RES_PATH "/WALK_BACK_GROUND.bin";\r
+ static constexpr const char *PNG_WALK_IMAGE = APP_RES_PATH "/INDOORWALK.bin";\r
+ static constexpr const char *PNG_AEROBIC_IMAGE = APP_RES_PATH "/AEROBIC.bin";\r
+ static constexpr const char *PNG_ANAEROBIC_IMAGE = APP_RES_PATH "/ANAEROBIC.bin";\r
+ static constexpr const char *PNG_OPTIONS_BOX1_IMAGE = APP_RES_PATH "/OPTIONS_BOX1.bin";\r
+ static constexpr const char *PNG_OPTIONS_BOX2_IMAGE = APP_RES_PATH "/OPTIONS_BOX2.bin";\r
+ static constexpr const char *PNG_OPTIONS_BOX3_IMAGE = APP_RES_PATH "/OPTIONS_BOX3.bin";\r
+ static constexpr const char *PNG_OPTIONS_BOX4_IMAGE = APP_RES_PATH "/OPTIONS_BOX4.bin";\r
+ static constexpr const char *PNG_WALK_TIME_IMAGE = APP_RES_PATH "/TIME_IMAGE.bin";\r
+ static constexpr const char *PNG_WALK_DISTANCES_IMAGE = APP_RES_PATH "/DISTANCES_IMAGE.bin";\r
+ static constexpr const char *PNG_WALK_HEART_IMAGE = APP_RES_PATH "/HEART_IMAGE.bin";\r
+ static constexpr const char *PNG_WALK_SPEED_IMAGE = APP_RES_PATH "/SPEED_IMAGE.bin";\r
+ static constexpr const char *PNG_WALK_STEPS_IMAGE = APP_RES_PATH "/STEPS_IMAGE.bin";\r
+\r
+ static constexpr const char *PNG_APPLIST_UI_SAMPLE_IMAGE = APP_RES_PATH "/APPLIST_UI_SAMPLE.bin"; // Applist图标\r
+}\r
+\r
+#endif // UI_CONFIG_H\r
-/*
- * Copyright (c) 2020-2021 CompanyNameMagicTag.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "NativeLauncher.h"
-#include "MainView.h"
-#include "MainPresenter.h"
-#include "SliceProxy.h"
-#include "AbilitySliceProxy.h"
-#include "wearable_log.h"
-#include "MainViewSample.h"
-#include "MainPresenterSample.h"
-#include "SettingView.h"
-#include "SettingPresenter.h"
-#include "ApplistView.h"
-#include "ApplistPresenter.h"
-#include "BloodOxygenView.h"
-#include "BloodOxygenPresenter.h"
-#include "CallerLogView.h"
-#include "CallerLogPresenter.h"
-#include "MainCallingView.h"
-#include "MainCallingPresenter.h"
-#include "ActivityPresenter.h"
-#include "MainAlarmView.h"
-#include "AlarmPresenter.h"
-#include "AlarmPopUpPresenter.h"
-#include "AlarmPopUpView.h"
-#include "MainBluetoothView.h"
-#include "BluetoothPresenter.h"
-#include "PlayersModel.h"
-#include "HealthModel.h"
-#include "PresenterTask.h"
-#include "MainCompassPresenter.h"
-#include "MainCompassView.h"
-#include "CallerLogModel.h"
-#include "VocassistPresenter.h"
-#include "MainVocassistView.h"
-#include "VocassistModel.h"
-#include "ConnectPhonePresenter.h"
-#include "ConnectPhoneView.h"
-#include "ScreenModels.h"
-#include "TempMainView.h"
-#include "TempPresenter.h"
-#include "IndoorWalkPresenter.h"
-#include "IndoorWalkView.h"
-#include "RebootView.h"
-#include "RebootPresenter.h"
-#include "UISampleView.h"
-#include "UISamplePresenter.h"
-#include "BluetoothHeadsetEvent.h"
-#include "graphic_hardware_config.h"
-#include "graphic_service.h"
-#include "common/graphic_startup.h"
-#include "saveele/include/SaveEleView.h"
-#include "saveele/include/SaveElePresenter.h"
-#include "saveele/include/SaveBatView.h"
-#include "saveele/include/SaveBatPresenter.h"
-#include "sleep/include/SleepView.h"
-#include "sleep/include/SleepPresenter.h"
-#include "sleep/include/SleepTimeView.h"
-#include "sleep/include/SleepTimePresenter.h"
-#include "sleep/include/SleepActView.h"
-#include "sleep/include/SleepActPresenter.h"
-#include "getpic/include/GetPicView.h"
-#include "getpic/include/GetPicPresenter.h"
-#include "getpic/include/TakePicView.h"
-#include "getpic/include/TakePicPresenter.h"
-#include "phone/include/PhoneView.h"
-#include "phone/include/PhonePresenter.h"
-#include "phone/include/PhoneCallView.h"
-#include "phone/include/PhoneCallPresenter.h"
-#include "phone/include/PhoneDirView.h"
-#include "phone/include/PhoneDirPresenter.h"
-#include "phone/include/PhoneCallingView.h"
-#include "phone/include/PhoneCallingPresenter.h"
-#include "phone/include/PhoneCallupView.h"
-#include "phone/include/PhoneCallupPresenter.h"
-#include "phone/include/PhoneRingView.h"
-#include "phone/include/PhoneRingPresenter.h"
-#include "blood/include/BloodView.h"
-#include "blood/include/BloodPresenter.h"
-#include "blood/include/BloodCheckPresenter.h"
-#include "blood/include/BloodCheckView.h"
-#include "blood/include/BloodShowPresenter.h"
-#include "blood/include/BloodShowView.h"
-#include "blood/include/BloodErrorPresenter.h"
-#include "blood/include/BloodNoteView.h"
-#include "blood/include/BloodNotePresenter.h"
-#include "dial/include/DialPresenter.h"
-#include "dial/include/DialView.h"
-#include "heartrate/include/HeartRemindPresenter.h"
-#include "heartrate/include/HeartRemindView.h"
-#include "traing/include/TraingPresenter.h"
-#include "traing/include/TraingView.h"
-#include "displaybrightness/include/DisplayBrightnessPresenter.h"
-#include "displaybrightness/include/DisplayBrightnessView.h"
-#include "bluetoothofsetting/include/BlueToothOfSettingPresenter.h"
-#include "bluetoothofsetting/include/BlueToothOfSettingView.h"
-#include "displaybrightness/include/BrightnessControlPresenter.h"
-#include "displaybrightness/include/BrightnessControlView.h"
-#include "displaybrightness/include/ScreenDurationPresenter.h"
-#include "displaybrightness/include/ScreenDurationView.h"
-#include "soundandvibration/include/SoundAndVibrationPresenter.h"
-#include "soundandvibration/include/SoundAndVibrationView.h"
-#include "soundandvibration/include/SystemVolumePresenter.h"
-#include "soundandvibration/include/SystemVolumeView.h"
-#include "quickaccess/include/QuickAccessPresenter.h"
-#include "quickaccess/include/QuickAccessView.h"
-#include "system/include/SystemPresenter.h"
-#include "system/include/SystemView.h"
-#include "system/include/SystemAboutPresenter.h"
-#include "system/include/SystemAboutView.h"
-#include "system/include/SystemSupervisePresenter.h"
-#include "system/include/SystemSuperviseView.h"
-#include "system/include/SystemLanguagePresenter.h"
-#include "system/include/SystemLanguageView.h"
-#include "system/include/SystemRebootPresenter.h"
-#include "system/include/SystemRebootView.h"
-#include "system/include/SystemShoutDownPresenter.h"
-#include "system/include/SystemShoutDownView.h"
-#include "system/include/SystemFactoryResetPresenter.h"
-#include "system/include/SystemFactoryResetView.h"
-#include "record/include/RecordPresenter.h"
-#include "record/include/RecordView.h"
-#include "record/include/RecordListPresenter.h"
-#include "record/include/RecordListView.h"
-#include "record/include/RecordPlayPresenter.h"
-#include "record/include/RecordPlayView.h"
-#include "record/include/RecordDeletePresenter.h"
-#include "record/include/RecordDeleteView.h"
-#include "record/include/RecordGoingPresenter.h"
-#include "record/include/RecordGoingView.h"
-#include "PlaceMakerCompassPresenter.h"
-#include "PlaceMakerCompassView.h"
-#include "MakerPointCompassPresenter.h"
-#include "MakerPointCompassView.h"
-#include "StartPathRecordCompassPresenter.h"
-#include "StartPathRecordCompassView.h"
-#include "EndPathRecordCompassPresenter.h"
-#include "EndPathRecordCompassView.h"
-#include "PathBackTrackingCompassPresenter.h"
-#include "PathBackTrackingCompassView.h"
-#include "ResetPlaceMakerCompassPresenter.h"
-#include "ResetPlaceMakerCompassView.h"
-#include "PathRetracingCompassPresenter.h"
-#include "PathRetracingCompassView.h"
-#include "EndBackTrackingEarlyCompassPresenter.h"
-#include "EndBackTrackingEarlyCompassView.h"
-#include "EndBackTrackingCompassPresenter.h"
-#include "EndBackTrackingCompassView.h"
-#include "GPSLossCompassPresenter.h"
-#include "GPSLossCompassView.h"
-#include "secondaryfunction/include/SecondaryFunctionPresenter.h"
-#include "secondaryfunction/include/SecondaryFunctionView.h"
-#include "secondaryfunction/include/FastTrainingPresenter.h"
-#include "secondaryfunction/include/FastTrainingView.h"
-#include "secondaryfunction/include/FastTrainingAttentionPresenter.h"
-#include "secondaryfunction/include/FastTrainingAttentionView.h"
-namespace OHOS {
-struct AppViewMapper
-{
- AppViewId id;
- void (NativeLauncher::*func)(void);
-};
-
-struct ViewIdToString
-{
- AppViewId id;
- char idForUikit[256];
-};
-
-static const AppViewMapper SLICE_MAPPER[] = {
- {VIEW_MAIN, &NativeLauncher::InitMainSlice},
- {VIEW_SETTING, &NativeLauncher::InitSettingSlice},
- {VIEW_APPLIST, &NativeLauncher::InitApplistSlice},
- {VIEW_MAIN_SAMPLE, &NativeLauncher::InitMainSampleSlice},
- {VIEW_MAIN_ALARM, &NativeLauncher::InitMainAlarmSlice},
- {VIEW_ALARM_POP_UP, &NativeLauncher::InitAlarmPopUpSlice},
- {VIEW_BLOODOXY_SAMPLE, &NativeLauncher::InitMainBloodOxyView},
- {VIEW_MAIN_ACTIVITY, &NativeLauncher::InitActivitySlice},
- {VIEW_CALLER_SAMPLE,&NativeLauncher::InitMainCallerLogView},
- {VIEW_MAEKPHONE_SAMPLE,&NativeLauncher::InitMainMakePhoneView},
- {VIEW_BLUETOOTH_EARPHONE, &NativeLauncher::InitBluetoothSlice},
- {VIEW_COMPASS, &NativeLauncher::InitCompassSlice},
- {VIEW_OFFLINEVOICE, &NativeLauncher::InitOfflineVoice},
- {VIEW_CONNECT_PHONE, &NativeLauncher::InitConnectPhoneSlice},
- {VIEW_MAIN_TEMP, &NativeLauncher::InitMainTempSlice},
- {VIEW_INDOORWALK, &NativeLauncher::InitIndoorWalkSlice},
- {VIEW_REBOOT, &NativeLauncher::InitRebootSlice},
- {VIEW_SAVEELE, &NativeLauncher::InitSaveEleSlice},
- {VIEW_SAVEBAT, &NativeLauncher::InitSaveBatSlice},
- {VIEW_BLOODPRESSURE, &NativeLauncher::InitSleepSlice},
- {VIEW_SLEEPTIME, &NativeLauncher::InitSleepTimeSlice},
- {VIEW_SLEEPACT, &NativeLauncher::InitSleepActSlice},
- {VIEW_GETPIC, &NativeLauncher::InitGetPicSlice}, //拍照
- {VIEW_TAKEPIC, &NativeLauncher::InitTakePicSlice},
- {VIEW_PHONE, &NativeLauncher::InitPhoneSlice}, //电话
- {VIEW_PHONECALL, &NativeLauncher::InitPhoneCallSlice},
- {VIEW_PHONEDIR, &NativeLauncher::InitPhoneDirSlice},
- {VIEW_PHONECALLING, &NativeLauncher::InitPhoneCallingSlice},
- {VIEW_PHONECALLUP, &NativeLauncher::InitPhoneCallupSlice},
- {VIEW_PHONERING, &NativeLauncher::InitPhoneRingSlice},
- {VIEW_BLOOD, &NativeLauncher::InitBloodSlice}, //血氧
- {VIEW_BLOODSHOW, &NativeLauncher::InitBloodShowSlice},
- {VIEW_BLOODCHECK, &NativeLauncher::InitBloodCheckSlice},
- {VIEW_BLOODERROR, &NativeLauncher::InitBloodErrorSlice},
- {VIEW_BLOODNOTE, &NativeLauncher::InitBloodNoteSlice},
- {VIEW_DIAL, &NativeLauncher::InitDialSlice}, //表盘
- {VIEW_HEARTRATEREMIND, &NativeLauncher::InitHeartRemindSlice},
-
- {VIEW_TRAINING, &NativeLauncher::InitTraingSlice}, //训练
-
- {VIEW_DISPLAY_BRIGHTNESS,&NativeLauncher::InitUIDisplayBrightnessSlice}, //显示与亮度的实例化地址
- {VIEW_CONNECT_BLUETOOTH,&NativeLauncher::InitBlueToothSettingSlice}, //蓝牙设置的实例化地址
- {VIEW_BRIGHTNESS_CONTROL,&NativeLauncher::InitBrightnessControlSlice}, //调节亮度的实例化地址
- {VIEW_SCREEN_DURATION,&NativeLauncher::InitScreenDurationSlice}, //亮屏时长实例化地址
- {VIEW_SOUND_VIBRATION,&NativeLauncher::InitSoundAndVibrationSlice}, //声音与震动实例化地址
- {VIEW_SYSTEM_VOLUME,&NativeLauncher::InitSystemVolumeSlice}, //系统音量
- {VIEW_QUICK_ACCESS,&NativeLauncher::InitQuickAccessSlice}, //快速访问实例化地址
- {VIEW_SYSTEM,&NativeLauncher::InitSystemSlice}, //系统实例化地址
- {VIEW_SYSTEM_ABOUT_WATCH,&NativeLauncher::InitSystemAboutWatchSlice}, //系统:关于手表实例化地址
- {VIEW_SYSTEM_SUPERVISE,&NativeLauncher::InitSystemSuperviseSlice}, //系统:监管实例化地址
- {VIEW_SYSTEM_SYSTEM_LANGUAGE,&NativeLauncher::InitSystemLanguageSlice}, //系统:系统语言实例化地址
- {VIEW_SYSTEM_REBOOT,&NativeLauncher::InitSystemRebootSlice}, //系统:重启实例化地址
- {VIEW_SYSTEM_SHOUTDOWN,&NativeLauncher::InitSystemShoutDownSlice}, //系统:关机实例化地址
- {VIEW_SYSTEM_FACTORY_RESET,&NativeLauncher::InitSystemFactoryResetSlice}, //系统:恢复出厂设置实例化地址
- {VIEW_RECORD,&NativeLauncher::InitRecordingSlice}, //录音实例化地址
- {VIEW_RECORD_LIST,&NativeLauncher::InitRecordingListSlice},
- {VIEW_RECORD_PLAY,&NativeLauncher::InitRecordingPlaySlice},
- {VIEW_RECORD_DELETE,&NativeLauncher::InitRecordingDeleteSlice},
- {VIEW_RECORD_DELETE,&NativeLauncher::InitRecordingDeleteSlice},
- {VIEW_RECORD_GOING,&NativeLauncher::InitRecordingGoingSlice},
- {VIEW_COMPASS_PLACE_MAKER,&NativeLauncher::InitCompassPlaceMakerSlice}, //指南针放置标记点实例化地址
- {VIEW_COMPASS_MAKER_POINT,&NativeLauncher::InitCompassMakerPointSlice}, //指南针标记点介绍实例化地址
- {VIEW_COMPASS_START_PATH_RECORD,&NativeLauncher::InitCompassStartPathRecordSlice}, //指南针开始路径记录实例化地址
- {VIEW_COMPASS_END_PATH_RECORD,&NativeLauncher::InitCompassEndPathRecordSlice}, //指南针结束路径记录实例化地址
- {VIEW_COMPASS_PATH_BACKTRACKING,&NativeLauncher::InitCompassPathBackTrackingSlice}, //指南针路径回溯实例化地址
- {VIEW_COMPASS_RESET_PLACE_MAKER,&NativeLauncher::InitCompassResetPlaceMakerSlice}, //指南针重置标记点实例化地址
- {VIEW_COMPASS_PATH_RETRACING,&NativeLauncher::InitCompassPathRetracingSlice}, //指南针路径回溯实例化地址
- {VIEW_COMPASS_END_BACK_TRACKING,&NativeLauncher::InitCompassEndBackTrackingSlice}, //指南针结束路径回溯
- {VIEW_COMPASS_END_BACK_TRACKING_EARLY,&NativeLauncher::InitCompassEndBackTrackingEarlySlice},//指南针提前结束路径回溯
- {VIEW_COMPASS_GPS_LOSS,&NativeLauncher::InitCompassGPSLossSlice}, //指南针GPS丢失实例化地址
- {VIEW_SECONDARY_FUNCTION,&NativeLauncher::InitSecondaryFunction}, //按键按下进入辅助功能
- {VIEW_FAST_TRAINING,&NativeLauncher::InitFastTrainingSlice}, //快速训练
- {VIEW_FAST_TRAINING_ATTENTION,&NativeLauncher::InitFastTrainingAttentionSlice}, //快速训练
- {VIEW_UISAMPLE, &NativeLauncher::InitUISampleSlice}
-};
-
-static const ViewIdToString VIEW_MAPPER[] = {
- {VIEW_MAIN, "main"},
- {VIEW_SETTING, "setting"},
- {VIEW_APPLIST, "applist"},
- {VIEW_MAIN_SAMPLE, "mainViewSample"},
- {VIEW_MAIN_ALARM, "mainAlarmView"},
- {VIEW_ALARM_POP_UP, "alarmPopUpView"},
- {VIEW_BLOODOXY_SAMPLE, "bloodOxygenView"},
- {VIEW_MAIN_ACTIVITY, "mainActivityView"},
- {VIEW_CALLER_SAMPLE, "callerLogView"},
- {VIEW_MAEKPHONE_SAMPLE, "makePhoneView"},
- {VIEW_BLUETOOTH_EARPHONE, "mainBluetoothView"},
- {VIEW_COMPASS, "mainCompassView"},
- {VIEW_OFFLINEVOICE, "offlineVoiceView"},
- {VIEW_CONNECT_PHONE, "ConnectPhoneView"},
- {VIEW_MAIN_TEMP, "mianTempView"},
- {VIEW_INDOORWALK, "IndoorWalkView"},
- {VIEW_REBOOT, "RebootView"},
- {VIEW_DISPLAY_BRIGHTNESS,"DisplayBrightness"}, //显示与亮度
- {VIEW_CONNECT_BLUETOOTH,"BlueToothSetting"}, //蓝牙
- {VIEW_BRIGHTNESS_CONTROL,"BrightnessControl"}, //亮度调节
- {VIEW_SCREEN_DURATION,"ScreenDuration"}, //亮屏时长
- {VIEW_SOUND_VIBRATION,"SoundAndVibration"}, //声音与震动
- {VIEW_SYSTEM_VOLUME,"SystemVolume"}, //系统音量
- {VIEW_QUICK_ACCESS,"QuickAccess"}, //快速访问
- {VIEW_SYSTEM,"System"}, //系统
- {VIEW_SYSTEM_ABOUT_WATCH,"SystemAboutWatch"}, //系统:关于手表
- {VIEW_SYSTEM_SUPERVISE,"SystemSupervise"}, //系统:监管
- {VIEW_SYSTEM_SYSTEM_LANGUAGE,"SystemLanguage"}, //系统:系统语言
- {VIEW_SYSTEM_REBOOT,"SystemReboot"}, //系统:重新启动
- {VIEW_SYSTEM_SHOUTDOWN,"SystemShoutDown"}, //系统:关机
- {VIEW_SYSTEM_FACTORY_RESET,"SystemFactoryReset"},//系统:恢复出厂设置
- {VIEW_RECORD,"Recording"}, //录音
- {VIEW_RECORD_LIST,"RecordingList"},
- {VIEW_RECORD_PLAY,"RecordingPlay"},
- {VIEW_RECORD_DELETE,"RecordingDelete"},
- {VIEW_RECORD_GOING,"RecordingGoing"},
- {VIEW_COMPASS_PLACE_MAKER,"PlaceMakerCompass"}, //指南针放置标记点
- {VIEW_COMPASS_MAKER_POINT,"MakerPointCompass"}, //指南针标记点介绍
- {VIEW_COMPASS_START_PATH_RECORD,"StartPathRecordCompass"}, //指南针开始路径记录
- {VIEW_COMPASS_END_PATH_RECORD,"StartPathRecordCompass"}, //指南针结束路径记录
- {VIEW_COMPASS_PATH_BACKTRACKING,"PathBackTrackingCompass"}, //指南针路径回溯
- {VIEW_COMPASS_RESET_PLACE_MAKER,"ResetPlaceMakerCompass"}, //指南针重置路径标记点
- {VIEW_COMPASS_PATH_RETRACING,"PathRetracingCompass"}, //指南针路径回溯中
- {VIEW_COMPASS_END_BACK_TRACKING_EARLY,"EndBackTrackingEarlyCompass"},//指南针提前结束路径回溯
- {VIEW_COMPASS_END_BACK_TRACKING,"EndBackTrackingCompass"}, //指南针提前结束路径回溯
- {VIEW_COMPASS_GPS_LOSS,"GPSLossCompass"}, //指南针GPS丢失
- {VIEW_SECONDARY_FUNCTION,"SecondaryFunction"}, //辅助功能
- {VIEW_FAST_TRAINING,"FastTraining"}, //快速训练
- {VIEW_FAST_TRAINING_ATTENTION,"FastTrainingAttention"},
- {VIEW_UISAMPLE, "UISample"}
-};
-
-NativeLauncher::NativeLauncher() {}
-NativeLauncher::~NativeLauncher() {}
-
-NativeLauncher &NativeLauncher::GetInstance(void)
-{
- static NativeLauncher instance;
- return instance;
-}
-
-void NativeLauncher::InitNativeLauncher() {
- GraphicStartUp::InitFontEngine(MEM_POOL_UI_FONT, MEM_POOL_UI_FONT_SIZE, OHOS::VECTOR_FONT_DIR, DEFAULT_VECTOR_FONT_FILENAME);
- WEARABLE_LOGI(WEARABLE_LOG_MODULE_LAUNCHER_FWK, "NativeLauncher::InitNativeLauncher");
- // 初始化所有预加载slice
- InitBtHeadsetEvent(); // 蓝牙ct和tg适配初始化
- InitAllNativeSlices();
- CallerLogModel::GetInstance()->InitPhoneService();
- PresenterTask::GetInstance()->Init();
- PlayersModel::GetInstance()->AudioInit();
- ActivityModel::GetInstance()->Init();
- ScreenModels::GetInstance()->InitCardConfig();
- VocassistModel::GetInstance()->Init();
- HeartModel::GetInstance()->Init();
- BluetoothModel::GetInstance()->Init();
- // 初始化默认首页
- ScreenModels::GetInstance()->PreLoadAppimages();
- NativeAbility::GetInstance().SetDefaultSliceId(VIEW_MAIN_SAMPLE);
-}
-
-void NativeLauncher::InitAllNativeSlices(void)
-{
- uint16_t size = sizeof(SLICE_MAPPER) / sizeof(SLICE_MAPPER[0]);
- for (int index = 0; index < size; index++) {
- if ((SLICE_MAPPER[index].id >= VIEW_MAX_INTER_APP)) {
- continue;
- }
- (this->*(SLICE_MAPPER[index].func))();
- }
- return;
-}
-
-void NativeLauncher::InitMainSlice(void)
-{
- SliceProxy *mainSlice = new AbilitySliceProxy<MainView, MainPresenter>;
- if (mainSlice != nullptr) {
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN, mainSlice);
- }
-}
-
-
-void NativeLauncher::InitMainSampleSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainSampleSlice");
- SliceProxy *mainViewSample = new AbilitySliceProxy<MainViewSample, MainPresenterSample>;
- if (mainViewSample == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainViewSample is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_SAMPLE, mainViewSample);
-}
-
-void NativeLauncher::InitMainAlarmSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainAlarmSlice");
- SliceProxy *mainAlarmView = new AbilitySliceProxy<MainAlarmView, AlarmPresenter>;
- if (mainAlarmView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainAlarmView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_ALARM, mainAlarmView);
-}
-
-void NativeLauncher::InitMainTempSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainTempSlice");
- SliceProxy *mainTempView = new AbilitySliceProxy<TempMainView, TempPresenter>;
- if (mainTempView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainTempView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_TEMP, mainTempView);
-}
-
-void NativeLauncher::InitCompassSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::MainCompassView");
- SliceProxy *mainCompassView = new AbilitySliceProxy<MainCompassView, MainCompassPresenter>;
- if (mainCompassView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainCompassView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS, mainCompassView);
-}
-
-void NativeLauncher::InitIndoorWalkSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::IndoorWalkView");
- SliceProxy *indoorWalkView = new AbilitySliceProxy<IndoorWalkView, IndoorWalkPresenter>;
- if (indoorWalkView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "indoorWalkView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_INDOORWALK, indoorWalkView);
-}
-
-void NativeLauncher::InitRebootSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::RebootView");
- SliceProxy *rebootView = new AbilitySliceProxy<RebootView, RebootPresenter>;
- if (rebootView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "rebootView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_REBOOT, rebootView);
-}
-
-void NativeLauncher::InitConnectPhoneSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::ConnectPhoneView");
- SliceProxy *connectPhoneView = new AbilitySliceProxy<ConnectPhoneView, ConnectPhonePresenter>;
- if (connectPhoneView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "connectPhoneView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_CONNECT_PHONE, connectPhoneView);
-}
-
-void NativeLauncher::InitAlarmPopUpSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitAlarmPopUpSlice");
- SliceProxy *alarmPopUpView = new AbilitySliceProxy<AlarmPopUpView, AlarmPopUpPresenter>;
- if (alarmPopUpView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainAlarmView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_ALARM_POP_UP, alarmPopUpView);
-}
-
-void NativeLauncher::InitMainBloodOxyView(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainBloodOxyView");
- SliceProxy *bloodOxygenView = new AbilitySliceProxy<BloodOxygenView, BloodOxygenPresenter>;
- if (bloodOxygenView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodOxygenView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODOXY_SAMPLE, bloodOxygenView);
-}
-
-void NativeLauncher::InitMainMakePhoneView(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainMakePhoneView");
- SliceProxy *makePhoneView = new AbilitySliceProxy<MainCallingView, MainCallingPresenter>;
- if (makePhoneView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "makePhoneView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAEKPHONE_SAMPLE, makePhoneView);
-}
-
-void NativeLauncher::InitMainCallerLogView(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainCallerLogView");
- SliceProxy *callerLogView = new AbilitySliceProxy<CallerLogView, CallerLogPresenter>;
- if (callerLogView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "callerLogView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_CALLER_SAMPLE, callerLogView);
-}
-
-void NativeLauncher::InitActivitySlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitWeekStepSlice");
- SliceProxy *mainActivityView = new AbilitySliceProxy<MainActivityView, ActivityPresenter>;
- if (mainActivityView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainActivityView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_ACTIVITY, mainActivityView);
-}
-
-void NativeLauncher::InitBluetoothSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeAbility::InitBluetoothSlice");
- SliceProxy *mainBluetoothView = new AbilitySliceProxy<MainBluetoothView, BluetoothPresenter>;
- if (mainBluetoothView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainBluetoothView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLUETOOTH_EARPHONE, mainBluetoothView);
-}
-
-void NativeLauncher::InitSettingSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSettingSlice");
- SliceProxy *settingView = new AbilitySliceProxy<SettingView, SettingPresenter>;
- if (settingView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "settingView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SETTING, settingView);
-}
-
-void NativeLauncher::InitApplistSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitApplistSlice");
- SliceProxy *applistView = new AbilitySliceProxy<ApplistView, ApplistPresenter>;
- if (applistView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "applistView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_APPLIST, applistView);
-}
-
-void NativeLauncher::InitOfflineVoice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitOfflineVoice");
- SliceProxy *offlineVoiceView = new AbilitySliceProxy<MainVocassistView, VocassistPresenter>;
- if (offlineVoiceView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "offlineVoiceView is nullptr");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_OFFLINEVOICE, offlineVoiceView);
-}
-
-void NativeLauncher::InitUISampleSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitUISampleSlice");
- SliceProxy *uisampleView = new AbilitySliceProxy<UISampleView, UISamplePresenter>;
- if (uisampleView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "uisampleView");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_UISAMPLE, uisampleView);
-}
-// 省电模式
-void NativeLauncher::InitSaveEleSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSaveEleSlice");
- SliceProxy *saveeleview = new AbilitySliceProxy<SaveEleView, SaveElePresenter>;
- if (saveeleview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "saveeleview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SAVEELE, saveeleview);
-}
-
-void NativeLauncher::InitSaveBatSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSaveBatSlice");
- SliceProxy *savebatview = new AbilitySliceProxy<SaveBatView, SaveBatPresenter>;
- if (savebatview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "savebatview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SAVEBAT, savebatview);
-}
-// 睡眠记录
-void NativeLauncher::InitSleepSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepSlice");
- SliceProxy *sleepview = new AbilitySliceProxy<SleepView, SleepPresenter>;
- if (sleepview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleepview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODPRESSURE, sleepview);
-}
-void NativeLauncher::InitSleepTimeSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepTimeSlice");
- SliceProxy *sleeptimeview = new AbilitySliceProxy<SleepTimeView, SleepTimePresenter>;
- if (sleeptimeview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleeptimeview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SLEEPTIME, sleeptimeview);
-}
-void NativeLauncher::InitSleepActSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepActSlice");
- SliceProxy *sleepactview = new AbilitySliceProxy<SleepActView, SleepActPresenter>;
- if (sleepactview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleepactview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SLEEPACT, sleepactview);
-}
-
-void NativeLauncher::InitGetPicSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitGetPicSlice");
- SliceProxy *getpicview = new AbilitySliceProxy<GetPicView, GetPicPresenter>;
- if (getpicview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "getpicview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_GETPIC, getpicview);
-}
-
-void NativeLauncher::InitTakePicSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitTakePicSlice");
- SliceProxy *takepicview = new AbilitySliceProxy<TakePicView, TakePicPresenter>;
- if (takepicview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "takepicview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_TAKEPIC, takepicview);
-}
-
-void NativeLauncher::InitPhoneSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneSlice");
- SliceProxy *phoneview = new AbilitySliceProxy<PhoneView, PhonePresenter>;
- if (phoneview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phoneview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONE, phoneview);
-}
-
-void NativeLauncher::InitPhoneCallSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallSlice");
- SliceProxy *phonecallview = new AbilitySliceProxy<PhoneCallView, PhoneCallPresenter>;
- if (phonecallview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALL, phonecallview);
-}
-
-void NativeLauncher::InitPhoneDirSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallSlice");
- SliceProxy *phonedirview = new AbilitySliceProxy<PhoneDirView, PhoneDirPresenter>;
- if (phonedirview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonedirview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONEDIR, phonedirview);
-}
-
-void NativeLauncher::InitPhoneCallingSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallingSlice");
- SliceProxy *phonecallingview = new AbilitySliceProxy<PhoneCallingView, PhoneCallingPresenter>;
- if (phonecallingview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallingview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALLING, phonecallingview);
-}
-
-void NativeLauncher::InitPhoneCallupSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallupSlice");
- SliceProxy *phonecallupview = new AbilitySliceProxy<PhoneCallupView, PhoneCallupPresenter>;
- if (phonecallupview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALLUP, phonecallupview);
-}
-
-void NativeLauncher::InitPhoneRingSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneRingSlice");
- SliceProxy *phoneringview = new AbilitySliceProxy<PhoneRingView, PhoneRingPresenter>;
- if (phoneringview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phoneringview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONERING, phoneringview);
-}
-
-void NativeLauncher::InitBloodSlice(void) //血氧
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *bloodview = new AbilitySliceProxy<BloodView, BloodPresenter>;
- if (bloodview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOOD, bloodview);
-}
-
-void NativeLauncher::InitBloodShowSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *bloodshowview = new AbilitySliceProxy<BloodShowView, BloodShowPresenter>;
- if (bloodshowview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODSHOW, bloodshowview);
-}
-
-void NativeLauncher::InitBloodErrorSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *blooderrorview = new AbilitySliceProxy<BloodErrorView, BloodErrorPresenter>;
- if (blooderrorview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODERROR, blooderrorview);
-}
-
-void NativeLauncher::InitBloodCheckSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *bloodcheckview = new AbilitySliceProxy<BloodCheckView, BloodCheckPresenter>;
- if (bloodcheckview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODCHECK, bloodcheckview);
-}
-
-void NativeLauncher::InitBloodNoteSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *bloodnoteview = new AbilitySliceProxy<BloodNoteView, BloodNotePresenter>;
- if (bloodnoteview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodnoteview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODNOTE, bloodnoteview);
-}
-
-void NativeLauncher::InitDialSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");
- SliceProxy *dialview = new AbilitySliceProxy<DialView, DialPresenter>;
- if (dialview == nullptr)
- {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "dialview");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_DIAL, dialview);
-}
-
-void NativeLauncher::InitHeartRemindSlice(void)
-{
- SliceProxy *heartremindview = new AbilitySliceProxy<HeartRemindView, HeartRemindPresenter>;
- NativeAbility::GetInstance().AddSliceProxy(VIEW_HEARTRATEREMIND, heartremindview);
-}
-
-void NativeLauncher::InitTraingSlice(void)
-{
- SliceProxy *traingview = new AbilitySliceProxy<TraingView, TraingPresenter>;
- NativeAbility::GetInstance().AddSliceProxy(VIEW_TRAINING, traingview);
-}
-
-
-//DisplayBrightness的实例化
-void NativeLauncher::InitUIDisplayBrightnessSlice(void)
-{
- WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitUISampleSlice");
- SliceProxy *uidisplaybrightnessView = new AbilitySliceProxy<DisplayBrightnessView, DisplayBrightnessPresenter>;
- if (uidisplaybrightnessView == nullptr) {
- WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "uidisplaybrightnessView");
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_DISPLAY_BRIGHTNESS, uidisplaybrightnessView);
-}
-
-void NativeLauncher::InitBlueToothSettingSlice(void)
-{
- SliceProxy *bluetoothsetting = new AbilitySliceProxy<BlueToothOfSettingView,BlueToothOfSettingPresenter >;
- if (bluetoothsetting == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_CONNECT_BLUETOOTH, bluetoothsetting);
-}
-
-void NativeLauncher::InitBrightnessControlSlice(void)
-{
- SliceProxy *brightnesscontrol = new AbilitySliceProxy<BrightnessControlView,BrightnessControlPresenter >;
- if (brightnesscontrol == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_BRIGHTNESS_CONTROL, brightnesscontrol);
-}
-
-void NativeLauncher::InitScreenDurationSlice(void)
-{
- SliceProxy *ScreenDuration = new AbilitySliceProxy<ScreenDurationView,ScreenDurationPresenter >;
- if (ScreenDuration == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SCREEN_DURATION, ScreenDuration);
-}
-
-void NativeLauncher::InitSoundAndVibrationSlice(void) //声音与震动
-{
- SliceProxy *SoundAndVibration = new AbilitySliceProxy<SoundAndVibrationView,SoundAndVibrationPresenter >;
- if (SoundAndVibration == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SOUND_VIBRATION, SoundAndVibration);
-}
-
-void NativeLauncher::InitQuickAccessSlice(void) //快速访问
-{
- SliceProxy *QuickAccess = new AbilitySliceProxy<QuickAccessView,QuickAccessPresenter >;
- if (QuickAccess == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_QUICK_ACCESS, QuickAccess);
-}
-
-void NativeLauncher::InitSystemSlice(void) //系统
-{
- SliceProxy *system = new AbilitySliceProxy<SystemView,SystemPresenter >;
- if (system == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM, system);
-}
-void NativeLauncher::InitSystemAboutWatchSlice(void) //系统:关于手表
-{
- SliceProxy *systemaboutwatch = new AbilitySliceProxy<SystemAboutView,SystemAboutPresenter >;
- if (systemaboutwatch == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_ABOUT_WATCH, systemaboutwatch);
-}
-
-void NativeLauncher::InitSystemSuperviseSlice(void) //系统:监管
-{
- SliceProxy *systemsupervise = new AbilitySliceProxy<SystemSuperviseView,SystemSupervisePresenter >;
- if (systemsupervise == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SUPERVISE, systemsupervise);
-}
-
-void NativeLauncher::InitSystemLanguageSlice(void) //系统:系统语言
-{
- SliceProxy *systemlanguage = new AbilitySliceProxy<SystemLanguageView,SystemLanguagePresenter >;
- if (systemlanguage == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SYSTEM_LANGUAGE, systemlanguage);
-}
-void NativeLauncher::InitSystemRebootSlice(void) //系统:重新启动
-{
- SliceProxy *systemreboot = new AbilitySliceProxy<SystemRebootView,SystemRebootPresenter >;
- if (systemreboot == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_REBOOT, systemreboot);
-}
-void NativeLauncher::InitSystemShoutDownSlice(void) //系统:关机
-{
- SliceProxy *systemshoutdown = new AbilitySliceProxy<SystemShoutDownView,SystemShoutDownPresenter >;
- if (systemshoutdown == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SHOUTDOWN, systemshoutdown);
-}
-void NativeLauncher::InitSystemFactoryResetSlice(void) //系统:恢复出厂设置
-{
- SliceProxy *systemfactoryreset = new AbilitySliceProxy<SystemFactoryResetView,SystemFactoryResetPresenter >;
- if (systemfactoryreset == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_FACTORY_RESET, systemfactoryreset);
-}
-
-void NativeLauncher::InitSystemVolumeSlice(void) //系统音量
-{
- SliceProxy *systemvolume = new AbilitySliceProxy<SystemVolumeView,SystemVolumePresenter >;
- if (systemvolume == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_VOLUME, systemvolume);
-}
-
-void NativeLauncher::InitRecordingSlice(void) //录音
-{
- SliceProxy *record = new AbilitySliceProxy<RecordView,RecordPresenter >;
- if (record == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD, record);
-}
-
-void NativeLauncher::InitRecordingListSlice(void)
-{
- SliceProxy *recordlist = new AbilitySliceProxy<RecordListView,RecordListPresenter >;
- if (recordlist == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_LIST, recordlist);
-}
-
-void NativeLauncher::InitRecordingPlaySlice(void)
-{
- SliceProxy *recordplay = new AbilitySliceProxy<RecordPlayView,RecordPlayPresenter >;
- if (recordplay == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_PLAY, recordplay);
-}
-void NativeLauncher::InitRecordingDeleteSlice(void)
-{
- SliceProxy *recorddelete = new AbilitySliceProxy<RecordDeleteView,RecordDeletePresenter >;
- if (recorddelete == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_DELETE, recorddelete);
-}
-
-void NativeLauncher::InitRecordingGoingSlice(void) //正在录音
-{
- SliceProxy *recordgoing = new AbilitySliceProxy<RecordGoingView,RecordGoingPresenter >;
- if (recordgoing == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_GOING, recordgoing);
-}
-
-void NativeLauncher::InitCompassPlaceMakerSlice(void) //指南针:放置标记点
-{
-
- SliceProxy *placemakercompass = new AbilitySliceProxy<PlaceMakerCompassView,PlaceMakerCompassPresenter >;
- if (placemakercompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PLACE_MAKER, placemakercompass);
-}
-
-void NativeLauncher::InitCompassMakerPointSlice(void) //指南针:标记点介绍
-{
- SliceProxy *makerpointcompass = new AbilitySliceProxy<MakerPointCompassView,MakerPointCompassPresenter >;
- if (makerpointcompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_MAKER_POINT, makerpointcompass);
-}
-
-void NativeLauncher::InitCompassStartPathRecordSlice(void) //指南针:开始路径记录
-{
- SliceProxy *startpathrecordcompass = new AbilitySliceProxy<StartPathRecordCompassView,StartPathRecordCompassPresenter >;
- if (startpathrecordcompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_START_PATH_RECORD, startpathrecordcompass);
-}
-
-void NativeLauncher::InitCompassEndPathRecordSlice(void) //指南针:结束路径记录
-{
- SliceProxy *endtpathrecordcompass = new AbilitySliceProxy<EndPathRecordCompassView,EndPathRecordCompassPresenter >;
- if (endtpathrecordcompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_PATH_RECORD, endtpathrecordcompass);
-}
-
-void NativeLauncher::InitCompassPathBackTrackingSlice(void) //指南针:路径回溯
-{
- SliceProxy *pathbacktrackingcompass = new AbilitySliceProxy<PathBackTrackingCompassView,PathBackTrackingCompassPresenter >;
- if (pathbacktrackingcompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PATH_BACKTRACKING, pathbacktrackingcompass);
-}
-
-void NativeLauncher::InitCompassResetPlaceMakerSlice(void) //指南针:重置标记点
-{
- SliceProxy *resetplacemakercompass = new AbilitySliceProxy<ResetPlaceMakerCompassView,ResetPlaceMakerCompassPresenter >;
- if (resetplacemakercompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_RESET_PLACE_MAKER, resetplacemakercompass);
-}
-
-void NativeLauncher::InitCompassPathRetracingSlice(void) //指南针:路径回溯中
-{
- SliceProxy *pathretracingcompass = new AbilitySliceProxy<PathRetracingCompassView,PathRetracingCompassPresenter>;
- if (pathretracingcompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PATH_RETRACING, pathretracingcompass);
-}
-void NativeLauncher::InitCompassEndBackTrackingEarlySlice() //指南针:提前结束路径回溯
-{
- SliceProxy *endbacktrackingearlycompass = new AbilitySliceProxy<EndBackTrackingEarlyCompassView,EndBackTrackingEarlyCompassPresenter>;
- if (endbacktrackingearlycompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_BACK_TRACKING_EARLY, endbacktrackingearlycompass);
-}
-
-void NativeLauncher::InitCompassEndBackTrackingSlice(void) //指南针:结束路径回溯
-{
- SliceProxy *endbacktrackingecompass = new AbilitySliceProxy<EndBackTrackingCompassView,EndBackTrackingCompassPresenter>;
- if (endbacktrackingecompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_BACK_TRACKING, endbacktrackingecompass);
-}
-
-void NativeLauncher::InitCompassGPSLossSlice(void) //指南针:GPS丢失
-{
- SliceProxy *GPSlosscompass = new AbilitySliceProxy<GPSLossCompassView,GPSLossCompassPresenter>;
- if (GPSlosscompass == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_GPS_LOSS, GPSlosscompass);
-}
-
-void NativeLauncher::InitSecondaryFunction(void) //辅助功能
-{
- SliceProxy *secondaryfunction = new AbilitySliceProxy<SecondaryFunctionView,SecondaryFunctionPresenter>;
- if (secondaryfunction == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_SECONDARY_FUNCTION, secondaryfunction);
-}
-
-void NativeLauncher::InitFastTrainingSlice(void)
-{
- SliceProxy *fasttraining = new AbilitySliceProxy<FastTrainingView,FastTrainingPresenter>;
- if (fasttraining == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_FAST_TRAINING, fasttraining);
-}
-
-void NativeLauncher::InitFastTrainingAttentionSlice(void)
-{
- SliceProxy *fasttrainingattention = new AbilitySliceProxy<FastTrainingAttentionView,FastTrainingAttentionPresenter>;
- if (fasttrainingattention == nullptr) {
- return;
- }
- NativeAbility::GetInstance().AddSliceProxy(VIEW_FAST_TRAINING_ATTENTION, fasttrainingattention);
-}
-}
+/*\r
+ * Copyright (c) 2020-2021 CompanyNameMagicTag.\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#include "NativeLauncher.h"\r
+#include "MainView.h"\r
+#include "MainPresenter.h"\r
+#include "SliceProxy.h"\r
+#include "AbilitySliceProxy.h"\r
+#include "wearable_log.h"\r
+#include "MainViewSample.h"\r
+#include "MainPresenterSample.h"\r
+#include "SettingView.h"\r
+#include "SettingPresenter.h"\r
+#include "ApplistView.h"\r
+#include "ApplistPresenter.h"\r
+#include "BloodOxygenView.h"\r
+#include "BloodOxygenPresenter.h"\r
+#include "CallerLogView.h"\r
+#include "CallerLogPresenter.h"\r
+#include "MainCallingView.h"\r
+#include "MainCallingPresenter.h"\r
+#include "ActivityPresenter.h"\r
+#include "MainAlarmView.h"\r
+#include "AlarmPresenter.h"\r
+#include "AlarmPopUpPresenter.h"\r
+#include "AlarmPopUpView.h"\r
+#include "MainBluetoothView.h"\r
+#include "BluetoothPresenter.h"\r
+#include "PlayersModel.h"\r
+#include "HealthModel.h"\r
+#include "PresenterTask.h"\r
+#include "MainCompassPresenter.h"\r
+#include "MainCompassView.h"\r
+#include "CallerLogModel.h"\r
+#include "VocassistPresenter.h"\r
+#include "MainVocassistView.h"\r
+#include "VocassistModel.h"\r
+#include "ConnectPhonePresenter.h"\r
+#include "ConnectPhoneView.h"\r
+#include "ScreenModels.h"\r
+#include "TempMainView.h"\r
+#include "TempPresenter.h"\r
+#include "IndoorWalkPresenter.h"\r
+#include "IndoorWalkView.h"\r
+#include "RebootView.h"\r
+#include "RebootPresenter.h"\r
+#include "UISampleView.h"\r
+#include "UISamplePresenter.h"\r
+#include "BluetoothHeadsetEvent.h"\r
+#include "graphic_hardware_config.h"\r
+#include "graphic_service.h"\r
+#include "common/graphic_startup.h"\r
+#include "saveele/include/SaveEleView.h"\r
+#include "saveele/include/SaveElePresenter.h"\r
+#include "saveele/include/SaveBatView.h"\r
+#include "saveele/include/SaveBatPresenter.h"\r
+#include "sleep/include/SleepView.h"\r
+#include "sleep/include/SleepPresenter.h"\r
+#include "sleep/include/SleepTimeView.h"\r
+#include "sleep/include/SleepTimePresenter.h"\r
+#include "sleep/include/SleepActView.h"\r
+#include "sleep/include/SleepActPresenter.h"\r
+#include "getpic/include/GetPicView.h"\r
+#include "getpic/include/GetPicPresenter.h"\r
+#include "getpic/include/TakePicView.h"\r
+#include "getpic/include/TakePicPresenter.h"\r
+#include "phone/include/PhoneView.h"\r
+#include "phone/include/PhonePresenter.h"\r
+#include "phone/include/PhoneCallView.h"\r
+#include "phone/include/PhoneCallPresenter.h"\r
+#include "phone/include/PhoneDirView.h"\r
+#include "phone/include/PhoneDirPresenter.h"\r
+#include "phone/include/PhoneCallingView.h"\r
+#include "phone/include/PhoneCallingPresenter.h"\r
+#include "phone/include/PhoneCallupView.h"\r
+#include "phone/include/PhoneCallupPresenter.h"\r
+#include "phone/include/PhoneRingView.h"\r
+#include "phone/include/PhoneRingPresenter.h"\r
+#include "blood/include/BloodView.h"\r
+#include "blood/include/BloodPresenter.h"\r
+#include "blood/include/BloodCheckPresenter.h"\r
+#include "blood/include/BloodCheckView.h"\r
+#include "blood/include/BloodShowPresenter.h"\r
+#include "blood/include/BloodShowView.h"\r
+#include "blood/include/BloodErrorPresenter.h"\r
+#include "blood/include/BloodNoteView.h"\r
+#include "blood/include/BloodNotePresenter.h"\r
+#include "dial/include/DialPresenter.h"\r
+#include "dial/include/DialView.h"\r
+#include "heartrate/include/HeartRemindPresenter.h"\r
+#include "heartrate/include/HeartRemindView.h"\r
++#include "traing/include/TraingPresenter.h"\r
++#include "traing/include/TraingView.h"\r
+#include "displaybrightness/include/DisplayBrightnessPresenter.h"\r
+#include "displaybrightness/include/DisplayBrightnessView.h"\r
+#include "bluetoothofsetting/include/BlueToothOfSettingPresenter.h"\r
+#include "bluetoothofsetting/include/BlueToothOfSettingView.h"\r
+#include "displaybrightness/include/BrightnessControlPresenter.h"\r
+#include "displaybrightness/include/BrightnessControlView.h"\r
+#include "displaybrightness/include/ScreenDurationPresenter.h"\r
+#include "displaybrightness/include/ScreenDurationView.h"\r
+#include "soundandvibration/include/SoundAndVibrationPresenter.h"\r
+#include "soundandvibration/include/SoundAndVibrationView.h"\r
+#include "soundandvibration/include/SystemVolumePresenter.h"\r
+#include "soundandvibration/include/SystemVolumeView.h"\r
+#include "soundandvibration/include/CallVolumePresenter.h"\r
+#include "soundandvibration/include/CallVolumeView.h"\r
+#include "soundandvibration/include/MediaVolumePresenter.h"\r
+#include "soundandvibration/include/MediaVolumeView.h"\r
+#include "secondaryfunction/include/QuickAccessPresenter.h"\r
+#include "secondaryfunction/include/QuickAccessView.h"\r
+#include "system/include/SystemPresenter.h"\r
+#include "system/include/SystemView.h"\r
+#include "system/include/SystemAboutPresenter.h"\r
+#include "system/include/SystemAboutView.h"\r
+#include "system/include/SystemSupervisePresenter.h"\r
+#include "system/include/SystemSuperviseView.h"\r
+#include "system/include/SystemLanguagePresenter.h"\r
+#include "system/include/SystemLanguageView.h"\r
+#include "system/include/SystemRebootPresenter.h"\r
+#include "system/include/SystemRebootView.h"\r
+#include "system/include/SystemShoutDownPresenter.h"\r
+#include "system/include/SystemShoutDownView.h"\r
+#include "system/include/SystemFactoryResetPresenter.h"\r
+#include "system/include/SystemFactoryResetView.h"\r
+#include "record/include/RecordPresenter.h"\r
+#include "record/include/RecordView.h"\r
+#include "record/include/RecordListPresenter.h"\r
+#include "record/include/RecordListView.h"\r
+#include "record/include/RecordPlayPresenter.h"\r
+#include "record/include/RecordPlayView.h"\r
+#include "record/include/RecordDeletePresenter.h"\r
+#include "record/include/RecordDeleteView.h"\r
+#include "record/include/RecordGoingPresenter.h"\r
+#include "record/include/RecordGoingView.h"\r
+#include "PlaceMakerCompassPresenter.h"\r
+#include "PlaceMakerCompassView.h"\r
+#include "MakerPointCompassPresenter.h"\r
+#include "MakerPointCompassView.h"\r
+#include "StartPathRecordCompassPresenter.h"\r
+#include "StartPathRecordCompassView.h"\r
+#include "EndPathRecordCompassPresenter.h"\r
+#include "EndPathRecordCompassView.h"\r
+#include "PathBackTrackingCompassPresenter.h"\r
+#include "PathBackTrackingCompassView.h"\r
+#include "ResetPlaceMakerCompassPresenter.h"\r
+#include "ResetPlaceMakerCompassView.h"\r
+#include "PathRetracingCompassPresenter.h"\r
+#include "PathRetracingCompassView.h"\r
+#include "EndBackTrackingEarlyCompassPresenter.h"\r
+#include "EndBackTrackingEarlyCompassView.h"\r
+#include "EndBackTrackingCompassPresenter.h"\r
+#include "EndBackTrackingCompassView.h"\r
+#include "GPSLossCompassPresenter.h"\r
+#include "GPSLossCompassView.h"\r
+#include "secondaryfunction/include/SecondaryFunctionPresenter.h"\r
+#include "secondaryfunction/include/SecondaryFunctionView.h"\r
+#include "secondaryfunction/include/FastTrainingPresenter.h"\r
+#include "secondaryfunction/include/FastTrainingView.h"\r
+#include "secondaryfunction/include/FastTrainingAttentionPresenter.h"\r
+#include "secondaryfunction/include/FastTrainingAttentionView.h"\r
+namespace OHOS {\r
+struct AppViewMapper\r
+{\r
+ AppViewId id;\r
+ void (NativeLauncher::*func)(void);\r
+};\r
+\r
+struct ViewIdToString\r
+{\r
+ AppViewId id;\r
+ char idForUikit[256];\r
+};\r
+\r
+static const AppViewMapper SLICE_MAPPER[] = {\r
+ {VIEW_MAIN, &NativeLauncher::InitMainSlice},\r
+ {VIEW_SETTING, &NativeLauncher::InitSettingSlice},\r
+ {VIEW_APPLIST, &NativeLauncher::InitApplistSlice},\r
+ {VIEW_MAIN_SAMPLE, &NativeLauncher::InitMainSampleSlice},\r
+ {VIEW_MAIN_ALARM, &NativeLauncher::InitMainAlarmSlice},\r
+ {VIEW_ALARM_POP_UP, &NativeLauncher::InitAlarmPopUpSlice},\r
+ {VIEW_BLOODOXY_SAMPLE, &NativeLauncher::InitMainBloodOxyView},\r
+ {VIEW_MAIN_ACTIVITY, &NativeLauncher::InitActivitySlice},\r
+ {VIEW_CALLER_SAMPLE,&NativeLauncher::InitMainCallerLogView},\r
+ {VIEW_MAEKPHONE_SAMPLE,&NativeLauncher::InitMainMakePhoneView},\r
+ {VIEW_BLUETOOTH_EARPHONE, &NativeLauncher::InitBluetoothSlice},\r
+ {VIEW_COMPASS, &NativeLauncher::InitCompassSlice},\r
+ {VIEW_OFFLINEVOICE, &NativeLauncher::InitOfflineVoice},\r
+ {VIEW_CONNECT_PHONE, &NativeLauncher::InitConnectPhoneSlice},\r
+ {VIEW_MAIN_TEMP, &NativeLauncher::InitMainTempSlice},\r
+ {VIEW_INDOORWALK, &NativeLauncher::InitIndoorWalkSlice},\r
+ {VIEW_REBOOT, &NativeLauncher::InitRebootSlice},\r
+ {VIEW_SAVEELE, &NativeLauncher::InitSaveEleSlice},\r
+ {VIEW_SAVEBAT, &NativeLauncher::InitSaveBatSlice},\r
+ {VIEW_BLOODPRESSURE, &NativeLauncher::InitSleepSlice},\r
+ {VIEW_SLEEPTIME, &NativeLauncher::InitSleepTimeSlice},\r
+ {VIEW_SLEEPACT, &NativeLauncher::InitSleepActSlice},\r
+ {VIEW_GETPIC, &NativeLauncher::InitGetPicSlice}, //拍照\r
+ {VIEW_TAKEPIC, &NativeLauncher::InitTakePicSlice},\r
+ {VIEW_PHONE, &NativeLauncher::InitPhoneSlice}, //电话\r
+ {VIEW_PHONECALL, &NativeLauncher::InitPhoneCallSlice},\r
+ {VIEW_PHONEDIR, &NativeLauncher::InitPhoneDirSlice},\r
+ {VIEW_PHONECALLING, &NativeLauncher::InitPhoneCallingSlice},\r
+ {VIEW_PHONECALLUP, &NativeLauncher::InitPhoneCallupSlice},\r
+ {VIEW_PHONERING, &NativeLauncher::InitPhoneRingSlice},\r
+ {VIEW_BLOOD, &NativeLauncher::InitBloodSlice}, //血氧\r
+ {VIEW_BLOODSHOW, &NativeLauncher::InitBloodShowSlice},\r
+ {VIEW_BLOODCHECK, &NativeLauncher::InitBloodCheckSlice},\r
+ {VIEW_BLOODERROR, &NativeLauncher::InitBloodErrorSlice},\r
+ {VIEW_BLOODNOTE, &NativeLauncher::InitBloodNoteSlice}, \r
+ {VIEW_DIAL, &NativeLauncher::InitDialSlice}, //表盘\r
+ {VIEW_HEARTRATEREMIND, &NativeLauncher::InitHeartRemindSlice}, \r
+\r
++ {VIEW_TRAINING, &NativeLauncher::InitTraingSlice}, //训练\r
++\r
+ {VIEW_DISPLAY_BRIGHTNESS,&NativeLauncher::InitUIDisplayBrightnessSlice}, //显示与亮度的实例化地址\r
+ {VIEW_CONNECT_BLUETOOTH,&NativeLauncher::InitBlueToothSettingSlice}, //蓝牙设置的实例化地址\r
+ {VIEW_BRIGHTNESS_CONTROL,&NativeLauncher::InitBrightnessControlSlice}, //调节亮度的实例化地址\r
+ {VIEW_SCREEN_DURATION,&NativeLauncher::InitScreenDurationSlice}, //亮屏时长实例化地址\r
+ {VIEW_SOUND_VIBRATION,&NativeLauncher::InitSoundAndVibrationSlice}, //声音与震动实例化地址\r
+ {VIEW_SYSTEM_VOLUME,&NativeLauncher::InitSystemVolumeSlice}, //系统音量\r
+ {VIEW_CALL_VOLUME,&NativeLauncher::InitCallVolumeSlice}, //通话音量\r
+ {VIEW_MEDIA_VOLUME,&NativeLauncher::InitMediaVolumeSlice}, //媒体音量\r
+ {VIEW_QUICK_ACCESS,&NativeLauncher::InitQuickAccessSlice}, //快速访问实例化地址\r
+ {VIEW_SYSTEM,&NativeLauncher::InitSystemSlice}, //系统实例化地址\r
+ {VIEW_SYSTEM_ABOUT_WATCH,&NativeLauncher::InitSystemAboutWatchSlice}, //系统:关于手表实例化地址\r
+ {VIEW_SYSTEM_SUPERVISE,&NativeLauncher::InitSystemSuperviseSlice}, //系统:监管实例化地址\r
+ {VIEW_SYSTEM_SYSTEM_LANGUAGE,&NativeLauncher::InitSystemLanguageSlice}, //系统:系统语言实例化地址\r
+ {VIEW_SYSTEM_REBOOT,&NativeLauncher::InitSystemRebootSlice}, //系统:重启实例化地址\r
+ {VIEW_SYSTEM_SHOUTDOWN,&NativeLauncher::InitSystemShoutDownSlice}, //系统:关机实例化地址\r
+ {VIEW_SYSTEM_FACTORY_RESET,&NativeLauncher::InitSystemFactoryResetSlice}, //系统:恢复出厂设置实例化地址\r
+ {VIEW_RECORD,&NativeLauncher::InitRecordingSlice}, //录音实例化地址\r
+ {VIEW_RECORD_LIST,&NativeLauncher::InitRecordingListSlice},\r
+ {VIEW_RECORD_PLAY,&NativeLauncher::InitRecordingPlaySlice},\r
+ {VIEW_RECORD_DELETE,&NativeLauncher::InitRecordingDeleteSlice},\r
+ {VIEW_RECORD_DELETE,&NativeLauncher::InitRecordingDeleteSlice},\r
+ {VIEW_RECORD_GOING,&NativeLauncher::InitRecordingGoingSlice},\r
+ {VIEW_COMPASS_PLACE_MAKER,&NativeLauncher::InitCompassPlaceMakerSlice}, //指南针放置标记点实例化地址\r
+ {VIEW_COMPASS_MAKER_POINT,&NativeLauncher::InitCompassMakerPointSlice}, //指南针标记点介绍实例化地址\r
+ {VIEW_COMPASS_START_PATH_RECORD,&NativeLauncher::InitCompassStartPathRecordSlice}, //指南针开始路径记录实例化地址\r
+ {VIEW_COMPASS_END_PATH_RECORD,&NativeLauncher::InitCompassEndPathRecordSlice}, //指南针结束路径记录实例化地址\r
+ {VIEW_COMPASS_PATH_BACKTRACKING,&NativeLauncher::InitCompassPathBackTrackingSlice}, //指南针路径回溯实例化地址\r
+ {VIEW_COMPASS_RESET_PLACE_MAKER,&NativeLauncher::InitCompassResetPlaceMakerSlice}, //指南针重置标记点实例化地址\r
+ {VIEW_COMPASS_PATH_RETRACING,&NativeLauncher::InitCompassPathRetracingSlice}, //指南针路径回溯实例化地址\r
+ {VIEW_COMPASS_END_BACK_TRACKING,&NativeLauncher::InitCompassEndBackTrackingSlice}, //指南针结束路径回溯\r
+ {VIEW_COMPASS_END_BACK_TRACKING_EARLY,&NativeLauncher::InitCompassEndBackTrackingEarlySlice},//指南针提前结束路径回溯\r
+ {VIEW_COMPASS_GPS_LOSS,&NativeLauncher::InitCompassGPSLossSlice}, //指南针GPS丢失实例化地址\r
+ {VIEW_SECONDARY_FUNCTION,&NativeLauncher::InitSecondaryFunction}, //按键按下进入辅助功能\r
+ {VIEW_FAST_TRAINING,&NativeLauncher::InitFastTrainingSlice}, //快速训练\r
+ {VIEW_FAST_TRAINING_ATTENTION,&NativeLauncher::InitFastTrainingAttentionSlice}, //快速训练\r
+ {VIEW_UISAMPLE, &NativeLauncher::InitUISampleSlice}\r
+};\r
+\r
+static const ViewIdToString VIEW_MAPPER[] = {\r
+ {VIEW_MAIN, "main"},\r
+ {VIEW_SETTING, "setting"},\r
+ {VIEW_APPLIST, "applist"},\r
+ {VIEW_MAIN_SAMPLE, "mainViewSample"},\r
+ {VIEW_MAIN_ALARM, "mainAlarmView"},\r
+ {VIEW_ALARM_POP_UP, "alarmPopUpView"},\r
+ {VIEW_BLOODOXY_SAMPLE, "bloodOxygenView"},\r
+ {VIEW_MAIN_ACTIVITY, "mainActivityView"},\r
+ {VIEW_CALLER_SAMPLE, "callerLogView"},\r
+ {VIEW_MAEKPHONE_SAMPLE, "makePhoneView"},\r
+ {VIEW_BLUETOOTH_EARPHONE, "mainBluetoothView"},\r
+ {VIEW_COMPASS, "mainCompassView"},\r
+ {VIEW_OFFLINEVOICE, "offlineVoiceView"},\r
+ {VIEW_CONNECT_PHONE, "ConnectPhoneView"},\r
+ {VIEW_MAIN_TEMP, "mianTempView"},\r
+ {VIEW_INDOORWALK, "IndoorWalkView"},\r
+ {VIEW_REBOOT, "RebootView"},\r
+ {VIEW_DISPLAY_BRIGHTNESS,"DisplayBrightness"}, //显示与亮度\r
+ {VIEW_CONNECT_BLUETOOTH,"BlueToothSetting"}, //蓝牙\r
+ {VIEW_BRIGHTNESS_CONTROL,"BrightnessControl"}, //亮度调节\r
+ {VIEW_SCREEN_DURATION,"ScreenDuration"}, //亮屏时长\r
+ {VIEW_SOUND_VIBRATION,"SoundAndVibration"}, //声音与震动\r
+ {VIEW_SYSTEM_VOLUME,"SystemVolume"}, //系统音量\r
+ {VIEW_CALL_VOLUME,"CallVolume"}, //通话音量\r
+ {VIEW_MEDIA_VOLUME,"MediaVolume"}, //媒体音量\r
+ {VIEW_QUICK_ACCESS,"QuickAccess"}, //快速访问\r
+ {VIEW_SYSTEM,"System"}, //系统\r
+ {VIEW_SYSTEM_ABOUT_WATCH,"SystemAboutWatch"}, //系统:关于手表\r
+ {VIEW_SYSTEM_SUPERVISE,"SystemSupervise"}, //系统:监管 \r
+ {VIEW_SYSTEM_SYSTEM_LANGUAGE,"SystemLanguage"}, //系统:系统语言\r
+ {VIEW_SYSTEM_REBOOT,"SystemReboot"}, //系统:重新启动\r
+ {VIEW_SYSTEM_SHOUTDOWN,"SystemShoutDown"}, //系统:关机 \r
+ {VIEW_SYSTEM_FACTORY_RESET,"SystemFactoryReset"},//系统:恢复出厂设置 \r
+ {VIEW_RECORD,"Recording"}, //录音\r
+ {VIEW_RECORD_LIST,"RecordingList"},\r
+ {VIEW_RECORD_PLAY,"RecordingPlay"},\r
+ {VIEW_RECORD_DELETE,"RecordingDelete"},\r
+ {VIEW_RECORD_GOING,"RecordingGoing"},\r
+ {VIEW_COMPASS_PLACE_MAKER,"PlaceMakerCompass"}, //指南针放置标记点\r
+ {VIEW_COMPASS_MAKER_POINT,"MakerPointCompass"}, //指南针标记点介绍\r
+ {VIEW_COMPASS_START_PATH_RECORD,"StartPathRecordCompass"}, //指南针开始路径记录\r
+ {VIEW_COMPASS_END_PATH_RECORD,"StartPathRecordCompass"}, //指南针结束路径记录\r
+ {VIEW_COMPASS_PATH_BACKTRACKING,"PathBackTrackingCompass"}, //指南针路径回溯\r
+ {VIEW_COMPASS_RESET_PLACE_MAKER,"ResetPlaceMakerCompass"}, //指南针重置路径标记点\r
+ {VIEW_COMPASS_PATH_RETRACING,"PathRetracingCompass"}, //指南针路径回溯中\r
+ {VIEW_COMPASS_END_BACK_TRACKING_EARLY,"EndBackTrackingEarlyCompass"},//指南针提前结束路径回溯\r
+ {VIEW_COMPASS_END_BACK_TRACKING,"EndBackTrackingCompass"}, //指南针提前结束路径回溯\r
+ {VIEW_COMPASS_GPS_LOSS,"GPSLossCompass"}, //指南针GPS丢失\r
+ {VIEW_SECONDARY_FUNCTION,"SecondaryFunction"}, //辅助功能\r
+ {VIEW_FAST_TRAINING,"FastTraining"}, //快速训练\r
+ {VIEW_FAST_TRAINING_ATTENTION,"FastTrainingAttention"}, \r
+ {VIEW_UISAMPLE, "UISample"}\r
+};\r
+\r
+NativeLauncher::NativeLauncher() {}\r
+NativeLauncher::~NativeLauncher() {}\r
+\r
+NativeLauncher &NativeLauncher::GetInstance(void)\r
+{\r
+ static NativeLauncher instance;\r
+ return instance;\r
+}\r
+\r
+void NativeLauncher::InitNativeLauncher() {\r
+ GraphicStartUp::InitFontEngine(MEM_POOL_UI_FONT, MEM_POOL_UI_FONT_SIZE, OHOS::VECTOR_FONT_DIR, DEFAULT_VECTOR_FONT_FILENAME);\r
+ WEARABLE_LOGI(WEARABLE_LOG_MODULE_LAUNCHER_FWK, "NativeLauncher::InitNativeLauncher");\r
+ // 初始化所有预加载slice\r
+ InitBtHeadsetEvent(); // 蓝牙ct和tg适配初始化\r
+ InitAllNativeSlices();\r
+ CallerLogModel::GetInstance()->InitPhoneService();\r
+ PresenterTask::GetInstance()->Init();\r
+ PlayersModel::GetInstance()->AudioInit();\r
+ ActivityModel::GetInstance()->Init();\r
+ ScreenModels::GetInstance()->InitCardConfig();\r
+ VocassistModel::GetInstance()->Init();\r
+ HeartModel::GetInstance()->Init();\r
+ BluetoothModel::GetInstance()->Init();\r
+ // 初始化默认首页\r
+ ScreenModels::GetInstance()->PreLoadAppimages();\r
+ NativeAbility::GetInstance().SetDefaultSliceId(VIEW_MAIN_SAMPLE);\r
+}\r
+\r
+void NativeLauncher::InitAllNativeSlices(void)\r
+{\r
+ uint16_t size = sizeof(SLICE_MAPPER) / sizeof(SLICE_MAPPER[0]);\r
+ for (int index = 0; index < size; index++) {\r
+ if ((SLICE_MAPPER[index].id >= VIEW_MAX_INTER_APP)) {\r
+ continue;\r
+ }\r
+ (this->*(SLICE_MAPPER[index].func))();\r
+ }\r
+ return;\r
+}\r
+\r
+void NativeLauncher::InitMainSlice(void)\r
+{\r
+ SliceProxy *mainSlice = new AbilitySliceProxy<MainView, MainPresenter>;\r
+ if (mainSlice != nullptr) {\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN, mainSlice);\r
+ }\r
+}\r
+\r
+\r
+void NativeLauncher::InitMainSampleSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainSampleSlice");\r
+ SliceProxy *mainViewSample = new AbilitySliceProxy<MainViewSample, MainPresenterSample>;\r
+ if (mainViewSample == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainViewSample is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_SAMPLE, mainViewSample);\r
+}\r
+\r
+void NativeLauncher::InitMainAlarmSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainAlarmSlice");\r
+ SliceProxy *mainAlarmView = new AbilitySliceProxy<MainAlarmView, AlarmPresenter>;\r
+ if (mainAlarmView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainAlarmView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_ALARM, mainAlarmView);\r
+}\r
+\r
+void NativeLauncher::InitMainTempSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainTempSlice");\r
+ SliceProxy *mainTempView = new AbilitySliceProxy<TempMainView, TempPresenter>;\r
+ if (mainTempView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainTempView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_TEMP, mainTempView);\r
+}\r
+\r
+void NativeLauncher::InitCompassSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::MainCompassView");\r
+ SliceProxy *mainCompassView = new AbilitySliceProxy<MainCompassView, MainCompassPresenter>;\r
+ if (mainCompassView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainCompassView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS, mainCompassView);\r
+}\r
+\r
+void NativeLauncher::InitIndoorWalkSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::IndoorWalkView");\r
+ SliceProxy *indoorWalkView = new AbilitySliceProxy<IndoorWalkView, IndoorWalkPresenter>;\r
+ if (indoorWalkView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "indoorWalkView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_INDOORWALK, indoorWalkView);\r
+}\r
+\r
+void NativeLauncher::InitRebootSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::RebootView");\r
+ SliceProxy *rebootView = new AbilitySliceProxy<RebootView, RebootPresenter>;\r
+ if (rebootView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "rebootView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_REBOOT, rebootView);\r
+}\r
+\r
+void NativeLauncher::InitConnectPhoneSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::ConnectPhoneView");\r
+ SliceProxy *connectPhoneView = new AbilitySliceProxy<ConnectPhoneView, ConnectPhonePresenter>;\r
+ if (connectPhoneView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "connectPhoneView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_CONNECT_PHONE, connectPhoneView);\r
+}\r
+\r
+void NativeLauncher::InitAlarmPopUpSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitAlarmPopUpSlice");\r
+ SliceProxy *alarmPopUpView = new AbilitySliceProxy<AlarmPopUpView, AlarmPopUpPresenter>;\r
+ if (alarmPopUpView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainAlarmView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_ALARM_POP_UP, alarmPopUpView);\r
+}\r
+\r
+void NativeLauncher::InitMainBloodOxyView(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainBloodOxyView");\r
+ SliceProxy *bloodOxygenView = new AbilitySliceProxy<BloodOxygenView, BloodOxygenPresenter>;\r
+ if (bloodOxygenView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodOxygenView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODOXY_SAMPLE, bloodOxygenView);\r
+}\r
+\r
+void NativeLauncher::InitMainMakePhoneView(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainMakePhoneView");\r
+ SliceProxy *makePhoneView = new AbilitySliceProxy<MainCallingView, MainCallingPresenter>;\r
+ if (makePhoneView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "makePhoneView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAEKPHONE_SAMPLE, makePhoneView);\r
+}\r
+\r
+void NativeLauncher::InitMainCallerLogView(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitMainCallerLogView");\r
+ SliceProxy *callerLogView = new AbilitySliceProxy<CallerLogView, CallerLogPresenter>;\r
+ if (callerLogView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "callerLogView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_CALLER_SAMPLE, callerLogView);\r
+}\r
+\r
+void NativeLauncher::InitActivitySlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitWeekStepSlice");\r
+ SliceProxy *mainActivityView = new AbilitySliceProxy<MainActivityView, ActivityPresenter>;\r
+ if (mainActivityView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainActivityView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MAIN_ACTIVITY, mainActivityView);\r
+}\r
+\r
+void NativeLauncher::InitBluetoothSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeAbility::InitBluetoothSlice");\r
+ SliceProxy *mainBluetoothView = new AbilitySliceProxy<MainBluetoothView, BluetoothPresenter>;\r
+ if (mainBluetoothView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "mainBluetoothView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLUETOOTH_EARPHONE, mainBluetoothView);\r
+}\r
+\r
+void NativeLauncher::InitSettingSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSettingSlice");\r
+ SliceProxy *settingView = new AbilitySliceProxy<SettingView, SettingPresenter>;\r
+ if (settingView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "settingView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SETTING, settingView);\r
+}\r
+\r
+void NativeLauncher::InitApplistSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitApplistSlice");\r
+ SliceProxy *applistView = new AbilitySliceProxy<ApplistView, ApplistPresenter>;\r
+ if (applistView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "applistView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_APPLIST, applistView);\r
+}\r
+\r
+void NativeLauncher::InitOfflineVoice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitOfflineVoice");\r
+ SliceProxy *offlineVoiceView = new AbilitySliceProxy<MainVocassistView, VocassistPresenter>;\r
+ if (offlineVoiceView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "offlineVoiceView is nullptr");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_OFFLINEVOICE, offlineVoiceView);\r
+}\r
+\r
+void NativeLauncher::InitUISampleSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitUISampleSlice");\r
+ SliceProxy *uisampleView = new AbilitySliceProxy<UISampleView, UISamplePresenter>;\r
+ if (uisampleView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "uisampleView");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_UISAMPLE, uisampleView);\r
+}\r
+// 省电模式\r
+void NativeLauncher::InitSaveEleSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSaveEleSlice");\r
+ SliceProxy *saveeleview = new AbilitySliceProxy<SaveEleView, SaveElePresenter>;\r
+ if (saveeleview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "saveeleview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SAVEELE, saveeleview);\r
+}\r
+\r
+void NativeLauncher::InitSaveBatSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSaveBatSlice");\r
+ SliceProxy *savebatview = new AbilitySliceProxy<SaveBatView, SaveBatPresenter>;\r
+ if (savebatview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "savebatview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SAVEBAT, savebatview);\r
+}\r
+// 睡眠记录\r
+void NativeLauncher::InitSleepSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepSlice");\r
+ SliceProxy *sleepview = new AbilitySliceProxy<SleepView, SleepPresenter>;\r
+ if (sleepview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleepview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODPRESSURE, sleepview);\r
+}\r
+void NativeLauncher::InitSleepTimeSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepTimeSlice");\r
+ SliceProxy *sleeptimeview = new AbilitySliceProxy<SleepTimeView, SleepTimePresenter>;\r
+ if (sleeptimeview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleeptimeview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SLEEPTIME, sleeptimeview);\r
+}\r
+void NativeLauncher::InitSleepActSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitSleepActSlice");\r
+ SliceProxy *sleepactview = new AbilitySliceProxy<SleepActView, SleepActPresenter>;\r
+ if (sleepactview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "sleepactview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SLEEPACT, sleepactview);\r
+}\r
+ \r
+void NativeLauncher::InitGetPicSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitGetPicSlice");\r
+ SliceProxy *getpicview = new AbilitySliceProxy<GetPicView, GetPicPresenter>;\r
+ if (getpicview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "getpicview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_GETPIC, getpicview);\r
+}\r
+\r
+void NativeLauncher::InitTakePicSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitTakePicSlice");\r
+ SliceProxy *takepicview = new AbilitySliceProxy<TakePicView, TakePicPresenter>;\r
+ if (takepicview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "takepicview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_TAKEPIC, takepicview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneSlice");\r
+ SliceProxy *phoneview = new AbilitySliceProxy<PhoneView, PhonePresenter>;\r
+ if (phoneview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phoneview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONE, phoneview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneCallSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallSlice");\r
+ SliceProxy *phonecallview = new AbilitySliceProxy<PhoneCallView, PhoneCallPresenter>;\r
+ if (phonecallview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALL, phonecallview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneDirSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallSlice");\r
+ SliceProxy *phonedirview = new AbilitySliceProxy<PhoneDirView, PhoneDirPresenter>;\r
+ if (phonedirview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonedirview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONEDIR, phonedirview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneCallingSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallingSlice");\r
+ SliceProxy *phonecallingview = new AbilitySliceProxy<PhoneCallingView, PhoneCallingPresenter>;\r
+ if (phonecallingview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallingview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALLING, phonecallingview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneCallupSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneCallupSlice");\r
+ SliceProxy *phonecallupview = new AbilitySliceProxy<PhoneCallupView, PhoneCallupPresenter>;\r
+ if (phonecallupview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phonecallview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONECALLUP, phonecallupview);\r
+}\r
+\r
+void NativeLauncher::InitPhoneRingSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitPhoneRingSlice");\r
+ SliceProxy *phoneringview = new AbilitySliceProxy<PhoneRingView, PhoneRingPresenter>;\r
+ if (phoneringview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "phoneringview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_PHONERING, phoneringview);\r
+}\r
+\r
+void NativeLauncher::InitBloodSlice(void) //血氧\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *bloodview = new AbilitySliceProxy<BloodView, BloodPresenter>;\r
+ if (bloodview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOOD, bloodview);\r
+}\r
+\r
+void NativeLauncher::InitBloodShowSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *bloodshowview = new AbilitySliceProxy<BloodShowView, BloodShowPresenter>;\r
+ if (bloodshowview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODSHOW, bloodshowview);\r
+}\r
+\r
+void NativeLauncher::InitBloodErrorSlice(void) \r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *blooderrorview = new AbilitySliceProxy<BloodErrorView, BloodErrorPresenter>;\r
+ if (blooderrorview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODERROR, blooderrorview);\r
+}\r
+\r
+void NativeLauncher::InitBloodCheckSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *bloodcheckview = new AbilitySliceProxy<BloodCheckView, BloodCheckPresenter>;\r
+ if (bloodcheckview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODCHECK, bloodcheckview);\r
+}\r
+\r
+void NativeLauncher::InitBloodNoteSlice(void) \r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *bloodnoteview = new AbilitySliceProxy<BloodNoteView, BloodNotePresenter>;\r
+ if (bloodnoteview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "bloodnoteview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BLOODNOTE, bloodnoteview);\r
+}\r
+\r
+void NativeLauncher::InitDialSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitBloodSlice");\r
+ SliceProxy *dialview = new AbilitySliceProxy<DialView, DialPresenter>;\r
+ if (dialview == nullptr)\r
+ {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "dialview");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_DIAL, dialview);\r
+}\r
+\r
+void NativeLauncher::InitHeartRemindSlice(void)\r
+{\r
+ SliceProxy *heartremindview = new AbilitySliceProxy<HeartRemindView, HeartRemindPresenter>;\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_HEARTRATEREMIND, heartremindview);\r
+}\r
+\r
++void NativeLauncher::InitTraingSlice(void)\r
++{\r
++ SliceProxy *traingview = new AbilitySliceProxy<TraingView, TraingPresenter>;\r
++ NativeAbility::GetInstance().AddSliceProxy(VIEW_TRAINING, traingview);\r
++}\r
++\r
++\r
+//DisplayBrightness的实例化\r
+void NativeLauncher::InitUIDisplayBrightnessSlice(void)\r
+{\r
+ WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "NativeLauncher::InitUISampleSlice");\r
+ SliceProxy *uidisplaybrightnessView = new AbilitySliceProxy<DisplayBrightnessView, DisplayBrightnessPresenter>;\r
+ if (uidisplaybrightnessView == nullptr) {\r
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "uidisplaybrightnessView");\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_DISPLAY_BRIGHTNESS, uidisplaybrightnessView);\r
+}\r
+\r
+void NativeLauncher::InitBlueToothSettingSlice(void)\r
+{\r
+ SliceProxy *bluetoothsetting = new AbilitySliceProxy<BlueToothOfSettingView,BlueToothOfSettingPresenter >;\r
+ if (bluetoothsetting == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_CONNECT_BLUETOOTH, bluetoothsetting);\r
+}\r
+\r
+void NativeLauncher::InitBrightnessControlSlice(void)\r
+{\r
+ SliceProxy *brightnesscontrol = new AbilitySliceProxy<BrightnessControlView,BrightnessControlPresenter >;\r
+ if (brightnesscontrol == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_BRIGHTNESS_CONTROL, brightnesscontrol);\r
+}\r
+\r
+void NativeLauncher::InitScreenDurationSlice(void)\r
+{\r
+ SliceProxy *ScreenDuration = new AbilitySliceProxy<ScreenDurationView,ScreenDurationPresenter >;\r
+ if (ScreenDuration == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SCREEN_DURATION, ScreenDuration);\r
+}\r
+\r
+void NativeLauncher::InitSoundAndVibrationSlice(void) //声音与震动\r
+{\r
+ SliceProxy *SoundAndVibration = new AbilitySliceProxy<SoundAndVibrationView,SoundAndVibrationPresenter >;\r
+ if (SoundAndVibration == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SOUND_VIBRATION, SoundAndVibration);\r
+}\r
+\r
+void NativeLauncher::InitQuickAccessSlice(void) //快速访问\r
+{\r
+ SliceProxy *QuickAccess = new AbilitySliceProxy<QuickAccessView,QuickAccessPresenter >;\r
+ if (QuickAccess == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_QUICK_ACCESS, QuickAccess);\r
+}\r
+\r
+void NativeLauncher::InitSystemSlice(void) //系统\r
+{\r
+ SliceProxy *system = new AbilitySliceProxy<SystemView,SystemPresenter >;\r
+ if (system == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM, system);\r
+}\r
+void NativeLauncher::InitSystemAboutWatchSlice(void) //系统:关于手表\r
+{\r
+ SliceProxy *systemaboutwatch = new AbilitySliceProxy<SystemAboutView,SystemAboutPresenter >;\r
+ if (systemaboutwatch == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_ABOUT_WATCH, systemaboutwatch);\r
+}\r
+\r
+void NativeLauncher::InitSystemSuperviseSlice(void) //系统:监管\r
+{\r
+ SliceProxy *systemsupervise = new AbilitySliceProxy<SystemSuperviseView,SystemSupervisePresenter >;\r
+ if (systemsupervise == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SUPERVISE, systemsupervise);\r
+}\r
+\r
+void NativeLauncher::InitSystemLanguageSlice(void) //系统:系统语言\r
+{\r
+ SliceProxy *systemlanguage = new AbilitySliceProxy<SystemLanguageView,SystemLanguagePresenter >;\r
+ if (systemlanguage == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SYSTEM_LANGUAGE, systemlanguage);\r
+}\r
+void NativeLauncher::InitSystemRebootSlice(void) //系统:重新启动\r
+{\r
+ SliceProxy *systemreboot = new AbilitySliceProxy<SystemRebootView,SystemRebootPresenter >;\r
+ if (systemreboot == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_REBOOT, systemreboot);\r
+}\r
+void NativeLauncher::InitSystemShoutDownSlice(void) //系统:关机\r
+{\r
+ SliceProxy *systemshoutdown = new AbilitySliceProxy<SystemShoutDownView,SystemShoutDownPresenter >;\r
+ if (systemshoutdown == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_SHOUTDOWN, systemshoutdown);\r
+}\r
+void NativeLauncher::InitSystemFactoryResetSlice(void) //系统:恢复出厂设置\r
+{\r
+ SliceProxy *systemfactoryreset = new AbilitySliceProxy<SystemFactoryResetView,SystemFactoryResetPresenter >;\r
+ if (systemfactoryreset == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_FACTORY_RESET, systemfactoryreset);\r
+}\r
+\r
+void NativeLauncher::InitSystemVolumeSlice(void) //系统音量\r
+{\r
+ SliceProxy *systemvolume = new AbilitySliceProxy<SystemVolumeView,SystemVolumePresenter >;\r
+ if (systemvolume == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SYSTEM_VOLUME, systemvolume);\r
+}\r
+\r
+void NativeLauncher::InitCallVolumeSlice(void) //通话音量\r
+{\r
+ SliceProxy *callvolume = new AbilitySliceProxy<CallVolumeView,CallVolumePresenter >;\r
+ if (callvolume == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_CALL_VOLUME, callvolume);\r
+}\r
+\r
+void NativeLauncher::InitMediaVolumeSlice(void) //媒体音量\r
+{\r
+ SliceProxy *mediavolume = new AbilitySliceProxy<MediaVolumeView,MediaVolumePresenter >;\r
+ if (mediavolume == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_MEDIA_VOLUME, mediavolume);\r
+}\r
+\r
+void NativeLauncher::InitRecordingSlice(void) //录音\r
+{\r
+ SliceProxy *record = new AbilitySliceProxy<RecordView,RecordPresenter >;\r
+ if (record == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD, record);\r
+}\r
+\r
+void NativeLauncher::InitRecordingListSlice(void) \r
+{\r
+ SliceProxy *recordlist = new AbilitySliceProxy<RecordListView,RecordListPresenter >;\r
+ if (recordlist == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_LIST, recordlist);\r
+}\r
+\r
+void NativeLauncher::InitRecordingPlaySlice(void) \r
+{\r
+ SliceProxy *recordplay = new AbilitySliceProxy<RecordPlayView,RecordPlayPresenter >;\r
+ if (recordplay == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_PLAY, recordplay);\r
+}\r
+void NativeLauncher::InitRecordingDeleteSlice(void) \r
+{\r
+ SliceProxy *recorddelete = new AbilitySliceProxy<RecordDeleteView,RecordDeletePresenter >;\r
+ if (recorddelete == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_DELETE, recorddelete);\r
+}\r
+\r
+void NativeLauncher::InitRecordingGoingSlice(void) //正在录音\r
+{\r
+ SliceProxy *recordgoing = new AbilitySliceProxy<RecordGoingView,RecordGoingPresenter >;\r
+ if (recordgoing == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_RECORD_GOING, recordgoing);\r
+}\r
+\r
+void NativeLauncher::InitCompassPlaceMakerSlice(void) //指南针:放置标记点\r
+{\r
+\r
+ SliceProxy *placemakercompass = new AbilitySliceProxy<PlaceMakerCompassView,PlaceMakerCompassPresenter >;\r
+ if (placemakercompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PLACE_MAKER, placemakercompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassMakerPointSlice(void) //指南针:标记点介绍\r
+{\r
+ SliceProxy *makerpointcompass = new AbilitySliceProxy<MakerPointCompassView,MakerPointCompassPresenter >;\r
+ if (makerpointcompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_MAKER_POINT, makerpointcompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassStartPathRecordSlice(void) //指南针:开始路径记录\r
+{\r
+ SliceProxy *startpathrecordcompass = new AbilitySliceProxy<StartPathRecordCompassView,StartPathRecordCompassPresenter >;\r
+ if (startpathrecordcompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_START_PATH_RECORD, startpathrecordcompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassEndPathRecordSlice(void) //指南针:结束路径记录\r
+{\r
+ SliceProxy *endtpathrecordcompass = new AbilitySliceProxy<EndPathRecordCompassView,EndPathRecordCompassPresenter >;\r
+ if (endtpathrecordcompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_PATH_RECORD, endtpathrecordcompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassPathBackTrackingSlice(void) //指南针:路径回溯\r
+{\r
+ SliceProxy *pathbacktrackingcompass = new AbilitySliceProxy<PathBackTrackingCompassView,PathBackTrackingCompassPresenter >;\r
+ if (pathbacktrackingcompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PATH_BACKTRACKING, pathbacktrackingcompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassResetPlaceMakerSlice(void) //指南针:重置标记点\r
+{\r
+ SliceProxy *resetplacemakercompass = new AbilitySliceProxy<ResetPlaceMakerCompassView,ResetPlaceMakerCompassPresenter >;\r
+ if (resetplacemakercompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_RESET_PLACE_MAKER, resetplacemakercompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassPathRetracingSlice(void) //指南针:路径回溯中\r
+{\r
+ SliceProxy *pathretracingcompass = new AbilitySliceProxy<PathRetracingCompassView,PathRetracingCompassPresenter>;\r
+ if (pathretracingcompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_PATH_RETRACING, pathretracingcompass);\r
+}\r
+void NativeLauncher::InitCompassEndBackTrackingEarlySlice() //指南针:提前结束路径回溯\r
+{\r
+ SliceProxy *endbacktrackingearlycompass = new AbilitySliceProxy<EndBackTrackingEarlyCompassView,EndBackTrackingEarlyCompassPresenter>;\r
+ if (endbacktrackingearlycompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_BACK_TRACKING_EARLY, endbacktrackingearlycompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassEndBackTrackingSlice(void) //指南针:结束路径回溯\r
+{\r
+ SliceProxy *endbacktrackingecompass = new AbilitySliceProxy<EndBackTrackingCompassView,EndBackTrackingCompassPresenter>;\r
+ if (endbacktrackingecompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_END_BACK_TRACKING, endbacktrackingecompass);\r
+}\r
+\r
+void NativeLauncher::InitCompassGPSLossSlice(void) //指南针:GPS丢失\r
+{\r
+ SliceProxy *GPSlosscompass = new AbilitySliceProxy<GPSLossCompassView,GPSLossCompassPresenter>;\r
+ if (GPSlosscompass == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_COMPASS_GPS_LOSS, GPSlosscompass);\r
+}\r
+\r
+void NativeLauncher::InitSecondaryFunction(void) //辅助功能\r
+{\r
+ SliceProxy *secondaryfunction = new AbilitySliceProxy<SecondaryFunctionView,SecondaryFunctionPresenter>;\r
+ if (secondaryfunction == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_SECONDARY_FUNCTION, secondaryfunction);\r
+}\r
+\r
+void NativeLauncher::InitFastTrainingSlice(void) \r
+{\r
+ SliceProxy *fasttraining = new AbilitySliceProxy<FastTrainingView,FastTrainingPresenter>;\r
+ if (fasttraining == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_FAST_TRAINING, fasttraining);\r
+}\r
+\r
+void NativeLauncher::InitFastTrainingAttentionSlice(void)\r
+{\r
+ SliceProxy *fasttrainingattention = new AbilitySliceProxy<FastTrainingAttentionView,FastTrainingAttentionPresenter>;\r
+ if (fasttrainingattention == nullptr) {\r
+ return;\r
+ }\r
+ NativeAbility::GetInstance().AddSliceProxy(VIEW_FAST_TRAINING_ATTENTION, fasttrainingattention);\r
+}\r
+}\r