├── lib_custom_view ├── .gitignore ├── consumer-rules.pro ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ └── arrays.xml │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ └── values-zh-rCN │ │ │ └── arrays.xml │ │ └── java │ │ └── com │ │ └── style │ │ └── view │ │ └── systemHelper │ │ ├── NoScrollGridLayoutManager.java │ │ ├── NoScrollLinearLayoutManager.java │ │ └── MyFrontTextView.java ├── build.gradle └── proguard-rules.pro ├── lib_wheel_picker ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── RegionJsonData.dat │ │ ├── res │ │ ├── values-zh │ │ │ └── strings.xml │ │ ├── values │ │ │ ├── strings.xml │ │ │ └── dimens.xml │ │ └── drawable │ │ │ └── wheel_val.xml │ │ └── java │ │ └── com │ │ └── aigestudio │ │ └── wheelpicker │ │ ├── widgets │ │ ├── IWheelAreaPicker.java │ │ ├── IWheelHourPicker.java │ │ ├── IWheelMonthPicker.java │ │ └── IWheelMinutePicker.java │ │ ├── IDebug.java │ │ └── model │ │ ├── City.java │ │ └── Province.java └── build.gradle ├── gradle.properties ├── screenshots ├── ecg.gif ├── pie.gif ├── home.gif ├── bp_line.gif ├── bt_line.gif ├── progress.gif ├── red_dio.gif ├── sound_wave.gif ├── water_pelo.gif ├── line_progress.gif ├── record_voice.gif ├── heart_rate_line.gif ├── week_sleep_view.gif └── week_sport_view.gif ├── app ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── attr.xml │ │ │ │ ├── styles.xml │ │ │ │ └── styles_dialog.xml │ │ │ ├── drawable │ │ │ │ ├── k.jpg │ │ │ │ ├── show_head_toast_bg.9.png │ │ │ │ ├── bg_banner_indicator_selected.xml │ │ │ │ ├── bg_emotion_tab_selected.xml │ │ │ │ ├── divider_gray_horizontal.xml │ │ │ │ ├── divider_gray_vertical.xml │ │ │ │ ├── rounded_corners.xml │ │ │ │ ├── bg_popupwindow_common.xml │ │ │ │ ├── bg_banner_indicator_unselect.xml │ │ │ │ ├── bg_emotion_tab_unselect.xml │ │ │ │ ├── image_border.xml │ │ │ │ ├── tab_find_bg.xml │ │ │ │ ├── tab_active_bg.xml │ │ │ │ ├── tab_chat_bg.xml │ │ │ │ ├── delete_selector.xml │ │ │ │ ├── tab_contact_list_bg.xml │ │ │ │ ├── bg_first_name.xml │ │ │ │ ├── side_nav_bar.xml │ │ │ │ ├── bg_week_sleep_view.xml │ │ │ │ ├── yuanjiao_1.xml │ │ │ │ ├── yuanjiao_2.xml │ │ │ │ ├── yuanjiao_3.xml │ │ │ │ ├── yuanjiao_4.xml │ │ │ │ ├── yuanjiao_5.xml │ │ │ │ ├── bg_float_calling.xml │ │ │ │ ├── sel_emotion_tab.xml │ │ │ │ ├── ic_bookmark_24dp.xml │ │ │ │ ├── bg_banner_indicator.xml │ │ │ │ ├── sidebar_background.xml │ │ │ │ ├── btn_register_bg.xml │ │ │ │ ├── bg_pressed_default.xml │ │ │ │ ├── bg_custom_tag.xml │ │ │ │ └── bg_add_address.xml │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── answer.png │ │ │ │ ├── hangup.png │ │ │ │ ├── empty_photo.png │ │ │ │ ├── ic_add_photo.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_pop_phone.png │ │ │ │ ├── ic_pop_video.png │ │ │ │ ├── image_fail.png │ │ │ │ ├── home_banner_2.jpg │ │ │ │ ├── home_banner_3.jpg │ │ │ │ ├── ic_delete_publish.png │ │ │ │ ├── icon_data_select.png │ │ │ │ └── ic_edit_delete_clear_normal.png │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_check_in_delete.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── tap_home_normal.png │ │ │ │ ├── tap_active_normal.png │ │ │ │ ├── tap_home_selected.png │ │ │ │ ├── tap_active_selected.png │ │ │ │ ├── tap_contact_list_normal.png │ │ │ │ ├── tap_conversation_normal.png │ │ │ │ ├── tap_contact_list_selected.png │ │ │ │ └── tap_conversation_selected.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── home_banner_1.jpg │ │ │ ├── drawable-xxhdpi │ │ │ │ └── icon_button_click_down.png │ │ │ ├── xml │ │ │ │ └── network_security_config.xml │ │ │ ├── anim │ │ │ │ ├── slide_in_from_bottom.xml │ │ │ │ ├── slide_out_to_bottom.xml │ │ │ │ ├── slide_in_from_top.xml │ │ │ │ ├── slide_out_to_top.xml │ │ │ │ ├── activity_close_exit.xml │ │ │ │ ├── activity_open_enter.xml │ │ │ │ ├── slide_in_from_left.xml │ │ │ │ ├── slide_in_from_right.xml │ │ │ │ ├── slide_out_to_left.xml │ │ │ │ ├── slide_out_to_right.xml │ │ │ │ ├── fade_out.xml │ │ │ │ ├── fade_in.xml │ │ │ │ ├── activity_close_enter.xml │ │ │ │ ├── activity_open_exit.xml │ │ │ │ ├── grow_from_view.xml │ │ │ │ ├── grow_from_bottom.xml │ │ │ │ ├── grow_small_from_view.xml │ │ │ │ ├── shrink_from_top.xml │ │ │ │ ├── general_list_popup_close.xml │ │ │ │ ├── extends_close_to_top.xml │ │ │ │ ├── shrink_to_top_left.xml │ │ │ │ ├── enlarge_from_top_left.xml │ │ │ │ ├── enlarge_from_top_right.xml │ │ │ │ ├── extends_open_from_top.xml │ │ │ │ ├── shrink_to_bottom_left.xml │ │ │ │ ├── shrink_to_top_right.xml │ │ │ │ ├── enlarge_from_bottom_left.xml │ │ │ │ ├── extends_close_to_bottom.xml │ │ │ │ ├── extends_open_from_bottom.xml │ │ │ │ ├── shrink_to_bottom_right.xml │ │ │ │ ├── enlarge_from_bottom_right.xml │ │ │ │ └── general_list_popup_open.xml │ │ │ ├── values-v21 │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles_theme.xml │ │ │ │ └── styles.xml │ │ │ ├── menu │ │ │ │ ├── single_with_text.xml │ │ │ │ ├── menu_scrolling.xml │ │ │ │ └── user_info.xml │ │ │ ├── values-zh-rCN │ │ │ │ ├── arrays.xml │ │ │ │ └── strings.xml │ │ │ ├── color │ │ │ │ ├── sel_emo_card.xml │ │ │ │ └── sel_titlebar_right_text_white.xml │ │ │ ├── layout │ │ │ │ ├── general_list_popup.xml │ │ │ │ ├── window_scale_test.xml │ │ │ │ ├── glide_list_test.xml │ │ │ │ ├── fragment_home_2.xml │ │ │ │ ├── fragment_test_activity.xml │ │ │ │ ├── adapter_indicator.xml │ │ │ │ ├── fragment_image_scan.xml │ │ │ │ ├── activity_local_video.xml │ │ │ │ ├── scroll_stop_content_sub_adapter.xml │ │ │ │ ├── item_birth_year.xml │ │ │ │ ├── layout_suspend_video.xml │ │ │ │ ├── activity_write_word.xml │ │ │ │ ├── layout_suspend_voice.xml │ │ │ │ ├── drag_activity.xml │ │ │ │ ├── swipe_menu_activity.xml │ │ │ │ ├── adapter_glide_list.xml │ │ │ │ ├── viewpager2_with_view_activity.xml │ │ │ │ ├── holder_address.xml │ │ │ │ ├── scroll_stop_title_adapter.xml │ │ │ │ ├── dialog_web_view.xml │ │ │ │ ├── general_popup_window_adapter_item.xml │ │ │ │ ├── adapter_music.xml │ │ │ │ ├── activity_scan_view.xml │ │ │ │ ├── adapter_local_video.xml │ │ │ │ ├── viewpager2_with_view_adapter.xml │ │ │ │ ├── activity_draw_view.xml │ │ │ │ ├── location_activity.xml │ │ │ │ ├── holder_banner.xml │ │ │ │ ├── holder_header.xml │ │ │ │ ├── tab_simple_fragment.xml │ │ │ │ ├── content_scrolling.xml │ │ │ │ ├── activity_video_recorder.xml │ │ │ │ ├── banner_activity.xml │ │ │ │ ├── banner_fragment.xml │ │ │ │ ├── scroll_stop_content_adapter.xml │ │ │ │ ├── activity_jni_test.xml │ │ │ │ ├── activity_msg_to_sub.xml │ │ │ │ ├── file_down_list_activity.xml │ │ │ │ ├── safe_keyboard_activity.xml │ │ │ │ ├── activity_water_polo.xml │ │ │ │ ├── activity_image_scan.xml │ │ │ │ ├── activity_heart_line.xml │ │ │ │ ├── view_pager_cards_fragments_activity.xml │ │ │ │ ├── activity_report_trend.xml │ │ │ │ ├── activity_user_agree.xml │ │ │ │ ├── adapter_publish_dynamic_picture.xml │ │ │ │ ├── custom_view_main.xml │ │ │ │ ├── tablayout_with_viewpager2_activity.xml │ │ │ │ ├── activity_test_gesture.xml │ │ │ │ ├── title_bar_main_activity.xml │ │ │ │ └── activity_qr_code_scan.xml │ │ │ ├── drawable-v21 │ │ │ │ └── bg_pressed_default.xml │ │ │ └── animator │ │ │ │ └── property_demo.xml │ │ ├── assets │ │ │ ├── no_net_2x.png │ │ │ ├── no_net_3x.png │ │ │ ├── user_feedback.html │ │ │ └── interact.html │ │ ├── java │ │ │ ├── example │ │ │ │ ├── queue │ │ │ │ │ ├── EventReceiver.java │ │ │ │ │ └── EventElement.java │ │ │ │ ├── home │ │ │ │ │ ├── contact │ │ │ │ │ │ └── ContactViewModel.kt │ │ │ │ │ └── MainViewModel.kt │ │ │ │ ├── music │ │ │ │ │ └── data │ │ │ │ │ │ ├── MediaDataCallback.java │ │ │ │ │ │ └── BaseMediaLoader.java │ │ │ │ ├── viewPagerCards │ │ │ │ │ ├── CardAdapter.java │ │ │ │ │ └── views │ │ │ │ │ │ └── CardItem.java │ │ │ │ ├── dialog │ │ │ │ │ ├── OccupationDialog.java │ │ │ │ │ └── AgeScreenDialog.java │ │ │ │ ├── address │ │ │ │ │ ├── UploadPhoneComparator.java │ │ │ │ │ ├── MyCallLog.java │ │ │ │ │ └── MyRingtone.java │ │ │ │ ├── fragmentAdapter │ │ │ │ │ └── ViewPager2ActivityViewModel.kt │ │ │ │ ├── customView │ │ │ │ │ ├── fragment │ │ │ │ │ │ ├── ScanViewFragment.kt │ │ │ │ │ │ ├── CustomNotifyViewFragment.java │ │ │ │ │ │ └── SoundWaveFragment.kt │ │ │ │ │ ├── DrawViewActivity.kt │ │ │ │ │ ├── WriteWordActivity.kt │ │ │ │ │ ├── CustomViewFragmentAdapter.kt │ │ │ │ │ └── ReportTrendActivity.java │ │ │ │ ├── gesture │ │ │ │ │ └── XXRefreshActivity.kt │ │ │ │ ├── scroll │ │ │ │ │ ├── ScrollingActivity.kt │ │ │ │ │ └── ScrollingParallaxActivity.kt │ │ │ │ ├── activity │ │ │ │ │ └── ReadAssetsActivity.kt │ │ │ │ ├── encrypt │ │ │ │ │ └── EncryptViewModel.java │ │ │ │ └── db │ │ │ │ │ └── TestRoomActivity.kt │ │ │ └── com │ │ │ │ ├── style │ │ │ │ ├── data │ │ │ │ │ ├── http │ │ │ │ │ │ ├── response │ │ │ │ │ │ │ ├── TokenResponse.java │ │ │ │ │ │ │ └── LoginBean.java │ │ │ │ │ │ ├── exception │ │ │ │ │ │ │ └── CustomRuntimeException.kt │ │ │ │ │ │ ├── request │ │ │ │ │ │ │ ├── GetPupil.java │ │ │ │ │ │ │ └── LoginRequest.java │ │ │ │ │ │ └── function │ │ │ │ │ │ │ └── WebNetSourcekt.kt │ │ │ │ │ └── singlePriorityTask │ │ │ │ │ │ └── PrioritizedTask.kt │ │ │ │ ├── entity │ │ │ │ │ └── KuaiDi.java │ │ │ │ ├── app │ │ │ │ │ ├── AppCrashHandler.java │ │ │ │ │ └── MyAction.kt │ │ │ │ └── service │ │ │ │ │ ├── appNewVersion │ │ │ │ │ ├── DownNewAppServiceModel.java │ │ │ │ │ └── DownNewAppService.java │ │ │ │ │ └── suspendWindow │ │ │ │ │ └── Constants.java │ │ │ │ └── ndk │ │ │ │ ├── YuvUtil.java │ │ │ │ └── JniTest.java │ │ ├── cpp │ │ │ ├── include │ │ │ │ ├── ImageUtil.h │ │ │ │ └── yuv420p_to_rgba.h │ │ │ └── src │ │ │ │ ├── test │ │ │ │ └── logUtil.cpp │ │ │ │ └── yuv │ │ │ │ └── yuv420p_to_rgba.cpp │ │ └── aidl │ │ │ ├── com │ │ │ └── style │ │ │ │ └── framework │ │ │ │ └── IRemotePlayService.aidl │ │ │ └── aidl │ │ │ └── IRemoteService.aidl │ └── androidTest │ │ └── java │ │ └── ExampleInstrumentedTest.java └── CMakeLists.txt ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── lib_zxing ├── src │ └── main │ │ ├── res │ │ ├── raw │ │ │ └── beep.ogg │ │ ├── drawable │ │ │ ├── left_arrow_white.png │ │ │ └── ic_navigation_left.xml │ │ ├── values-zh-rCN │ │ │ └── strings.xml │ │ └── values │ │ │ ├── styles.xml │ │ │ ├── strings.xml │ │ │ └── colors.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── google │ │ └── zxing │ │ └── camera │ │ └── open │ │ └── CameraFacing.java └── build.gradle ├── lib_media_picker ├── src │ └── main │ │ ├── res │ │ ├── drawable │ │ │ ├── ic_back.png │ │ │ ├── btn_selected.png │ │ │ ├── btn_unselected.png │ │ │ └── action_btn.xml │ │ ├── drawable-xhdpi │ │ │ ├── video.png │ │ │ ├── default_check.png │ │ │ ├── default_image.png │ │ │ └── text_indicator.png │ │ ├── xml │ │ │ └── file_paths.xml │ │ ├── color │ │ │ └── default_text_color.xml │ │ ├── layout │ │ │ ├── preview_fragment_item.xml │ │ │ └── preview_main.xml │ │ ├── values-zh │ │ │ └── strings.xml │ │ └── values │ │ │ └── strings.xml │ │ └── java │ │ └── com │ │ └── dmcbig │ │ └── mediapicker │ │ ├── MediaType.java │ │ ├── data │ │ ├── DataCallback.java │ │ └── LoaderM.java │ │ ├── OkHttpLibraryGlideModule.java │ │ └── adapter │ │ └── SpacingDecoration.java └── build.gradle ├── lib_common └── src │ └── main │ ├── jniLibs │ └── armeabi-v7a │ │ └── libcommon-lib.so │ ├── res │ ├── drawable-xxhdpi │ │ ├── empty_normal.png │ │ ├── empty_order.png │ │ ├── ic_progress.png │ │ ├── network_error.png │ │ ├── icon_loading_1.png │ │ ├── icon_loading_2.png │ │ ├── icon_loading_3.png │ │ ├── icon_loading_4.png │ │ ├── icon_loading_5.png │ │ ├── ic_menu_back_black.png │ │ ├── ic_menu_back_white.png │ │ ├── ic_svstatus_error.png │ │ ├── ic_svstatus_info.png │ │ └── ic_svstatus_success.png │ ├── drawable │ │ ├── icon_arrow_dropdown.png │ │ ├── bg_window_translucent.xml │ │ ├── bg_window_transparent.xml │ │ ├── bg_material_dialog.xml │ │ ├── divider_keyboard_vertical.xml │ │ ├── divider_keyboard_horizontal.xml │ │ ├── shape_theme_round.xml │ │ ├── bg_progress.xml │ │ ├── selector_keyboard_click.xml │ │ ├── bg_comm_toolbar.xml │ │ ├── selector_keyboard_click_dark.xml │ │ └── loading_animlist.xml │ ├── values │ │ ├── dimens.xml │ │ └── strings.xml │ ├── anim │ │ └── rotate_infinite.xml │ ├── layout │ │ ├── title_bar_menu_single_text.xml │ │ ├── xxrefresh_simple_footer.xml │ │ ├── common_loading_layout_loading.xml │ │ ├── common_loading_layout_empty_2.xml │ │ ├── common_loading_layout_empty.xml │ │ ├── dialog_progress.xml │ │ ├── common_loading_layout_network_error.xml │ │ └── dialog_loading.xml │ └── xml │ │ └── provider_paths.xml │ ├── java │ ├── com │ │ ├── style │ │ │ ├── data │ │ │ │ ├── event │ │ │ │ │ └── EventBusEvent.java │ │ │ │ ├── fileDown │ │ │ │ │ ├── multiBlock │ │ │ │ │ │ └── FileCallback.java │ │ │ │ │ └── entity │ │ │ │ │ │ └── CustomFileBean.java │ │ │ │ └── db │ │ │ │ │ └── FileDownloadStateDao.java │ │ │ ├── config │ │ │ │ ├── AssembleConfig.java │ │ │ │ └── FileDirConfig.java │ │ │ ├── http │ │ │ │ ├── converter │ │ │ │ │ ├── ResponseBodyConverter.java │ │ │ │ │ ├── OriginalStringConverter.java │ │ │ │ │ └── JsonRequestBodyConverter.java │ │ │ │ ├── exception │ │ │ │ │ ├── HttpThrowableUtil.java │ │ │ │ │ └── HttpResultException.java │ │ │ │ └── response │ │ │ │ │ └── BaseDataResponse.java │ │ │ ├── utils │ │ │ │ ├── LogManager.java │ │ │ │ ├── MyTimeCount.java │ │ │ │ └── MyTimeTask.java │ │ │ ├── toast │ │ │ │ └── ToastManager.java │ │ │ ├── common_ui │ │ │ │ └── xxrefreshview │ │ │ │ │ ├── Utils.java │ │ │ │ │ └── XXRefreshHeader.java │ │ │ └── base │ │ │ │ └── BaseFragment.java │ │ └── ndk │ │ │ └── JniCommon.java │ └── tech │ │ └── gaolinfeng │ │ └── imagecrop │ │ └── lib │ │ └── IOUtil.java │ ├── cpp │ └── common-lib.cpp │ └── AndroidManifest.xml ├── lib_video_record ├── src │ └── main │ │ ├── res │ │ ├── drawable │ │ │ ├── loading_large.gif │ │ │ └── bg_record_press.xml │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_action_info.png │ │ ├── values │ │ │ ├── styles.xml │ │ │ └── strings.xml │ │ └── layout │ │ │ └── activity_play_video.xml │ │ ├── java │ │ └── com │ │ │ └── style │ │ │ └── lib │ │ │ └── media │ │ │ └── VideoManager.java │ │ └── AndroidManifest.xml └── build.gradle ├── settings.gradle └── .gitignore /lib_custom_view/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /lib_custom_view/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/gradle.properties -------------------------------------------------------------------------------- /screenshots/ecg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/ecg.gif -------------------------------------------------------------------------------- /screenshots/pie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/pie.gif -------------------------------------------------------------------------------- /screenshots/home.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/home.gif -------------------------------------------------------------------------------- /screenshots/bp_line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/bp_line.gif -------------------------------------------------------------------------------- /screenshots/bt_line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/bt_line.gif -------------------------------------------------------------------------------- /screenshots/progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/progress.gif -------------------------------------------------------------------------------- /screenshots/red_dio.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/red_dio.gif -------------------------------------------------------------------------------- /app/src/main/res/values/attr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /screenshots/sound_wave.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/sound_wave.gif -------------------------------------------------------------------------------- /screenshots/water_pelo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/water_pelo.gif -------------------------------------------------------------------------------- /screenshots/line_progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/line_progress.gif -------------------------------------------------------------------------------- /screenshots/record_voice.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/record_voice.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable/k.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/drawable/k.jpg -------------------------------------------------------------------------------- /screenshots/heart_rate_line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/heart_rate_line.gif -------------------------------------------------------------------------------- /screenshots/week_sleep_view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/week_sleep_view.gif -------------------------------------------------------------------------------- /screenshots/week_sport_view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/screenshots/week_sport_view.gif -------------------------------------------------------------------------------- /app/src/main/assets/no_net_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/assets/no_net_2x.png -------------------------------------------------------------------------------- /app/src/main/assets/no_net_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/assets/no_net_3x.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /lib_zxing/src/main/res/raw/beep.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_zxing/src/main/res/raw/beep.ogg -------------------------------------------------------------------------------- /lib_custom_view/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/answer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/answer.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/hangup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/hangup.png -------------------------------------------------------------------------------- /lib_custom_view/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | lib_custom_view 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/empty_photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/empty_photo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_add_photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_add_photo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_pop_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_pop_phone.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_pop_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_pop_video.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/image_fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/image_fail.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_home_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_home_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/home_banner_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/home_banner_2.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/home_banner_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/home_banner_3.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/home_banner_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxxhdpi/home_banner_1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/show_head_toast_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/drawable/show_head_toast_bg.9.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_check_in_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-hdpi/ic_check_in_delete.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_active_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_active_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_home_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_home_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_delete_publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_delete_publish.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_data_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/icon_data_select.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable/ic_back.png -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/assets/RegionJsonData.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_wheel_picker/src/main/assets/RegionJsonData.dat -------------------------------------------------------------------------------- /lib_zxing/src/main/res/drawable/left_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_zxing/src/main/res/drawable/left_arrow_white.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_active_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_active_selected.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable-xhdpi/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable-xhdpi/video.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_contact_list_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_contact_list_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_conversation_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_conversation_normal.png -------------------------------------------------------------------------------- /lib_common/src/main/jniLibs/armeabi-v7a/libcommon-lib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/jniLibs/armeabi-v7a/libcommon-lib.so -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/empty_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/empty_normal.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/empty_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/empty_order.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_progress.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/network_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/network_error.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/icon_arrow_dropdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable/icon_arrow_dropdown.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable/btn_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable/btn_selected.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable/btn_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable/btn_unselected.png -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable/loading_large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_video_record/src/main/res/drawable/loading_large.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_button_click_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/drawable-xxhdpi/icon_button_click_down.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_contact_list_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_contact_list_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/tap_conversation_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xhdpi/tap_conversation_selected.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/icon_loading_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/icon_loading_1.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/icon_loading_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/icon_loading_2.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/icon_loading_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/icon_loading_3.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/icon_loading_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/icon_loading_4.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/icon_loading_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/icon_loading_5.png -------------------------------------------------------------------------------- /lib_custom_view/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_custom_view/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_video_record/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_video_record/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_edit_delete_clear_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/app/src/main/res/mipmap-xxhdpi/ic_edit_delete_clear_normal.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_menu_back_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_menu_back_black.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_menu_back_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_menu_back_white.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_error.png -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_info.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable-xhdpi/default_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable-xhdpi/default_check.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable-xhdpi/default_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable-xhdpi/default_image.png -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_video_record/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/xml/network_security_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_common/src/main/res/drawable-xxhdpi/ic_svstatus_success.png -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/drawable-xhdpi/text_indicator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_media_picker/src/main/res/drawable-xhdpi/text_indicator.png -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable-xxhdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xj189/androidStudy/HEAD/lib_video_record/src/main/res/drawable-xxhdpi/ic_action_info.png -------------------------------------------------------------------------------- /lib_zxing/src/main/res/values-zh-rCN/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 二维码 3 | 请将二维码放入框内,即可自动扫描 4 | 5 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lib_zxing/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /lib_common/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14sp 4 | 150 5 | 6 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/data/event/EventBusEvent.java: -------------------------------------------------------------------------------- 1 | package com.style.data.event; 2 | 3 | public class EventBusEvent { 4 | public static final String FILE_DOWNLOAD_STATE_CHANGED = "file_download_state_changed"; 5 | } -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/bg_window_translucent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/bg_window_transparent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':lib_custom_view' 2 | include ':lib_common' 3 | include ':lib_media_picker' 4 | include ':lib_video_record' 5 | include ':lib_wheel_picker' 6 | include ':lib_zxing' 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /lib_video_record/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/example/queue/EventReceiver.java: -------------------------------------------------------------------------------- 1 | package example.queue; 2 | 3 | /** 4 | * Created by xiajun on 2017/7/19. 5 | */ 6 | 7 | public interface EventReceiver { 8 | void onMainThreadEvent(int code, Object data); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_banner_indicator_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_emotion_tab_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/style/data/http/response/TokenResponse.java: -------------------------------------------------------------------------------- 1 | package com.style.data.http.response; 2 | 3 | /** 4 | * Created by xiajun on 2018/4/27. 5 | */ 6 | 7 | public class TokenResponse { 8 | 9 | public String access_token; 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/java/example/home/contact/ContactViewModel.kt: -------------------------------------------------------------------------------- 1 | package example.home.contact 2 | 3 | import android.app.Application 4 | import com.style.base.BaseViewModel 5 | 6 | class ContactViewModel(application: Application) : BaseViewModel(application) { 7 | } -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_in_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_out_to_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/example/home/MainViewModel.kt: -------------------------------------------------------------------------------- 1 | package example.home 2 | 3 | import android.app.Application 4 | import com.style.base.BaseViewModel 5 | 6 | class MainViewModel(application: Application) : BaseViewModel(application) { 7 | 8 | 9 | 10 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/divider_gray_horizontal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/divider_gray_vertical.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/java/com/dmcbig/mediapicker/MediaType.java: -------------------------------------------------------------------------------- 1 | package com.dmcbig.mediapicker; 2 | 3 | /** 4 | * Created by xiajun on 2017/11/15. 5 | */ 6 | 7 | public class MediaType { 8 | public static final int PICTURE = 0; 9 | public static final int VIDEO = 1; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24sp 4 | 12dp 5 | 2dp 6 | 8dp 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/tab_find_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/res/drawable/wheel_val.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/cpp/include/ImageUtil.h: -------------------------------------------------------------------------------- 1 | #ifndef FACEUNLOCK_IMAGEUTIL_H 2 | #define FACEUNLOCK_IMAGEUTIL_H 3 | 4 | extern "C" void i420torgba(const unsigned char *src, 5 | const int width, 6 | const int height, 7 | unsigned char *dst); 8 | 9 | #endif //FACEUNLOCK_IMAGEUTIL_H 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/tab_active_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/style/data/http/request/GetPupil.java: -------------------------------------------------------------------------------- 1 | package com.style.data.http.request; 2 | 3 | /** 4 | * Created by xiajun on 2018/4/27. 5 | */ 6 | 7 | public class GetPupil { 8 | String GuardianId; 9 | 10 | public GetPupil(String guardianId) { 11 | this.GuardianId = guardianId; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/tab_chat_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/delete_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/tab_contact_list_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_first_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | .externalNativeBuild 4 | local.properties 5 | *.iml 6 | build 7 | .cxx 8 | app/build 9 | app/proguardMapping.txt 10 | app/proguardLog 11 | app/signingConfig 12 | lib_custom_view/build 13 | lib_common/build 14 | lib_media_picker/build 15 | lib_video_record/build 16 | lib_wheel_picker/build 17 | lib_zxing/build 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/aidl/com/style/framework/IRemotePlayService.aidl: -------------------------------------------------------------------------------- 1 | // IRemotePlayService.aidl 2 | package com.style.framework; 3 | 4 | // Declare any non-default types here with import statements 5 | 6 | interface IRemotePlayService { 7 | int getPid(); 8 | void start(int a); 9 | void stop(String a); 10 | //void play(MediaBean a); 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fade_out.xml: -------------------------------------------------------------------------------- 1 | 4 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/side_nav_bar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/menu/single_with_text.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rCN/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/example/viewPagerCards/CardAdapter.java: -------------------------------------------------------------------------------- 1 | package example.viewPagerCards; 2 | 3 | 4 | import androidx.cardview.widget.CardView; 5 | 6 | public interface CardAdapter { 7 | 8 | int MAX_ELEVATION_FACTOR = 8; 9 | 10 | float getBaseElevation(); 11 | 12 | CardView getCardViewAt(int position); 13 | 14 | int getCount(); 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_week_sleep_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | -------------------------------------------------------------------------------- /lib_custom_view/src/main/res/values/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/color/sel_emo_card.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/bg_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib_custom_view/src/main/res/values-zh-rCN/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fade_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles_theme.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/selector_keyboard_click.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/bg_comm_toolbar.xml: -------------------------------------------------------------------------------- 1 | 3 | 9 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/java/com/aigestudio/wheelpicker/widgets/IWheelAreaPicker.java: -------------------------------------------------------------------------------- 1 | package com.aigestudio.wheelpicker.widgets; 2 | 3 | /** 4 | * Created by Administrator on 2016/9/27 0027. 5 | */ 6 | 7 | public interface IWheelAreaPicker { 8 | String getProvince(); 9 | 10 | String getCity(); 11 | 12 | String getArea(); 13 | 14 | void hideArea(); 15 | } 16 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/java/com/dmcbig/mediapicker/data/DataCallback.java: -------------------------------------------------------------------------------- 1 | package com.dmcbig.mediapicker.data; 2 | 3 | import com.dmcbig.mediapicker.entity.Folder; 4 | 5 | import java.util.ArrayList; 6 | 7 | 8 | /** 9 | * Created by dmcBig on 2017/7/3. 10 | */ 11 | 12 | public interface DataCallback { 13 | 14 | 15 | void onData( ArrayList list); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_close_enter.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_open_exit.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/yuanjiao_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/yuanjiao_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/yuanjiao_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/yuanjiao_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/yuanjiao_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/style/data/http/request/LoginRequest.java: -------------------------------------------------------------------------------- 1 | package com.style.data.http.request; 2 | 3 | /** 4 | * Created by xiajun on 2018/4/27. 5 | */ 6 | 7 | public class LoginRequest { 8 | public LoginRequest(String userName, String password) { 9 | UserName = userName; 10 | Password = password; 11 | } 12 | 13 | public String UserName; 14 | public String Password; 15 | } 16 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/config/AssembleConfig.java: -------------------------------------------------------------------------------- 1 | package com.style.config; 2 | 3 | public class AssembleConfig { 4 | 5 | public static final String HOSTNAME = "https://api.thinkpage.cn/v3/weather/now.json?key=rot2enzrehaztkdk&location=beijing"; 6 | public static final String URL_BASE = HOSTNAME + "Service/app/"; 7 | public static final String URL_BASE2 = HOSTNAME + "Service/app/"; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /lib_common/src/main/res/drawable/selector_keyboard_click_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_float_calling.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/sel_emotion_tab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /lib_wheel_picker/src/main/java/com/aigestudio/wheelpicker/IDebug.java: -------------------------------------------------------------------------------- 1 | package com.aigestudio.wheelpicker; 2 | 3 | /** 4 | * 调试模式方法接口 5 | * 6 | * @author AigeStudio 7 | * @since 2011-04-11 8 | */ 9 | public interface IDebug { 10 | /** 11 | * 设置调试模式 12 | * 开启调试模式有可能在一定程度上降低代码执行效率,请务必在正式发布时关闭调试模式 13 | * 14 | * @param isDebug 是否为调试模式 15 | */ 16 | void setDebug(boolean isDebug); 17 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_bookmark_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/http/converter/ResponseBodyConverter.java: -------------------------------------------------------------------------------- 1 | package com.style.http.converter; 2 | 3 | import okhttp3.ResponseBody; 4 | import retrofit2.Converter; 5 | 6 | /** 7 | * ResponseBody转换器 8 | */ 9 | 10 | public class ResponseBodyConverter implements Converter { 11 | 12 | @Override 13 | public ResponseBody convert(ResponseBody value) { 14 | return value; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_banner_indicator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /lib_common/src/main/res/anim/rotate_infinite.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /lib_video_record/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 录制 4 | 停止 5 | Info 6 | This sample needs permission for camera and audio recording. 7 | 8 | This device doesn\'t support Camera2 API. 9 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/data/fileDown/multiBlock/FileCallback.java: -------------------------------------------------------------------------------- 1 | package com.style.data.fileDown.multiBlock; 2 | 3 | /** 4 | * Created by xiajun on 2017/2/13. 5 | */ 6 | 7 | public class FileCallback { 8 | 9 | public void start(int fileSize) { 10 | 11 | } 12 | 13 | public void inProgress(int currentDownSize, int fileSize, float progress) { 14 | 15 | } 16 | public void complete(String filePath) { 17 | 18 | } 19 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/sidebar_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | 13 | 14 | -------------------------------------------------------------------------------- /lib_video_record/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | namespace "com.style.lib.media.video" 5 | compileSdkVersion ANDROID_COMPILE_SDK_VERSION 6 | defaultConfig { 7 | minSdkVersion ANDROID_MIN_SDK_VERSION 8 | } 9 | buildTypes { 10 | preview { 11 | } 12 | } 13 | } 14 | 15 | dependencies { 16 | implementation "androidx.appcompat:appcompat:$appcompat_version" 17 | } -------------------------------------------------------------------------------- /lib_wheel_picker/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | namespace "com.aigestudio.wheelpicker" 5 | compileSdkVersion ANDROID_COMPILE_SDK_VERSION 6 | defaultConfig { 7 | minSdkVersion ANDROID_MIN_SDK_VERSION 8 | } 9 | buildTypes { 10 | preview { 11 | } 12 | } 13 | } 14 | 15 | dependencies { 16 | implementation "com.google.code.gson:gson:$gson_version" 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/aidl/aidl/IRemoteService.aidl: -------------------------------------------------------------------------------- 1 | // IRemoteService.aidl 2 | package aidl; 3 | 4 | // Declare any non-default types here with import statements 5 | 6 | interface IRemoteService { 7 | int getPid(); 8 | /** 9 | * Demonstrates some basic types that you can use as parameters 10 | * and return values in AIDL. 11 | */ 12 | void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat, double aDouble, String aString); 13 | } 14 | -------------------------------------------------------------------------------- /lib_video_record/src/main/res/drawable/bg_record_press.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 12 | -------------------------------------------------------------------------------- /lib_common/src/main/cpp/common-lib.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | using namespace std; 7 | #define TAG "JniCommon" 8 | 9 | extern "C" 10 | JNIEXPORT jstring JNICALL 11 | Java_com_ndk_JniCommon_stringFromJNI(JNIEnv *env, jclass clazz) { 12 | string hello = "Hello from common-lib"; 13 | __android_log_print(ANDROID_LOG_ERROR, TAG, "c_str"); 14 | return env->NewStringUTF(hello.c_str()); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_scrolling.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /lib_zxing/src/main/res/drawable/ic_navigation_left.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/general_list_popup.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/window_scale_test.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/utils/LogManager.java: -------------------------------------------------------------------------------- 1 | package com.style.utils; 2 | 3 | import android.util.Log; 4 | 5 | import com.style.lib.common.BuildConfig; 6 | 7 | public class LogManager { 8 | public static void logI(String tag, String msg) { 9 | if (BuildConfig.DEBUG) 10 | Log.i(tag, msg); 11 | } 12 | 13 | public static void logE(String tag, String msg) { 14 | if (BuildConfig.DEBUG) 15 | Log.e(tag, msg); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/bg_pressed_default.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_register_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/style/data/http/response/LoginBean.java: -------------------------------------------------------------------------------- 1 | package com.style.data.http.response; 2 | 3 | 4 | import com.style.entity.UserInfo; 5 | 6 | import java.io.Serializable; 7 | 8 | public class LoginBean implements Serializable { 9 | public String token; 10 | public UserInfo friend; 11 | 12 | public String getToken() { 13 | return token; 14 | } 15 | 16 | public void setToken(String token) { 17 | this.token = token; 18 | } 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_pressed_default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/color/default_text_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /lib_video_record/src/main/java/com/style/lib/media/VideoManager.java: -------------------------------------------------------------------------------- 1 | package com.style.lib.media; 2 | 3 | /** 4 | * Created by xiajun on 2017/4/2. 5 | */ 6 | 7 | public class VideoManager { 8 | 9 | private static VideoManager instance; 10 | public String videoPathDir; 11 | 12 | 13 | public static VideoManager getInstance() { 14 | if (instance == null) 15 | instance = new VideoManager(); 16 | return instance; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/res/color/sel_titlebar_right_text_white.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/java/example/dialog/OccupationDialog.java: -------------------------------------------------------------------------------- 1 | package example.dialog; 2 | 3 | import android.content.Context; 4 | import android.os.Bundle; 5 | 6 | import com.style.dialog.BaseSingleWheelDialog; 7 | 8 | import example.helper.DataHelper; 9 | 10 | /** 11 | * Created by xiajun on 2018/6/9. 12 | */ 13 | 14 | public class OccupationDialog extends BaseSingleWheelDialog { 15 | public OccupationDialog(Context context) { 16 | super(context, DataHelper.getOccupationSelf(context)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/glide_list_test.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/example/address/UploadPhoneComparator.java: -------------------------------------------------------------------------------- 1 | package example.address; 2 | 3 | 4 | import java.util.Comparator; 5 | 6 | public class UploadPhoneComparator implements Comparator { 7 | public int compare(UploadPhone o1, UploadPhone o2) { 8 | if ("#".equals(o2.getSortLetters())) { 9 | return -1;// o1 < o2 10 | } else if ("#".equals(o1.getSortLetters())) { 11 | return 1;// o1 > o2 12 | } else { 13 | return o1.getSortLetters().compareTo(o2.getSortLetters()); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/java/example/queue/EventElement.java: -------------------------------------------------------------------------------- 1 | package example.queue; 2 | 3 | /** 4 | * Created by xiajun on 2017/7/19. 5 | */ 6 | 7 | public class EventElement { 8 | //订阅者哈希编码 9 | public int subscriberHashCode; 10 | //事件码,唯一标识 11 | public int code; 12 | //数据 13 | public Object data; 14 | 15 | public EventElement(int subscriberHashCode, int code, Object data) { 16 | this.subscriberHashCode = subscriberHashCode; 17 | this.code = code; 18 | this.data = data; 19 | } 20 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home_2.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_test_activity.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/grow_from_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/adapter_indicator.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/example/viewPagerCards/views/CardItem.java: -------------------------------------------------------------------------------- 1 | package example.viewPagerCards.views; 2 | 3 | 4 | public class CardItem { 5 | 6 | private String mTextResource; 7 | private String mTitleResource; 8 | 9 | public CardItem(String title, String text) { 10 | mTitleResource = title; 11 | mTextResource = text; 12 | } 13 | 14 | public String getText() { 15 | return mTextResource; 16 | } 17 | 18 | public String getTitle() { 19 | return mTitleResource; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/anim/grow_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/anim/grow_small_from_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/http/converter/OriginalStringConverter.java: -------------------------------------------------------------------------------- 1 | package com.style.http.converter; 2 | 3 | import java.io.IOException; 4 | 5 | import okhttp3.ResponseBody; 6 | import okio.Okio; 7 | import retrofit2.Converter; 8 | 9 | /** 10 | * 原始字符串转换器 11 | */ 12 | 13 | public class OriginalStringConverter implements Converter { 14 | 15 | @Override 16 | public String convert(ResponseBody value) throws IOException { 17 | return Okio.buffer(value.source()).readUtf8(); 18 | } 19 | } -------------------------------------------------------------------------------- /lib_zxing/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | namespace "com.google.zxing" 5 | compileSdkVersion ANDROID_COMPILE_SDK_VERSION 6 | defaultConfig { 7 | minSdkVersion ANDROID_MIN_SDK_VERSION 8 | } 9 | buildTypes { 10 | preview { 11 | } 12 | } 13 | } 14 | 15 | dependencies { 16 | implementation "androidx.appcompat:appcompat:$appcompat_version" 17 | api "com.google.zxing:core:3.3.0" 18 | implementation project(':lib_common') 19 | } 20 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/ndk/JniCommon.java: -------------------------------------------------------------------------------- 1 | package com.ndk; 2 | 3 | 4 | /** 5 | * Created by xiajun on 2017/6/7. 6 | */ 7 | 8 | public class JniCommon { 9 | // Used to load the 'native-lib' library on application startup. 10 | static { 11 | System.loadLibrary("common-lib"); 12 | } 13 | 14 | 15 | /** 16 | * A native method that is implemented by the 'native-lib' native library, 17 | * which is packaged with this application. 18 | */ 19 | public static native String stringFromJNI(); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_image_scan.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_local_video.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /lib_common/src/main/java/tech/gaolinfeng/imagecrop/lib/IOUtil.java: -------------------------------------------------------------------------------- 1 | package tech.gaolinfeng.imagecrop.lib; 2 | 3 | import java.io.Closeable; 4 | import java.io.IOException; 5 | 6 | /** 7 | * Created by gaolf on 15/12/24. 8 | */ 9 | public abstract class IOUtil { 10 | public static void closeQuietly(Closeable closeable) { 11 | if (closeable != null) { 12 | try { 13 | closeable.close(); 14 | } catch (IOException e) { 15 | e.printStackTrace(); 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/assets/user_feedback.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 用户反馈 6 | 7 | 14 | 15 | 16 | 17 | 18 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/cpp/src/test/logUtil.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by xiajun on 2017/6/8. 3 | // 4 | 5 | #define LOGD(tag, fmt, value) __android_log_print(ANDROID_LOG_DEBUG, tag, fmt, value) // 定义LOGD类型 6 | #define LOGI(tag, fmt, value) __android_log_print(ANDROID_LOG_INFO, tag, fmt, value) // 定义LOGI类型 7 | #define LOGW(tag, fmt, value) __android_log_print(ANDROID_LOG_WARN, tag, fmt, value) // 定义LOGW类型 8 | #define LOGE(tag, fmt, value) __android_log_print(ANDROID_LOG_ERROR, tag, fmt, value) // 定义LOGE类型 9 | #define LOGF(tag, fmt, value) __android_log_print(ANDROID_LOG_FATAL, tag, fmt, value) // 定义LOGF类型 -------------------------------------------------------------------------------- /app/src/main/java/example/fragmentAdapter/ViewPager2ActivityViewModel.kt: -------------------------------------------------------------------------------- 1 | package example.fragmentAdapter 2 | 3 | import android.app.Application 4 | import com.style.base.BaseViewModel 5 | 6 | class ViewPager2ActivityViewModel : BaseViewModel { 7 | 8 | constructor(application: Application) : super(application) 9 | 10 | fun getData(): ArrayList { 11 | var datas = arrayListOf() 12 | for (i in 0 until 10) { 13 | val s = i.toString() 14 | datas.add(s) 15 | } 16 | return datas 17 | } 18 | 19 | 20 | 21 | } -------------------------------------------------------------------------------- /lib_common/src/main/res/layout/title_bar_menu_single_text.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 15 | -------------------------------------------------------------------------------- /app/src/main/java/example/customView/fragment/ScanViewFragment.kt: -------------------------------------------------------------------------------- 1 | package example.customView.fragment 2 | 3 | import android.os.Bundle 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import com.style.base.BaseFragment 8 | import com.style.framework.R 9 | 10 | class ScanViewFragment : BaseFragment() { 11 | 12 | override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { 13 | return inflater.inflate(R.layout.activity_scan_view, container, false) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/scroll_stop_content_sub_adapter.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /lib_common/src/main/res/layout/xxrefresh_simple_footer.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/res/layout/preview_fragment_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_birth_year.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_suspend_video.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/shrink_from_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/java/example/gesture/XXRefreshActivity.kt: -------------------------------------------------------------------------------- 1 | package example.gesture 2 | 3 | import android.os.Bundle 4 | import com.style.base.BaseTitleBarActivity 5 | 6 | import com.style.framework.R 7 | import com.style.framework.databinding.XxrefreshActivityBinding 8 | 9 | class XXRefreshActivity : BaseTitleBarActivity() { 10 | 11 | lateinit var bd: XxrefreshActivityBinding 12 | 13 | override fun onCreate(arg0: Bundle?) { 14 | super.onCreate(arg0) 15 | bd = XxrefreshActivityBinding.inflate(layoutInflater) 16 | setContentView(bd.root) 17 | 18 | } 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/anim/general_list_popup_close.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/anim/extends_close_to_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/shrink_to_top_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/enlarge_from_top_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/enlarge_from_top_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/extends_open_from_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/shrink_to_bottom_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/shrink_to_top_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/enlarge_from_bottom_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/extends_close_to_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/extends_open_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/shrink_to_bottom_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/http/exception/HttpThrowableUtil.java: -------------------------------------------------------------------------------- 1 | package com.style.http.exception; 2 | 3 | /** 4 | * Created by xiajun on 2018/7/23. 5 | */ 6 | 7 | public class HttpThrowableUtil { 8 | 9 | public static HttpResultException handleHttpError(Throwable e) { 10 | e.printStackTrace(); 11 | HttpResultException ex; 12 | if (e instanceof HttpResultException) { 13 | ex = (HttpResultException) e; 14 | } else { 15 | ex = new HttpResultException(HttpResultException.NETWORK_ERROR, "网络异常"); 16 | } 17 | return ex; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lib_common/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | androidStudy 4 | abcdefghijklmnopqrstuvwxyz0123456789 5 | 6 | 7 | 加载中… 8 | 努力加载中… 9 | 数据为空 10 | 刷新 11 | 网络错误 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/enlarge_from_bottom_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 17 | -------------------------------------------------------------------------------- /lib_video_record/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/anim/general_list_popup_open.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_write_word.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_suspend_voice.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/file_down_list_activity.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 17 | 18 | 22 | 23 | -------------------------------------------------------------------------------- /lib_common/src/main/java/com/style/utils/MyTimeCount.java: -------------------------------------------------------------------------------- 1 | package com.style.utils; 2 | 3 | import android.os.CountDownTimer; 4 | import android.widget.Button; 5 | 6 | public class MyTimeCount extends CountDownTimer { 7 | private Button button; 8 | private String countDownStr; 9 | 10 | public MyTimeCount(long millisInFuture, long countDownInterval) { 11 | super(millisInFuture, countDownInterval);// 参数依次为总时长,和计时的时间间隔 12 | } 13 | 14 | public void setButton(Button button, String countDownStr) { 15 | this.button = button; 16 | this.countDownStr = countDownStr; 17 | } 18 | 19 | @Override 20 | public void onFinish() {// 计时完毕时触发 21 | button.setText(countDownStr); 22 | button.setEnabled(true); 23 | } 24 | 25 | @Override 26 | public void onTick(long millisUntilFinished) {// 计时过程显示 27 | button.setEnabled(false); 28 | button.setText(String.valueOf(millisUntilFinished / 1000)); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib_media_picker/src/main/java/com/dmcbig/mediapicker/OkHttpLibraryGlideModule.java: -------------------------------------------------------------------------------- 1 | package com.dmcbig.mediapicker; 2 | 3 | import android.content.Context; 4 | import androidx.annotation.NonNull; 5 | 6 | import com.bumptech.glide.Glide; 7 | import com.bumptech.glide.Registry; 8 | import com.bumptech.glide.annotation.GlideModule; 9 | import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader; 10 | import com.bumptech.glide.load.model.GlideUrl; 11 | import com.bumptech.glide.module.LibraryGlideModule; 12 | 13 | import java.io.InputStream; 14 | 15 | /** 16 | * Created by xiajun on 2018/9/21. 17 | */ 18 | @GlideModule 19 | public class OkHttpLibraryGlideModule extends LibraryGlideModule { 20 | @Override 21 | public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry) { 22 | registry.replace(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/safe_keyboard_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 18 | 19 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_water_polo.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 16 |