Commit 8d292e37 authored by 林生雨's avatar 林生雨

commit

parent 4dd18614
...@@ -5,10 +5,7 @@ ...@@ -5,10 +5,7 @@
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" /> <option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="$ENABLE_FLUTTER_DESKTOP$" id="5be6bbb5-7d6e-4540-a24f-d2b3bf78b3ba" name="Default Changelist" comment=""> <list default="$ENABLE_FLUTTER_DESKTOP$" id="5be6bbb5-7d6e-4540-a24f-d2b3bf78b3ba" name="Default Changelist" comment="" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.dart_tool/" /> <ignored path="$PROJECT_DIR$/.dart_tool/" />
<ignored path="$PROJECT_DIR$/.idea/" /> <ignored path="$PROJECT_DIR$/.idea/" />
<ignored path="$PROJECT_DIR$/.pub/" /> <ignored path="$PROJECT_DIR$/.pub/" />
...@@ -195,8 +192,8 @@ ...@@ -195,8 +192,8 @@
</option> </option>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="124" /> <option name="x" value="318" />
<option name="y" value="157" /> <option name="y" value="226" />
<option name="width" value="1440" /> <option name="width" value="1440" />
<option name="height" value="811" /> <option name="height" value="811" />
</component> </component>
...@@ -213,6 +210,24 @@ ...@@ -213,6 +210,24 @@
<item name="gengmei_flutter_plugin" type="b2602c69:ProjectViewProjectNode" /> <item name="gengmei_flutter_plugin" type="b2602c69:ProjectViewProjectNode" />
<item name="gengmei_flutter_plugin" type="462c0819:PsiDirectoryNode" /> <item name="gengmei_flutter_plugin" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="gengmei_flutter_plugin" type="b2602c69:ProjectViewProjectNode" />
<item name="gengmei_flutter_plugin" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="gengmei_flutter_plugin" type="b2602c69:ProjectViewProjectNode" />
<item name="gengmei_flutter_plugin" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="gengmei_flutter_plugin" type="b2602c69:ProjectViewProjectNode" />
<item name="gengmei_flutter_plugin" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
...@@ -266,7 +281,7 @@ ...@@ -266,7 +281,7 @@
<servers /> <servers />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="172" y="89" width="1440" height="811" extended-state="0" /> <frame x="318" y="226" width="1440" height="811" extended-state="0" />
<editor active="$ENABLE_FLUTTER_DESKTOP$" /> <editor active="$ENABLE_FLUTTER_DESKTOP$" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="$ENABLE_FLUTTER_DESKTOP$" weight="0.19742489" /> <window_info content_ui="combo" id="Project" order="0" visible="$ENABLE_FLUTTER_DESKTOP$" weight="0.19742489" />
...@@ -299,6 +314,17 @@ ...@@ -299,6 +314,17 @@
<window_info anchor="right" id="Preview" order="7" /> <window_info anchor="right" id="Preview" order="7" />
</layout> </layout>
</component> </component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="$ENABLE_FLUTTER_DESKTOP$" type="Dart">
<url>file://$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart</url>
<line>36</line>
<option name="timeStamp" value="1" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/a" /> <entry file="file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/a" />
<entry file="file://$PROJECT_DIR$/android/gengmei_flutter_plugin.iml"> <entry file="file://$PROJECT_DIR$/android/gengmei_flutter_plugin.iml">
......
...@@ -36,8 +36,6 @@ import android.text.TextUtils ...@@ -36,8 +36,6 @@ import android.text.TextUtils
*/ */
class ImageRespository { class ImageRespository {
private val globalThreadPool = ThreadPoolExecutor(8, 8
, 30, TimeUnit.SECONDS, LinkedBlockingQueue<Runnable>());
val recordImageListMap = ArrayList<HashMap<String, Any>>() val recordImageListMap = ArrayList<HashMap<String, Any>>()
var finishOneTask = false var finishOneTask = false
...@@ -162,7 +160,6 @@ class ImageRespository { ...@@ -162,7 +160,6 @@ class ImageRespository {
} }
} else { } else {
globalThreadPool.execute { globalThreadPool.execute {
Log.e("lsy", " THREADMAME " + Thread.currentThread().name)
var path = "" var path = ""
var degree = 0 var degree = 0
if (it["degree"] != null) { if (it["degree"] != null) {
...@@ -365,6 +362,8 @@ class ImageRespository { ...@@ -365,6 +362,8 @@ class ImageRespository {
companion object { companion object {
private var instance: ImageRespository? = null private var instance: ImageRespository? = null
const val TAG: String = "Image_Picker" const val TAG: String = "Image_Picker"
private val globalThreadPool = ThreadPoolExecutor(8, 8
, 30, TimeUnit.SECONDS, LinkedBlockingQueue<Runnable>());
fun getInstance(): ImageRespository { fun getInstance(): ImageRespository {
if (instance == null) { if (instance == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment