Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 14 of 14) 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/MediaRecorder/
D_index.jd7 This sample uses the camera/camcorder as the A/V source for the MediaRecorder API.
8 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/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/Camera2Basic/
D_index.jd8 you can display camera preview and take pictures.
/development/samples/browseable/HdrViewfinder/
D_index.jd7 This demo implements a real-time high-dynamic-range camera viewfinder, by alternating
/development/samples/browseable/MediaEffects/
D_index.jd9 Image frames can be images loaded from disk, frames from the device\'s camera, or other
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.h99 bool Bind( ndk_helper::TapCamera* camera );
DTeapotRenderer.cpp281 bool TeapotRenderer::Bind( ndk_helper::TapCamera* camera ) in Bind() argument
283 camera_ = camera; in Bind()
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.h120 bool Bind( ndk_helper::TapCamera* camera );
DMoreTeapotsRenderer.cpp540 bool MoreTeapotsRenderer::Bind( ndk_helper::TapCamera* camera ) in Bind() argument
542 camera_ = camera; in Bind()
/development/tools/labpretest/
Dlabpretest.sh569 …rowser -p com.android.calculator2 -p com.android.calendar -p com.android.camera -p com.android.con…
/development/ndk/platforms/android-4/samples/san-angeles/jni/
DREADME.txt74 * Sara Kapli (st Rana) for additional camera work.