Lines Matching defs:instantiate
41 * Sets the current {@link LayoutlibCallback} to be used to instantiate classes coming
49 * Like {@link #instantiate(Context, String, Bundle)} but with a null
53 /*package*/ static Fragment instantiate(Context context, String fname) {
54 return instantiate(context, fname, null);
61 * @param context The calling context being used to instantiate the fragment.
63 * @param fname The class name of the fragment to instantiate.
72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) {
87 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
91 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
95 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
99 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname