Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 32) 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java31 protected static Toast makeText(Context context, int resId, int duration) { in makeText() method in ShadowToast
32 return makeText(context, context.getResources().getString(resId), duration); in makeText()
36 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/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/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()
DAccelerometerFragment.java256 Toast.makeText(getContext(), "Start shaking the phone and WALT!", Toast.LENGTH_LONG).show(); in startMeasurement()
/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()
DDownloadTracker.java226 Toast.makeText(context, R.string.download_start_error, Toast.LENGTH_LONG).show(); in onPrepareError()
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java75 Toast.makeText(this, R.string.saved_game_erased_notification, in onDialogClosed()
/external/tensorflow/tensorflow/examples/android/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()
DDetectorActivity.java162 Toast.makeText( in onPreviewSizeChosen()
/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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java232 notification = Toast.makeText(context, message, Toast.LENGTH_SHORT); in notifyUser()
DConsoleActivity.java498 Toast.makeText(ConsoleActivity.this, in onCreate()
716 Toast.makeText(ConsoleActivity.this, getString(R.string.terminal_copy_start), in onContextItemSelected()
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DMainActivity.java77 Toast.makeText( in onCreate()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DLog.java43 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in toast()
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java341 … Toast.makeText(this, "Camera permission is needed to run this application", Toast.LENGTH_LONG) in onRequestPermissionsResult()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java341 … Toast.makeText(this, "Camera permission is needed to run this application", Toast.LENGTH_LONG) in onRequestPermissionsResult()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DMainActivity.java182 Toast.makeText(getApplicationContext(), messageId, Toast.LENGTH_LONG).show(); in showToast()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java219 Toast.makeText(context, message, Toast.LENGTH_LONG).show(); in onFrame()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallActivity.java468 logToast = Toast.makeText(this, msg, Toast.LENGTH_SHORT); in logAndToast()

12