/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MainActivity.java | 79 Toast.makeText(getApplicationContext(), "Hit the GET Button!", Toast.LENGTH_SHORT); in onCreate() 80 final Toast enterPackageName = Toast.makeText(getApplicationContext(), in onCreate() 83 Toast.makeText(getApplicationContext(), "Choose an Account!", Toast.LENGTH_SHORT); in onCreate() 85 Toast.makeText(getApplicationContext(), "Choose an Option!", Toast.LENGTH_SHORT); in onCreate() 163 Toast.makeText( in onCreate() 171 Toast.makeText( in onCreate() 179 Toast.makeText( in onCreate() 185 Toast.makeText(getApplicationContext(), in onCreate() 192 Toast.makeText(getApplicationContext(), in onCreate() 201 Toast.makeText(getApplicationContext(), in onCreate() [all …]
|
/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() 132 Toast.makeText(this, "Install failed! " + status + ", " + message, in onNewIntent() 136 Toast.makeText(this, "Unrecognized status received from installer: " + status, in onNewIntent()
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectActivity.java | 206 Toast.makeText(WiFiDirectActivity.this, R.string.p2p_off_warning, in onOptionsItemSelected() 217 Toast.makeText(WiFiDirectActivity.this, "Discovery Initiated", in onOptionsItemSelected() 223 Toast.makeText(WiFiDirectActivity.this, "Discovery Failed : " + reasonCode, in onOptionsItemSelected() 252 Toast.makeText(WiFiDirectActivity.this, "Connect failed. Retry.", in connect() 283 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected() 288 Toast.makeText(this, in onChannelDisconnected() 315 Toast.makeText(WiFiDirectActivity.this, "Aborting connection", in cancelDisconnect() 321 Toast.makeText(WiFiDirectActivity.this, in cancelDisconnect()
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | SetupProfileFragment.java | 82 Toast.makeText(activity, "Device provisioning is not enabled. Stopping.", 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/ |
D | ReceiveShareService.java | 41 Toast.makeText(ReceiveShareService.this, R.string.preparing_to_process_share, in onHandleIntent() 56 Toast.makeText(ReceiveShareService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | NotifyWithText.java | 58 Toast.makeText(NotifyWithText.this, R.string.short_notification_text, in onCreate() 70 Toast.makeText(NotifyWithText.this, R.string.long_notification_text, in onCreate()
|
D | AlarmService.java | 72 Toast.makeText(AlarmService.this, R.string.repeating_scheduled, 84 Toast.makeText(AlarmService.this, R.string.repeating_unscheduled,
|
D | ActionBarUsage.java | 68 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()
|
D | AlarmController.java | 121 mToast = Toast.makeText(AlarmController.this, R.string.one_shot_scheduled, 153 mToast = Toast.makeText(AlarmController.this, R.string.repeating_scheduled, 175 mToast = Toast.makeText(AlarmController.this, R.string.repeating_unscheduled,
|
D | FragmentContextMenu.java | 69 Toast.makeText(getActivity(), "Item 1a was chosen", Toast.LENGTH_SHORT).show(); in onContextItemSelected() 72 Toast.makeText(getActivity(), "Item 1b was chosen", Toast.LENGTH_SHORT).show(); in onContextItemSelected()
|
D | MenuInflateFromXml.java | 145 Toast.makeText(this, "Jump up in the air!", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 150 Toast.makeText(this, "Dive into the water!", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 171 Toast.makeText(this, item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
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() 330 Toast.makeText(Binding.this, R.string.remote_service_connected, 342 Toast.makeText(Binding.this, R.string.remote_service_disconnected, 427 Toast.makeText(Binding.this, 501 Toast.makeText(BindingOptions.this, R.string.remote_service_connected, in onServiceConnected() 510 Toast.makeText(BindingOptions.this, R.string.remote_service_disconnected, in onServiceDisconnected() 515 Toast.makeText(BindingOptions.this, R.string.remote_service_unbind_disconn, in onServiceDisconnected()
|
D | AppUpdateSspReceiver.java | 31 Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); in onReceive()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 70 Toast.makeText(getApplicationContext(), "Notifs Turned On!", Toast.LENGTH_SHORT); in onCreate() 72 Toast.makeText(getApplicationContext(), "Notifs Turned Off!", Toast.LENGTH_SHORT); in onCreate() 119 Toast.makeText(this, data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE), in onActivityResult() 122 Toast.makeText(this, "No account was chosen", Toast.LENGTH_LONG).show(); in onActivityResult()
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 70 Toast.makeText(getApplicationContext(), "Notifs Turned On!", Toast.LENGTH_SHORT); in onCreate() 72 Toast.makeText(getApplicationContext(), "Notifs Turned Off!", Toast.LENGTH_SHORT); in onCreate() 119 Toast.makeText(this, data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE), in onActivityResult() 122 Toast.makeText(this, "No account was chosen", Toast.LENGTH_LONG).show(); in onActivityResult()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | SetupProfileFragment.java | 92 Toast.makeText(activity, "Device provisioning is not enabled. Stopping.", 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/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
D | CameraPreviewActivity.java | 61 Toast.makeText(this, "Camera is not available.", Toast.LENGTH_SHORT).show(); in onCreate() 92 Toast.makeText(this, "Camera " + cameraId + " is not available: " + e.getMessage(), in getCameraInstance()
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
D | AlarmActivity.java | 108 Toast.makeText( 126 Toast.makeText(
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
D | MainActivity.java | 95 Toast.makeText(this, "Handle SEND and SENDTO intents: " + getIntent().getDataString(), 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/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | Global.java | 25 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List16.java | 68 Toast.makeText(List16.this, "Shared " + getListView().getCheckedItemCount() + in onActionItemClicked() 73 Toast.makeText(List16.this, "Clicked " + item.getTitle(), in onActionItemClicked()
|
D | List15.java | 67 Toast.makeText(List15.this, "Shared " + getListView().getCheckedItemCount() + in onActionItemClicked() 72 Toast.makeText(List15.this, "Clicked " + item.getTitle(), in onActionItemClicked()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | Utils.java | 29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Utils.java | 29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|