Lines Matching refs:preview

18       <li><a href="#camera-preview">Create the Camera Preview</a></li>
87 <h2 id="camera-preview">Create the Camera Preview</h2>
89 <p>Taking a picture usually requires that your users see a preview of their subject before clicking
95 <p>To get started with displaying a preview, you need preview class. The
96 preview requires an implementation of the {@code
122 <p>The preview class must be passed to the {@link android.hardware.Camera} object before the live
123 image preview can be started, as shown in the next section.</p>
128 <p>A camera instance and its related preview must be created in a specific
133 camera. The preview must also be restarted in the preview class {@code
155 // Important: Call startPreview() to start updating the preview
166 level to exposure compensation. This example changes only the preview size;
172 // the preview.
178 // Important: Call startPreview() to start updating the preview surface.
191 how the preview is displayed without affecting how the image is recorded. However, in Android prior
192 to API level 14, you must stop your preview before changing the orientation and then restart it.</p>
198 method to take a picture once the preview is started. You can create {@link
206 something in between, you can capture only selected preview frames, or set up a
213 <p>After a picture is taken, you must restart the preview before the user
241 <p>When should you stop the preview and release the camera? Well, having your
242 preview surface destroyed is a pretty good hint that it’s time to stop the
243 preview and release the camera, as shown in these methods from the {@code
248 // Surface will be destroyed when we return, so stop the preview.
250 // Call stopPreview() to stop updating the preview surface.
261 // Call stopPreview() to stop updating the preview surface.
276 preview.</p>