summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-08-21 14:39:05 -0700
committerEino-Ville Talvala <etalvala@google.com>2013-08-21 14:56:46 -0700
commit4b820b0e1fa069714b123fc35784541d0f94d267 (patch)
tree3418113d8ce7eca26303d6dce7d147e07003a0e9 /camera
parent1ce7c34e67c2cf58dd88c31f36f4bd62e375f7f0 (diff)
downloadframeworks_av-4b820b0e1fa069714b123fc35784541d0f94d267.zip
frameworks_av-4b820b0e1fa069714b123fc35784541d0f94d267.tar.gz
frameworks_av-4b820b0e1fa069714b123fc35784541d0f94d267.tar.bz2
Camera1: Rename setPreviewTexture to ...Target for clarity
Bug: 10312644 Change-Id: I19976188f0359bfd177209fb40145defdae9c740
Diffstat (limited to 'camera')
-rw-r--r--camera/Camera.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/camera/Camera.cpp b/camera/Camera.cpp
index bbc4aa4..22199fa 100644
--- a/camera/Camera.cpp
+++ b/camera/Camera.cpp
@@ -100,9 +100,9 @@ status_t Camera::unlock()
}
// pass the buffered IGraphicBufferProducer to the camera service
-status_t Camera::setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer)
+status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer)
{
- ALOGV("setPreviewTexture(%p)", bufferProducer.get());
+ ALOGV("setPreviewTarget(%p)", bufferProducer.get());
sp <ICamera> c = mCamera;
if (c == 0) return NO_INIT;
ALOGD_IF(bufferProducer == 0, "app passed NULL surface");
@@ -127,7 +127,7 @@ status_t Camera::storeMetaDataInBuffers(bool enabled)
return c->storeMetaDataInBuffers(enabled);
}
-// start recording mode, must call setPreviewTexture first
+// start recording mode, must call setPreviewTarget first
status_t Camera::startRecording()
{
ALOGV("startRecording");