• R/O
  • HTTP
  • SSH
  • HTTPS

A01d: Commit

OPC(Olympus Air)用望遠鏡アプリ。


Commit MetaInfo

Révision88a51ed9e21c888dd0ba74c569bb4baeed55571d (tree)
l'heure2018-06-12 00:00:27
AuteurMRSa <mrsa@myad...>
CommiterMRSa

Message de Log

SONYカメラのオートフォーカス機能を追加。

Change Summary

Modification

--- a/app/src/main/java/net/osdn/gokigen/a01d/camera/sony/operation/takepicture/SonyAutoFocusControl.java
+++ b/app/src/main/java/net/osdn/gokigen/a01d/camera/sony/operation/takepicture/SonyAutoFocusControl.java
@@ -67,8 +67,10 @@ public class SonyAutoFocusControl
6767 {
6868 showFocusFrame(preFocusFrameRect, IAutoFocusFrameDisplay.FocusFrameStatus.Running, 0.0);
6969
70- Log.v(TAG, "AF (" + point.x + ", " + point.y + ")");
71- JSONObject resultsObj = cameraApi.setTouchAFPosition(point.x, point.y);
70+ double posX = point.x * 100.0;
71+ double posY = point.y * 100.0;
72+ Log.v(TAG, "AF (" + posX + ", " + posY + ")");
73+ JSONObject resultsObj = cameraApi.setTouchAFPosition(posX, posY);
7274 if (resultsObj == null)
7375 {
7476 Log.v(TAG, "setTouchAFPosition() reply is null.");
Afficher sur ancien navigateur de dépôt.