操作パネル搭載のための準備その14。作例表示モードへのインパクト修正。
@@ -34,6 +34,7 @@ | ||
34 | 34 | <list default="true" readonly="true" id="754c9e42-e168-4355-a96f-5b6d4290fd93" name="Default" comment=""> |
35 | 35 | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> |
36 | 36 | <change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/CameraControlPanel.java" afterPath="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/CameraControlPanel.java" /> |
37 | + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java" afterPath="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java" /> | |
37 | 38 | </list> |
38 | 39 | <ignored path="AirA01b.iws" /> |
39 | 40 | <ignored path=".idea/workspace.xml" /> |
@@ -2726,12 +2727,12 @@ | ||
2726 | 2727 | <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/ICameraPanelDrawer.java" /> |
2727 | 2728 | <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/ScalableImageViewPanel.java" /> |
2728 | 2729 | <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/olycamerawrapper/CameraStatusListenerImpl.java" /> |
2729 | - <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java" /> | |
2730 | 2730 | <option value="$PROJECT_DIR$/app/src/main/res/xml/preferences.xml" /> |
2731 | 2731 | <option value="$PROJECT_DIR$/app/src/main/res/values/strings.xml" /> |
2732 | 2732 | <option value="$PROJECT_DIR$/app/src/main/res/values-ja/strings.xml" /> |
2733 | 2733 | <option value="$PROJECT_DIR$/app/src/main/res/values-ja/arrays.xml" /> |
2734 | 2734 | <option value="$PROJECT_DIR$/app/src/main/res/values/arrays.xml" /> |
2735 | + <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java" /> | |
2735 | 2736 | <option value="$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/CameraControlPanel.java" /> |
2736 | 2737 | </list> |
2737 | 2738 | </option> |
@@ -3517,13 +3518,6 @@ | ||
3517 | 3518 | <option name="presentableId" value="Default" /> |
3518 | 3519 | <updated>1469871562549</updated> |
3519 | 3520 | </task> |
3520 | - <task id="LOCAL-00079" summary="OpenCVを3.2.0に更新。 "> | |
3521 | - <created>1483102296563</created> | |
3522 | - <option name="number" value="00079" /> | |
3523 | - <option name="presentableId" value="LOCAL-00079" /> | |
3524 | - <option name="project" value="LOCAL" /> | |
3525 | - <updated>1483102296564</updated> | |
3526 | - </task> | |
3527 | 3521 | <task id="LOCAL-00080" summary="フォーカスアシストを少し変更。 "> |
3528 | 3522 | <created>1483105831830</created> |
3529 | 3523 | <option name="number" value="00080" /> |
@@ -3860,7 +3854,14 @@ | ||
3860 | 3854 | <option name="project" value="LOCAL" /> |
3861 | 3855 | <updated>1495290506150</updated> |
3862 | 3856 | </task> |
3863 | - <option name="localTasksCounter" value="128" /> | |
3857 | + <task id="LOCAL-00128" summary="操作パネル搭載のための準備その13。見た目を変えてみた。作例表示モードへのインパクトを治す必要あり。 "> | |
3858 | + <created>1495378445382</created> | |
3859 | + <option name="number" value="00128" /> | |
3860 | + <option name="presentableId" value="LOCAL-00128" /> | |
3861 | + <option name="project" value="LOCAL" /> | |
3862 | + <updated>1495378445382</updated> | |
3863 | + </task> | |
3864 | + <option name="localTasksCounter" value="129" /> | |
3864 | 3865 | <servers /> |
3865 | 3866 | </component> |
3866 | 3867 | <component name="TodoView"> |
@@ -3890,6 +3891,7 @@ | ||
3890 | 3891 | <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> |
3891 | 3892 | <window_info id="Gradle Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.46058732" sideWeight="0.50921756" order="11" side_tool="true" content_ui="tabs" /> |
3892 | 3893 | <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2277755" sideWeight="0.4935484" order="2" side_tool="false" content_ui="tabs" /> |
3894 | + <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33848533" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | |
3893 | 3895 | <window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> |
3894 | 3896 | <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24979983" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> |
3895 | 3897 | <window_info id="Android Model" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="true" content_ui="tabs" /> |
@@ -3907,7 +3909,6 @@ | ||
3907 | 3909 | <window_info id="Palette	" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" /> |
3908 | 3910 | <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> |
3909 | 3911 | <window_info id="Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32978287" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> |
3910 | - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33848533" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | |
3911 | 3912 | </layout> |
3912 | 3913 | <layout-to-restore> |
3913 | 3914 | <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> |
@@ -3956,7 +3957,6 @@ | ||
3956 | 3957 | <option name="myLimit" value="2678400000" /> |
3957 | 3958 | </component> |
3958 | 3959 | <component name="VcsManagerConfiguration"> |
3959 | - <MESSAGE value="内蔵カメラの位置情報を記録するように作りこんだ。" /> | |
3960 | 3960 | <MESSAGE value="位置情報をひろってギャラリーに登録するようにした。" /> |
3961 | 3961 | <MESSAGE value="デジタル水準器のデータをとれるようにした。(まだログだけ) " /> |
3962 | 3962 | <MESSAGE value="デジタル水準器を数値で表示するようにした。 " /> |
@@ -3981,7 +3981,8 @@ | ||
3981 | 3981 | <MESSAGE value="操作パネル搭載のための準備その11。スワイプ入れたのデバック途中。" /> |
3982 | 3982 | <MESSAGE value="操作パネル搭載のための準備その12。見た目以外はとりあえず。 " /> |
3983 | 3983 | <MESSAGE value="操作パネル搭載のための準備その12。見た目以外の機能は完成。 " /> |
3984 | - <option name="LAST_COMMIT_MESSAGE" value="操作パネル搭載のための準備その12。見た目以外の機能は完成。 " /> | |
3984 | + <MESSAGE value="操作パネル搭載のための準備その13。見た目を変えてみた。作例表示モードへのインパクトを治す必要あり。 " /> | |
3985 | + <option name="LAST_COMMIT_MESSAGE" value="操作パネル搭載のための準備その13。見た目を変えてみた。作例表示モードへのインパクトを治す必要あり。 " /> | |
3985 | 3986 | </component> |
3986 | 3987 | <component name="XDebuggerManager"> |
3987 | 3988 | <breakpoint-manager> |
@@ -4210,14 +4211,6 @@ | ||
4210 | 4211 | </state> |
4211 | 4212 | </provider> |
4212 | 4213 | </entry> |
4213 | - <entry file="file://$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java"> | |
4214 | - <provider selected="true" editor-type-id="text-editor"> | |
4215 | - <state relative-caret-position="17"> | |
4216 | - <caret line="27" column="81" selection-start-line="27" selection-start-column="81" selection-end-line="27" selection-end-column="81" /> | |
4217 | - <folding /> | |
4218 | - </state> | |
4219 | - </provider> | |
4220 | - </entry> | |
4221 | 4214 | <entry file="file://$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/CameraLiveImageView.java"> |
4222 | 4215 | <provider selected="true" editor-type-id="text-editor"> |
4223 | 4216 | <state relative-caret-position="986"> |
@@ -4357,8 +4350,8 @@ | ||
4357 | 4350 | </entry> |
4358 | 4351 | <entry file="file://$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/CameraControlPanel.java"> |
4359 | 4352 | <provider selected="true" editor-type-id="text-editor"> |
4360 | - <state relative-caret-position="544"> | |
4361 | - <caret line="318" column="38" selection-start-line="318" selection-start-column="38" selection-end-line="318" selection-end-column="38" /> | |
4353 | + <state relative-caret-position="646"> | |
4354 | + <caret line="261" column="31" selection-start-line="261" selection-start-column="31" selection-end-line="261" selection-end-column="31" /> | |
4362 | 4355 | <folding> |
4363 | 4356 | <element signature="imports" expanded="true" /> |
4364 | 4357 | <element signature="method#onScroll#0;class#CameraControlPanel#0" expanded="false" /> |
@@ -4367,5 +4360,15 @@ | ||
4367 | 4360 | </state> |
4368 | 4361 | </provider> |
4369 | 4362 | </entry> |
4363 | + <entry file="file://$PROJECT_DIR$/app/src/main/java/jp/osdn/gokigen/aira01b/liveview/LiveViewFragment.java"> | |
4364 | + <provider selected="true" editor-type-id="text-editor"> | |
4365 | + <state relative-caret-position="2788"> | |
4366 | + <caret line="264" column="56" selection-start-line="264" selection-start-column="56" selection-end-line="264" selection-end-column="56" /> | |
4367 | + <folding> | |
4368 | + <element signature="imports" expanded="true" /> | |
4369 | + </folding> | |
4370 | + </state> | |
4371 | + </provider> | |
4372 | + </entry> | |
4370 | 4373 | </component> |
4371 | 4374 | </project> |
\ No newline at end of file |
@@ -1,5 +1,6 @@ | ||
1 | 1 | package jp.osdn.gokigen.aira01b.liveview; |
2 | 2 | |
3 | +import android.content.SharedPreferences; | |
3 | 4 | import android.graphics.Canvas; |
4 | 5 | import android.graphics.Color; |
5 | 6 | import android.graphics.Paint; |
@@ -73,6 +74,7 @@ | ||
73 | 74 | { |
74 | 75 | boolean ret = true; |
75 | 76 | Log.v(TAG, "onTouch() : [" + event.getX() + "," + event.getY() + "] "); |
77 | + | |
76 | 78 | if (event.getActionMasked() == MotionEvent.ACTION_UP) |
77 | 79 | { |
78 | 80 | Log.v(TAG, "onTouch() UP : [" + event.getX() + "," + event.getY() + "] "); |
@@ -257,20 +259,16 @@ | ||
257 | 259 | drawConsolePanel(canvas, width_unit, height_unit); |
258 | 260 | } |
259 | 261 | |
260 | - ///// 動作インジケータ ///// | |
262 | + ///// 動作インジケータ(5回に1回、色を更新) ///// | |
261 | 263 | if (value % 5 == 0) |
262 | 264 | { |
263 | - if (currentColor == Color.WHITE) | |
265 | + if (currentColor == Color.LTGRAY) | |
264 | 266 | { |
265 | - currentColor = Color.LTGRAY; | |
266 | - } | |
267 | - else if (currentColor == Color.LTGRAY) | |
268 | - { | |
269 | 267 | currentColor = Color.DKGRAY; |
270 | 268 | } |
271 | 269 | else |
272 | 270 | { |
273 | - currentColor = Color.WHITE; | |
271 | + currentColor = Color.LTGRAY; | |
274 | 272 | } |
275 | 273 | } |
276 | 274 | rectPaint.setColor(currentColor); |
@@ -247,6 +247,9 @@ | ||
247 | 247 | } |
248 | 248 | |
249 | 249 | statusListener.setDelegateListener(null); |
250 | + sampleImageView.setOnClickListener(null); | |
251 | + sampleImageView.setOnTouchListener(null); | |
252 | + sampleImageView.setOnLongClickListener(null); | |
250 | 253 | sampleImageView.setCameraPanelDrawer(false, null); |
251 | 254 | |
252 | 255 | Uri uri = null; |