MCPcopy Create free account
hub / github.com/M66B/FairEmail / makeText

Method makeText

app/src/main/java/eu/faircode/email/ToastEx.java:37–39  ·  view source on GitHub ↗
(Context context, int resId, int duration)

Source from the content-addressed store, hash-verified

35 }
36
37 public static ToastEx makeText(Context context, int resId, int duration) throws Resources.NotFoundException {
38 return makeText(context, context.getText(resId), duration);
39 }
40
41 public static ToastEx makeText(Context context, CharSequence text, int duration) {
42 ToastEx toast = new ToastEx(context);

Callers 15

onExecutedMethod · 0.95
onExceptionMethod · 0.95
onNoAccountSelectedMethod · 0.95
onExecutedMethod · 0.95
onExceptionMethod · 0.95
onPreExecuteMethod · 0.95
onExecutedMethod · 0.95
onItemSelectedMethod · 0.95
onLongClickMethod · 0.95
onClickMethod · 0.95
onActionCopyMethod · 0.95
onCheckedChangedMethod · 0.95

Calls 11

getThemedContextMethod · 0.95
resolveColorMethod · 0.95
dp2pixelsMethod · 0.95
eMethod · 0.95
getPackageNameMethod · 0.80
getDrawableMethod · 0.65
setTextMethod · 0.65
getTextMethod · 0.45
fromMethod · 0.45
setBackgroundMethod · 0.45
getResourcesMethod · 0.45

Tested by

no test coverage detected