Lines Matching refs:hardware
21 import android.hardware.Camera.CameraInfo;
22 import android.hardware.Camera.Parameters;
33 * The class is used to hold an {@code android.hardware.Camera} instance.
36 * in {@code android.hardware.Camera}. The difference is if {@code keep()} is
38 * android.hardware.Camera} instance for a while, so if {@code open()} is
40 * android.hardware.Camera}.
47 private android.hardware.Camera mCameraDevice;
98 mNumberOfCameras = android.hardware.Camera.getNumberOfCameras();
102 android.hardware.Camera.getCameraInfo(i, mInfo[i]);
120 public synchronized android.hardware.Camera open(int cameraId)
131 mCameraDevice = android.hardware.Camera.open(cameraId);
154 * Tries to open the hardware camera. If the camera is being used or
157 public synchronized android.hardware.Camera tryOpen(int cameraId) {