Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 90372cf49a3ecbc06c4b9d1d65a2db4581a96245 @luck1991 luck1991 committed Jan 4, 2017
Showing with 67,588 additions and 0 deletions.
  1. +8 −0 .gitignore
  2. +1 −0 .idea/.name
  3. +22 −0 .idea/compiler.xml
  4. +3 −0 .idea/copyright/profiles_settings.xml
  5. +6 −0 .idea/encodings.xml
  6. +28 −0 .idea/gradle.xml
  7. +181 −0 .idea/misc.xml
  8. +11 −0 .idea/modules.xml
  9. +12 −0 .idea/runConfigurations.xml
  10. +1 −0 app/.gitignore
  11. +27 −0 app/build.gradle
  12. +17 −0 app/proguard-rules.pro
  13. +13 −0 app/src/androidTest/java/com/luck/pictureselector/ApplicationTest.java
  14. +30 −0 app/src/main/AndroidManifest.xml
  15. +194 −0 app/src/main/java/com/luck/pictureselector/MainActivity.java
  16. +154 −0 app/src/main/java/com/luck/pictureselector/adapter/GridImageAdapter.java
  17. +103 −0 app/src/main/java/com/luck/pictureselector/util/FullyGridLayoutManager.java
  18. +251 −0 app/src/main/res/layout/activity_main.xml
  19. +34 −0 app/src/main/res/layout/gv_filter_image.xml
  20. +31 −0 app/src/main/res/layout/layout_number.xml
  21. BIN app/src/main/res/mipmap-hdpi/ic_launcher.png
  22. BIN app/src/main/res/mipmap-mdpi/ic_launcher.png
  23. BIN app/src/main/res/mipmap-xhdpi/addimg_1x.png
  24. BIN app/src/main/res/mipmap-xhdpi/delet_zhaopian_1x.png
  25. BIN app/src/main/res/mipmap-xhdpi/ic_launcher.png
  26. BIN app/src/main/res/mipmap-xhdpi/ic_minus.png
  27. BIN app/src/main/res/mipmap-xhdpi/ic_plus.png
  28. BIN app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  29. BIN app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  30. +6 −0 app/src/main/res/values-w820dp/dimens.xml
  31. +8 −0 app/src/main/res/values/colors.xml
  32. +5 −0 app/src/main/res/values/dimens.xml
  33. +3 −0 app/src/main/res/values/strings.xml
  34. +11 −0 app/src/main/res/values/styles.xml
  35. +15 −0 app/src/test/java/com/luck/pictureselector/ExampleUnitTest.java
  36. +23 −0 build.gradle
  37. +18 −0 gradle.properties
  38. BIN gradle/wrapper/gradle-wrapper.jar
  39. +6 −0 gradle/wrapper/gradle-wrapper.properties
  40. +160 −0 gradlew
  41. +90 −0 gradlew.bat
  42. BIN image/0F918EB15954836F59A95A3F7E0D2012.jpg
  43. BIN image/159BC10964D06B234A22504A545945A2.jpg
  44. BIN image/2AEDE4E52CC095F5896E066C59DDDF85.jpg
  45. BIN image/317B5A5640BB1B835509BDBF0B6FC290.jpg
  46. BIN image/36C818DEDF2A5AA745CD699FBBF67E7F.jpg
  47. BIN image/6E8F68E1B09EA4FAAD4F42D8B2BC103E.jpg
  48. BIN image/6F1A24D51AEB126C4AD91DE7BA5B4319.jpg
  49. BIN image/9B433C9C47C3FCA7BC42D6E3B6F27698.jpg
  50. +1 −0 picture_library/.gitignore
  51. +28 −0 picture_library/build.gradle
  52. +17 −0 picture_library/proguard-rules.pro
  53. +13 −0 picture_library/src/androidTest/java/com/luck/picture/ApplicationTest.java
  54. +27 −0 picture_library/src/main/AndroidManifest.xml
  55. +117 −0 picture_library/src/main/java/com/luck/picture/adapter/AlbumDirectoryAdapter.java
  56. +271 −0 picture_library/src/main/java/com/luck/picture/adapter/ImageGridAdapter.java
  57. +50 −0 picture_library/src/main/java/com/luck/picture/decoration/GridSpacingItemDecoration.java
  58. +134 −0 picture_library/src/main/java/com/luck/picture/decoration/RecycleViewDivider.java
  59. +67 −0 picture_library/src/main/java/com/luck/picture/entity/LocalMedia.java
  60. +87 −0 picture_library/src/main/java/com/luck/picture/entity/LocalMediaFolder.java
  61. +261 −0 picture_library/src/main/java/com/luck/picture/ui/AlbumDirectoryActivity.java
  62. +139 −0 picture_library/src/main/java/com/luck/picture/ui/BaseActivity.java
  63. +502 −0 picture_library/src/main/java/com/luck/picture/ui/ImageGridActivity.java
  64. +60 −0 picture_library/src/main/java/com/luck/picture/ui/ImagePreviewFragment.java
  65. +202 −0 picture_library/src/main/java/com/luck/picture/ui/PreviewActivity.java
  66. +79 −0 picture_library/src/main/java/com/luck/picture/ui/VideoPlayActivity.java
  67. +44 −0 picture_library/src/main/java/com/luck/picture/util/Constants.java
  68. +57 −0 picture_library/src/main/java/com/luck/picture/util/FileUtils.java
  69. +198 −0 picture_library/src/main/java/com/luck/picture/util/LocalMediaLoader.java
  70. +46 −0 picture_library/src/main/java/com/luck/picture/util/ScreenUtils.java
  71. +60 −0 picture_library/src/main/java/com/luck/picture/util/Utils.java
  72. +45 −0 picture_library/src/main/java/com/luck/picture/widget/PreviewViewPager.java
  73. +42 −0 picture_library/src/main/java/com/luck/picture/widget/SquareRelativeLayout.java
  74. +8 −0 picture_library/src/main/res/anim/down_out.xml
  75. +39 −0 picture_library/src/main/res/anim/modal_in.xml
  76. +18 −0 picture_library/src/main/res/anim/modal_out.xml
  77. +7 −0 picture_library/src/main/res/anim/slide_bottom_in.xml
  78. +7 −0 picture_library/src/main/res/anim/slide_bottom_out.xml
  79. +9 −0 picture_library/src/main/res/anim/slide_left_in.xml
  80. +9 −0 picture_library/src/main/res/anim/slide_left_out.xml
  81. +9 −0 picture_library/src/main/res/anim/slide_right_in.xml
  82. +9 −0 picture_library/src/main/res/anim/slide_right_out.xml
  83. +8 −0 picture_library/src/main/res/anim/up_in.xml
  84. +5 −0 picture_library/src/main/res/color/ucrop_scale_text_view_selector.xml
  85. +4 −0 picture_library/src/main/res/drawable/check_green.xml
  86. +5 −0 picture_library/src/main/res/drawable/checkbox_checktor.xml
  87. +5 −0 picture_library/src/main/res/drawable/checkbox_selector.xml
  88. +12 −0 picture_library/src/main/res/drawable/image_placeholder.xml
  89. +7 −0 picture_library/src/main/res/drawable/item_select_bg.xml
  90. +13 −0 picture_library/src/main/res/drawable/message_oval.xml
  91. +9 −0 picture_library/src/main/res/drawable/ucrop_vector_ic_crop.xml
  92. +29 −0 picture_library/src/main/res/layout/activity_album.xml
  93. +82 −0 picture_library/src/main/res/layout/activity_image_grid.xml
  94. +100 −0 picture_library/src/main/res/layout/activity_image_preview.xml
  95. +23 −0 picture_library/src/main/res/layout/activity_video_play.xml
  96. +62 −0 picture_library/src/main/res/layout/album_folder_item.xml
  97. +11 −0 picture_library/src/main/res/layout/fragment_image_preview.xml
  98. +40 −0 picture_library/src/main/res/layout/image_grid_item.xml
  99. +24 −0 picture_library/src/main/res/layout/item_camera.xml
  100. +49 −0 picture_library/src/main/res/layout/widget_toolbar.xml
  101. BIN picture_library/src/main/res/mipmap-xhdpi/back.png
  102. BIN picture_library/src/main/res/mipmap-xhdpi/buybuybuy.png
  103. BIN picture_library/src/main/res/mipmap-xhdpi/def.png
  104. BIN picture_library/src/main/res/mipmap-xhdpi/ic_camera.png
  105. BIN picture_library/src/main/res/mipmap-xhdpi/sel.png
  106. BIN picture_library/src/main/res/mipmap-xhdpi/ucrop_ic_cross.png
  107. BIN picture_library/src/main/res/mipmap-xhdpi/ucrop_ic_done.png
  108. BIN picture_library/src/main/res/mipmap-xxhdpi/ic_check.png
  109. BIN picture_library/src/main/res/mipmap-xxhdpi/ic_checked.png
  110. BIN picture_library/src/main/res/mipmap-xxhdpi/ic_placeholder.png
  111. BIN picture_library/src/main/res/mipmap-xxhdpi/more_1x.png
  112. +6 −0 picture_library/src/main/res/values-w820dp/dimens.xml
  113. +24 −0 picture_library/src/main/res/values-zh-rCN/strings.xml
  114. +25 −0 picture_library/src/main/res/values/attrs.xml
  115. +38 −0 picture_library/src/main/res/values/colors.xml
  116. +29 −0 picture_library/src/main/res/values/dimens.xml
  117. +25 −0 picture_library/src/main/res/values/strings.xml
  118. +42 −0 picture_library/src/main/res/values/styles.xml
  119. +15 −0 picture_library/src/test/java/com/luck/picture/ExampleUnitTest.java
  120. +1 −0 settings.gradle
  121. +1 −0 ucrop/.gitignore
  122. +40 −0 ucrop/build.gradle
  123. +3 −0 ucrop/gradle.properties
  124. +17 −0 ucrop/proguard-rules.pro
  125. +2 −0 ucrop/src/main/AndroidManifest.xml
  126. +536 −0 ucrop/src/main/java/com/yalantis/ucrop/UCrop.java
  127. +272 −0 ucrop/src/main/java/com/yalantis/ucrop/UCropActivity.java
  128. +12 −0 ucrop/src/main/java/com/yalantis/ucrop/callback/BitmapCropCallback.java
  129. +15 −0 ucrop/src/main/java/com/yalantis/ucrop/callback/BitmapLoadCallback.java
  130. +10 −0 ucrop/src/main/java/com/yalantis/ucrop/callback/CropBoundsChangeListener.java
  131. +12 −0 ucrop/src/main/java/com/yalantis/ucrop/callback/OverlayViewChangeListener.java
  132. +26 −0 ucrop/src/main/java/com/yalantis/ucrop/dialog/Indeterminate.java
  133. +95 −0 ucrop/src/main/java/com/yalantis/ucrop/dialog/OptAnimationLoader.java
  134. +82 −0 ucrop/src/main/java/com/yalantis/ucrop/dialog/SpinView.java
  135. +127 −0 ucrop/src/main/java/com/yalantis/ucrop/dialog/SuccessTickView.java
  136. +117 −0 ucrop/src/main/java/com/yalantis/ucrop/dialog/SweetAlertDialog.java
  137. +66 −0 ucrop/src/main/java/com/yalantis/ucrop/model/AspectRatio.java
  138. +58 −0 ucrop/src/main/java/com/yalantis/ucrop/model/CropParameters.java
  139. +63 −0 ucrop/src/main/java/com/yalantis/ucrop/model/ExifInfo.java
  140. +37 −0 ucrop/src/main/java/com/yalantis/ucrop/model/ImageState.java
  141. +192 −0 ucrop/src/main/java/com/yalantis/ucrop/task/BitmapCropTask.java
  142. +219 −0 ucrop/src/main/java/com/yalantis/ucrop/task/BitmapLoadTask.java
  143. +173 −0 ucrop/src/main/java/com/yalantis/ucrop/util/BitmapLoadUtils.java
  144. +17 −0 ucrop/src/main/java/com/yalantis/ucrop/util/CubicEasing.java
  145. +134 −0 ucrop/src/main/java/com/yalantis/ucrop/util/EglUtils.java
  146. +103 −0 ucrop/src/main/java/com/yalantis/ucrop/util/FastBitmapDrawable.java
  147. +228 −0 ucrop/src/main/java/com/yalantis/ucrop/util/FileUtils.java
  148. +425 −0 ucrop/src/main/java/com/yalantis/ucrop/util/ImageHeaderParser.java
  149. +72 −0 ucrop/src/main/java/com/yalantis/ucrop/util/RectUtils.java
  150. +111 −0 ucrop/src/main/java/com/yalantis/ucrop/util/RotationGestureDetector.java
  151. +42 −0 ucrop/src/main/java/com/yalantis/ucrop/util/SelectedStateListDrawable.java
  152. +548 −0 ucrop/src/main/java/com/yalantis/ucrop/util/SystemBarTintManager.java
  153. +627 −0 ucrop/src/main/java/com/yalantis/ucrop/view/CropImageView.java
  154. +152 −0 ucrop/src/main/java/com/yalantis/ucrop/view/GestureCropImageView.java
  155. +577 −0 ucrop/src/main/java/com/yalantis/ucrop/view/OverlayView.java
  156. +339 −0 ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java
  157. +66 −0 ucrop/src/main/java/com/yalantis/ucrop/view/UCropView.java
  158. +163 −0 ucrop/src/main/java/com/yalantis/ucrop/view/widget/AspectRatioTextView.java
  159. +151 −0 ucrop/src/main/java/com/yalantis/ucrop/view/widget/HorizontalProgressWheelView.java
  160. +14 −0 ucrop/src/main/jni/Android.mk
  161. +6 −0 ucrop/src/main/jni/Application.mk
  162. +56,164 −0 ucrop/src/main/jni/CImg.h
  163. +22 −0 ucrop/src/main/jni/com_yalantis_ucrop_task_BitmapCropTask.h
  164. +116 −0 ucrop/src/main/jni/uCrop.cpp
  165. BIN ucrop/src/main/jniLibs/arm64-v8a/libucrop.so
  166. BIN ucrop/src/main/jniLibs/armeabi-v7a/libucrop.so
  167. BIN ucrop/src/main/jniLibs/armeabi/libucrop.so
  168. BIN ucrop/src/main/jniLibs/x86/libucrop.so
  169. BIN ucrop/src/main/jniLibs/x86_64/libucrop.so
  170. +39 −0 ucrop/src/main/res/anim/modal_in.xml
  171. +18 −0 ucrop/src/main/res/anim/modal_out.xml
  172. +20 −0 ucrop/src/main/res/anim/ucrop_loader_circle_path.xml
  173. +28 −0 ucrop/src/main/res/anim/ucrop_loader_circle_scale.xml
  174. +5 −0 ucrop/src/main/res/color/ucrop_scale_text_view_selector.xml
  175. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_angle.png
  176. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_crop.png
  177. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_cross.png
  178. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_done.png
  179. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_next.png
  180. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_reset.png
  181. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_rotate.png
  182. BIN ucrop/src/main/res/drawable-hdpi/ucrop_ic_scale.png
  183. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_angle.png
  184. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_crop.png
  185. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_cross.png
  186. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_done.png
  187. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_next.png
  188. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_reset.png
  189. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_rotate.png
  190. BIN ucrop/src/main/res/drawable-ldpi/ucrop_ic_scale.png
  191. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_angle.png
  192. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_crop.png
  193. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_cross.png
  194. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_done.png
  195. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_next.png
  196. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_reset.png
  197. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_rotate.png
  198. BIN ucrop/src/main/res/drawable-mdpi/ucrop_ic_scale.png
  199. BIN ucrop/src/main/res/drawable-xhdpi/back.png
  200. BIN ucrop/src/main/res/drawable-xhdpi/kprogresshud_spinner.png
  201. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_angle.png
  202. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_crop.png
  203. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_cross.png
  204. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_done.png
  205. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_next.png
  206. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_reset.png
  207. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_rotate.png
  208. BIN ucrop/src/main/res/drawable-xhdpi/ucrop_ic_scale.png
  209. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_angle.png
  210. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_crop.png
  211. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_cross.png
  212. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_done.png
  213. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_next.png
  214. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_reset.png
  215. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_rotate.png
  216. BIN ucrop/src/main/res/drawable-xxhdpi/ucrop_ic_scale.png
  217. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_angle.png
  218. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_crop.png
  219. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_cross.png
  220. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_done.png
  221. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_next.png
  222. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_reset.png
  223. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_rotate.png
  224. BIN ucrop/src/main/res/drawable-xxxhdpi/ucrop_ic_scale.png
  225. +8 −0 ucrop/src/main/res/drawable/dialog_custom_bg.xml
  226. +7 −0 ucrop/src/main/res/drawable/ucrop_shadow_upside.xml
  227. +9 −0 ucrop/src/main/res/drawable/ucrop_vector_ic_crop.xml
  228. +24 −0 ucrop/src/main/res/drawable/ucrop_vector_loader.xml
  229. +11 −0 ucrop/src/main/res/drawable/ucrop_vector_loader_animated.xml
  230. +37 −0 ucrop/src/main/res/layout/alert_dialog.xml
  231. +75 −0 ucrop/src/main/res/layout/ucrop_activity_photobox.xml
  232. +20 −0 ucrop/src/main/res/layout/ucrop_view.xml
  233. +18 −0 ucrop/src/main/res/menu/ucrop_menu_activity.xml
  234. +5 −0 ucrop/src/main/res/values-fr/strings.xml
  235. +5 −0 ucrop/src/main/res/values-nl/strings.xml
  236. +7 −0 ucrop/src/main/res/values-sk/strings.xml
  237. +11 −0 ucrop/src/main/res/values-zh-rTW/strings.xml
  238. +8 −0 ucrop/src/main/res/values-zh/strings.xml
  239. +35 −0 ucrop/src/main/res/values/attrs.xml
  240. +20 −0 ucrop/src/main/res/values/colors.xml
  241. +25 −0 ucrop/src/main/res/values/dimens.xml
  242. +5 −0 ucrop/src/main/res/values/public.xml
  243. +11 −0 ucrop/src/main/res/values/strings.xml
  244. +54 −0 ucrop/src/main/res/values/styles.xml
  245. +4 −0 ucrop/src/main/res/values/values.xml
