Home
last modified time | relevance | path

Searched refs:show (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/
DMainActivity.java88 .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/
DMainActivity.java88 .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/
DMainActivity.java131 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/
DMainActivity.kt126 .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/
DMainActivity.kt126 .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/
DUtils.java71 .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/
DMainActivity.java153 .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/
DMainActivity.java153 .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/
DSetupProfileFragment.java94 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/
DSetupProfileFragment.java94 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/
DMainActivity.java80 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/
DMainActivity.java80 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/
DUtils.java53 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/
DSystemUiHider.java143 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/
DSetupProfileFragment.java93 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/
DSetupProfileFragment.java93 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/
DMainActivity.kt51 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/
DMainActivity.java55 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/
DAttractionListActivity.java109 "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/
DActivityExtensions.kt26 Toast.makeText(this, text, Toast.LENGTH_SHORT).show() in Activity()
/developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
DActivityExtensions.kt26 Toast.makeText(this, text, Toast.LENGTH_SHORT).show() in Activity()
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/
DActivityExtensions.kt23 Toast.makeText(this, text, Toast.LENGTH_LONG).show() in AppCompatActivity()
/developers/samples/android/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/
DActivityExtensions.kt23 Toast.makeText(this, text, Toast.LENGTH_LONG).show() in AppCompatActivity()
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionListActivity.java108 "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/
DSettingsActivity.kt67 View.OnClickListener { buildClearDataDialog().show() }) in <lambda>()
74 buildCurrentCredentialsDialog().show() in <lambda>()
76 buildNewCredentialsDialog().show() in <lambda>()
111 buildNewCredentialsDialog().show() in <lambda>()

12345678910>>...12