Searched refs:shouldShowRequestPermissionRationale (Results 1 – 9 of 9) sorted by relevance
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
D | MainActivity.java | 146 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermission() 205 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestContactsPermissions() 207 || ActivityCompat.shouldShowRequestPermissionRationale(this, in requestContactsPermissions()
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | MainActivity.java | 143 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCalendarAndContactPermissions() 146 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCalendarAndContactPermissions()
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/ |
D | MainActivity.java | 124 if (ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermission()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 361 private boolean shouldShowRequestPermissionRationale(String[] permissions) { in shouldShowRequestPermissionRationale() method in Camera2VideoFragment 363 if (FragmentCompat.shouldShowRequestPermissionRationale(this, permission)) { in shouldShowRequestPermissionRationale() 374 if (shouldShowRequestPermissionRationale(VIDEO_PERMISSIONS)) { in requestVideoPermissions()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionListActivity.java | 58 if (ActivityCompat.shouldShowRequestPermissionRationale( in onCreate()
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | PermissionRequestFragment.java | 127 if (shouldShowRequestPermissionRationale(Manifest.permission.CAMERA)) { in requestCameraPermission()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 300 ActivityCompat.shouldShowRequestPermissionRationale(this, in requestCameraPermissions()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 464 if (FragmentCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.CAMERA)) { in requestCameraPermission()
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | Camera2RawFragment.java | 833 if (FragmentCompat.shouldShowRequestPermissionRationale(this, permission)) { in shouldShowRationale()
|