HomeSort by relevance Sort by last modified time
    Searched refs:toast (Results 1 - 23 of 23) sorted by null

  /packages/apps/DeskClock/src/com/android/deskclock/
ToastMaster.java 19 import android.widget.Toast;
23 private static Toast sToast = null;
29 public static void setToast(Toast toast) {
32 sToast = toast;
SetAlarm.java 43 import android.widget.Toast;
371 * Show a toast if the alarm is enabled with the time remaining until alarm
382 * Display a toast that tells the user how long until the alarm
394 Toast toast = Toast.makeText(context, toastText, Toast.LENGTH_LONG); local
395 ToastMaster.setToast(toast);
396 toast.show();
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
ToastTest.java 32 import android.widget.Toast;
44 Toast mToast1;
45 Toast mToast2;
89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT);
94 new Test("Make Toast #1") {
97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT);
101 new Test("Show Toast #1") {
108 new Test("Update Toast #1")
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
LoadScreennailTask.java 24 import android.widget.Toast;
66 Toast toast = Toast.makeText(context, R.string.loading_failure, Toast.LENGTH_SHORT); local
67 toast.setGravity(Gravity.CENTER, 0, 0);
68 toast.show();
SaveCopyTask.java 30 import android.widget.Toast;
105 Toast toast = Toast.makeText(context, message, Toast.LENGTH_SHORT); local
106 toast.setGravity(Gravity.CENTER, 0, 0);
107 toast.show();
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SecureView.java 30 import android.widget.Toast;
39 * or would at least think long and hard about it. However, a carefully crafted toast can
41 * are innocuous. Since the toast cannot receive input, the touches are passed down to the
45 * a toast layed out so as to cover the buttons and part of the descriptive text.
52 * When the toast appears, this button remains clickable as usual which creates an
57 * When the toast appears, the button does not receive the touch and appears to be inoperable.
97 // Generate a toast view with a special layout that will position itself right
103 Toast toast = new Toast(getApplicationContext()) local
    [all...]
SplitTouchView.java 28 import android.widget.Toast;
62 Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT);
63 toast.show();
GameControllerInput.java 40 import android.widget.Toast;
373 Toast toast = Toast.makeText( local
374 mContext, mState.getDevice().toString(), Toast.LENGTH_LONG);
375 toast.show();
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothHeadsetHandover.java 33 import android.widget.Toast;
165 toast(mContext.getString(R.string.disconnecting_headset ) + " " +
176 toast(mContext.getString(R.string.disconnected_headset) + " " + mName);
191 toast(mContext.getString(R.string.failed_to_enable_bt));
227 toast(mContext.getString(R.string.connecting_headset) + " " + mName + "...");
238 toast(mContext.getString(R.string.connected_headset) + " " + mName);
242 toast (mContext.getString(R.string.connect_headset_failed) + " " + mName);
251 toast(mContext.getString(R.string.pairing_headset) + " " + mName + "...");
253 toast(mContext.getString(R.string.pairing_headset_failed) + " " + mName);
265 toast(mContext.getString(R.string.failed_to_enable_bt))
319 void toast(CharSequence text) { method in class:BluetoothHeadsetHandover
    [all...]
  /packages/apps/Browser/src/com/android/browser/
GeolocationPermissionsPrompt.java 29 import android.widget.Toast;
100 Toast toast = Toast.makeText( local
104 Toast.LENGTH_LONG);
105 toast.setGravity(Gravity.BOTTOM, 0, 0);
106 toast.show();
  /external/replicaisland/src/com/replica/replicaisland/
CustomToastSystem.java 25 import android.widget.Toast;
30 private Toast mToast;
37 mToast = new Toast(context);
49 public void toast(String text, int length) { method in class:CustomToastSystem
DiaryActivity.java 30 import android.widget.Toast;
71 BaseObject.sSystemRegistry.customToastSystem.toast(getString(R.string.diary_found), Toast.LENGTH_SHORT);
Game.java 24 import android.widget.Toast;
350 CustomToastSystem toast = BaseObject.sSystemRegistry.customToastSystem; local
351 if (toast != null) {
353 toast.toast(context.getString(R.string.memory_playback_start), Toast.LENGTH_LONG);
356 toast.toast(context.getString(R.string.memory_playback_complete), Toast.LENGTH_LONG);
  /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
TestsListActivity.java 31 import android.widget.Toast;
132 Toast toast = Toast.makeText(this, local
134 Toast.LENGTH_LONG);
135 toast.setGravity(Gravity.CENTER, -40, 0);
136 toast.show();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
ConnectionAccessClientActivity.java 34 import android.widget.Toast;
143 Toast.makeText(this, R.string.bt_connecting, Toast.LENGTH_SHORT).show();
148 Toast.makeText(this, R.string.bt_connected, Toast.LENGTH_SHORT).show();
162 String toast = msg.getData().getString(BluetoothChatService.TOAST); local
163 Toast.makeText(this, toast, Toast.LENGTH_SHORT).show()
    [all...]
ConnectionAccessServerActivity.java 38 import android.widget.Toast;
143 Toast.makeText(this, R.string.bt_listening, Toast.LENGTH_SHORT).show();
149 String toast = msg.getData().getString(BluetoothChatService.TOAST); local
150 Toast.makeText(this, toast, Toast.LENGTH_LONG).show();
MessageTestActivity.java 41 import android.widget.Toast;
318 String toast = msg.getData().getString(BluetoothChatService.TOAST); local
319 Toast.makeText(this, toast, Toast.LENGTH_LONG).show();
  /packages/apps/Stk/src/com/android/stk/
StkAppService.java 42 import android.widget.Toast;
660 Toast toast = new Toast(mContext.getApplicationContext()); local
677 toast.setView(v);
678 toast.setDuration(Toast.LENGTH_LONG);
679 toast.setGravity(Gravity.BOTTOM, 0, 0);
680 toast.show();
752 Toast toast = Toast.makeText(mContext.getApplicationContext(), msg.text local
    [all...]
  /packages/apps/MusicFX/src/com/android/musicfx/
ActivityMusic.java 58 import android.widget.Toast;
764 final int duration = Toast.LENGTH_SHORT;
766 final Toast toast = Toast.makeText(context, getString(R.string.headset_plug), duration); local
767 toast.setGravity(Gravity.CENTER, toast.getXOffset() / 2, toast.getYOffset() / 2);
768 toast.show();
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 41 import android.widget.Toast;
221 int duration = Toast.LENGTH_SHORT;
222 Toast toast = Toast.makeText(ctx, txt, duration); local
223 toast.show();
  /packages/apps/Nfc/src/com/android/nfc/
SendUi.java 48 import android.widget.Toast;
335 public void finishAndToast(int finishMode, String toast) {
337 mToastString = toast;
403 Toast.makeText(mContext, mToastString, Toast.LENGTH_LONG).show();
  /hardware/ti/wpan/tools/FM/FmTxApp/src/com/ti/fmtxapp/
FmTx.java 35 import android.widget.Toast;
177 int duration = Toast.LENGTH_SHORT;
179 Toast toast = Toast.makeText(mContext, text, duration); local
180 toast.setGravity(android.view.Gravity.CENTER_VERTICAL, 0, 0);
181 toast.show();
    [all...]
  /hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
FmRxApp.java 62 import android.widget.Toast;
1767 Toast toast = new Toast(getApplicationContext()); local
    [all...]

Completed in 876 milliseconds