Lines Matching refs:key
280 * @param key The name of the entry in the bundle.
283 public abstract void putFragment(Bundle bundle, String key, Fragment fragment);
290 * @param key The name of the entry in the bundle.
294 public abstract Fragment getFragment(Bundle bundle, String key);
557 public void putFragment(Bundle bundle, String key, Fragment fragment) {
562 bundle.putInt(key, fragment.mIndex);
566 public Fragment getFragment(Bundle bundle, String key) {
567 int index = bundle.getInt(key, -1);
572 throwException(new IllegalStateException("Fragement no longer exists for key "
573 + key + ": index " + index));
577 throwException(new IllegalStateException("Fragement no longer exists for key "
578 + key + ": index " + index));