├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── ic_cube_blue.png │ │ │ │ ├── littleboygreen_x128.png │ │ │ │ ├── pic_cover_blue_white.jpg │ │ │ │ ├── shape_round_corner_bottom.xml │ │ │ │ ├── vk_tv_bg_dark_def.xml │ │ │ │ ├── vk_tv_bg_dark_pressed.xml │ │ │ │ ├── algo_main_bg.xml │ │ │ │ ├── shape_round_top_white.xml │ │ │ │ ├── vk_tv_bg_green.xml │ │ │ │ ├── vk_tv_bg_grey.xml │ │ │ │ ├── vk_se_tv_1.xml │ │ │ │ ├── shape_tv.xml │ │ │ │ ├── vk_se_tv_dark_1.xml │ │ │ │ ├── ic_pause1.xml │ │ │ │ ├── layer_progress.xml │ │ │ │ ├── ic_apps_white_24dp.xml │ │ │ │ ├── shape_icon_circle.xml │ │ │ │ ├── ic_backspace_white_24dp.xml │ │ │ │ ├── ic_media_play.xml │ │ │ │ ├── ic_star_gray.xml │ │ │ │ ├── ic_handler.xml │ │ │ │ ├── ic_tick_in_cube.xml │ │ │ │ ├── ic_media_previous.xml │ │ │ │ ├── ic_media_next.xml │ │ │ │ ├── ic_back_white.xml │ │ │ │ ├── custom_progressbar_1.xml │ │ │ │ ├── custom_progressbar_5.xml │ │ │ │ ├── custom_progressbar_3.xml │ │ │ │ ├── custom_progressbar_2.xml │ │ │ │ ├── ic_4_cube_gray.xml │ │ │ │ ├── ic_4_cube_pink.xml │ │ │ │ ├── custom_progressbar_4.xml │ │ │ │ └── ic_view.xml │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── launcher_text.png │ │ │ │ ├── ic_arrow_back_24dp.png │ │ │ │ └── ic_person_add_24dp.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── pic_dart_lang.png │ │ │ │ ├── pic_my_little_hero.jpg │ │ │ │ ├── wallpaper_2018_04_14.jpg │ │ │ │ ├── wallpaper_2018_04_16.jpg │ │ │ │ ├── wallpaper_2018_04_19.jpg │ │ │ │ └── wallpaper_2018_04_25.jpg │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_arrow_back_24dp.png │ │ │ │ └── ic_person_add_24dp.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_arrow_back_24dp.png │ │ │ │ └── ic_person_add_24dp.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_arrow_back_24dp.png │ │ │ │ └── ic_person_add_24dp.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_person_add_24dp.png │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── layout │ │ │ │ ├── act_frame_layout.xml │ │ │ │ ├── activity_contact_people.xml │ │ │ │ ├── act_common_container.xml │ │ │ │ ├── act_color_lines.xml │ │ │ │ ├── frag_multi_item_lv.xml │ │ │ │ ├── fragment_data_list_view.xml │ │ │ │ ├── item_banner.xml │ │ │ │ ├── item_one_pic.xml │ │ │ │ ├── item_one_line.xml │ │ │ │ ├── my_day_dream.xml │ │ │ │ ├── act_dialog_demo.xml │ │ │ │ ├── frag_progress_content.xml │ │ │ │ ├── color_item_view.xml │ │ │ │ ├── float_bar_layout.xml │ │ │ │ ├── act_drag.xml │ │ │ │ ├── act_full_text.xml │ │ │ │ ├── contacts_list_item.xml │ │ │ │ ├── activity_color_board.xml │ │ │ │ ├── item_pic_one_line.xml │ │ │ │ ├── frag_joystick_style_2.xml │ │ │ │ ├── page_item_view.xml │ │ │ │ ├── act_radar_1.xml │ │ │ │ ├── frag_progress.xml │ │ │ │ ├── frag_joystick_style_1.xml │ │ │ │ ├── activity_draw_line.xml │ │ │ │ ├── act_frame_container.xml │ │ │ │ ├── database_activity_content_main.xml │ │ │ │ ├── act_v_keyboard.xml │ │ │ │ ├── data_list_item_view.xml │ │ │ │ ├── act_bulb_view.xml │ │ │ │ ├── act_dashboard.xml │ │ │ │ ├── act_line_chart.xml │ │ │ │ ├── act_pb1.xml │ │ │ │ ├── activity_contact_database.xml │ │ │ │ ├── frag_shadow_line_chart.xml │ │ │ │ ├── activity_circle_choose.xml │ │ │ │ ├── dialog_round_corner_progress.xml │ │ │ │ ├── act_fan.xml │ │ │ │ ├── dialog_buttons.xml │ │ │ │ ├── dialog_confirm_delete_data.xml │ │ │ │ ├── activity_add_data.xml │ │ │ │ ├── act_round_corner.xml │ │ │ │ ├── act_surface_view_demo.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── activity_image_processing.xml │ │ │ │ └── act_algo_chart.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── attr.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── menu │ │ │ │ └── menu_main.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── rust │ │ │ │ └── aboutview │ │ │ │ ├── widget │ │ │ │ ├── vkeyboard │ │ │ │ │ ├── VKeyboardListener.java │ │ │ │ │ ├── VKeyboardBody.java │ │ │ │ │ └── VRow.java │ │ │ │ ├── RoundCornerProgressDialog.java │ │ │ │ ├── DividerLine.java │ │ │ │ ├── VKBaseAdapterWhite.java │ │ │ │ ├── VKBaseAdapterDark.java │ │ │ │ └── ConfirmDialog.java │ │ │ │ ├── AboutViewConfig.java │ │ │ │ ├── algochart │ │ │ │ ├── AlgoChart.java │ │ │ │ ├── algo │ │ │ │ │ ├── BaseSort.java │ │ │ │ │ ├── AlgoStepSlice.java │ │ │ │ │ └── sort │ │ │ │ │ │ └── SelectionSort.java │ │ │ │ ├── ArraySource.java │ │ │ │ └── AlgoChartActivity.java │ │ │ │ ├── multiitemlv │ │ │ │ └── MuType.java │ │ │ │ ├── MyApplication.java │ │ │ │ ├── service │ │ │ │ ├── MyDayDream.java │ │ │ │ └── MyService.java │ │ │ │ ├── msgonbus │ │ │ │ └── AudioPlayEventOnBus.java │ │ │ │ ├── activity │ │ │ │ ├── BulbViewActivity.java │ │ │ │ ├── DialogDemoActivity.java │ │ │ │ ├── JoystickActivity.java │ │ │ │ ├── SelectRectActivity.java │ │ │ │ ├── ColorLinesAct.java │ │ │ │ ├── FragHolderActivity.java │ │ │ │ ├── RadarChart1Act.java │ │ │ │ ├── FullTextAct.java │ │ │ │ ├── Pb1Act.java │ │ │ │ ├── DrawLineActivity.java │ │ │ │ ├── FanActivity.java │ │ │ │ ├── SurfaceViewDemoActivity.java │ │ │ │ ├── FragContainerActivity.java │ │ │ │ ├── VKeyboardAct.java │ │ │ │ └── DashboardActivity.java │ │ │ │ ├── database │ │ │ │ └── RustDatabaseHelper.java │ │ │ │ ├── view │ │ │ │ ├── MarkView.java │ │ │ │ ├── CircleImageView.java │ │ │ │ └── ColorBoardListAdapter.java │ │ │ │ ├── adapter │ │ │ │ ├── holder │ │ │ │ │ └── BannerVH.java │ │ │ │ └── ImagePagerAdapter.java │ │ │ │ └── fragment │ │ │ │ ├── JoystickStyleTwoFragment.java │ │ │ │ └── CustomProgressBarFrag.java │ │ └── aidl │ │ │ └── com │ │ │ └── rust │ │ │ └── aidl │ │ │ └── IMyService.aidl │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── rust │ │ │ └── aboutview │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── rust │ │ └── aboutview │ │ └── UITest1.java ├── proguard-rules.pro └── build.gradle ├── FisherView ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ ├── attr_shadow_line_chart.xml │ │ │ │ ├── attr_fan_view.xml │ │ │ │ ├── attr_polygons_tv.xml │ │ │ │ ├── attr_bulb_view.xml │ │ │ │ ├── pie_view_attrs.xml │ │ │ │ └── attr_dashboard_progress.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── rustfisher │ │ │ └── view │ │ │ ├── Info.java │ │ │ ├── FSUtils.java │ │ │ ├── RoundCornerImageView.java │ │ │ └── SelectRectView.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── rustfisher │ │ │ └── view │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── rustfisher │ │ └── view │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── pics ├── vk-1.png ├── fan_01.gif ├── dashboard.png ├── ColorBoard.gif ├── lines_chart.png ├── pie_and_line.png ├── rx_android_demo_01.gif └── rx_android_demo_02.gif ├── .gitmodules ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── gradle.properties ├── License └── gradlew.bat /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /FisherView/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | 3 | *.iml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':FisherView', 'uijoystick' 2 | -------------------------------------------------------------------------------- /pics/vk-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/vk-1.png -------------------------------------------------------------------------------- /pics/fan_01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/fan_01.gif -------------------------------------------------------------------------------- /pics/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/dashboard.png -------------------------------------------------------------------------------- /pics/ColorBoard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/ColorBoard.gif -------------------------------------------------------------------------------- /pics/lines_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/lines_chart.png -------------------------------------------------------------------------------- /pics/pie_and_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/pie_and_line.png -------------------------------------------------------------------------------- /pics/rx_android_demo_01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/rx_android_demo_01.gif -------------------------------------------------------------------------------- /pics/rx_android_demo_02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/pics/rx_android_demo_02.gif -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "uijoystick"] 2 | path = uijoystick 3 | url = https://github.com/RustFisher/uijoystick.git 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /FisherView/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | FisherView 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cube_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable/ic_cube_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/launcher_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xhdpi/launcher_text.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/pic_dart_lang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/pic_dart_lang.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/littleboygreen_x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable/littleboygreen_x128.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pic_cover_blue_white.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable/pic_cover_blue_white.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_arrow_back_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-hdpi/ic_arrow_back_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_person_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-hdpi/ic_person_add_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_arrow_back_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-mdpi/ic_arrow_back_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_person_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-mdpi/ic_person_add_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_arrow_back_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xhdpi/ic_arrow_back_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_person_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xhdpi/ic_person_add_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_arrow_back_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_arrow_back_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_person_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_person_add_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/pic_my_little_hero.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/pic_my_little_hero.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_person_add_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_person_add_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_14.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_16.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_19.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RustFisher/aboutView/HEAD/app/src/main/res/drawable-xxhdpi/wallpaper_2018_04_25.jpg -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/widget/vkeyboard/VKeyboardListener.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview.widget.vkeyboard; 2 | 3 | 4 | public abstract class VKeyboardListener { 5 | 6 | public void onKeyClick(VKey key){} 7 | 8 | } 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | /captures 8 | /.idea/gradle.xml 9 | /.idea/misc.xml 10 | /.idea/modules.xml 11 | /.idea 12 | AboutView.iml 13 | app/app.iml 14 | 15 | *.iml -------------------------------------------------------------------------------- /FisherView/src/main/res/values/attr_shadow_line_chart.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_round_corner_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_tv_bg_dark_def.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_tv_bg_dark_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Aug 22 08:40:30 CST 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /FisherView/src/main/res/values/attr_fan_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/algo_main_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_round_top_white.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_tv_bg_green.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_tv_bg_grey.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | -------------------------------------------------------------------------------- /FisherView/src/main/res/values/attr_polygons_tv.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/AboutViewConfig.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview; 2 | 3 | /** 4 | * Define some names 5 | * Create : 2016-2-22 6 | */ 7 | public class AboutViewConfig { 8 | public static final String APP_CONFIG = "AboutView_config"; 9 | public static final String SHOW_FLOAT_BAR = "Show_floating_bar"; 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_se_tv_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /FisherView/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_tv.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/vk_se_tv_dark_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/algochart/AlgoChart.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview.algochart; 2 | 3 | import com.rust.aboutview.algochart.algo.AlgoStepSlice; 4 | 5 | 6 | public interface AlgoChart { 7 | 8 | /** 9 | * 一般在主线程使用 10 | * 11 | * @param data 要显示的数据 12 | */ 13 | void showData(AlgoStepSlice data); 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/multiitemlv/MuType.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview.multiitemlv; 2 | 3 | /** 4 | * multi type 5 | * Created by Rust on 2018/5/31. 6 | */ 7 | public enum MuType { 8 | ONE_LINE(0), 9 | PIC_AND_ONE_LINE(1), 10 | ONE_PIC(2), 11 | BANNER(3); 12 | 13 | int code; 14 | 15 | MuType(int c) { 16 | code = c; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/test/java/com/rust/aboutview/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /FisherView/src/test/java/com/rustfisher/view/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.rustfisher.view; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_pause1.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/act_frame_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /FisherView/src/androidTest/java/com/rustfisher/view/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.rustfisher.view; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/layer_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_contact_people.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Android AboutView 2 | 3 | 推荐下载源代码并`Import Module...` 4 | 5 | `app` 模块存放着一些示例代码 6 | 7 | `FisherView` 模块中存放着一些自定义View 8 | 9 | 10 | ## 分支说明 11 | 12 | * 主分支 `master` 13 | * 开发分支以 `dev` 开头 14 | 15 | 16 | ## 虚拟键盘 17 | VKeyboard - Virtual keyboard 18 | 19 | 将「按键」装配到键盘上。采用适配器模式,将View添加到ViewGroup中。 20 | 21 | VKey代表按键,VKeyboardBody代表键盘,VRow代表键盘上的一行,VKeyboardListener是监听器。 22 | VKeyboard继承Framelayout,创建适配器VKeyboard.Adapter,将「按键」装配到键盘上。 23 | 24 | ![vk demo](pics/vk-1.png) 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/act_common_container.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | > 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/act_color_lines.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/MyApplication.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | 6 | public class MyApplication extends Application { 7 | private static Context context; 8 | 9 | public static Context getMyContext() { 10 | return context; 11 | } 12 | 13 | @Override 14 | public void onCreate() { 15 | super.onCreate(); 16 | context = getApplicationContext(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/algochart/algo/BaseSort.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview.algochart.algo; 2 | 3 | 4 | public class BaseSort { 5 | 6 | public static void exch(int a[], int i, int j) { 7 | int t = a[i]; 8 | a[i] = a[j]; 9 | a[j] = t; 10 | } 11 | 12 | /** 13 | * v < w 返回 true 14 | */ 15 | public static boolean less(Comparable v, Comparable w) { 16 | return v.compareTo(w) < 0; //v < w 返回 -1 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_apps_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/aidl/com/rust/aidl/IMyService.aidl: -------------------------------------------------------------------------------- 1 | // IMyService.aidl 2 | package com.rust.aidl; 3 | 4 | // Declare any non-default types here with import statements 5 | 6 | interface IMyService { 7 | /** 8 | * Demonstrates some basic types that you can use as parameters 9 | * and return values in AIDL. 10 | */ 11 | void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat, 12 | double aDouble, String aString); 13 | String helloAndroidAIDL(String name); 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | 22sp 8 | 40dp 9 | 42dp 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/frag_multi_item_lv.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_data_list_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_banner.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_one_pic.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_one_line.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/my_day_dream.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/rust/aboutview/algochart/algo/AlgoStepSlice.java: -------------------------------------------------------------------------------- 1 | package com.rust.aboutview.algochart.algo; 2 | 3 | import android.util.SparseIntArray; 4 | 5 | /** 6 | * 算法步骤 7 | */ 8 | public class AlgoStepSlice { 9 | public int[] dataArray; 10 | public SparseIntArray indexColorMap = new SparseIntArray(); 11 | 12 | public AlgoStepSlice(int[] data) { 13 | dataArray = data; 14 | } 15 | 16 | public void addMarkData(int index, int colorInt) { 17 | indexColorMap.put(index, colorInt); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_icon_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 12 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/act_dialog_demo.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |