From 02420fe1f5ea9596bd944d143b17f8e934084e5c Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Tue, 6 Dec 2016 23:09:59 +0800 Subject: [PATCH] =?UTF-8?q?DownloadUtil=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E4=B8=BA=20Aria=EF=BC=8C=E4=BB=A3=E7=A0=81=E5=B7=B2=E9=87=8D?= =?UTF-8?q?=E6=9E=84=EF=BC=8C=E4=BD=BF=E7=94=A8=E8=B5=B7=E6=9D=A5=E6=9B=B4?= =?UTF-8?q?=E5=8A=A0=E7=AE=80=E4=BE=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/gradle.xml | 2 +- .idea/modules.xml | 2 +- {downloadutil => Aria}/.gitignore | 0 {downloadutil => Aria}/build.gradle | 2 +- {downloadutil => Aria}/jcenter.gradle | 0 {downloadutil => Aria}/proguard-rules.pro | 0 .../arialyy/downloadutil/ApplicationTest.java | 0 .../src/main/AndroidManifest.xml | 2 +- .../com/arialyy/aria}/core/AMReceiver.java | 5 ++-- .../java/com/arialyy/aria}/core/AMTarget.java | 23 +++++++++++------- .../java/com/arialyy/aria}/core/Aria.java | 2 +- .../com/arialyy/aria}/core/AriaManager.java | 18 ++++++++++---- .../arialyy/aria}/core/DownloadEntity.java | 6 ++--- .../arialyy/aria}/core/DownloadManager.java | 14 +++++------ .../arialyy/aria}/core/command/AddCmd.java | 6 ++--- .../arialyy/aria}/core/command/CancelCmd.java | 7 +++--- .../aria}/core/command/CmdFactory.java | 6 ++--- .../aria}/core/command/IDownloadCmd.java | 12 +++++----- .../arialyy/aria}/core/command/SingleCmd.java | 7 +++--- .../arialyy/aria}/core/command/StartCmd.java | 7 +++--- .../arialyy/aria}/core/command/StopCmd.java | 7 +++--- .../aria}/core/queue/DownloadTaskQueue.java | 16 ++++++------- .../arialyy/aria}/core/queue/IDownloader.java | 4 ++-- .../com/arialyy/aria}/core/queue/IPool.java | 4 ++-- .../arialyy/aria}/core/queue/ITaskQueue.java | 8 +++---- .../aria}/core/queue/pool/CachePool.java | 8 +++---- .../aria}/core/queue/pool/ExecutePool.java | 8 +++---- .../core/scheduler/DownloadSchedulers.java | 12 +++++----- .../core/scheduler/IDownloadSchedulers.java | 5 ++-- .../core/scheduler/OnSchedulerListener.java | 4 ++-- .../aria}/core/task/DownloadListener.java | 2 +- .../arialyy/aria}/core/task/DownloadUtil.java | 6 ++--- .../aria}/core/task/IDownloadListener.java | 2 +- .../aria}/core/task/IDownloadUtil.java | 2 +- .../com/arialyy/aria}/core/task/Task.java | 12 +++++----- .../arialyy/aria}/core/task/TaskFactory.java | 6 ++--- .../java/com/arialyy/aria}/orm/DbEntity.java | 4 ++-- .../java/com/arialyy/aria}/orm/DbUtil.java | 4 ++-- .../main/java/com/arialyy/aria}/orm/Id.java | 2 +- .../java/com/arialyy/aria}/orm/Ignore.java | 2 +- .../java/com/arialyy/aria}/orm/SqlHelper.java | 2 +- .../com/arialyy/aria}/util/CheckUtil.java | 4 ++-- .../com/arialyy/aria}/util/CommonUtil.java | 8 +++---- .../java/com/arialyy/aria}/util/PathUtil.java | 2 +- .../src/main/res/values/strings.xml | 0 app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 5 ++-- .../simple/activity/MultiTaskActivity.java | 7 +++--- .../simple/activity/SingleTaskActivity.java | 13 +++++----- .../simple/adapter/DownloadAdapter.java | 24 +++++-------------- .../com/arialyy/simple/base/BaseActivity.java | 12 +++++++++- .../arialyy/simple/base/BaseApplication.java | 2 +- .../arialyy/simple/module/DownloadModule.java | 6 ++--- app/src/main/res/layout/activity_single.xml | 1 - app/src/main/res/values-v21/styles.xml | 20 ++++++++-------- app/src/main/res/values/styles.xml | 18 +++++++------- settings.gradle | 2 +- 57 files changed, 190 insertions(+), 177 deletions(-) rename {downloadutil => Aria}/.gitignore (100%) rename {downloadutil => Aria}/build.gradle (95%) rename {downloadutil => Aria}/jcenter.gradle (100%) rename {downloadutil => Aria}/proguard-rules.pro (100%) rename {downloadutil => Aria}/src/androidTest/java/com/arialyy/downloadutil/ApplicationTest.java (100%) rename {downloadutil => Aria}/src/main/AndroidManifest.xml (84%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/AMReceiver.java (90%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/AMTarget.java (78%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/Aria.java (98%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/AriaManager.java (90%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/DownloadEntity.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/DownloadManager.java (91%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/AddCmd.java (88%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/CancelCmd.java (85%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/CmdFactory.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/IDownloadCmd.java (81%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/SingleCmd.java (77%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/StartCmd.java (85%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/command/StopCmd.java (87%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/DownloadTaskQueue.java (91%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/IDownloader.java (92%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/IPool.java (94%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/ITaskQueue.java (90%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/pool/CachePool.java (94%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/queue/pool/ExecutePool.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/scheduler/DownloadSchedulers.java (94%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/scheduler/IDownloadSchedulers.java (92%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/scheduler/OnSchedulerListener.java (86%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/DownloadListener.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/DownloadUtil.java (99%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/IDownloadListener.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/IDownloadUtil.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/Task.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/core/task/TaskFactory.java (90%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/orm/DbEntity.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/orm/DbUtil.java (99%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/orm/Id.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/orm/Ignore.java (96%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/orm/SqlHelper.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/util/CheckUtil.java (95%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/util/CommonUtil.java (97%) rename {downloadutil/src/main/java/com/arialyy/downloadutil => Aria/src/main/java/com/arialyy/aria}/util/PathUtil.java (98%) rename {downloadutil => Aria}/src/main/res/values/strings.xml (100%) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index e12fe0b2..3889b503 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -9,8 +9,8 @@