├── AppSearch ├── app │ ├── .gitignore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── values │ │ │ │ │ ├── array.xml │ │ │ │ │ ├── attrs.xml │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ ├── dimens.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── dialj_ic1.png │ │ │ │ │ ├── dialj_ic2.png │ │ │ │ │ ├── dialx_ic1.png │ │ │ │ │ ├── dialx_ic2.png │ │ │ │ │ ├── num0_ic1.png │ │ │ │ │ ├── num0_ic2.png │ │ │ │ │ ├── num1_ic1.png │ │ │ │ │ ├── num1_ic2.png │ │ │ │ │ ├── num2_ic1.png │ │ │ │ │ ├── num2_ic2.png │ │ │ │ │ ├── num3_ic1.png │ │ │ │ │ ├── num3_ic2.png │ │ │ │ │ ├── num4_ic1.png │ │ │ │ │ ├── num4_ic2.png │ │ │ │ │ ├── num5_ic1.png │ │ │ │ │ ├── num5_ic2.png │ │ │ │ │ ├── num6_ic1.png │ │ │ │ │ ├── num6_ic2.png │ │ │ │ │ ├── num7_ic1.png │ │ │ │ │ ├── num7_ic2.png │ │ │ │ │ ├── num8_ic1.png │ │ │ │ │ ├── num8_ic2.png │ │ │ │ │ ├── num9_ic1.png │ │ │ │ │ ├── num9_ic2.png │ │ │ │ │ ├── back_normal.png │ │ │ │ │ ├── back_pressed.png │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── search_press.png │ │ │ │ │ ├── delete_normal.png │ │ │ │ │ ├── delete_pressed.png │ │ │ │ │ ├── search_normal.png │ │ │ │ │ ├── dial_delete_press.png │ │ │ │ │ ├── dial_delete_normal.png │ │ │ │ │ ├── keyboard_hide_normal.png │ │ │ │ │ ├── keyboard_hide_press.png │ │ │ │ │ ├── keyboard_show_normal.png │ │ │ │ │ ├── keyboard_show_press.png │ │ │ │ │ ├── telephone_dial_close_normal.png │ │ │ │ │ └── telephone_dial_close_press.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── layout │ │ │ │ │ ├── activity_fragment.xml │ │ │ │ │ ├── fragment_main.xml │ │ │ │ │ ├── icon_button_grid_item.xml │ │ │ │ │ ├── navigation_bar.xml │ │ │ │ │ ├── fragment_qwerty_search.xml │ │ │ │ │ ├── app_info_grid_item.xml │ │ │ │ │ ├── fragment_t9_search.xml │ │ │ │ │ └── search_box.xml │ │ │ │ ├── drawable │ │ │ │ │ ├── num0_ic_selector.xml │ │ │ │ │ ├── num1_ic_selector.xml │ │ │ │ │ ├── num2_ic_selector.xml │ │ │ │ │ ├── num3_ic_selector.xml │ │ │ │ │ ├── num4_ic_selector.xml │ │ │ │ │ ├── num5_ic_selector.xml │ │ │ │ │ ├── num6_ic_selector.xml │ │ │ │ │ ├── num7_ic_selector.xml │ │ │ │ │ ├── num8_ic_selector.xml │ │ │ │ │ ├── num9_ic_selector.xml │ │ │ │ │ ├── back_selector.xml │ │ │ │ │ ├── dialj_ic_selector.xml │ │ │ │ │ ├── dialx_ic_selector.xml │ │ │ │ │ ├── search_selector.xml │ │ │ │ │ ├── search_box_delete_selector.xml │ │ │ │ │ ├── dial_delete_selector.xml │ │ │ │ │ ├── keyboard_hide_selector.xml │ │ │ │ │ ├── keyboard_show_selector.xml │ │ │ │ │ ├── telephone_dial_close_selector.xml │ │ │ │ │ └── icon_button_grid_item_selector.xml │ │ │ │ ├── values-v21 │ │ │ │ │ └── styles.xml │ │ │ │ └── values-w820dp │ │ │ │ │ └── dimens.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── handsomezhou │ │ │ │ │ └── appsearch │ │ │ │ │ ├── model │ │ │ │ │ ├── SearchMode.java │ │ │ │ │ ├── AppType.java │ │ │ │ │ ├── PartnerView.java │ │ │ │ │ ├── BaseAppInfo.java │ │ │ │ │ ├── IconButtonData.java │ │ │ │ │ └── IconButtonValue.java │ │ │ │ │ ├── application │ │ │ │ │ └── AppSearchApplication.java │ │ │ │ │ ├── activity │ │ │ │ │ ├── AboutActivity.java │ │ │ │ │ ├── BaseSingleFragmentActivity.java │ │ │ │ │ └── MainActivity.java │ │ │ │ │ ├── Interface │ │ │ │ │ └── OnTabChange.java │ │ │ │ │ ├── dialog │ │ │ │ │ ├── BaseProgressDialog.java │ │ │ │ │ └── BaseDialog.java │ │ │ │ │ ├── adapter │ │ │ │ │ ├── CustomFragmentPagerAdapter.java │ │ │ │ │ ├── CustomPartnerViewPagerAdapter.java │ │ │ │ │ └── AppInfoAdapter.java │ │ │ │ │ ├── view │ │ │ │ │ ├── CustomViewPager.java │ │ │ │ │ ├── NavigationBarLayout.java │ │ │ │ │ ├── IconButtonView.java │ │ │ │ │ └── SearchBox.java │ │ │ │ │ ├── service │ │ │ │ │ └── AppSearchService.java │ │ │ │ │ ├── broadcastreceiver │ │ │ │ │ └── AppChangedReceiver.java │ │ │ │ │ └── fragment │ │ │ │ │ ├── AboutFragment.java │ │ │ │ │ └── BaseFragment.java │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── handsomezhou │ │ │ │ └── appsearch │ │ │ │ └── ExampleUnitTest.java │ │ └── androidTest │ │ │ └── java │ │ │ └── com │ │ │ └── handsomezhou │ │ │ └── appsearch │ │ │ └── ExampleInstrumentedTest.java │ ├── libs │ │ ├── pinyin4j.jar │ │ └── pinyinsearch.jar │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── .idea │ ├── copyright │ │ └── profiles_settings.xml │ ├── encodings.xml │ ├── modules.xml │ ├── runConfigurations.xml │ ├── gradle.xml │ ├── compiler.xml │ └── misc.xml ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── build.gradle ├── gradle.properties └── gradlew.bat ├── PinyinSearch ├── app │ ├── .gitignore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── values │ │ │ │ │ ├── dimens.xml │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ ├── values-w820dp │ │ │ │ │ └── dimens.xml │ │ │ │ └── layout │ │ │ │ │ └── activity_main.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── handsomezhou │ │ │ │ │ └── pinyinsearch │ │ │ │ │ └── MainActivity.java │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── handsomezhou │ │ │ │ └── pinyinsearch │ │ │ │ └── ExampleUnitTest.java │ │ └── androidTest │ │ │ └── java │ │ │ └── com │ │ │ └── handsomezhou │ │ │ └── pinyinsearch │ │ │ └── ExampleInstrumentedTest.java │ ├── proguard-rules.pro │ └── build.gradle ├── pinyinsearch │ ├── .gitignore │ ├── libs │ │ └── pinyin4j.jar │ ├── build.gradle │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── pinyinsearch │ │ ├── util │ │ └── CommonUtil.java │ │ └── model │ │ ├── PinyinBaseUnit.java │ │ └── PinyinSearchUnit.java ├── settings.gradle ├── .idea │ ├── copyright │ │ └── profiles_settings.xml │ ├── encodings.xml │ ├── modules.xml │ ├── runConfigurations.xml │ ├── gradle.xml │ ├── compiler.xml │ └── misc.xml ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── build.gradle ├── gradle.properties └── gradlew.bat ├── ContactsSearch ├── app │ ├── .gitignore │ ├── libs │ │ ├── pinyin4j.jar │ │ └── pinyinsearch.jar │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── call_icon.png │ │ │ │ │ ├── dialj_ic1.png │ │ │ │ │ ├── dialj_ic2.png │ │ │ │ │ ├── dialx_ic1.png │ │ │ │ │ ├── dialx_ic2.png │ │ │ │ │ ├── num0_ic1.png │ │ │ │ │ ├── num0_ic2.png │ │ │ │ │ ├── num1_ic1.png │ │ │ │ │ ├── num1_ic2.png │ │ │ │ │ ├── num2_ic1.png │ │ │ │ │ ├── num2_ic2.png │ │ │ │ │ ├── num3_ic1.png │ │ │ │ │ ├── num3_ic2.png │ │ │ │ │ ├── num4_ic1.png │ │ │ │ │ ├── num4_ic2.png │ │ │ │ │ ├── num5_ic1.png │ │ │ │ │ ├── num5_ic2.png │ │ │ │ │ ├── num6_ic1.png │ │ │ │ │ ├── num6_ic2.png │ │ │ │ │ ├── num7_ic1.png │ │ │ │ │ ├── num7_ic2.png │ │ │ │ │ ├── num8_ic1.png │ │ │ │ │ ├── num8_ic2.png │ │ │ │ │ ├── num9_ic1.png │ │ │ │ │ ├── num9_ic2.png │ │ │ │ │ ├── sms_icon.png │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── search_press.png │ │ │ │ │ ├── arrow_up_normal.png │ │ │ │ │ ├── arrow_up_press.png │ │ │ │ │ ├── delete_normal.png │ │ │ │ │ ├── delete_pressed.png │ │ │ │ │ ├── search_normal.png │ │ │ │ │ ├── arrow_down_normal.png │ │ │ │ │ ├── arrow_down_press.png │ │ │ │ │ ├── dial_delete_press.png │ │ │ │ │ ├── dial_delete_normal.png │ │ │ │ │ ├── keyboard_hide_normal.png │ │ │ │ │ ├── keyboard_hide_press.png │ │ │ │ │ ├── keyboard_show_normal.png │ │ │ │ │ ├── keyboard_show_press.png │ │ │ │ │ ├── sort_icon_bg_click.png │ │ │ │ │ ├── telephone_dial_close.png │ │ │ │ │ ├── multiple_phone_unfold.png │ │ │ │ │ ├── telephone_dial_close_normal.png │ │ │ │ │ └── telephone_dial_close_press.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── layout │ │ │ │ │ ├── activity_fragment.xml │ │ │ │ │ ├── contacts_index_list_item.xml │ │ │ │ │ ├── fragment_qwerty_search.xml │ │ │ │ │ ├── contacts_index_view.xml │ │ │ │ │ ├── fragment_main.xml │ │ │ │ │ ├── fragment_t9_search.xml │ │ │ │ │ ├── contacts_operation.xml │ │ │ │ │ └── search_box.xml │ │ │ │ ├── drawable │ │ │ │ │ ├── num0_ic_selector.xml │ │ │ │ │ ├── num1_ic_selector.xml │ │ │ │ │ ├── num2_ic_selector.xml │ │ │ │ │ ├── num3_ic_selector.xml │ │ │ │ │ ├── num4_ic_selector.xml │ │ │ │ │ ├── num5_ic_selector.xml │ │ │ │ │ ├── num6_ic_selector.xml │ │ │ │ │ ├── num7_ic_selector.xml │ │ │ │ │ ├── num8_ic_selector.xml │ │ │ │ │ ├── num9_ic_selector.xml │ │ │ │ │ ├── dialj_ic_selector.xml │ │ │ │ │ ├── dialx_ic_selector.xml │ │ │ │ │ ├── search_selector.xml │ │ │ │ │ ├── arrow_up_selector.xml │ │ │ │ │ ├── arrow_down_selector.xml │ │ │ │ │ ├── search_box_delete_selector.xml │ │ │ │ │ ├── dial_delete_selector.xml │ │ │ │ │ ├── keyboard_hide_selector.xml │ │ │ │ │ ├── keyboard_show_selector.xml │ │ │ │ │ ├── telephone_dial_close_selector.xml │ │ │ │ │ └── btn_grey_selector.xml │ │ │ │ ├── values-v21 │ │ │ │ │ └── styles.xml │ │ │ │ ├── values-w820dp │ │ │ │ │ └── dimens.xml │ │ │ │ └── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── dimens.xml │ │ │ │ │ └── styles.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── handsomezhou │ │ │ │ │ └── contactssearch │ │ │ │ │ ├── activity │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ ├── T9SearchActivity.java │ │ │ │ │ ├── QwertySearchActivity.java │ │ │ │ │ └── BaseSingleFragmentActivity.java │ │ │ │ │ ├── application │ │ │ │ │ └── ContacstSearchApplication.java │ │ │ │ │ ├── model │ │ │ │ │ ├── BaseContacts.java │ │ │ │ │ └── ContactsIndex.java │ │ │ │ │ ├── util │ │ │ │ │ └── ShareUtil.java │ │ │ │ │ ├── fragment │ │ │ │ │ ├── BaseFragment.java │ │ │ │ │ └── MainFragment.java │ │ │ │ │ ├── helper │ │ │ │ │ └── ContactsIndexHelper.java │ │ │ │ │ ├── adapter │ │ │ │ │ └── ContactsIndexAdapter.java │ │ │ │ │ └── view │ │ │ │ │ └── SearchBox.java │ │ │ └── AndroidManifest.xml │ │ ├── test │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── handsomezhou │ │ │ │ └── contactssearch │ │ │ │ └── ExampleUnitTest.java │ │ └── androidTest │ │ │ └── java │ │ │ └── com │ │ │ └── handsomezhou │ │ │ └── contactssearch │ │ │ └── ExampleInstrumentedTest.java │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── .idea │ ├── copyright │ │ └── profiles_settings.xml │ ├── encodings.xml │ ├── modules.xml │ ├── runConfigurations.xml │ ├── gradle.xml │ ├── compiler.xml │ └── misc.xml ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── build.gradle ├── gradle.properties └── gradlew.bat └── external_res ├── image ├── 0.png ├── 1.png ├── 2.png ├── 3.png ├── AppSearch.gif └── ContactsSearch.gif ├── bin ├── AppSearch.apk └── ContactsSearch.apk └── jar ├── pinyin4j.jar ├── pinyin4j-2.5.0.jar └── pinyinsearch.jar /AppSearch/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /PinyinSearch/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /ContactsSearch/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /AppSearch/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /PinyinSearch/pinyinsearch/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /ContactsSearch/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /PinyinSearch/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':pinyinsearch' 2 | -------------------------------------------------------------------------------- /external_res/image/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/0.png -------------------------------------------------------------------------------- /external_res/image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/1.png -------------------------------------------------------------------------------- /external_res/image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/2.png -------------------------------------------------------------------------------- /external_res/image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/3.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/values/array.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /external_res/bin/AppSearch.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/bin/AppSearch.apk -------------------------------------------------------------------------------- /external_res/jar/pinyin4j.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/jar/pinyin4j.jar -------------------------------------------------------------------------------- /AppSearch/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /AppSearch/app/libs/pinyin4j.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/libs/pinyin4j.jar -------------------------------------------------------------------------------- /PinyinSearch/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /external_res/image/AppSearch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/AppSearch.gif -------------------------------------------------------------------------------- /AppSearch/app/libs/pinyinsearch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/libs/pinyinsearch.jar -------------------------------------------------------------------------------- /ContactsSearch/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /external_res/bin/ContactsSearch.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/bin/ContactsSearch.apk -------------------------------------------------------------------------------- /external_res/jar/pinyin4j-2.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/jar/pinyin4j-2.5.0.jar -------------------------------------------------------------------------------- /external_res/jar/pinyinsearch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/jar/pinyinsearch.jar -------------------------------------------------------------------------------- /ContactsSearch/app/libs/pinyin4j.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/libs/pinyin4j.jar -------------------------------------------------------------------------------- /external_res/image/ContactsSearch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/external_res/image/ContactsSearch.gif -------------------------------------------------------------------------------- /ContactsSearch/app/libs/pinyinsearch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/libs/pinyinsearch.jar -------------------------------------------------------------------------------- /AppSearch/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /PinyinSearch/pinyinsearch/libs/pinyin4j.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/pinyinsearch/libs/pinyin4j.jar -------------------------------------------------------------------------------- /PinyinSearch/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ContactsSearch/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num0_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num0_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num0_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num0_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num1_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num1_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num1_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num1_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num2_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num2_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num2_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num2_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num3_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num3_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num3_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num3_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num4_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num4_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num4_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num4_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num5_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num5_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num5_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num5_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num6_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num6_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num6_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num6_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num7_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num7_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num7_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num7_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num8_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num8_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num8_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num8_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num9_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num9_ic1.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/num9_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/num9_ic2.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/model/SearchMode.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.model; 2 | 3 | public enum SearchMode { 4 | T9, QWERTY, 5 | } 6 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/back_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/back_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/back_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/back_pressed.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/search_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/search_press.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/delete_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/delete_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/delete_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/delete_pressed.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/search_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/search_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/call_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/call_icon.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialj_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dialx_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num0_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num0_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num0_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num0_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num1_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num1_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num1_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num1_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num2_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num2_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num2_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num2_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num3_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num3_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num3_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num3_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num4_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num4_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num4_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num4_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num5_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num5_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num5_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num5_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num6_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num6_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num6_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num6_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num7_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num7_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num7_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num7_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num8_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num8_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num8_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num8_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num9_ic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num9_ic1.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/num9_ic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/num9_ic2.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/sms_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/sms_icon.png -------------------------------------------------------------------------------- /PinyinSearch/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/PinyinSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_press.png -------------------------------------------------------------------------------- /ContactsSearch/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/search_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/search_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_press.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_up_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_up_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_up_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_up_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/delete_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/delete_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/delete_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/delete_pressed.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/search_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/search_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_down_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_down_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_down_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/arrow_down_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_press.png -------------------------------------------------------------------------------- /AppSearch/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/model/AppType.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.model; 2 | 3 | public enum AppType { 4 | /*SYSTEM_APP, 5 | USER_APP,*/ 6 | ALL_APP, 7 | } 8 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/dial_delete_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_hide_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/keyboard_show_press.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/sort_icon_bg_click.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/sort_icon_bg_click.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_normal.png -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/AppSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_press.png -------------------------------------------------------------------------------- /ContactsSearch/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/multiple_phone_unfold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/multiple_phone_unfold.png -------------------------------------------------------------------------------- /PinyinSearch/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_normal.png -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/handsomezhou/PinyinSearchLibrary/HEAD/ContactsSearch/app/src/main/res/mipmap-xxhdpi/telephone_dial_close_press.png -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 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-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /PinyinSearch/README.md: -------------------------------------------------------------------------------- 1 | #PinyinSearch 2 | The project just for generate pinyinsearch.jar 3 | 4 | ##build 5 | Terminal->gradlew build 6 | 7 | ##jar path 8 | PinyinSearch\pinyinsearch\build\libs\pinyinsearch.jar 9 | 10 | ##Depend 11 | PinyinSearchLibrary\PinyinSearch\pinyinsearch\libs\pinyin4j.jar -------------------------------------------------------------------------------- /ContactsSearch/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 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-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /PinyinSearch/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 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-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/layout/activity_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/layout/activity_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num0_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num1_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num2_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num3_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num4_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num5_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num6_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num7_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num8_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/num9_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/back_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/dialj_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/dialx_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num0_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num1_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num2_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num3_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num4_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num5_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num6_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num7_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num8_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/num9_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /PinyinSearch/pinyinsearch/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | 3 | dependencies { 4 | compile fileTree(include: ['*.jar'], dir: 'libs') 5 | compile files('libs/pinyin4j.jar') 6 | } 7 | 8 | tasks.withType(JavaCompile) { 9 | options.encoding = "UTF-8" 10 | } 11 | 12 | sourceCompatibility = "1.7" 13 | targetCompatibility = "1.7" 14 | 15 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/search_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/dialj_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/dialx_ic_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/search_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/search_box_delete_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/arrow_up_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/dial_delete_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/arrow_down_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/search_box_delete_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/keyboard_hide_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/keyboard_show_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/dial_delete_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | PinyinSearch 3 | PinyinSearch:\nProvide data analysis methods, data matching method and so on for T9 pinyin search and Qwerty pinyin search in Java. 4 | \n\n https://github.com/handsomezhou/PinyinSearchLibrary 5 | 6 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/keyboard_hide_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/keyboard_show_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/telephone_dial_close_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/telephone_dial_close_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /AppSearch/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /ContactsSearch/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/java/com/handsomezhou/pinyinsearch/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.pinyinsearch; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | public class MainActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_main); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/application/AppSearchApplication.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.application; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | 6 | public class AppSearchApplication extends Application { 7 | private static Context mContext; 8 | 9 | @Override 10 | public void onCreate() { 11 | super.onCreate(); 12 | mContext = getApplicationContext(); 13 | 14 | } 15 | 16 | public static Context getContext() { 17 | return mContext; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /AppSearch/app/src/test/java/com/handsomezhou/appsearch/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/activity/AboutActivity.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.activity; 2 | 3 | import android.support.v4.app.Fragment; 4 | 5 | import com.handsomezhou.appsearch.fragment.AboutFragment; 6 | 7 | public class AboutActivity extends BaseSingleFragmentActivity { 8 | 9 | @Override 10 | protected Fragment createFragment() { 11 | 12 | return new AboutFragment(); 13 | } 14 | 15 | @Override 16 | protected boolean isRealTimeLoadFragment() { 17 | 18 | return false; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /PinyinSearch/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/test/java/com/handsomezhou/pinyinsearch/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.pinyinsearch; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/activity/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.activity; 2 | 3 | import android.support.v4.app.Fragment; 4 | 5 | import com.handsomezhou.contactssearch.fragment.MainFragment; 6 | 7 | 8 | public class MainActivity extends BaseSingleFragmentActivity{ 9 | 10 | @Override 11 | protected Fragment createFragment() { 12 | return new MainFragment(); 13 | } 14 | 15 | @Override 16 | protected boolean isRealTimeLoadFragment() { 17 | return false; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/test/java/com/handsomezhou/contactssearch/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/application/ContacstSearchApplication.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.application; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | 6 | public class ContacstSearchApplication extends Application { 7 | private static Context mContext; 8 | 9 | @Override 10 | public void onCreate() { 11 | super.onCreate(); 12 | mContext=getApplicationContext(); 13 | } 14 | 15 | public static Context getContextObject(){ 16 | return mContext; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/activity/T9SearchActivity.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.activity; 2 | 3 | import android.support.v4.app.Fragment; 4 | 5 | import com.handsomezhou.contactssearch.fragment.T9SearchFragment; 6 | 7 | public class T9SearchActivity extends BaseSingleFragmentActivity{ 8 | 9 | @Override 10 | protected Fragment createFragment() { 11 | 12 | return new T9SearchFragment(); 13 | } 14 | 15 | @Override 16 | protected boolean isRealTimeLoadFragment() { 17 | 18 | return false; 19 | }} 20 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/drawable/icon_button_grid_item_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/activity/QwertySearchActivity.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.activity; 2 | 3 | import android.support.v4.app.Fragment; 4 | 5 | import com.handsomezhou.contactssearch.fragment.QwertySearchFragment; 6 | 7 | public class QwertySearchActivity extends BaseSingleFragmentActivity{ 8 | 9 | @Override 10 | protected Fragment createFragment() { 11 | 12 | return new QwertySearchFragment(); 13 | } 14 | 15 | @Override 16 | protected boolean isRealTimeLoadFragment() { 17 | 18 | return false; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/Interface/OnTabChange.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.Interface; 2 | 3 | /** 4 | * 5 | * listener tab change(from one tab change to other tab) and click current 6 | * tab(click current tab) 7 | */ 8 | public interface OnTabChange { 9 | public enum TAB_CHANGE_STATE{ 10 | TAB_SELECTED_UNFOCUSED, 11 | TAB_SELECTED_FOCUSED, 12 | TAB_UNSELECTED, 13 | } 14 | 15 | public void onChangeToTab(Object fromTab, Object toTab, TAB_CHANGE_STATE tabChangeState); 16 | 17 | public void onClickTab(Object currentTab, TAB_CHANGE_STATE tabChangeState); 18 | } 19 | -------------------------------------------------------------------------------- /AppSearch/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /ContactsSearch/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /PinyinSearch/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /AppSearch/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /ContactsSearch/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /PinyinSearch/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/layout/contacts_index_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/model/PartnerView.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.model; 2 | 3 | import android.support.v4.app.Fragment; 4 | 5 | public class PartnerView { 6 | private Object mTag; 7 | private Fragment mFragment; 8 | 9 | public PartnerView(Object tag, Fragment fragment) { 10 | super(); 11 | mTag = tag; 12 | mFragment = fragment; 13 | } 14 | 15 | public Object getTag() { 16 | return mTag; 17 | } 18 | 19 | public void setTag(Object tag) { 20 | mTag = tag; 21 | } 22 | 23 | public Fragment getFragment() { 24 | return mFragment; 25 | } 26 | 27 | public void setFragment(Fragment fragment) { 28 | mFragment = fragment; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/dialog/BaseProgressDialog.java: -------------------------------------------------------------------------------- 1 | 2 | package com.handsomezhou.appsearch.dialog; 3 | 4 | import com.handsomezhou.appsearch.R; 5 | 6 | import android.app.ProgressDialog; 7 | import android.content.Context; 8 | 9 | public class BaseProgressDialog extends ProgressDialog { 10 | public BaseProgressDialog(Context context) { 11 | super(context, R.style.progress_dialog); 12 | 13 | setCanceledOnTouchOutside(true); 14 | } 15 | 16 | public void show(String message) { 17 | this.setMessage(message); 18 | this.show(); 19 | } 20 | 21 | public void hide() { 22 | this.dismiss(); 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /AppSearch/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /ContactsSearch/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /AppSearch/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\soft\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /ContactsSearch/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\soft\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /PinyinSearch/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\soft\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /PinyinSearch/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /AppSearch/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /PinyinSearch/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ContactsSearch/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/layout/fragment_qwerty_search.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/adapter/CustomFragmentPagerAdapter.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.adapter; 2 | 3 | import java.util.List; 4 | 5 | import android.support.v4.app.Fragment; 6 | import android.support.v4.app.FragmentManager; 7 | import android.support.v4.app.FragmentPagerAdapter; 8 | 9 | public class CustomFragmentPagerAdapter extends FragmentPagerAdapter { 10 | private List mFragments; 11 | 12 | public CustomFragmentPagerAdapter(FragmentManager fm, 13 | List fragments) { 14 | super(fm); 15 | mFragments = fragments; 16 | } 17 | 18 | @Override 19 | public Fragment getItem(int pos) { 20 | return mFragments.get(pos); 21 | } 22 | 23 | @Override 24 | public int getCount() { 25 | return mFragments.size(); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /AppSearch/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/drawable/btn_grey_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /ContactsSearch/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /PinyinSearch/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 联系人搜索 3 | T9 search 4 | Qwerty search 5 | 联系人 6 | 无法读取到联系人数据,无法演示联系人搜索! 7 | 联系人详情 8 | 输入号码或拼音 9 | 输入号码或拼音 10 | 无相关搜索结果 11 | 正在加载联系人 12 | (%d个号码) 13 | 点击可展开 14 | 点击可隐藏 15 | 16 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/model/BaseContacts.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.model; 2 | 3 | public class BaseContacts implements Cloneable{ 4 | private String mId; 5 | private String mName; 6 | private String mPhoneNumber; 7 | 8 | public String getId() { 9 | return mId; 10 | } 11 | 12 | public void setId(String id) { 13 | mId = id; 14 | } 15 | 16 | public String getName() { 17 | return mName; 18 | } 19 | 20 | public void setName(String name) { 21 | mName = name; 22 | } 23 | 24 | public String getPhoneNumber() { 25 | return mPhoneNumber; 26 | } 27 | 28 | public void setPhoneNumber(String phoneNumber) { 29 | mPhoneNumber = phoneNumber; 30 | } 31 | 32 | @Override 33 | protected Object clone() throws CloneNotSupportedException { 34 | 35 | return super.clone(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/dialog/BaseDialog.java: -------------------------------------------------------------------------------- 1 | 2 | package com.handsomezhou.appsearch.dialog; 3 | 4 | import android.app.AlertDialog; 5 | import android.content.Context; 6 | import android.view.View; 7 | 8 | import com.handsomezhou.appsearch.R; 9 | 10 | public abstract class BaseDialog extends AlertDialog { 11 | private int mViewSpacingLeft = 0; 12 | private int mViewSpacingTop = 0; 13 | private int mViewSpacingRight = 0; 14 | private int mViewSpacingBottom = 0; 15 | 16 | protected abstract View getView(); 17 | 18 | public BaseDialog(Context context) { 19 | 20 | super(context, R.style.dialog); 21 | View view = getView(); 22 | new Builder(getContext()).create(); 23 | 24 | this.setView(view, mViewSpacingLeft, mViewSpacingTop, mViewSpacingRight, mViewSpacingBottom); 25 | this.setCanceledOnTouchOutside(false); 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/java/com/handsomezhou/contactssearch/util/ShareUtil.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch.util; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | 6 | /** 7 | * share content by all kinds of ways 8 | * @author handsomezhou 9 | * @date 2015-01-23 10 | */ 11 | public class ShareUtil { 12 | /** 13 | * share text by sms 14 | * 15 | * @param context 16 | * @param RecipientsPhoneNumber phoneNumberformat:"phoneNumber1;phoneNumber2;..." 17 | * @param textContent 18 | * 19 | */ 20 | public static void shareTextBySms(Context context, 21 | String RecipientsPhoneNumber, String textContent) { 22 | Intent share = new Intent(Intent.ACTION_VIEW); 23 | 24 | share.putExtra("address", RecipientsPhoneNumber); 25 | share.putExtra("sms_body", textContent); 26 | share.setType("vnd.android-dir/mms-sms"); 27 | 28 | context.startActivity(share); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AppSearch/app/src/androidTest/java/com/handsomezhou/appsearch/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.handsomezhou.appsearch", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/java/com/handsomezhou/appsearch/adapter/CustomPartnerViewPagerAdapter.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.appsearch.adapter; 2 | 3 | import java.util.List; 4 | 5 | import com.handsomezhou.appsearch.model.PartnerView; 6 | 7 | import android.support.v4.app.Fragment; 8 | import android.support.v4.app.FragmentManager; 9 | import android.support.v4.app.FragmentPagerAdapter; 10 | 11 | public class CustomPartnerViewPagerAdapter extends FragmentPagerAdapter { 12 | List mPartnerViews; 13 | 14 | public CustomPartnerViewPagerAdapter(FragmentManager fm, 15 | List partnerViews) { 16 | super(fm); 17 | mPartnerViews=partnerViews; 18 | } 19 | 20 | @Override 21 | public Fragment getItem(int pos) { 22 | PartnerView partnerView=mPartnerViews.get(pos); 23 | return partnerView.getFragment(); 24 | } 25 | 26 | @Override 27 | public int getCount() { 28 | 29 | return mPartnerViews.size(); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /PinyinSearch/app/src/androidTest/java/com/handsomezhou/pinyinsearch/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.pinyinsearch; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.handsomezhou.pinyinsearch", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/androidTest/java/com/handsomezhou/contactssearch/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.handsomezhou.contactssearch; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.handsomezhou.contactssearch", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | #FFFFFFFF 8 | #FFF8F8FF 9 | #ADD8E6 10 | #00FFFFFF 11 | #FF333333 12 | #FF1C1C1C 13 | #FFBEBEBE 14 | #D0363636 15 | #30777777 16 | #30474747 17 | #00BFFF 18 | #98F5FF 19 | #00CDCD 20 | #FF8C00 21 | 22 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/layout/fragment_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 17 | 18 | 22 | 23 | -------------------------------------------------------------------------------- /AppSearch/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion "24.0.2" 6 | defaultConfig { 7 | applicationId "com.handsomezhou.appsearch" 8 | minSdkVersion 9 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.android.support:appcompat-v7:25.0.0' 28 | testCompile 'junit:junit:4.12' 29 | } 30 | -------------------------------------------------------------------------------- /PinyinSearch/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion "24.0.2" 6 | defaultConfig { 7 | applicationId "com.handsomezhou.pinyinsearch" 8 | minSdkVersion 9 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.android.support:appcompat-v7:25.0.0' 28 | testCompile 'junit:junit:4.12' 29 | } 30 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/layout/icon_button_grid_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 16 | 17 | 24 | 25 | -------------------------------------------------------------------------------- /ContactsSearch/app/src/main/res/layout/contacts_index_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 16 | 17 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /AppSearch/app/src/main/res/layout/navigation_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 |