Home
last modified time | relevance | path

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

123456789

/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java103 dialog.show(); in onCreate()
134 enterPackageName.show(); in onCreate()
136 chooseAccountWarning.show(); in onCreate()
138 chooseOptionWarning.show(); in onCreate()
157 Toast.LENGTH_SHORT).show(); in onCreate()
165 Toast.LENGTH_SHORT).show(); in onCreate()
173 Toast.LENGTH_SHORT).show(); in onCreate()
180 Toast.LENGTH_SHORT).show(); in onCreate()
186 Toast.LENGTH_SHORT).show(); in onCreate()
197 Toast.LENGTH_SHORT).show(); in onCreate()
[all …]
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
DMainActivity.java88 .show(); in onRequestPermissionsResult()
94 .show(); in onRequestPermissionsResult()
108 Snackbar.LENGTH_SHORT).show(); in showCameraPreview()
138 }).show(); in requestCameraPermission()
143 Snackbar.LENGTH_SHORT).show(); in requestCameraPermission()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java143 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
154 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
160 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
189 Toast.LENGTH_SHORT).show(); in connect()
219 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected()
226 Toast.LENGTH_LONG).show(); in onChannelDisconnected()
252 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
259 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java73 Toast.makeText(this, "Install succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
75 Toast.makeText(this, "Install canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
77 Toast.makeText(this, "Install Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
81 Toast.makeText(this, "Uninstall succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
83 Toast.makeText(this, "Uninstall canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
85 Toast.makeText(this, "Uninstall Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
DInstallApkSessionApi.java122 Toast.makeText(this, "Install succeeded!", Toast.LENGTH_SHORT).show(); in onNewIntent()
133 Toast.LENGTH_SHORT).show(); in onNewIntent()
137 Toast.LENGTH_SHORT).show(); in onNewIntent()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DSetupProfileFragment.java83 Toast.LENGTH_SHORT).show(); in provisionManagedProfile()
91 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult()
93 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShareService.java42 Toast.LENGTH_LONG).show(); in onHandleIntent()
56 Toast.makeText(ReceiveShareService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DPopupMenu1.java46 Toast.LENGTH_SHORT).show(); in onPopupButtonClick()
51 popup.show(); in onPopupButtonClick()
DSecureView.java106 toast.show(); in showOverlay()
120 .show(); in setClickedAction()
135 .show(); in setTouchFilter()
/development/samples/browseable/AsymmetricFingerprintDialog/src/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()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DNotifyWithText.java59 Toast.LENGTH_SHORT).show(); in onCreate()
71 Toast.LENGTH_LONG).show(); in onCreate()
DSecureDialogActivity.java71 Button button = (Button)findViewById(R.id.show); in onCreate()
92 dialog.show(); in onClick()
DAlarmService.java73 Toast.LENGTH_LONG).show();
85 Toast.LENGTH_LONG).show();
DActionBarUsage.java68 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show(); in onQueryTextSubmit()
DSearchInvoke.java153 .show(); in onOptionsItemSelected()
164 .show(); in onOptionsItemSelected()
171 .show(); in onOptionsItemSelected()
DFragmentDialog.java48 Button button = (Button)findViewById(R.id.show); in onCreate()
82 newFragment.show(ft, "dialog"); in showDialog()
156 Button button = (Button)v.findViewById(R.id.show); in onCreateView()
DAlarmController.java123 mToast.show();
155 mToast.show();
177 mToast.show();
/development/samples/browseable/AppRestrictionEnforcer/src/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()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java163 .show(); in requestCameraPermission()
227 .show(); in requestContactsPermissions()
277 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult()
281 Snackbar.LENGTH_SHORT).show(); in onRequestPermissionsResult()
295 .show(); in onRequestPermissionsResult()
300 .show(); in onRequestPermissionsResult()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java201 void setSystemUiVisible(boolean show) { in setSystemUiVisible() argument
202 mSystemUiVisible = show; in setSystemUiVisible()
209 if (show) { in setSystemUiVisible()
215 actionBar.show(); in setSystemUiVisible()
304 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
332 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
339 Toast.LENGTH_SHORT).show(); in shareCurrentPhoto()
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java61 Toast.makeText(this, "Camera is not available.", Toast.LENGTH_SHORT).show(); in onCreate()
93 Toast.LENGTH_SHORT).show(); in getCameraInstance()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmActivity.java112 ).show(); // show the message on the screen
130 ).show(); // display the message
/development/samples/browseable/XYZTouristAttractions/Application/src/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()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DMainActivity.java96 Toast.LENGTH_SHORT).show(); in onCreate()
111 Toast.makeText(this, "Sending text message: " + smsText, Toast.LENGTH_SHORT).show(); in sendSms()
115 Toast.makeText(this, "Not default", Toast.LENGTH_SHORT).show(); in sendSms()
159 Toast.makeText(this, phoneNumberToast, Toast.LENGTH_SHORT).show(); in onResume()
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java85 dialog.show(); in onCreate()
120 Toast.LENGTH_LONG).show(); in onActivityResult()
122 Toast.makeText(this, "No account was chosen", Toast.LENGTH_LONG).show(); in onActivityResult()

123456789