@@ -0,0 +1,8 @@
+*.iml
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
+/captures
@@ -0,0 +1 @@
+PictureSelector
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="CompilerConfiguration">
+ <resourceExtensions />
+ <wildcardResourcePatterns>
+ <entry name="!?*.java" />
+ <entry name="!?*.form" />
+ <entry name="!?*.class" />
+ <entry name="!?*.groovy" />
+ <entry name="!?*.scala" />
+ <entry name="!?*.flex" />
+ <entry name="!?*.kt" />
+ <entry name="!?*.clj" />
+ <entry name="!?*.aj" />
+ </wildcardResourcePatterns>
+ <annotationProcessing>
+ <profile default="true" name="Default" enabled="false">
+ <processorPath useClasspath="true" />
+ </profile>
+ </annotationProcessing>
+ </component>
+</project>
@@ -0,0 +1,3 @@
+<component name="CopyrightManager">
+ <settings default="" />
+</component>
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="Encoding">
+ <file url="PROJECT" charset="UTF-8" />
+ </component>
+</project>
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="GradleSettings">
+ <option name="linkedExternalProjectsSettings">
+ <GradleProjectSettings>
+ <option name="distributionType" value="LOCAL" />
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
+ <option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.14.1" />
+ <option name="modules">
+ <set>
+ <option value="$PROJECT_DIR$" />
+ <option value="$PROJECT_DIR$/app" />
+ <option value="$PROJECT_DIR$/picture_library" />
+ <option value="$PROJECT_DIR$/ucrop" />
+ </set>
+ </option>
+ <option name="myModules">
+ <set>
+ <option value="$PROJECT_DIR$" />
+ <option value="$PROJECT_DIR$/app" />
+ <option value="$PROJECT_DIR$/picture_library" />
+ <option value="$PROJECT_DIR$/ucrop" />
+ </set>
+ </option>
+ </GradleProjectSettings>
+ </option>
+ </component>
+</project>
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="EntryPointsManager">
+ <entry_points version="2.0" />
+ </component>
+ <component name="MavenImportPreferences">
+ <option name="generalSettings">
+ <MavenGeneralSettings>
+ <option name="mavenHome" value="Bundled (Maven 3)" />
+ </MavenGeneralSettings>
+ </option>
+ </component>
+ <component name="NullableNotNullManager">
+ <option name="myDefaultNullable" value="android.support.annotation.Nullable" />
+ <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
+ <option name="myNullables">
+ <value>
+ <list size="4">
+ <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
+ <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
+ <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
+ <item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
+ </list>
+ </value>
+ </option>
+ <option name="myNotNulls">
+ <value>
+ <list size="4">
+ <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
+ <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
+ <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
+ <item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
+ </list>
+ </value>
+ </option>
+ </component>
+ <component name="ProjectInspectionProfilesVisibleTreeState">
+ <entry key="Project Default">
+ <profile-state>
+ <expanded-state>
+ <State>
+ <id />
+ </State>
+ <State>
+ <id>Android</id>
+ </State>
+ <State>
+ <id>Android &gt; Lint &gt; Correctness</id>
+ </State>
+ <State>
+ <id>Android &gt; Lint &gt; Performance</id>
+ </State>
+ <State>
+ <id>C/C++</id>
+ </State>
+ <State>
+ <id>Class structureJava</id>
+ </State>
+ <State>
+ <id>Control flow issuesJava</id>
+ </State>
+ <State>
+ <id>CorrectnessLintAndroid</id>
+ </State>
+ <State>
+ <id>Error handlingJava</id>
+ </State>
+ <State>
+ <id>General</id>
+ </State>
+ <State>
+ <id>Groovy</id>
+ </State>
+ <State>
+ <id>HTML</id>
+ </State>
+ <State>
+ <id>ImportsJava</id>
+ </State>
+ <State>
+ <id>Internationalization issues</id>
+ </State>
+ <State>
+ <id>Internationalization issuesJava</id>
+ </State>
+ <State>
+ <id>J2ME issuesJava</id>
+ </State>
+ <State>
+ <id>JSON</id>
+ </State>
+ <State>
+ <id>Java</id>
+ </State>
+ <State>
+ <id>Javadoc issuesJava</id>
+ </State>
+ <State>
+ <id>LintAndroid</id>
+ </State>
+ <State>
+ <id>Manifest</id>
+ </State>
+ <State>
+ <id>OtherGroovy</id>
+ </State>
+ <State>
+ <id>Portability issuesJava</id>
+ </State>
+ <State>
+ <id>Potentially confusing code constructsGroovy</id>
+ </State>
+ <State>
+ <id>Probable bugsJava</id>
+ </State>
+ <State>
+ <id>Properties Files</id>
+ </State>
+ <State>
+ <id>Properties FilesJava</id>
+ </State>
+ <State>
+ <id>RELAX NG</id>
+ </State>
+ <State>
+ <id>Resource management issuesJava</id>
+ </State>
+ <State>
+ <id>Threading issuesJava</id>
+ </State>
+ <State>
+ <id>Unused codeC/C++</id>
+ </State>
+ <State>
+ <id>Validity issuesGroovy</id>
+ </State>
+ <State>
+ <id>XML</id>
+ </State>
+ </expanded-state>
+ <selected-state>
+ <State>
+ <id>Android</id>
+ </State>
+ </selected-state>
+ </profile-state>
+ </entry>
+ </component>
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
+ <OptionsSetting value="true" id="Add" />
+ <OptionsSetting value="true" id="Remove" />
+ <OptionsSetting value="true" id="Checkout" />
+ <OptionsSetting value="true" id="Update" />
+ <OptionsSetting value="true" id="Status" />
+ <OptionsSetting value="true" id="Edit" />
+ <ConfirmationsSetting value="0" id="Add" />
+ <ConfirmationsSetting value="0" id="Remove" />
+ </component>
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
+ <output url="file://$PROJECT_DIR$/build/classes" />
+ </component>
+ <component name="ProjectType">
+ <option name="id" value="Android" />
+ </component>
+ <component name="masterDetails">
+ <states>
+ <state key="ProjectJDKs.UI">
+ <settings>
+ <last-edited>1.6</last-edited>
+ <splitter-proportions>
+ <option name="proportions">
+ <list>
+ <option value="0.2" />
+ </list>
+ </option>
+ </splitter-proportions>
+ </settings>
+ </state>
+ </states>
+ </component>
+</project>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/PictureSelector.iml" filepath="$PROJECT_DIR$/PictureSelector.iml" />
+ <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
+ <module fileurl="file://$PROJECT_DIR$/picture_library/picture_library.iml" filepath="$PROJECT_DIR$/picture_library/picture_library.iml" />
+ <module fileurl="file://$PROJECT_DIR$/ucrop/ucrop.iml" filepath="$PROJECT_DIR$/ucrop/ucrop.iml" />
+ </modules>
+ </component>
+</project>
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="RunConfigurationProducerService">
+ <option name="ignoredProducers">
+ <set>
+ <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
+ <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
+ <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
+ </set>
+ </option>
+ </component>
+</project>
@@ -0,0 +1 @@
+/build
@@ -0,0 +1,27 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 23
+ buildToolsVersion "23.0.3"
+
+ defaultConfig {
+ applicationId "com.luck.pictureselector"
+ minSdkVersion 16
+ targetSdkVersion 23
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ compile fileTree(dir: 'libs', include: ['*.jar'])
+ testCompile 'junit:junit:4.12'
+ compile 'com.android.support:appcompat-v7:23.4.0'
+ compile project(':picture_library')
+}
@@ -0,0 +1,17 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in /Users/luck/Documents/android-sdk-macosx-2/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
@@ -0,0 +1,13 @@
+package com.luck.pictureselector;
+
+import android.app.Application;
+import android.test.ApplicationTestCase;
+
+/**
+ * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
+ */
+public class ApplicationTest extends ApplicationTestCase<Application> {
+ public ApplicationTest() {
+ super(Application.class);
+ }
+}
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.luck.pictureselector">
+
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.CAMERA" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:allowBackup="true"
+ android:icon="@mipmap/ic_launcher"
+ android:label="@string/app_name"
+ android:supportsRtl="true"
+ android:theme="@style/AppTheme">
+ <activity
+ android:name=".MainActivity"
+ android:screenOrientation="portrait">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ </application>
+
+</manifest>
Oops, something went wrong.

0 comments on commit 90372cf

Please sign in to comment.