summaryrefslogtreecommitdiffstats
path: root/tests/Camera2Tests/SmartCamera
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2014-05-21 10:07:08 -0700
committerIgor Murashkin <iam@google.com>2014-05-27 11:25:24 -0700
commitdb075afc85b6b50a5d3a988a17ed0d4e09ef0823 (patch)
tree4b11bcc6012a28a6a92d24c79a5817e8116799ca /tests/Camera2Tests/SmartCamera
parent5d0045835b0bfd456b9400be1cacdc8cb16d6cc7 (diff)
downloadframeworks_base-db075afc85b6b50a5d3a988a17ed0d4e09ef0823.zip
frameworks_base-db075afc85b6b50a5d3a988a17ed0d4e09ef0823.tar.gz
frameworks_base-db075afc85b6b50a5d3a988a17ed0d4e09ef0823.tar.bz2
camera2: Add partial results to the capture listener (API change)
* Also adds capture sequence aborted callback Bug: 12492876 Change-Id: I56ec8edbcda8b64c2262ff7472961ac78042c7f4
Diffstat (limited to 'tests/Camera2Tests/SmartCamera')
-rw-r--r--tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/Camera2Source.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/Camera2Source.java b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/Camera2Source.java
index fa0f995..6876f5a 100644
--- a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/Camera2Source.java
+++ b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/Camera2Source.java
@@ -26,6 +26,7 @@ import android.hardware.camera2.CameraManager;
import android.hardware.camera2.CaptureFailure;
import android.hardware.camera2.CaptureRequest;
import android.hardware.camera2.CaptureResult;
+import android.hardware.camera2.TotalCaptureResult;
import android.os.Handler;
import android.renderscript.Allocation;
import android.renderscript.Element;
@@ -86,7 +87,7 @@ public class Camera2Source extends Filter implements Allocation.OnBufferAvailabl
@Override
public void onCaptureCompleted(CameraDevice camera, CaptureRequest request,
- CaptureResult result) {
+ TotalCaptureResult result) {
// TODO Auto-generated method stub
Log.v(TAG, "in onCaptureComplete");