OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cameraType
(Results
1 - 5
of
5
) sorted by null
/packages/services/Car/car-lib/src/android/car/hardware/camera/
ICarCamera.aidl
26
int getCapabilities(in int
cameraType
) = 1;
28
Rect getCameraCrop(in int
cameraType
) = 2;
30
void setCameraCrop(in int
cameraType
, in Rect rect) = 3;
32
Rect getCameraPosition(in int
cameraType
) = 4;
34
void setCameraPosition(in int
cameraType
, in Rect rect) = 5;
36
CarCameraState getCameraState(in int
cameraType
) = 6;
38
void setCameraState(in int
cameraType
, in CarCameraState state) = 7;
CarCameraManager.java
76
* @param
cameraType
Camera type to query capabilites
80
public int getCameraCapabilities(int
cameraType
) throws CarNotConnectedException {
83
capabilities = mService.getCapabilities(
cameraType
);
91
public CarCamera openCamera(int
cameraType
) {
94
// Find
cameraType
in the list of available cameras
96
if(i ==
cameraType
) {
97
camera = new CarCamera(mService,
cameraType
);
CarCamera.java
35
public CarCamera(ICarCamera service, int
cameraType
) {
37
mCameraType =
cameraType
;
/packages/services/Car/service/src/com/android/car/
CarCameraService.java
51
int[]
cameraType
= nativeGetSupportedCameras(mModule);
53
if (
cameraType
!= null) {
54
for (int i :
cameraType
) {
57
Log.e(TAG, "Null device pointer returned for
cameraType
= " + i);
113
public int getCapabilities(int
cameraType
) {
115
Log.d(TAG, "getCapabilities called, type = " + String.valueOf(
cameraType
));
118
long device = getDeviceIdLocked(
cameraType
);
124
public Rect getCameraCrop(int
cameraType
) {
127
long device = getDeviceIdLocked(
cameraType
);
137
public void setCameraCrop(int
cameraType
, Rect rect)
[
all
...]
/packages/services/Car/service/jni/
com_android_car_CarCameraService.cpp
94
(JNIEnv *env, jobject, jlong mod, jint
cameraType
)
103
module->common.methods->open((hw_module_t*)module, cameraTypeString[
cameraType
], &device);
Completed in 475 milliseconds