From 4b820b0e1fa069714b123fc35784541d0f94d267 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Wed, 21 Aug 2013 14:39:05 -0700 Subject: Camera1: Rename setPreviewTexture to ...Target for clarity Bug: 10312644 Change-Id: I19976188f0359bfd177209fb40145defdae9c740 --- include/camera/Camera.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/camera') diff --git a/include/camera/Camera.h b/include/camera/Camera.h index b1b2e95..79682b8 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -81,9 +81,9 @@ public: status_t unlock(); // pass the buffered IGraphicBufferProducer to the camera service - status_t setPreviewTexture(const sp& bufferProducer); + status_t setPreviewTarget(const sp& bufferProducer); - // start preview mode, must call setPreviewTexture first + // start preview mode, must call setPreviewTarget first status_t startPreview(); // stop preview mode @@ -92,7 +92,7 @@ public: // get preview state bool previewEnabled(); - // start recording mode, must call setPreviewTexture first + // start recording mode, must call setPreviewTarget first status_t startRecording(); // stop recording mode -- cgit v1.1