OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cameradevice
(Results
1 - 25
of
198
) sorted by null
1
2
3
4
5
6
7
8
/packages/apps/Camera2/src/com/android/camera/device/
Camera2Actions.java
21
import android.hardware.camera2.
CameraDevice
;
40
public class Camera2Actions implements SingleDeviceActions<
CameraDevice
> {
63
public void executeOpen(SingleDeviceOpenListener<
CameraDevice
> openListener,
77
public void executeClose(SingleDeviceCloseListener closeListener,
CameraDevice
device)
87
private final SingleDeviceOpenListener<
CameraDevice
> mOpenListener;
94
Handler handler, SingleDeviceOpenListener<
CameraDevice
> openListener,
117
* Internal runnable that executes a close on a
cameraDevice
.
121
private final
CameraDevice
mCameraDevice;
124
public CloseCameraRunnable(
CameraDevice
cameraDevice
,
[
all
...]
Camera2ActionProvider.java
19
import android.hardware.camera2.
CameraDevice
;
31
public class Camera2ActionProvider implements CameraDeviceActionProvider<
CameraDevice
> {
46
public SingleDeviceActions<
CameraDevice
> get(CameraDeviceKey key) {
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CameraUtils.java
19
import android.hardware.camera2.
CameraDevice
;
56
* {@link
CameraDevice
.StateCallback} is called when {@link
CameraDevice
} changes its state.
58
private static class CameraCallback extends
CameraDevice
.StateCallback {
67
public void onOpened(
CameraDevice
cameraDevice
) {
70
if (
cameraDevice
!= null) {
71
cameraDevice
.close();
77
public void onDisconnected(
CameraDevice
cameraDevice
) {
[
all
...]
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
Camera2DeviceTester.java
20
import android.hardware.camera2.
CameraDevice
;
54
private class DeviceCapturer extends
CameraDevice
.StateCallback {
55
private
CameraDevice
mCamera;
57
public
CameraDevice
captureCameraDevice() throws Exception {
69
public synchronized void onOpened(
CameraDevice
camera) {
75
public void onDisconnected(
CameraDevice
camera) {}
78
public void onError(
CameraDevice
camera, int error) {}
81
protected
CameraDevice
mCamera;
/frameworks/base/core/java/android/hardware/camera2/impl/
CallbackProxies.java
19
import android.hardware.camera2.
CameraDevice
;
50
public void onOpened(
CameraDevice
camera) {
55
public void onDisconnected(
CameraDevice
camera) {
60
public void onError(
CameraDevice
camera, int error) {
65
public void onUnconfigured(
CameraDevice
camera) {
70
public void onActive(
CameraDevice
camera) {
75
public void onBusy(
CameraDevice
camera) {
80
public void onClosed(
CameraDevice
camera) {
85
public void onIdle(
CameraDevice
camera) {
101
public void onCaptureStarted(
CameraDevice
camera
[
all
...]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
CameraDeviceRequestBuilderFactory.java
20
import android.hardware.camera2.
CameraDevice
;
25
* Wraps {@link android.hardware.camera2.
CameraDevice
} to create
31
public CameraDeviceRequestBuilderFactory(CameraDeviceProxy
cameraDevice
) {
32
mCameraDevice =
cameraDevice
;
AndroidCameraDeviceProxy.java
23
import android.hardware.camera2.
CameraDevice
;
68
private final
CameraDevice
mCameraDevice;
70
public AndroidCameraDeviceProxy(
CameraDevice
cameraDevice
) {
71
mCameraDevice =
cameraDevice
;
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
PictureTakerFactory.java
19
import android.hardware.camera2.
CameraDevice
;
51
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
58
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
66
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
ZslPictureTakerFactory.java
21
import android.hardware.camera2.
CameraDevice
;
72
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
79
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
CameraDevice
.TEMPLATE_ZERO_SHUTTER_LAG,
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
BlockingCameraManager.java
19
import android.hardware.camera2.
CameraDevice
;
69
* {@code
CameraDevice
.StateCallback#ERROR_*} if there was another error.
84
* @see {@link
CameraDevice
.StateCallback#ERROR_CAMERA_DEVICE}
113
* the callbacks from the
CameraDevice
since this function would prevent them from being
120
* {@link
CameraDevice
.StateCallback#onDisconnected(
CameraDevice
)} or
121
* ({@link
CameraDevice
.StateCallback#onError(
CameraDevice
)}.</p>
134
* @return
CameraDevice
145
public
CameraDevice
openCamera(String cameraId, CameraDevice.StateCallback listener
[
all
...]
BlockingStateCallback.java
18
import android.hardware.camera2.
CameraDevice
;
42
public class BlockingStateCallback extends
CameraDevice
.StateCallback {
46
private final
CameraDevice
.StateCallback mProxy;
106
public BlockingStateCallback(
CameraDevice
.StateCallback listener) {
111
public void onOpened(
CameraDevice
camera) {
119
public void onDisconnected(
CameraDevice
camera) {
127
public void onError(
CameraDevice
camera, int error) {
135
public void onClosed(
CameraDevice
camera) {
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
CameraOps2.java
26
import android.hardware.camera2.
CameraDevice
;
38
private final Set<
CameraDevice
> mOpenCameras = new HashSet<
CameraDevice
>();
43
private
CameraDevice
.StateCallback mDelayedOpenListener = null;
105
public boolean openCamera(String cameraId,
CameraDevice
.StateCallback listener) {
106
for (
CameraDevice
camera : mOpenCameras) {
131
private boolean doOpenCamera(String cameraId,
CameraDevice
.StateCallback listener) {
157
CameraDevice
.StateCallback.ERROR_CAMERA_DISABLED);
179
private class DeviceStateCallback extends
CameraDevice
.StateCallback {
181
private final
CameraDevice
.StateCallback mClientListener
[
all
...]
/developers/samples/android/media/Camera2Video/
template-params.xml
50
<android>android.hardware.camera2.
CameraDevice
</android>
61
Android Lollipop introduced a new camera API, called camera2. This sample uses [
CameraDevice
][1]
73
3. Implement a [`
CameraDevice
.StateCallback`][4] to receive events about changes of the state of the
74
camera device. Override its methods to set your
CameraDevice
instance, start the preview, and stop
77
5. Then, set up a [`CaptureRequest.Builder`][5] using `createCaptureRequest(
CameraDevice
.TEMPLATE_RECORD)`
78
on your
CameraDevice
instance.
80
`createCaptureSession(surfaces, new CameraCaptureSession.StateCallback(){})` on your
CameraDevice
instance,
87
[1]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.html
90
[4]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.StateCallback.html
README.md
10
Android Lollipop introduced a new camera API, called camera2. This sample uses [
CameraDevice
][1]
22
3. Implement a [`
CameraDevice
.StateCallback`][4] to receive events about changes of the state of the
23
camera device. Override its methods to set your
CameraDevice
instance, start the preview, and stop
26
5. Then, set up a [`CaptureRequest.Builder`][5] using `createCaptureRequest(
CameraDevice
.TEMPLATE_RECORD)`
27
on your
CameraDevice
instance.
29
`createCaptureSession(surfaces, new CameraCaptureSession.StateCallback(){})` on your
CameraDevice
instance,
36
[1]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.html
39
[4]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.StateCallback.html
/frameworks/av/camera/ndk/impl/
ACameraCaptureSession.cpp
26
sp<
CameraDevice
> dev = getDeviceSp();
51
sp<
CameraDevice
> dev = getDeviceSp();
76
sp<
CameraDevice
> dev = getDeviceSp();
94
sp<
CameraDevice
> dev = getDeviceSp();
115
sp<
CameraDevice
> dev = getDeviceSp();
136
sp<
CameraDevice
> dev = getDeviceSp();
154
sp<
CameraDevice
> dev = getDeviceSp();
168
sp<
CameraDevice
>
170
sp<
CameraDevice
> device = mDevice.promote();
ACameraCaptureSession.h
60
CameraDevice
* device) :
95
friend class
CameraDevice
;
101
sp<
CameraDevice
> getDeviceSp();
106
const wp<
CameraDevice
> mDevice;
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
Camera2Activity.java
22
import android.hardware.camera2.
CameraDevice
;
94
manager.openCamera(chosen, new
CameraDevice
.StateCallback() {
96
public void onOpened(
CameraDevice
cameraDevice
) {
103
public void onDisconnected(
CameraDevice
cameraDevice
) {
110
public void onError(
CameraDevice
cameraDevice
, int i) {
CameraEvictionTest.java
25
import android.hardware.camera2.
CameraDevice
;
57
private
CameraDevice
mCameraDevice;
66
public static class StateCallbackImpl extends
CameraDevice
.StateCallback {
67
CameraDevice
mCameraDevice;
74
public void onOpened(
CameraDevice
cameraDevice
) {
76
mCameraDevice =
cameraDevice
;
78
Log.i(TAG, "
CameraDevice
onOpened called for main CTS test process.");
82
public void onClosed(
CameraDevice
camera) {
87
Log.i(TAG, "
CameraDevice
onClosed called for main CTS test process.")
[
all
...]
/packages/apps/Camera2/src/com/android/camera/
FatalErrorHandler.java
19
import android.hardware.camera2.
CameraDevice
;
99
* {@link
CameraDevice
.StateCallback#onError}.
102
*
CameraDevice
.StateCallback.ERROR_*
109
case
CameraDevice
.StateCallback.ERROR_CAMERA_DEVICE:
110
case
CameraDevice
.StateCallback.ERROR_CAMERA_DISABLED:
111
case
CameraDevice
.StateCallback.ERROR_CAMERA_IN_USE:
112
case
CameraDevice
.StateCallback.ERROR_CAMERA_SERVICE:
113
case
CameraDevice
.StateCallback.ERROR_MAX_CAMERAS_IN_USE:
/packages/apps/DevCamera/src/com/android/devcamera/
LoggingCallbacks.java
19
import android.hardware.camera2.
CameraDevice
;
37
public static class DeviceStateCallback extends
CameraDevice
.StateCallback {
39
public void onOpened(
CameraDevice
camera) {
46
public void onClosed(
CameraDevice
camera) {
53
public void onDisconnected(
CameraDevice
camera) {
58
public void onError(
CameraDevice
camera, int error) {
/developers/build/prebuilts/gradle/Camera2Video/.google/
packaging.yaml
17
- android:android.hardware.camera2.
CameraDevice
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
CameraOps.java
21
import android.hardware.camera2.
CameraDevice
;
43
private
CameraDevice
mCameraDevice;
142
CameraDevice
device = mCameraDevice;
238
private
CameraDevice
.StateCallback mCameraDeviceListener = new
CameraDevice
.StateCallback() {
241
public void onOpened(
CameraDevice
camera) {
247
public void onClosed(
CameraDevice
camera) {
252
public void onDisconnected(
CameraDevice
camera) {
259
public void onError(
CameraDevice
camera, int error) {
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
CameraOps.java
21
import android.hardware.camera2.
CameraDevice
;
43
private
CameraDevice
mCameraDevice;
142
CameraDevice
device = mCameraDevice;
238
private
CameraDevice
.StateCallback mCameraDeviceListener = new
CameraDevice
.StateCallback() {
241
public void onOpened(
CameraDevice
camera) {
247
public void onClosed(
CameraDevice
camera) {
252
public void onDisconnected(
CameraDevice
camera) {
259
public void onError(
CameraDevice
camera, int error) {
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
CameraOps.java
21
import android.hardware.camera2.
CameraDevice
;
43
private
CameraDevice
mCameraDevice;
142
CameraDevice
device = mCameraDevice;
238
private
CameraDevice
.StateCallback mCameraDeviceListener = new
CameraDevice
.StateCallback() {
241
public void onOpened(
CameraDevice
camera) {
247
public void onClosed(
CameraDevice
camera) {
252
public void onDisconnected(
CameraDevice
camera) {
259
public void onError(
CameraDevice
camera, int error) {
/developers/build/prebuilts/gradle/Camera2Video/
README.md
10
Android Lollipop introduced a new camera API, called camera2. This sample uses [
CameraDevice
][1]
22
3. Implement a [`
CameraDevice
.StateCallback`][4] to receive events about changes of the state of the
23
camera device. Override its methods to set your
CameraDevice
instance, start the preview, and stop
26
5. Then, set up a [`CaptureRequest.Builder`][5] using `createCaptureRequest(
CameraDevice
.TEMPLATE_RECORD)`
27
on your
CameraDevice
instance.
29
`createCaptureSession(surfaces, new CameraCaptureSession.StateCallback(){})` on your
CameraDevice
instance,
36
[1]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.html
39
[4]: https://developer.android.com/reference/android/hardware/camera2/
CameraDevice
.StateCallback.html
Completed in 1369 milliseconds
1
2
3
4
5
6
7
8