Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 42) 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()
37 Toast toast = Toast.makeText(context, "long toast", Toast.LENGTH_LONG); in shouldHaveLongDuration()
44 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldMakeTextCorrectly()
55 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldSetTextCorrectly()
65 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldSetTextWithIdCorrectly()
84 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldSetGravityCorrectly()
92 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldSetOffsetsCorrectly()
101 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldCountToastsCorrectly()
116 Toast toast = Toast.makeText(context, "short toast", Toast.LENGTH_SHORT); in shouldBeCancelled()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/
DAdvancedEventHandlingActivity.java42 …Toast.makeText(getApplicationContext(), "Single tap: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
44 … Toast.makeText(getApplicationContext(), "Single tap: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
52 …Toast.makeText(getApplicationContext(), "Long press: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
54 … Toast.makeText(getApplicationContext(), "Long press: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
61 …Toast.makeText(getApplicationContext(), "Double tap: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
63 … Toast.makeText(getApplicationContext(), "Double tap: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DSimpleAnimationActivity.kt30 …Toast.makeText(this@SimpleAnimationActivity, "Done ${System.currentTimeMillis() - start}", Toast.L… in onCreate()
37 …Toast.makeText(this@SimpleAnimationActivity, "Done ${System.currentTimeMillis() - start}", Toast.L… in onCreate()
DPreviewFragment.kt58 … Toast.makeText(context, "Please install a File Manager.", Toast.LENGTH_SHORT).show() in <lambda>()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java38 protected static Toast makeText(Context context, int resId, int duration) { in makeText() method in ShadowToast
39 return makeText(context, context.getResources().getString(resId), duration); in makeText()
43 protected static Toast makeText(Context context, CharSequence text, int duration) { in makeText() method in ShadowToast
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandling/
DEventHandlingActivity.java34 …@Override public void onClick(View v) { Toast.makeText(v.getContext(), "Clicked", Toast.LENGTH_SHO… in onCreate()
37 …@Override public boolean onLongClick(View v) { Toast.makeText(v.getContext(), "Long clicked", Toas… in onCreate()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTapToToneActivity.java78 Toast.makeText(TapToToneActivity.this, in onCreate()
265 Toast.makeText(TapToToneActivity.this, in onPortsConnected()
270 Toast.makeText(TapToToneActivity.this, in onPortsConnected()
DTestInputActivity.java170 Toast.makeText(getApplicationContext(), in onRequestPermissionsResult()
DMainActivity.java267 Toast.makeText(MainActivity.this, in showToast()
/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/
DHelloworldActivity.java95 Toast.makeText(this, "Server stopped", Toast.LENGTH_SHORT).show(); in startOrStopServer()
102 Toast.makeText(this, "Server started on port " + port, Toast.LENGTH_SHORT).show(); in startOrStopServer()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumThumperActivity.kt74 Toast.makeText(applicationContext, "Added Device", Toast.LENGTH_LONG).show() in onAudioDevicesAdded()
82 Toast.makeText(applicationContext, "Removed Device", Toast.LENGTH_LONG).show() in onAudioDevicesRemoved()
175 val toast = Toast.makeText(this, in onStart()
/external/libtextclassifier/notification/src/com/android/textclassifier/notification/
DCopyCodeActivity.java49 Toast.makeText( in handleIntent()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DMainActivity.java248 Toast.makeText(this, msg, Toast.LENGTH_SHORT).show(); in toast()
583 Toast.makeText(MainActivity.this, in showUploadLogDialog()
587 Toast.makeText(MainActivity.this, in showUploadLogDialog()
590 Toast.makeText(MainActivity.this, in showUploadLogDialog()
DFastPathSurfaceView.java76 Toast toast = Toast.makeText(getContext(), message, Toast.LENGTH_SHORT); in displayMessage()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DSampleChooserActivity.java110 Toast.makeText(getApplicationContext(), R.string.sample_list_load_error, Toast.LENGTH_LONG) in onCreate()
184 Toast.makeText(getApplicationContext(), R.string.sample_list_load_error, Toast.LENGTH_LONG) in onRequestPermissionsResult()
206 Toast.makeText(getApplicationContext(), R.string.sample_list_load_error, Toast.LENGTH_LONG) in onPlaylistGroups()
255 Toast.makeText(getApplicationContext(), downloadUnsupportedStringId, Toast.LENGTH_LONG) in onSampleDownloadButtonClicked()
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java75 Toast.makeText(this, R.string.saved_game_erased_notification, in onDialogClosed()
/external/llvm-project/clang/lib/Tooling/Transformer/
DRewriteRule.cpp137 static TextGenerator makeText(std::string S) { in makeText() function
142 return change(std::move(S), makeText("")); in remove()
160 E.Replacement = makeText(formatHeaderPath(Header, Format)); in addInclude()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DCameraActivity.java299 Toast.makeText(CameraActivity.this, in requestPermission()
355 Toast.makeText(this, "No Camera Detected", Toast.LENGTH_SHORT).show(); in setFragment()
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/
DMainActivity.java80 toast = Toast.makeText(this, "", Toast.LENGTH_SHORT); in onCreate()
223 toast = Toast.makeText(this, message, Toast.LENGTH_SHORT); in showToast()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptEditor.java209 Toast.makeText(this, "Can't run this type.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
264 Toast.makeText(this, "Saved " + mNameText.getText().toString(), Toast.LENGTH_SHORT).show(); in save()
599 Toast.makeText(this, "Search not found.", Toast.LENGTH_SHORT).show(); in onClick()
DLogcatViewer.java145 Toast.makeText(this, "Copied to clipboard", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
/external/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java150 Toast.makeText(getApplicationContext(), in onRequestPermissionsResult()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java232 notification = Toast.makeText(context, message, Toast.LENGTH_SHORT); in notifyUser()
/external/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
DMainActivity.java248 Toast.makeText(getApplicationContext(), in onRequestPermissionsResult()
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DMainActivity.java77 Toast.makeText( in onCreate()

12