From aeaa853ece4a0b213051f83c6ff1c99dca6760cb Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Mon, 6 Dec 2021 18:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B9=A6=E7=B1=8D=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/assetWizardSettings.xml | 4 +- .idea/misc.xml | 13 ++ app/src/main/AndroidManifest.xml | 1 + app/src/main/assets/updatelog.fy | 7 + .../xyz/fycz/myreader/common/APPCONST.java | 4 + .../xyz/fycz/myreader/entity/SearchWord1.kt | 12 ++ .../xyz/fycz/myreader/entity/SearchWord2.kt | 14 ++ .../myreader/experiment/BookWCEstimate.kt | 2 + .../xyz/fycz/myreader/model/SearchEngine.java | 5 +- .../fycz/myreader/model/SearchWordEngine.kt | 195 ++++++++++++++++++ .../ui/activity/BookDetailedActivity.java | 2 + .../myreader/ui/activity/ReadActivity.java | 18 +- .../ui/activity/SearchBookActivity.java | 16 +- .../ui/activity/SearchWordActivity.kt | 155 ++++++++++++++ .../fycz/myreader/ui/adapter/SearchAdapter.kt | 20 +- .../ui/adapter/holder/FindBookHolder.java | 2 +- .../ui/adapter/holder/SearchBookHolder.java | 2 +- .../ui/adapter/holder/SearchWord1Holder.kt | 56 +++++ .../ui/adapter/holder/SearchWord2Holder.kt | 37 ++++ .../ui/fragment/DIYSourceFragment.java | 11 +- .../util/help/ChapterContentHelp.java | 1 + .../myreader/util/utils/KeyWordUtils.java | 7 +- .../myreader/widget/RefreshProgressBar.java | 2 +- .../myreader/widget/page/EpubPageLoader.java | 2 +- .../myreader/widget/page/LocalPageLoader.java | 3 +- .../myreader/widget/page/NetPageLoader.java | 2 +- .../fycz/myreader/widget/page/PageLoader.java | 86 +++++++- .../fycz/myreader/widget/page/TxtChapter.java | 2 +- app/src/main/res/drawable/ic_search_word.xml | 12 ++ .../main/res/layout/activity_search_book.xml | 9 +- .../main/res/layout/activity_search_word.xml | 77 +++++++ app/src/main/res/layout/dialog_textview.xml | 2 +- ...rch_book_item.xml => item_search_book.xml} | 0 app/src/main/res/layout/item_search_word1.xml | 21 ++ app/src/main/res/layout/item_search_word2.xml | 20 ++ app/src/main/res/menu/menu_read.xml | 61 +++--- app/src/main/res/values/strings.xml | 3 + app/version_code.properties | 4 +- 38 files changed, 826 insertions(+), 64 deletions(-) create mode 100644 app/src/main/java/xyz/fycz/myreader/entity/SearchWord1.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/entity/SearchWord2.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/model/SearchWordEngine.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/ui/activity/SearchWordActivity.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/ui/adapter/holder/SearchWord1Holder.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/ui/adapter/holder/SearchWord2Holder.kt create mode 100644 app/src/main/res/drawable/ic_search_word.xml create mode 100644 app/src/main/res/layout/activity_search_word.xml rename app/src/main/res/layout/{search_book_item.xml => item_search_book.xml} (100%) create mode 100644 app/src/main/res/layout/item_search_word1.xml create mode 100644 app/src/main/res/layout/item_search_word2.xml diff --git a/.idea/assetWizardSettings.xml b/.idea/assetWizardSettings.xml index c830d3a..471bf10 100644 --- a/.idea/assetWizardSettings.xml +++ b/.idea/assetWizardSettings.xml @@ -14,8 +14,8 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index 3b7db2b..5241332 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,6 +4,7 @@