/frameworks/base/core/java/android/app/ |
H A D | FragmentTransaction.java | 16 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 21 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); argument 24 * Add a fragment to the activity state. This fragment may optionally 28 * @param containerViewId Optional identifier of the container this fragment is 30 * @param fragment The fragment to be added. This fragment must not already 32 * @param tag Optional tag name for the fragment, to later retrieve the 33 * fragment wit 38 add(int containerViewId, Fragment fragment, String tag) argument 43 replace(int containerViewId, Fragment fragment) argument 61 replace(int containerViewId, Fragment fragment, String tag) argument 71 remove(Fragment fragment) argument 82 hide(Fragment fragment) argument 93 show(Fragment fragment) argument 106 detach(Fragment fragment) argument 118 attach(Fragment fragment) argument [all...] |
H A D | BackStackRecord.java | 57 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 103 "Instantiate " + bse + " op #" + num + " base fragment #" + mOps[pos]); 107 op.fragment = f; 109 op.fragment = null; 120 "Instantiate " + bse + " set remove fragment #" + mOps[pos]); 170 * @hide Entry of an operation on the fragment back stack. 191 Fragment fragment; field in class:BackStackRecord.Op 297 writer.print(" "); writer.println(op.fragment); 378 public FragmentTransaction add(Fragment fragment, Strin argument 383 add(int containerViewId, Fragment fragment) argument 388 add(int containerViewId, Fragment fragment, String tag) argument 393 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 420 replace(int containerViewId, Fragment fragment) argument 424 replace(int containerViewId, Fragment fragment, String tag) argument 433 remove(Fragment fragment) argument 442 hide(Fragment fragment) argument 451 show(Fragment fragment) argument 460 detach(Fragment fragment) argument 469 attach(Fragment fragment) argument [all...] |
H A D | FragmentManager.java | 64 * Representation of an entry on the fragment back stack, as created 128 * <p>Note: A fragment transaction can only be created/committed prior 160 * Finds a fragment that was identified by the given id either when inflated 163 * activity; if no such fragment is found, then all fragments currently 165 * @return The fragment if found or null otherwise. 170 * Finds a fragment that was identified by the given tag either when inflated 173 * activity; if no such fragment is found, then all fragments currently 175 * @return The fragment if found or null otherwise. 205 * Pop the last fragment transition from the manager's fragment 283 putFragment(Bundle bundle, String key, Fragment fragment) argument 557 putFragment(Bundle bundle, String key, Fragment fragment) argument 584 saveFragmentInstanceState(Fragment fragment) argument 729 loadAnimator(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1120 addFragment(Fragment fragment, boolean moveToStateNow) argument 1142 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1167 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1199 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1219 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1238 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [all...] |
H A D | Activity.java | 813 * Return the LoaderManager for this fragment, creating it if needed. 1675 public void onAttachFragment(Fragment fragment) { argument 3858 * @param fragment The fragment making the call. 3867 public void startActivityFromFragment(Fragment fragment, Intent intent, argument 3869 startActivityFromFragment(fragment, intent, requestCode, null); 3880 * @param fragment The fragment making the call. 3892 public void startActivityFromFragment(Fragment fragment, Intent intent, argument 3896 this, mMainThread.getApplicationThread(), mToken, fragment, [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentTransaction.java | 30 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 35 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); argument 38 * Add a fragment to the activity state. This fragment may optionally 42 * @param containerViewId Optional identifier of the container this fragment is 44 * @param fragment The fragment to be added. This fragment must not already 46 * @param tag Optional tag name for the fragment, to later retrieve the 47 * fragment wit 52 add(int containerViewId, Fragment fragment, String tag) argument 57 replace(int containerViewId, Fragment fragment) argument 75 replace(int containerViewId, Fragment fragment, String tag) argument 85 remove(Fragment fragment) argument 96 hide(Fragment fragment) argument 107 show(Fragment fragment) argument 120 detach(Fragment fragment) argument 132 attach(Fragment fragment) argument [all...] |
H A D | FragmentPagerAdapter.java | 28 * kept in the fragment manager as long as the user can return to the page. 32 * The fragment of each page the user visits will be kept in memory, though its 34 * a significant amount of memory since fragment instances can hold on to an 50 * <p>The <code>R.layout.fragment_pager</code> resource of the top-level fragment is: 56 * individual fragment's layout is: 90 // Do we already have this fragment? 92 Fragment fragment = mFragmentManager.findFragmentByTag(name); 93 if (fragment != null) { 94 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); 95 mCurTransaction.attach(fragment); [all...] |
H A D | FragmentStatePagerAdapter.java | 31 * saving and restoring of fragment's state. 35 * the user, their entire fragment may be destroyed, only keeping the saved 36 * state of that fragment. This allows the pager to hold on to much less 53 * <p>The <code>R.layout.fragment_pager</code> resource of the top-level fragment is: 59 * individual fragment's layout is: 92 // from its saved state, where the fragment manager has already 105 Fragment fragment = getItem(position); 106 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment); 110 fragment.setInitialSavedState(fss); 116 fragment [all...] |
H A D | BackStackRecord.java | 57 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 103 "Instantiate " + bse + " op #" + num + " base fragment #" + mOps[pos]); 107 op.fragment = f; 109 op.fragment = null; 120 "Instantiate " + bse + " set remove fragment #" + mOps[pos]); 170 * @hide Entry of an operation on the fragment back stack. 191 Fragment fragment; field in class:BackStackRecord.Op 297 writer.print(" "); writer.println(op.fragment); 378 public FragmentTransaction add(Fragment fragment, Strin argument 383 add(int containerViewId, Fragment fragment) argument 388 add(int containerViewId, Fragment fragment, String tag) argument 393 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 420 replace(int containerViewId, Fragment fragment) argument 424 replace(int containerViewId, Fragment fragment, String tag) argument 433 remove(Fragment fragment) argument 442 hide(Fragment fragment) argument 451 show(Fragment fragment) argument 460 detach(Fragment fragment) argument 469 attach(Fragment fragment) argument [all...] |
H A D | FragmentManager.java | 61 * Representation of an entry on the fragment back stack, as created 125 * <p>Note: A fragment transaction can only be created/committed prior 157 * Finds a fragment that was identified by the given id either when inflated 160 * activity; if no such fragment is found, then all fragments currently 162 * @return The fragment if found or null otherwise. 167 * Finds a fragment that was identified by the given tag either when inflated 170 * activity; if no such fragment is found, then all fragments currently 172 * @return The fragment if found or null otherwise. 203 * Pop the last fragment transition from the manager's fragment 281 putFragment(Bundle bundle, String key, Fragment fragment) argument 544 putFragment(Bundle bundle, String key, Fragment fragment) argument 571 saveFragmentInstanceState(Fragment fragment) argument 740 loadAnimation(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1151 addFragment(Fragment fragment, boolean moveToStateNow) argument 1173 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1190 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1209 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1228 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1247 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [all...] |
H A D | FragmentActivity.java | 48 * <p>When using this class as opposed to new platform's built-in fragment 55 * <li> <p>When using the <fragment> tag, this implementation can not 56 * use the parent view's ID as the new fragment's ID. You must explicitly 57 * specify an ID (or tag) in the <fragment>.</p> 61 * throw an exception if you try to change the fragment state after it has been 143 * Dispatch incoming result to the correct fragment. 152 Log.w(TAG, "Activity result fragment index out of range: 0x" 158 Log.w(TAG, "Activity result no fragment exists for index: 0x" 170 * Take care of popping the fragment back stack or finishing the activity 233 * Add support for inflating the <fragment> ta 797 onAttachFragment(Fragment fragment) argument 823 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument [all...] |
H A D | FragmentTabHost.java | 45 * <p>This can also be used inside of a fragment through fragment nesting: 65 private Fragment fragment; field in class:FragmentTabHost.TabInfo 230 // sure this tab's fragment is inactive if it exists. This shouldn't 232 info.fragment = mFragmentManager.findFragmentByTag(tag); 233 if (info.fragment != null && !info.fragment.isDetached()) { 235 ft.detach(info.fragment); 255 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 256 if (tab.fragment ! [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentPagerAdapter.java | 32 * kept in the fragment manager as long as the user can return to the page. 36 * The fragment of each page the user visits will be kept in memory, though its 38 * a significant amount of memory since fragment instances can hold on to an 54 * <p>The <code>R.layout.fragment_pager</code> resource of the top-level fragment is: 60 * individual fragment's layout is: 94 // Do we already have this fragment? 96 Fragment fragment = mFragmentManager.findFragmentByTag(name); 97 if (fragment != null) { 98 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); 99 mCurTransaction.attach(fragment); [all...] |
H A D | FragmentStatePagerAdapter.java | 35 * saving and restoring of fragment's state. 39 * the user, their entire fragment may be destroyed, only keeping the saved 40 * state of that fragment. This allows the pager to hold on to much less 57 * <p>The <code>R.layout.fragment_pager</code> resource of the top-level fragment is: 63 * individual fragment's layout is: 96 // from its saved state, where the fragment manager has already 109 Fragment fragment = getItem(position); 110 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment); 114 fragment.setInitialSavedState(fss); 120 FragmentCompat.setMenuVisibility(fragment, fals [all...] |
H A D | FragmentTabHost.java | 57 private Fragment fragment; field in class:FragmentTabHost.TabInfo 222 // sure this tab's fragment is inactive if it exists. This shouldn't 224 info.fragment = mFragmentManager.findFragmentByTag(tag); 225 if (info.fragment != null && !info.fragment.isDetached()) { 227 ft.detach(info.fragment); 247 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 248 if (tab.fragment != null && !tab.fragment.isDetached()) { 250 // The fragment fo [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 36 * in our class. We need to be able to re-define the fragment's name according to data 40 * <li>In method {@link #destroyItem(View, int, Object)}, the fragment is detached and 41 * added to a cache. If the fragment is evicted from the cache, it will be deleted. 77 // Do we already have this fragment? 83 Fragment fragment = mFragmentManager.findFragmentByTag(name); 84 if (fragment != null) { 85 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment); 86 mCurTransaction.attach(fragment); 88 fragment = getItem(position); 89 if(fragment [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 36 * in our class. We need to be able to re-define the fragment's name according to data 40 * <li>In method {@link #destroyItem(View, int, Object)}, the fragment is detached and 41 * added to a cache. If the fragment is evicted from the cache, it will be deleted. 77 // Do we already have this fragment? 83 Fragment fragment = mFragmentManager.findFragmentByTag(name); 84 if (fragment != null) { 85 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment); 86 mCurTransaction.attach(fragment); 88 fragment = getItem(position); 89 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment); [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 45 int fragment = url.lastIndexOf('#'); 46 if (fragment > 0) { 47 url = url.substring(0, fragment);
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 40 * Immutable URI reference. A URI reference includes a URI and a fragment, the 92 components and fragment identifier in order to determine what 177 * scheme separator ':' and the fragment separator '#'. If this is a 188 * scheme separator ':' and the fragment separator '#'. If this is a 273 * the query separator ('?') and before the fragment separator ('#'). This 283 * the query separator ('?') and before the fragment separator ('#'). This 292 * Gets the decoded fragment part of this URI, everything after the '#'. 294 * @return the decoded fragment or null if there isn't one 299 * Gets the encoded fragment part of this URI, everything after the '#'. 301 * @return the encoded fragment o 667 private Part fragment; field in class:Uri.StringUri 808 fromParts(String scheme, String ssp, String fragment) argument 831 private final Part fragment; field in class:Uri.OpaqueUri 833 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1139 private final Part fragment; field in class:Uri.HierarchicalUri 1141 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1321 private Part fragment; field in class:Uri.Builder 1450 fragment(Part fragment) argument 1458 fragment(String fragment) argument 1465 encodedFragment(String fragment) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 44 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); 50 .fragment("foo") 143 .fragment("tee") 193 Uri b = a.buildUpon().fragment("new").build(); 204 .fragment("tee") 206 Uri b = a.buildUpon().fragment("new").build(); 395 Uri withFragment = uri.buildUpon().fragment("top").build(); 401 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment"); 404 testHierarchical("http", "google.com", "/p1/p2", null, "fragment"); 405 testHierarchical("http", "google.com", "", null, "fragment"); 411 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument 493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 138 // "loading..." progress until the fragment takes over and shows it's own "loading..." 255 public boolean isFragmentFullScreen(Fragment fragment) { argument 259 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); 361 public boolean isFragmentActive(Fragment fragment) { argument 365 return mViewPager.getCurrentItem() == mAdapter.getItemPosition(fragment); 368 public void onFragmentVisible(PhotoViewFragment fragment) { argument 369 updateActionBar(fragment); 473 protected void updateActionBar(PhotoViewFragment fragment) { argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 972 AString fragment; local 973 fragment.append("Authorization: Basic "); 974 fragment.append(out); 975 fragment.append("\r\n"); 977 request->insert(fragment, i + 2); 1014 AString fragment; local 1015 fragment.append("Authorization: Digest "); 1016 fragment.append("nonce=\""); 1017 fragment.append(mNonce); 1018 fragment [all...] |
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader.string(), mUserShader.length(), 38 mRSC->mHal.funcs.fragment.destroy(mRSC, this); 76 rsc->mHal.funcs.fragment.setActive(rsc, this);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestActivity.java | 54 Fragment fragment = getFragmentManager().findFragmentById(fragmentId); 55 if (fragment == null) { 59 fragment = clazz.newInstance(); 61 // Replace the old test fragment with the new one 63 ft.replace(R.id.testframe, fragment);
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Search.java | 92 .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 141 // "loading..." progress until the fragment takes over and shows it's own "loading..." 272 public boolean isFragmentFullScreen(Fragment fragment) { argument 276 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); 378 public boolean isFragmentActive(Fragment fragment) { argument 382 return mViewPager.getCurrentItem() == mAdapter.getItemPosition(fragment); 385 public void onFragmentVisible(PhotoViewFragment fragment) { argument 386 updateActionBar(fragment); 490 protected void updateActionBar(PhotoViewFragment fragment) { argument
|