/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
D | MainActivity.java | 88 .show(); in onRequestPermissionsResult() 94 .show(); in onRequestPermissionsResult() 108 Snackbar.LENGTH_SHORT).show(); in showCameraPreview() 138 }).show(); in requestCameraPermission() 141 Snackbar.make(mLayout, R.string.camera_unavailable, Snackbar.LENGTH_SHORT).show(); in requestCameraPermission()
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
D | MainActivity.java | 88 .show(); in onRequestPermissionsResult() 94 .show(); in onRequestPermissionsResult() 108 Snackbar.LENGTH_SHORT).show(); in showCameraPreview() 138 }).show(); in requestCameraPermission() 141 Snackbar.make(mLayout, R.string.camera_unavailable, Snackbar.LENGTH_SHORT).show(); in requestCameraPermission()
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
D | MainActivity.java | 131 Toast.LENGTH_SHORT).show(); in enableDiscovery() 142 Toast.LENGTH_SHORT).show(); in enableDiscovery() 148 Toast.LENGTH_SHORT).show(); in enableDiscovery() 175 Toast.LENGTH_SHORT).show(); in connect() 205 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected() 212 Toast.LENGTH_LONG).show(); in onChannelDisconnected() 238 Toast.LENGTH_SHORT).show(); in cancelDisconnect() 245 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
|
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/ |
D | MainActivity.kt | 126 .show() in requestCameraPermission() 175 .show() in requestContactsPermissions() 219 Snackbar.LENGTH_SHORT).show() in onRequestPermissionsResult() 223 Snackbar.LENGTH_SHORT).show() in onRequestPermissionsResult() 235 .show() in onRequestPermissionsResult() 240 .show() in onRequestPermissionsResult()
|
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/ |
D | MainActivity.kt | 126 .show() in requestCameraPermission() 175 .show() in requestContactsPermissions() 219 Snackbar.LENGTH_SHORT).show() in onRequestPermissionsResult() 223 Snackbar.LENGTH_SHORT).show() in onRequestPermissionsResult() 235 .show() in onRequestPermissionsResult() 240 .show() in onRequestPermissionsResult()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
D | Utils.java | 71 .show(); in showErrorDialog() 81 Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); in showToast() 91 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show(); in showToast()
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
D | MainActivity.java | 153 .show(); in requestCameraPermission() 217 .show(); in requestContactsPermissions() 267 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult() 271 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult() 285 .show(); in onRequestPermissionsResult() 290 .show(); in onRequestPermissionsResult()
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
D | MainActivity.java | 153 .show(); in requestCameraPermission() 217 .show(); in requestContactsPermissions() 267 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult() 271 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult() 285 .show(); in onRequestPermissionsResult() 290 .show(); in onRequestPermissionsResult()
|
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | SetupProfileFragment.java | 94 Toast.LENGTH_SHORT).show(); in provisionManagedProfile() 102 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult() 104 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | SetupProfileFragment.java | 94 Toast.LENGTH_SHORT).show(); in provisionManagedProfile() 102 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult() 104 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | MainActivity.java | 80 Toast.LENGTH_LONG).show(); in onCreate() 90 Toast.LENGTH_LONG).show(); in onCreate() 118 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 126 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 159 Toast.makeText(this, R.string.purchase_fail, Toast.LENGTH_SHORT).show(); in onPurchaseFailed()
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | MainActivity.java | 80 Toast.LENGTH_LONG).show(); in onCreate() 90 Toast.LENGTH_LONG).show(); in onCreate() 118 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 126 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 159 Toast.makeText(this, R.string.purchase_fail, Toast.LENGTH_SHORT).show(); in onPurchaseFailed()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ |
D | Utils.java | 53 Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); in showToast() 60 Toast.makeText(context, context.getString(resourceId), Toast.LENGTH_LONG).show(); in showToast()
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
D | SystemUiHider.java | 143 public abstract void show(); in show() method in SystemUiHider 152 show(); in toggle()
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | SetupProfileFragment.java | 93 Toast.LENGTH_SHORT).show(); in provisionManagedProfile() 101 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult() 103 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | SetupProfileFragment.java | 93 Toast.LENGTH_SHORT).show(); in provisionManagedProfile() 101 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult() 103 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/ |
D | MainActivity.kt | 51 InfoFragment().show(supportFragmentManager, FRAGMENT_INFO) in onOptionsItemSelected() 63 .show() in onCreateDialog()
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/ |
D | MainActivity.java | 55 new InfoDialogFragment().show(getSupportFragmentManager(), FRAGMENT_INFO); in onOptionsItemSelected() 69 .show(); in onCreateDialog()
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
D | AttractionListActivity.java | 109 "Debug: Geofencing trigger enabled", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 157 .show(); in showPermissionSnackbar() 169 builder.create().show(); in showDebugDialog()
|
/developers/build/prebuilts/gradle/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/ |
D | ActivityExtensions.kt | 26 Toast.makeText(this, text, Toast.LENGTH_SHORT).show() in Activity()
|
/developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/ |
D | ActivityExtensions.kt | 26 Toast.makeText(this, text, Toast.LENGTH_SHORT).show() in Activity()
|
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
D | ActivityExtensions.kt | 23 Toast.makeText(this, text, Toast.LENGTH_LONG).show() in AppCompatActivity()
|
/developers/samples/android/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
D | ActivityExtensions.kt | 23 Toast.makeText(this, text, Toast.LENGTH_LONG).show() in AppCompatActivity()
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
D | AttractionListActivity.java | 108 "Debug: Geofencing trigger enabled", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 156 .show(); in showPermissionSnackbar() 168 builder.create().show(); in showDebugDialog()
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/settings/ |
D | SettingsActivity.kt | 67 View.OnClickListener { buildClearDataDialog().show() }) in <lambda>() 74 buildCurrentCredentialsDialog().show() in <lambda>() 76 buildNewCredentialsDialog().show() in <lambda>() 111 buildNewCredentialsDialog().show() in <lambda>()
|