Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 17 of 17) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java75 final Camera camera = mCamera; in applyTransformation() local
79 camera.save(); in applyTransformation()
81 camera.translate(0.0f, 0.0f, mDepthZ * interpolatedTime); in applyTransformation()
83 camera.translate(0.0f, 0.0f, mDepthZ * (1.0f - interpolatedTime)); in applyTransformation()
85 camera.rotateY(degrees); in applyTransformation()
86 camera.getMatrix(matrix); in applyTransformation()
87 camera.restore(); in applyTransformation()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DCameraOps.java241 public void onOpened(CameraDevice camera) {
242 mCameraDevice = camera;
247 public void onClosed(CameraDevice camera) {
252 public void onDisconnected(CameraDevice camera) {
254 camera.close();
259 public void onError(CameraDevice camera, int error) {
261 camera.close();
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreview.java17 package com.example.android.basicpermissions.camera;
44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo, in CameraPreview() argument
49 if (camera == null || cameraInfo == null) { in CameraPreview()
52 mCamera = camera; in CameraPreview()
DCameraPreviewActivity.java17 package com.example.android.basicpermissions.camera;
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreview.java17 package com.example.android.system.runtimepermissions.camera;
44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo, in CameraPreview() argument
49 if (camera == null || cameraInfo == null) { in CameraPreview()
52 mCamera = camera; in CameraPreview()
DCameraPreviewFragment.java17 package com.example.android.system.runtimepermissions.camera;
/development/samples/browseable/MediaRecorder/
D_index.jd8 This sample uses the camera/camcorder as the A/V source for the MediaRecorder API.
9 A TextureView is used as the camera preview which limits the code to API 14+. This
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java183 public void setCamera(Camera camera) { in setCamera() argument
184 mCamera = camera; in setCamera()
191 public void switchCamera(Camera camera) { in switchCamera() argument
192 setCamera(camera); in switchCamera()
194 camera.setPreviewDisplay(mHolder); in switchCamera()
198 Camera.Parameters parameters = camera.getParameters(); in switchCamera()
202 camera.setParameters(parameters); in switchCamera()
/development/samples/browseable/Camera2Raw/
D_index.jd9 camera buffers and save them as DNG files.
/development/samples/browseable/Camera2Basic/
D_index.jd9 you can display camera preview and take pictures.
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java193 public void setCamera(Camera camera) { in setCamera() argument
194 mCamera = camera; in setCamera()
202 public void switchCamera(Camera camera) { in switchCamera() argument
203 setCamera(camera); in switchCamera()
205 camera.setPreviewDisplay(mHolder); in switchCamera()
/development/samples/browseable/HdrViewfinder/
D_index.jd8 This demo implements a real-time high-dynamic-range camera viewfinder, by alternating
/development/samples/browseable/RuntimePermissionsBasic/
D_index.jd8 …t runtime. Click the button to request the Camera permission and open a full-screen camera preview.
/development/samples/browseable/MediaEffects/
D_index.jd10 Image frames can be images loaded from disk, frames from the device\'s camera, or other
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
DMainActivity.java19 import com.example.android.basicpermissions.camera.CameraPreviewActivity;
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java23 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment;
/development/tools/labpretest/
Dlabpretest.sh569 …rowser -p com.android.calculator2 -p com.android.calendar -p com.android.camera -p com.android.con…