Searched defs:makeText (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SysUIToast.java | 24 public static Toast makeText(Context context, CharSequence text, int duration) { method in class:SysUIToast 25 Toast toast = Toast.makeText(context, text, duration);
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 266 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { method in class:Toast 267 return makeText(context, null, text, duration); 275 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, method in class:Toast 302 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) method in class:Toast 304 return makeText(context, context.getResources().getText(resId), duration); 308 * Update the text in a Toast that was previously created using one of the makeText() methods. 316 * Update the text in a Toast that was previously created using one of the makeText() methods. 321 throw new RuntimeException("This Toast was not created with Toast.makeText()"); 325 throw new RuntimeException("This Toast was not created with Toast.makeText()");
|
Completed in 1637 milliseconds