Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 146) sorted by relevance

123456

/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java79 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/
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()
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/
DWiFiDirectActivity.java206 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/
DSetupProfileFragment.java82 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/
DReceiveShareService.java41 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/
DNotifyWithText.java58 Toast.makeText(NotifyWithText.this, R.string.short_notification_text, in onCreate()
70 Toast.makeText(NotifyWithText.this, R.string.long_notification_text, in onCreate()
DAlarmService.java72 Toast.makeText(AlarmService.this, R.string.repeating_scheduled,
84 Toast.makeText(AlarmService.this, R.string.repeating_unscheduled,
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()
DAlarmController.java121 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,
DFragmentContextMenu.java69 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()
DMenuInflateFromXml.java145 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()
DRemoteService.java95 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()
DAppUpdateSspReceiver.java31 Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); in onReceive()
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java70 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/
DMainActivity.java70 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/
DSetupProfileFragment.java92 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/
DCameraPreviewActivity.java61 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/
DAlarmActivity.java108 Toast.makeText(
126 Toast.makeText(
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DMainActivity.java95 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/
DGlobal.java25 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList16.java68 Toast.makeText(List16.this, "Shared " + getListView().getCheckedItemCount() + in onActionItemClicked()
73 Toast.makeText(List16.this, "Clicked " + item.getTitle(), in onActionItemClicked()
DList15.java67 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/
DUtils.java29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DUtils.java29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()

123456