/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MainActivity.java | 112 dialog.show(); in onCreate() 143 enterPackageName.show(); in onCreate() 145 chooseAccountWarning.show(); in onCreate() 147 chooseOptionWarning.show(); in onCreate() 166 Toast.LENGTH_SHORT).show(); in onCreate() 174 Toast.LENGTH_SHORT).show(); in onCreate() 182 Toast.LENGTH_SHORT).show(); in onCreate() 189 Toast.LENGTH_SHORT).show(); in onCreate() 195 Toast.LENGTH_SHORT).show(); in onCreate() 206 Toast.LENGTH_SHORT).show(); in onCreate() [all …]
|
/development/samples/browseable/RuntimePermissionsBasic/src/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() 143 Snackbar.LENGTH_SHORT).show(); in requestCameraPermission()
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectActivity.java | 207 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 218 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 224 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 253 Toast.LENGTH_SHORT).show(); in connect() 283 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected() 290 Toast.LENGTH_LONG).show(); in onChannelDisconnected() 316 Toast.LENGTH_SHORT).show(); in cancelDisconnect() 323 Toast.LENGTH_SHORT).show(); in cancelDisconnect()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | InstallApk.java | 73 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()
|
D | InstallApkSessionApi.java | 122 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/HoneycombGallery/src/com/example/android/hcgallery/ |
D | ContentFragment.java | 201 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/AsymmetricFingerprintDialog/src/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()
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
D | MainActivity.java | 163 .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/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | SetupProfileFragment.java | 83 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/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | LauncherActivity.java | 149 popup.show(); in onCreate() 161 pickerDialogFragment.show(fm, "fragment_app_picker"); in onMenuItemClick() 217 .show(); in launch() 273 private void showAppDrawer(boolean show) { in showAppDrawer() argument 274 if (show == mAppDrawerShown) { in showAppDrawer() 278 final Animator animator = revealAnimator(mAppDrawerView, show); in showAppDrawer() 279 if (show) { in showAppDrawer()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | RemoteService.java | 95 Toast.makeText(this, R.string.remote_service_stopped, Toast.LENGTH_SHORT).show(); in onDestroy() 147 Toast.makeText(this, "Task removed: " + rootIntent, Toast.LENGTH_LONG).show(); in onTaskRemoved() 331 Toast.LENGTH_SHORT).show(); 343 Toast.LENGTH_SHORT).show(); 429 Toast.LENGTH_SHORT).show(); 502 Toast.LENGTH_SHORT).show(); in onServiceConnected() 511 Toast.LENGTH_SHORT).show(); in onServiceDisconnected() 516 Toast.LENGTH_SHORT).show(); in onServiceDisconnected()
|
D | FragmentDialog.java | 48 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()
|
D | AlarmController.java | 123 mToast.show(); 155 mToast.show(); 177 mToast.show();
|
/development/samples/browseable/AppRestrictionEnforcer/src/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()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
D | MainActivity.java | 96 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/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/ |
D | MainActivity.java | 127 Toast.LENGTH_LONG).show(); in onCreate() 142 Toast.LENGTH_LONG).show(); in onCreate() 214 + "Retry the purchase", Toast.LENGTH_LONG).show(); in tryEncrypt() 319 fragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onClick() 330 fragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onClick()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SecureView.java | 106 toast.show(); in showOverlay() 120 .show(); in setClickedAction() 135 .show(); in setTouchFilter()
|
D | PopupMenu1.java | 46 Toast.LENGTH_SHORT).show(); in onPopupButtonClick() 51 popup.show(); in onPopupButtonClick()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChat.java | 97 Toast.makeText(this, "Bluetooth is not available", Toast.LENGTH_LONG).show(); in onCreate() 203 Toast.makeText(this, R.string.not_connected, Toast.LENGTH_SHORT).show(); in sendMessage() 280 + mConnectedDeviceName, Toast.LENGTH_SHORT).show(); 284 Toast.LENGTH_SHORT).show(); 313 Toast.makeText(this, R.string.bt_not_enabled_leaving, Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatFragment.java | 99 Toast.makeText(activity, "Bluetooth is not available", Toast.LENGTH_LONG).show(); in onCreate() 210 Toast.makeText(getActivity(), R.string.not_connected, Toast.LENGTH_SHORT).show(); in sendMessage() 315 + mConnectedDeviceName, Toast.LENGTH_SHORT).show(); 321 Toast.LENGTH_SHORT).show(); 351 Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 325 .show(); in onClick() 375 new ConfirmationDialog().show(getChildFragmentManager(), FRAGMENT_DIALOG); in requestVideoPermissions() 390 .show(getChildFragmentManager(), FRAGMENT_DIALOG); in onRequestPermissionsResult() 396 .show(getChildFragmentManager(), FRAGMENT_DIALOG); in onRequestPermissionsResult() 452 Toast.makeText(activity, "Cannot access the camera.", Toast.LENGTH_SHORT).show(); in openCamera() 458 .show(getChildFragmentManager(), FRAGMENT_DIALOG); in openCamera() 512 Toast.makeText(activity, "Failed", Toast.LENGTH_SHORT).show(); in startPreview() 655 Toast.makeText(activity, "Failed", Toast.LENGTH_SHORT).show(); in startRecordingVideo() 685 Toast.LENGTH_SHORT).show(); in stopRecordingVideo()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/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()
|
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/ |
D | ReceiveShareService.java | 42 Toast.LENGTH_LONG).show(); in onHandleIntent() 56 Toast.makeText(ReceiveShareService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent()
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 85 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()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 85 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()
|