/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
BucketNames.java | 24 public static final String CAMERA = "DCIM/Camera";
|
MediaSetUtils.java | 33 + BucketNames.CAMERA);
|
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
Constants.kt | 24 val VIDEO_PERMISSIONS = arrayOf(Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO
|
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
Constants.kt | 24 val VIDEO_PERMISSIONS = arrayOf(Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
AdminGrantedCameraPermissionPreferenceController.java | 27 super(context, async, new String[] {Manifest.permission.CAMERA});
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
AdminGrantedCameraPermissionPreferenceControllerTest.java | 31 new String[] {Manifest.permission.CAMERA});
|
/hardware/interfaces/memtrack/1.0/ |
types.hal | 65 CAMERA = 4,
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.java | 32 import com.example.android.basicpermissions.camera.CameraPreviewActivity; 36 * This Activity requests permissions to access the camera 37 * ({@link android.Manifest.permission#CAMERA}) 38 * when the 'Show Camera Preview' button is clicked to start {@link CameraPreviewActivity} once 41 * First, the status of the Camera permission is checked using {@link 69 // Register a listener for the 'Show Camera Preview' button. 83 // Request for camera permission. 85 // Permission has been granted. Start camera preview Activity. 102 // Check if the Camera permission has been granted 103 if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA) [all...] |
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.java | 32 import com.example.android.basicpermissions.camera.CameraPreviewActivity; 36 * This Activity requests permissions to access the camera 37 * ({@link android.Manifest.permission#CAMERA}) 38 * when the 'Show Camera Preview' button is clicked to start {@link CameraPreviewActivity} once 41 * First, the status of the Camera permission is checked using {@link 69 // Register a listener for the 'Show Camera Preview' button. 83 // Request for camera permission. 85 // Permission has been granted. Start camera preview Activity. 102 // Check if the Camera permission has been granted 103 if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA) [all...] |
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/ |
MainActivity.java | 19 import com.example.android.basicpermissions.camera.CameraPreviewActivity; 35 * This Activity requests permissions to access the camera 36 * ({@link android.Manifest.permission#CAMERA}) 37 * when the 'Show Camera Preview' button is clicked to start {@link CameraPreviewActivity} once 40 * First, the status of the Camera permission is checked using {@link 68 // Register a listener for the 'Show Camera Preview' button. 83 // Request for camera permission. 85 // Permission has been granted. Start camera preview Activity. 86 Snackbar.make(mLayout, "Camera permission was granted. Starting preview.", 92 Snackbar.make(mLayout, "Camera permission request was denied." [all...] |
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
ConfirmationDialog.kt | 26 * Shows OK/Cancel confirmation dialog about camera permission. 34 parentFragment.requestPermissions(arrayOf(Manifest.permission.CAMERA),
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.kt | 28 import com.example.android.basicpermissions.camera.CameraPreviewActivity 38 * This Activity requests permissions to access the camera 39 * ([android.Manifest.permission.CAMERA]) 40 * when the 'Show Camera Preview' button is clicked to start [CameraPreviewActivity] once 43 * <p>First, the status of the Camera permission is checked using [ActivityCompat.checkSelfPermission] 64 // Register a listener for the 'Show Camera Preview' button. 74 // Request for camera permission. 76 // Permission has been granted. Start camera preview Activity. 87 // Check if the Camera permission has been granted 88 if (checkSelfPermissionCompat(Manifest.permission.CAMERA) = [all...] |
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
ConfirmationDialog.kt | 26 * Shows OK/Cancel confirmation dialog about camera permission. 34 parentFragment.requestPermissions(arrayOf(Manifest.permission.CAMERA),
|
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.kt | 28 import com.example.android.basicpermissions.camera.CameraPreviewActivity 38 * This Activity requests permissions to access the camera 39 * ([android.Manifest.permission.CAMERA]) 40 * when the 'Show Camera Preview' button is clicked to start [CameraPreviewActivity] once 43 * <p>First, the status of the Camera permission is checked using [ActivityCompat.checkSelfPermission] 64 // Register a listener for the 'Show Camera Preview' button. 74 // Request for camera permission. 76 // Permission has been granted. Start camera preview Activity. 87 // Check if the Camera permission has been granted 88 if (checkSelfPermissionCompat(Manifest.permission.CAMERA) = [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
PreferenceConstants.java | 45 public static final String CAMERA = "camera";
|
/packages/apps/Dialer/java/com/android/incallui/videotech/utils/ |
VideoUtils.java | 43 return ContextCompat.checkSelfPermission(context, android.Manifest.permission.CAMERA)
|
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.kt | 27 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment 42 * This Activity requests permissions to access the camera ([android.Manifest.permission.CAMERA]) 43 * when the 'Show Camera' button is clicked to display the camera preview. 73 * For example the camera cannot be opened or an empty list of contacts is returned. No special 92 * Called when the 'show camera' button is clicked. 96 Log.i(TAG, "Show camera button pressed. Checking permission.") 97 // Check if the Camera permission is already available. 98 if (!isPermissionGranted(Manifest.permission.CAMERA)) { [all...] |
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.kt | 27 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment 42 * This Activity requests permissions to access the camera ([android.Manifest.permission.CAMERA]) 43 * when the 'Show Camera' button is clicked to display the camera preview. 73 * For example the camera cannot be opened or an empty list of contacts is returned. No special 92 * Called when the 'show camera' button is clicked. 96 Log.i(TAG, "Show camera button pressed. Checking permission.") 97 // Check if the Camera permission is already available. 98 if (!isPermissionGranted(Manifest.permission.CAMERA)) { [all...] |
/hardware/interfaces/camera/device/1.0/ |
types.hal | 17 package android.hardware.camera.device@1.0; 20 /** The facing of the camera is opposite to that of the screen. */ 22 /** The facing of the camera is the same as that of the screen. */ 25 * The facing of the camera is not fixed relative to the screen. 32 * Basic information about a camera device, always accessible via 42 * The orientation of the camera image. The value is the angle that the 43 * camera image needs to be rotated clockwise so it shows correctly on the 47 * back-facing camera sensor is mounted in landscape. You are looking at the 48 * screen. If the top side of the camera sensor is aligned with the right 50 * top side of a front-facing camera sensor is aligned with the right of th [all...] |
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
PermissionRequestFragment.java | 95 if (ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.CAMERA) 117 Log.e(TAG, "Camera permission not granted."); 127 if (shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) { 131 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION); 205 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION);
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.java | 32 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment; 40 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 41 * when the 'Show Camera' button is clicked to display the camera preview. 71 * For example the camera cannot be opened or an empty list of contacts is returned. No special 82 * Id to identify a camera permission request. 103 * Called when the 'show camera' button is clicked. 107 Log.i(TAG, "Show camera button pressed. Checking permission."); 109 // Check if the Camera permission is already available [all...] |
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
PermissionRequestFragment.java | 95 if (ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.CAMERA) 117 Log.e(TAG, "Camera permission not granted."); 127 if (shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) { 131 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION); 205 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION);
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.java | 32 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment; 40 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 41 * when the 'Show Camera' button is clicked to display the camera preview. 71 * For example the camera cannot be opened or an empty list of contacts is returned. No special 82 * Id to identify a camera permission request. 103 * Called when the 'show camera' button is clicked. 107 Log.i(TAG, "Show camera button pressed. Checking permission."); 109 // Check if the Camera permission is already available [all...] |
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
PermissionRequestFragment.java | 95 if (ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.CAMERA) 117 Log.e(TAG, "Camera permission not granted."); 127 if (shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) { 131 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION); 205 requestPermissions(new String[]{Manifest.permission.CAMERA}, REQUEST_CAMERA_PERMISSION);
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
MainActivity.java | 23 import com.example.android.system.runtimepermissions.camera.CameraPreviewFragment; 47 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 48 * when the 'Show Camera' button is clicked to display the camera preview. 78 * For example the camera cannot be opened or an empty list of contacts is returned. No special 89 * Id to identify a camera permission request. 113 * Called when the 'show camera' button is clicked. 117 Log.i(TAG, "Show camera button pressed. Checking permission."); 119 // Check if the Camera permission is already available [all...] |