Lines Matching refs:fragment
25 import android.app.Fragment;
54 Fragment fragment = getFragmentManager().findFragmentById(fragmentId);
55 if (fragment == null) {
58 Class<? extends Fragment> clazz = (Class<? extends Fragment>) map.get(KEY_CLASS);
59 fragment = clazz.newInstance();
61 // Replace the old test fragment with the new one
63 ft.replace(R.id.testframe, fragment);
91 Class<? extends Fragment> clazz, int fragmentId) {