/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 | 56 mOps[pos++] = op.fragment.mIndex; 101 "BSE " + bse + " set base fragment #" + mOps[pos]); 103 op.fragment = f; 113 "BSE " + bse + " set remove fragment #" + mOps[pos]); 162 * @hide Entry of an operation on the fragment back stack. 183 Fragment fragment; field in class:BackStackRecord.Op 255 writer.print(" fragment="); writer.println(op.fragment); 331 public FragmentTransaction add(Fragment fragment, String tag) { argument 332 doAddOp(0, fragment, ta 336 add(int containerViewId, Fragment fragment) argument 341 add(int containerViewId, Fragment fragment, String tag) argument 346 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 373 replace(int containerViewId, Fragment fragment) argument 377 replace(int containerViewId, Fragment fragment, String tag) argument 386 remove(Fragment fragment) argument 395 hide(Fragment fragment) argument 404 show(Fragment fragment) argument 413 detach(Fragment fragment) argument 422 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 520 putFragment(Bundle bundle, String key, Fragment fragment) argument 547 saveFragmentInstanceState(Fragment fragment) argument 678 loadAnimator(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1094 addFragment(Fragment fragment, boolean moveToStateNow) argument 1113 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1128 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1160 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1180 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1196 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [all...] |
H A D | Activity.java | 789 * Return the LoaderManager for this fragment, creating it if needed. 1630 public void onAttachFragment(Fragment fragment) { argument 3477 * @param fragment The fragment making the call. 3486 public void startActivityFromFragment(Fragment fragment, Intent intent, argument 3490 this, mMainThread.getApplicationThread(), mToken, fragment, 3494 mToken, fragment.mWho, requestCode, 4193 * This implementation handles <fragment> tags to embed fragments inside 4200 if (!"fragment".equals(name)) { 4221 // instantiated this fragment fro [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: 88 // Do we already have this fragment? 90 Fragment fragment = mFragmentManager.findFragmentByTag(name); 91 if (fragment != null) { 92 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment); 93 mCurTransaction.attach(fragment); [all...] |
H A D | BackStackRecord.java | 56 mOps[pos++] = op.fragment.mIndex; 101 "BSE " + bse + " set base fragment #" + mOps[pos]); 103 op.fragment = f; 113 "BSE " + bse + " set remove fragment #" + mOps[pos]); 162 * @hide Entry of an operation on the fragment back stack. 183 Fragment fragment; field in class:BackStackRecord.Op 255 writer.print(" fragment="); writer.println(op.fragment); 331 public FragmentTransaction add(Fragment fragment, String tag) { argument 332 doAddOp(0, fragment, ta 336 add(int containerViewId, Fragment fragment) argument 341 add(int containerViewId, Fragment fragment, String tag) argument 346 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 373 replace(int containerViewId, Fragment fragment) argument 377 replace(int containerViewId, Fragment fragment, String tag) argument 386 remove(Fragment fragment) argument 395 hide(Fragment fragment) argument 404 show(Fragment fragment) argument 413 detach(Fragment fragment) argument 422 attach(Fragment fragment) argument [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 | FragmentActivity.java | 46 * <p>When using this class as opposed to new platform's built-in fragment 53 * <li> <p>When using the <fragment> tag, this implementation can not 54 * use the parent view's ID as the new fragment's ID. You must explicitly 55 * specify an ID (or tag) in the <fragment>.</p> 59 * throw an exception if you try to change the fragment state after it has been 135 * Dispatch incoming result to the correct fragment. 143 Log.w(TAG, "Activity result fragment index out of range: 0x" 149 Log.w(TAG, "Activity result no fragment exists for index: 0x" 160 * Take care of popping the fragment back stack or finishing the activity 223 * Add support for inflating the <fragment> ta 649 onAttachFragment(Fragment fragment) argument 675 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) 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 514 putFragment(Bundle bundle, String key, Fragment fragment) argument 541 saveFragmentInstanceState(Fragment fragment) argument 701 loadAnimation(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1142 addFragment(Fragment fragment, boolean moveToStateNow) argument 1161 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1176 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1195 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1214 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1230 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [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: 92 // Do we already have this fragment? 94 Fragment fragment = mFragmentManager.findFragmentByTag(name); 95 if (fragment != null) { 96 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment); 97 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...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcFragment.java | 49 Fragment fragment = manager.findFragmentByTag(FRAGMENT_TAG); 50 if (fragment != null) { 54 manager.beginTransaction().remove(fragment).commitAllowingStateLoss();
|
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 46 int fragment = url.lastIndexOf('#'); 47 if (fragment > 0) { 48 url = url.substring(0, fragment);
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 37 * Immutable URI reference. A URI reference includes a URI and a fragment, the 89 components and fragment identifier in order to determine what 174 * scheme separator ':' and the fragment separator '#'. If this is a 185 * scheme separator ':' and the fragment separator '#'. If this is a 270 * the query separator ('?') and before the fragment separator ('#'). This 280 * the query separator ('?') and before the fragment separator ('#'). This 289 * Gets the decoded fragment part of this URI, everything after the '#'. 291 * @return the decoded fragment or null if there isn't one 296 * Gets the encoded fragment part of this URI, everything after the '#'. 298 * @return the encoded fragment o 664 private Part fragment; field in class:Uri.StringUri 805 fromParts(String scheme, String ssp, String fragment) argument 828 private final Part fragment; field in class:Uri.OpaqueUri 830 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1136 private final Part fragment; field in class:Uri.HierarchicalUri 1138 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1318 private Part fragment; field in class:Uri.Builder 1447 fragment(Part fragment) argument 1455 fragment(String fragment) argument 1462 encodedFragment(String fragment) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 46 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); 52 .fragment("foo") 145 .fragment("tee") 195 Uri b = a.buildUpon().fragment("new").build(); 206 .fragment("tee") 208 Uri b = a.buildUpon().fragment("new").build(); 397 Uri withFragment = uri.buildUpon().fragment("top").build(); 403 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment"); 406 testHierarchical("http", "google.com", "/p1/p2", null, "fragment"); 407 testHierarchical("http", "google.com", "", null, "fragment"); 413 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument 495 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.h | 31 * A program holds a vertex and a fragment shader. It offers several utility 37 * Creates a new program with the specified vertex and fragment 40 Program(const char* vertex, const char* fragment);
|
H A D | Program.cpp | 28 Program::Program(const char* vertex, const char* fragment) { argument 34 fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER);
|
/frameworks/base/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/base/libs/rs/ |
H A D | rsProgramFragment.cpp | 32 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader.string(), mUserShader.length()); 36 mRSC->mHal.funcs.fragment.destroy(mRSC, this); 72 rsc->mHal.funcs.fragment.setActive(rsc, this);
|
H A D | rs_hal.h | 183 } fragment; member in struct:android::renderscript::__anon291
|
/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/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 109 * fragment, the Prefs1FragmentInner implemented here. This allows the user 111 * fragment off the stack to return to the previous preferences. 127 * string to specify which fragment should be initially displayed. 134 * to that fragment when it is instantiated during the initial creation 142 * that fragment. 149 * that fragment. 158 * the activity to display a specific fragment that the user has navigated 179 // --- State for new mode when showing a list of headers + prefs fragment 225 if (header != null && header.fragment != null) { 363 * Full class name of the fragment t 367 public String fragment; field in class:PreferenceActivity.Header 1207 startPreferenceFragment(Fragment fragment, boolean push) argument [all...] |
H A D | PreferenceManager.java | 167 * Sets the owning preference fragment 169 void setFragment(PreferenceFragment fragment) { argument 170 mFragment = fragment; 174 * Returns the owning preference fragment, if any.
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 278 private int buildProgram(String vertex, String fragment) { argument 282 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER);
|