/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 | 58 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 104 "Instantiate " + bse + " op #" + num + " base fragment #" + mOps[pos]); 108 op.fragment = f; 110 op.fragment = null; 121 "Instantiate " + bse + " set remove fragment #" + mOps[pos]); 171 * @hide Entry of an operation on the fragment back stack. 192 Fragment fragment; field in class:BackStackRecord.Op 298 writer.print(" "); writer.println(op.fragment); 379 public FragmentTransaction add(Fragment fragment, Strin argument 384 add(int containerViewId, Fragment fragment) argument 389 add(int containerViewId, Fragment fragment, String tag) argument 394 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 421 replace(int containerViewId, Fragment fragment) argument 425 replace(int containerViewId, Fragment fragment, String tag) argument 434 remove(Fragment fragment) argument 443 hide(Fragment fragment) argument 452 show(Fragment fragment) argument 461 detach(Fragment fragment) argument 470 attach(Fragment fragment) argument [all...] |
H A D | FragmentManager.java | 66 * Representation of an entry on the fragment back stack, as created 130 * <p>Note: A fragment transaction can only be created/committed prior 162 * Finds a fragment that was identified by the given id either when inflated 165 * activity; if no such fragment is found, then all fragments currently 167 * @return The fragment if found or null otherwise. 172 * Finds a fragment that was identified by the given tag either when inflated 175 * activity; if no such fragment is found, then all fragments currently 177 * @return The fragment if found or null otherwise. 207 * Pop the last fragment transition from the manager's fragment 285 putFragment(Bundle bundle, String key, Fragment fragment) argument 562 putFragment(Bundle bundle, String key, Fragment fragment) argument 589 saveFragmentInstanceState(Fragment fragment) argument 734 loadAnimator(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1125 addFragment(Fragment fragment, boolean moveToStateNow) argument 1147 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1172 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1204 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1224 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1243 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [all...] |
H A D | Activity.java | 819 * Return the LoaderManager for this fragment, creating it if needed. 1720 public void onAttachFragment(Fragment fragment) { argument 3921 * @param fragment The fragment making the call. 3930 public void startActivityFromFragment(Fragment fragment, Intent intent, argument 3932 startActivityFromFragment(fragment, intent, requestCode, null); 3943 * @param fragment The fragment making the call. 3955 public void startActivityFromFragment(Fragment fragment, Intent intent, argument 3959 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 | 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. 206 * Pop the last fragment transition from the manager's fragment 284 putFragment(Bundle bundle, String key, Fragment fragment) argument 555 putFragment(Bundle bundle, String key, Fragment fragment) argument 587 saveFragmentInstanceState(Fragment fragment) argument 756 loadAnimation(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1167 addFragment(Fragment fragment, boolean moveToStateNow) argument 1189 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1206 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1225 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1244 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1263 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 60 * <li> <p>When using the <code><fragment></code> tag, this implementation can not 61 * use the parent view's ID as the new fragment's ID. You must explicitly 62 * specify an ID (or tag) in the <code><fragment></code>.</p> 66 * throw an exception if you try to change the fragment state after it has been 148 * Dispatch incoming result to the correct fragment. 157 Log.w(TAG, "Activity result fragment index out of range: 0x" 163 Log.w(TAG, "Activity result no fragment exists for index: 0x" 175 * Take care of popping the fragment back stack or finishing the activity 238 * Add support for inflating the <fragment> ta 819 onAttachFragment(Fragment fragment) argument 845 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 234 // sure this tab's fragment is inactive if it exists. This shouldn't 236 info.fragment = mFragmentManager.findFragmentByTag(tag); 237 if (info.fragment != null && !info.fragment.isDetached()) { 239 ft.detach(info.fragment); 259 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 260 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 226 // sure this tab's fragment is inactive if it exists. This shouldn't 228 info.fragment = mFragmentManager.findFragmentByTag(tag); 229 if (info.fragment != null && !info.fragment.isDetached()) { 231 ft.detach(info.fragment); 251 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 252 if (tab.fragment != null && !tab.fragment.isDetached()) { 254 // The fragment fo [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 35 * in our class. We need to be able to re-define the fragment's name according to data 39 * <li>In method {@link #destroyItem(View, int, Object)}, the fragment is detached and 40 * added to a cache. If the fragment is evicted from the cache, it will be deleted. 76 // Do we already have this fragment? 82 Fragment fragment = mFragmentManager.findFragmentByTag(name); 83 if (fragment != null) { 84 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment); 85 mCurTransaction.attach(fragment); 87 fragment = getItem(position); 88 if(fragment [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewCallbacks.java | 74 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, argument 79 public boolean isFragmentActive(Fragment fragment); argument 81 public void onFragmentVisible(PhotoViewFragment fragment); argument 83 public boolean isFragmentFullScreen(Fragment fragment); argument 85 public void onCursorChanged(PhotoViewFragment fragment, Cursor cursor); argument
|
/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/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.h | 32 * Abstracts a GLSL program comprising a vertex and fragment shader 39 Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 984 AString fragment; local 985 fragment.append("Authorization: Basic "); 986 fragment.append(out); 987 fragment.append("\r\n"); 989 request->insert(fragment, i + 2); 1026 AString fragment; local 1027 fragment.append("Authorization: Digest "); 1028 fragment.append("nonce=\""); 1029 fragment.append(mNonce); 1030 fragment [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | SaveFragment.java | 57 final SaveFragment fragment = new SaveFragment(); 58 fragment.setArguments(args); 61 ft.replace(R.id.container_save, fragment, TAG);
|
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen, 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()
|