OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CameraInfo
(Results
1 - 25
of
90
) sorted by null
1
2
3
4
/frameworks/base/core/java/android/hardware/
CameraInfo.aidl
20
parcelable
CameraInfo
;
CameraInfo.java
27
public class
CameraInfo
implements Parcelable {
29
//
CameraInfo
.
30
public Camera.
CameraInfo
info = new Camera.
CameraInfo
();
48
public static final Parcelable.Creator<
CameraInfo
> CREATOR =
49
new Parcelable.Creator<
CameraInfo
>() {
51
public
CameraInfo
createFromParcel(Parcel in) {
52
CameraInfo
info = new
CameraInfo
();
59
public
CameraInfo
[] newArray(int size)
[
all
...]
ICameraService.aidl
28
import android.hardware.
CameraInfo
;
40
int getCameraInfo(int cameraId, out
CameraInfo
info);
/device/lge/mako/camera/QCamera/HAL/core/inc/
QCameraHAL.h
32
extern "C" void HAL_getCameraInfo(int cameraId, struct
CameraInfo
*
cameraInfo
);
/device/lge/mako/camera/
QCameraHAL.h
32
extern "C" void HAL_getCameraInfo(int cameraId, struct
CameraInfo
*
cameraInfo
);
/frameworks/base/media/java/android/media/
CameraProfile.java
20
import android.hardware.Camera.
CameraInfo
;
59
CameraInfo
cameraInfo
= new
CameraInfo
();
61
Camera.getCameraInfo(i,
cameraInfo
);
62
if (
cameraInfo
.facing ==
CameraInfo
.CAMERA_FACING_BACK) {
CamcorderProfile.java
20
import android.hardware.Camera.
CameraInfo
;
214
CameraInfo
cameraInfo
= new
CameraInfo
();
216
Camera.getCameraInfo(i,
cameraInfo
);
217
if (
cameraInfo
.facing ==
CameraInfo
.CAMERA_FACING_BACK) {
281
CameraInfo
cameraInfo
= new
CameraInfo
();
[
all
...]
/packages/apps/Camera/src/com/android/camera/
DisableCameraReceiver.java
24
import android.hardware.Camera.
CameraInfo
;
63
CameraInfo
info = new
CameraInfo
();
66
if (info.facing ==
CameraInfo
.CAMERA_FACING_BACK) {
CameraHolder.java
21
import android.hardware.Camera.
CameraInfo
;
60
private final
CameraInfo
[] mInfo;
62
private static
CameraInfo
mMockCameraInfo[];
151
public static void injectMockCamera(
CameraInfo
[] info, CameraProxy[] camera) {
166
mInfo = new
CameraInfo
[mNumberOfCameras];
168
mInfo[i] = new
CameraInfo
();
175
if (mBackCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_BACK) {
177
} else if (mFrontCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_FRONT) {
187
public
CameraInfo
[] getCameraInfo() {
/packages/apps/Camera2/src/com/android/camera/
DisableCameraReceiver.java
24
import android.hardware.Camera.
CameraInfo
;
63
CameraInfo
info = new
CameraInfo
();
66
if (info.facing ==
CameraInfo
.CAMERA_FACING_BACK) {
CameraHolder.java
21
import android.hardware.Camera.
CameraInfo
;
60
private final
CameraInfo
[] mInfo;
62
private static
CameraInfo
mMockCameraInfo[];
151
public static void injectMockCamera(
CameraInfo
[] info, CameraProxy[] camera) {
166
mInfo = new
CameraInfo
[mNumberOfCameras];
168
mInfo[i] = new
CameraInfo
();
175
if (mBackCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_BACK) {
177
} else if (mFrontCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_FRONT) {
187
public
CameraInfo
[] getCameraInfo() {
/packages/apps/Gallery2/src/com/android/camera/
DisableCameraReceiver.java
24
import android.hardware.Camera.
CameraInfo
;
63
CameraInfo
info = new
CameraInfo
();
66
if (info.facing ==
CameraInfo
.CAMERA_FACING_BACK) {
/external/qemu/android/camera/
camera-capture.h
118
extern int enumerate_camera_devices(
CameraInfo
* cis, int max);
camera-common.h
122
typedef struct
CameraInfo
{
143
}
CameraInfo
;
145
/* Allocates
CameraInfo
instance. */
146
static __inline__
CameraInfo
* _camera_info_alloc(void)
148
CameraInfo
* ci;
153
/* Frees all resources allocated for
CameraInfo
instance (including the
156
static __inline__ void _camera_info_free(
CameraInfo
* ci)
/pdk/apps/TestingCamera/src/com/android/testingcamera/
InfoDialogFragment.java
4
import android.hardware.Camera.
CameraInfo
;
49
CameraInfo
cameraInfo
= new
CameraInfo
();
50
Camera.getCameraInfo(cameraId,
cameraInfo
);
53
b.append(
cameraInfo
.facing ==
CameraInfo
.CAMERA_FACING_FRONT ? "FRONT\n" : "BACK\n");
55
b.append(
cameraInfo
.orientation);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCamera.java
28
private static Map<Integer, Camera.
CameraInfo
> cameras = new HashMap<Integer,Camera.
CameraInfo
>();
103
public static void getCameraInfo(int cameraId, Camera.
CameraInfo
cameraInfo
) {
104
Camera.
CameraInfo
foundCam = cameras.get( cameraId );
105
cameraInfo
.facing = foundCam.facing;
106
cameraInfo
.orientation = foundCam.orientation;
142
* Add a mock {@code Camera.
CameraInfo
} object to simulate
149
public static void addCameraInfo(int id, Camera.
CameraInfo
camInfo) {
/packages/apps/Camera/tests/src/com/android/camera/activity/
CameraTestCase.java
23
import android.hardware.Camera.
CameraInfo
;
55
protected
CameraInfo
mCameraInfo[];
57
protected
CameraInfo
mOneCameraInfo[];
122
mCameraInfo = new
CameraInfo
[2];
123
mCameraInfo[0] = new
CameraInfo
();
124
mCameraInfo[0].facing =
CameraInfo
.CAMERA_FACING_BACK;
125
mCameraInfo[1] = new
CameraInfo
();
126
mCameraInfo[1].facing =
CameraInfo
.CAMERA_FACING_FRONT;
133
mOneCameraInfo = new
CameraInfo
[1];
134
mOneCameraInfo[0] = new
CameraInfo
();
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/
CameraHolder.java
21
import android.hardware.Camera.
CameraInfo
;
54
private
CameraInfo
[] mInfo;
99
mInfo = new
CameraInfo
[mNumberOfCameras];
101
mInfo[i] = new
CameraInfo
();
103
if (mBackCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_BACK) {
106
if (mFrontCameraId == -1 && mInfo[i].facing ==
CameraInfo
.CAMERA_FACING_FRONT) {
116
public
CameraInfo
[] getCameraInfo() {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CameraTest.java
182
Camera.
CameraInfo
cameraQuery = new Camera.
CameraInfo
();
188
assertThat(cameraQuery.facing, equalTo(Camera.
CameraInfo
.CAMERA_FACING_BACK));
194
Camera.
CameraInfo
cameraQuery = new Camera.
CameraInfo
();
200
assertThat( cameraQuery.facing, equalTo(Camera.
CameraInfo
.CAMERA_FACING_BACK) );
203
assertThat( cameraQuery.facing, equalTo(Camera.
CameraInfo
.CAMERA_FACING_FRONT) );
208
Camera.
CameraInfo
frontCamera = new Camera.
CameraInfo
();
209
frontCamera.facing = Camera.
CameraInfo
.CAMERA_FACING_BACK
[
all
...]
/developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/
CameraHelper.java
103
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_BACK);
111
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_FRONT);
117
* @param position Physical position of the camera i.e Camera.
CameraInfo
.CAMERA_FACING_FRONT
118
* or Camera.
CameraInfo
.CAMERA_FACING_BACK.
127
Camera.
CameraInfo
cameraInfo
= new Camera.
CameraInfo
();
129
Camera.getCameraInfo(i,
cameraInfo
);
130
if (
cameraInfo
.facing == position) {
/developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/
CameraHelper.java
103
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_BACK);
111
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_FRONT);
117
* @param position Physical position of the camera i.e Camera.
CameraInfo
.CAMERA_FACING_FRONT
118
* or Camera.
CameraInfo
.CAMERA_FACING_BACK.
127
Camera.
CameraInfo
cameraInfo
= new Camera.
CameraInfo
();
129
Camera.getCameraInfo(i,
cameraInfo
);
130
if (
cameraInfo
.facing == position) {
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/
CameraHelper.java
103
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_BACK);
111
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_FRONT);
117
* @param position Physical position of the camera i.e Camera.
CameraInfo
.CAMERA_FACING_FRONT
118
* or Camera.
CameraInfo
.CAMERA_FACING_BACK.
127
Camera.
CameraInfo
cameraInfo
= new Camera.
CameraInfo
();
129
Camera.getCameraInfo(i,
cameraInfo
);
130
if (
cameraInfo
.facing == position) {
/developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java
103
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_BACK);
111
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_FRONT);
117
* @param position Physical position of the camera i.e Camera.
CameraInfo
.CAMERA_FACING_FRONT
118
* or Camera.
CameraInfo
.CAMERA_FACING_BACK.
127
Camera.
CameraInfo
cameraInfo
= new Camera.
CameraInfo
();
129
Camera.getCameraInfo(i,
cameraInfo
);
130
if (
cameraInfo
.facing == position) {
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java
103
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_BACK);
111
return getDefaultCamera(Camera.
CameraInfo
.CAMERA_FACING_FRONT);
117
* @param position Physical position of the camera i.e Camera.
CameraInfo
.CAMERA_FACING_FRONT
118
* or Camera.
CameraInfo
.CAMERA_FACING_BACK.
127
Camera.
CameraInfo
cameraInfo
= new Camera.
CameraInfo
();
129
Camera.getCameraInfo(i,
cameraInfo
);
130
if (
cameraInfo
.facing == position) {
/frameworks/av/include/camera/
CameraBase.h
27
struct
CameraInfo
{
73
struct
CameraInfo
*
cameraInfo
);
Completed in 482 milliseconds
1
2
3
4