Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 25 of 40) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowToastTest.java30 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldHaveShortDuration() local
31 assertThat(toast).isNotNull(); in shouldHaveShortDuration()
32 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_SHORT); in shouldHaveShortDuration()
37 Toast toast = Toast.makeText(context, "long toast", Toast.LENGTH_LONG); in shouldHaveLongDuration() local
38 assertThat(toast).isNotNull(); in shouldHaveLongDuration()
39 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_LONG); in shouldHaveLongDuration()
44 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldMakeTextCorrectly() local
45 assertThat(toast).isNotNull(); in shouldMakeTextCorrectly()
46 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_SHORT); in shouldMakeTextCorrectly()
47 toast.show(); in shouldMakeTextCorrectly()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java27 @RealObject Toast toast; field in ShadowToast
44 Toast toast = new Toast(context); in makeText() local
45 toast.setDuration(duration); in makeText()
46 ShadowToast shadowToast = Shadow.extract(toast); in makeText()
48 return toast; in makeText()
54 shadowApplication.getShownToasts().add(toast); in show()
165 for (Toast toast : shadowApplication.getShownToasts()) { in showedCustomToast()
166 …String text = ((TextView) toast.getView().findViewById(layoutResourceIdToCheckForMessage)).getText… in showedCustomToast()
182 for (Toast toast : shadowApplication.getShownToasts()) { in showedToast()
183 ShadowToast shadowToast = Shadow.extract(toast); in showedToast()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DLog.java42 private static void toast(Context context, String message) { in toast() method in Log
115 toast(context, message); in v()
120 toast(context, message); in v()
137 toast(context, message); in e()
142 toast(context, message); in e()
159 toast(context, message); in w()
164 toast(context, message); in w()
177 toast(context, message); in d()
182 toast(context, message); in d()
195 toast(context, message); in i()
[all …]
/external/libgsm/
DMakefile144 TOAST = $(BIN)/toast
157 $(INC)/toast.h \
181 TOAST_SOURCES = $(SRC)/toast.c \
225 TOAST_OBJECTS = $(SRC)/toast.o \
240 TOAST_MANUALS = $(MAN)/toast.1
268 $(TOAST_INSTALL_BIN)/toast \
271 $(TOAST_INSTALL_MAN)/toast.1
353 $(TOAST_INSTALL_BIN)/toast: $(TOAST)
358 $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
362 $(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
[all …]
DChangeLog5 Throw a #define _POSIX_C_SOURCE 200809L into toast.h to make it
67 src/toast.c: add _fsetmode() calls to set stdin/stdout to
74 src/toast.c: -C option to toast, cuts LPC time
89 man/*: bug reports to {jutta,cabo}@cs.tu-berlin.de, not to toast@tub
91 inc/toast.h: read/write fopen modes "rb" and "wb", not just "r"
92 src/toast.c: better (or different, anyway) error handling in process()
121 Switched uid/gid in toast's [f]chown calls.
DINSTALL24 toast, untoast and tcat will be generated.
33 linear 16-bit in host byte order will do), copy it, toast it,
44 You can install the gsm library interface, or the toast binaries,
53 (i.e., gsm library or toast binaries) by not setting the
58 will install the programs "toast" with two links named
DMANIFEST15 gsm-1.0/inc/toast.h
21 gsm-1.0/man/toast.1
40 gsm-1.0/src/toast.c
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/
DMainActivity.java50 private Toast toast; field in MainActivity
80 toast = Toast.makeText(this, "", Toast.LENGTH_SHORT); in onCreate()
222 toast.cancel(); in showToast()
223 toast = Toast.makeText(this, message, Toast.LENGTH_SHORT); in showToast()
224 toast.setGravity(Gravity.TOP, 0, 200); in showToast()
225 toast.show(); in showToast()
/external/libgsm/tst/
Drun32 ../bin/toast -l < $i.inp | ../bin/toast -dl | cmp - $i.out
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DFastPathSurfaceView.java76 Toast toast = Toast.makeText(getContext(), message, Toast.LENGTH_SHORT); in displayMessage() local
77 toast.show(); in displayMessage()
DMainActivity.java246 public void toast(String msg) { in toast() method in MainActivity
320 toast("This device does not support MIDI"); in onClickMIDI()
540 toast("There are no email clients installed."); in shareLogFile()
/external/llvm-project/llvm/test/DebugInfo/X86/
Dlive-debug-values-remove-range.ll3 ; In the simple loop below, the location of the variable "toast" is %bar in
5 ; know the location of "toast" at the start of the %loop block. Test that no
17 ; CHECK: ![[FOOVARNUM:[0-9]+]] = !DILocalVariable(name: "toast"
100 !3 = !DILocalVariable(name: "toast", scope: !4, file: !2, line: 1, type: !16)
/external/replicaisland/src/com/replica/replicaisland/
DGame.java350 CustomToastSystem toast = BaseObject.sSystemRegistry.customToastSystem; in goToLevel() local
351 if (toast != null) { in goToLevel()
353 toast.toast(context.getString(R.string.memory_playback_start), Toast.LENGTH_LONG); in goToLevel()
356 toast.toast(context.getString(R.string.memory_playback_complete), Toast.LENGTH_LONG); in goToLevel()
DCustomToastSystem.java49 public void toast(String text, int length) { in toast() method in CustomToastSystem
DDiaryActivity.java71 …BaseObject.sSystemRegistry.customToastSystem.toast(getString(R.string.diary_found), Toast.LENGTH_S… in onCreate()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DDetectorActivity.java159 Toast toast = in onPreviewSizeChosen()
162 toast.show(); in onPreviewSizeChosen()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumThumperActivity.kt175 val toast = Toast.makeText(this, in onStart() constant
178 toast.show() in onStart()
/external/doclava/res/assets/templates-sdk/components/
Dmasthead.cs309 def:toast() ?><?cs
314 <div class="dac-toast" data-toast>
/external/llvm-project/llvm/test/DebugInfo/MIR/X86/
Dlive-debug-values-entry-transfer.mir67 !9 = !DILocalVariable(name: "toast", scope: !4, file: !3, line: 1, type: !7)
Dlive-debug-values-fragments.mir137 …!40 = distinct !DISubprogram(name: "toast", scope: !2, file: !2, line: 1, spFlags: DISPFlagDefinit…
/external/doclava/res/assets/templates-sdk/
Dfooter.cs63 <?cs call:toast() ?>
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java1972 Toast toast = Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_SHORT); in doShowToast()
1973 toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL, 10, 10); in doShowToast()
1974 toast.show(); in doShowToast()
/external/doclava/res/assets/templates-sdk/assets/css/
Ddefault.css9896 .dac-toast {
9905 .dac-toast.dac-visible {
9909 .dac-toast-wrap {
9917 .dac-toast-close-btn {
9929 .dac-toast-close-btn:hover,
9930 .dac-toast-close-btn:focus,
9931 .dac-toast-close-btn:active {
9936 .dac-toast-close-btn .dac-button.dac-raised.dac-primary{
9941 .dac-toast-group {
9949 .dac-toast.dac-danger {
[all …]
/external/ImageMagick/www/assets/
Dmagick.js6toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,2…
Dmagick.css6toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,2…

12