/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/support/v4/java/android/support/v4/app/ |
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 | FragmentTransaction.java | 42 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 47 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); argument 50 * Add a fragment to the activity state. This fragment may optionally 54 * @param containerViewId Optional identifier of the container this fragment is 56 * @param fragment The fragment to be added. This fragment must not already 58 * @param tag Optional tag name for the fragment, to later retrieve the 59 * fragment wit 64 add(@dRes int containerViewId, Fragment fragment, @Nullable String tag) argument 70 replace(@dRes int containerViewId, Fragment fragment) argument 88 replace(@dRes int containerViewId, Fragment fragment, @Nullable String tag) argument 99 remove(Fragment fragment) argument 110 hide(Fragment fragment) argument 121 show(Fragment fragment) argument 134 detach(Fragment fragment) argument 146 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 | BackStackRecord.java | 68 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 118 "Instantiate " + bse + " op #" + num + " base fragment #" + mOps[pos]); 122 op.fragment = f; 124 op.fragment = null; 135 "Instantiate " + bse + " set remove fragment #" + mOps[pos]); 189 * @hide Entry of an operation on the fragment back stack. 210 Fragment fragment; field in class:BackStackRecord.Op 319 writer.print(" "); writer.println(op.fragment); 400 public FragmentTransaction add(Fragment fragment, Strin argument 405 add(int containerViewId, Fragment fragment) argument 410 add(int containerViewId, Fragment fragment, String tag) argument 415 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 442 replace(int containerViewId, Fragment fragment) argument 446 replace(int containerViewId, Fragment fragment, String tag) argument 455 remove(Fragment fragment) argument 464 hide(Fragment fragment) argument 473 show(Fragment fragment) argument 482 detach(Fragment fragment) argument 491 attach(Fragment fragment) argument 746 setFirstOut(SparseArray<Fragment> fragments, Fragment fragment) argument 756 setLastIn(SparseArray<Fragment> fragments, Fragment fragment) argument [all...] |
H A D | FragmentManager.java | 71 * Representation of an entry on the fragment back stack, as created 137 * <p>Note: A fragment transaction can only be created/committed prior 169 * Finds a fragment that was identified by the given id either when inflated 172 * activity; if no such fragment is found, then all fragments currently 174 * @return The fragment if found or null otherwise. 179 * Finds a fragment that was identified by the given tag either when inflated 182 * activity; if no such fragment is found, then all fragments currently 184 * @return The fragment if found or null otherwise. 215 * Pop the last fragment transition from the manager's fragment 293 putFragment(Bundle bundle, String key, Fragment fragment) argument 571 putFragment(Bundle bundle, String key, Fragment fragment) argument 603 saveFragmentInstanceState(Fragment fragment) argument 777 loadAnimation(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1199 addFragment(Fragment fragment, boolean moveToStateNow) argument 1221 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1238 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1257 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1276 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1295 attachFragment(Fragment fragment, int transition, int transitionStyle) 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/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/base/core/java/android/app/ |
H A D | FragmentTransaction.java | 19 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 24 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); argument 27 * Add a fragment to the activity state. This fragment may optionally 31 * @param containerViewId Optional identifier of the container this fragment is 33 * @param fragment The fragment to be added. This fragment must not already 35 * @param tag Optional tag name for the fragment, to later retrieve the 36 * fragment wit 41 add(int containerViewId, Fragment fragment, String tag) argument 46 replace(int containerViewId, Fragment fragment) argument 64 replace(int containerViewId, Fragment fragment, String tag) argument 74 remove(Fragment fragment) argument 85 hide(Fragment fragment) argument 96 show(Fragment fragment) argument 109 detach(Fragment fragment) argument 121 attach(Fragment fragment) argument [all...] |
H A D | FragmentManager.java | 69 * Representation of an entry on the fragment back stack, as created 133 * <p>Note: A fragment transaction can only be created/committed prior 165 * Finds a fragment that was identified by the given id either when inflated 168 * activity; if no such fragment is found, then all fragments currently 170 * @return The fragment if found or null otherwise. 175 * Finds a fragment that was identified by the given tag either when inflated 178 * activity; if no such fragment is found, then all fragments currently 180 * @return The fragment if found or null otherwise. 210 * Pop the last fragment transition from the manager's fragment 288 putFragment(Bundle bundle, String key, Fragment fragment) argument 566 putFragment(Bundle bundle, String key, Fragment fragment) argument 593 saveFragmentInstanceState(Fragment fragment) argument 738 loadAnimator(Fragment fragment, int transit, boolean enter, int transitionStyle) argument 1130 addFragment(Fragment fragment, boolean moveToStateNow) argument 1152 removeFragment(Fragment fragment, int transition, int transitionStyle) argument 1177 hideFragment(Fragment fragment, int transition, int transitionStyle) argument 1209 showFragment(Fragment fragment, int transition, int transitionStyle) argument 1229 detachFragment(Fragment fragment, int transition, int transitionStyle) argument 1248 attachFragment(Fragment fragment, int transition, int transitionStyle) argument [all...] |
H A D | BackStackRecord.java | 75 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 126 "Instantiate " + bse + " op #" + num + " base fragment #" + mOps[pos]); 131 op.fragment = f; 133 op.fragment = null; 145 "Instantiate " + bse + " set remove fragment #" + mOps[pos]); 200 * @hide Entry of an operation on the fragment back stack. 221 Fragment fragment; field in class:BackStackRecord.Op 362 writer.println(op.fragment); 447 public FragmentTransaction add(Fragment fragment, Strin argument 452 add(int containerViewId, Fragment fragment) argument 457 add(int containerViewId, Fragment fragment, String tag) argument 462 doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) argument 489 replace(int containerViewId, Fragment fragment) argument 493 replace(int containerViewId, Fragment fragment, String tag) argument 502 remove(Fragment fragment) argument 511 hide(Fragment fragment) argument 520 show(Fragment fragment) argument 529 detach(Fragment fragment) argument 538 attach(Fragment fragment) argument 842 setFirstOut(SparseArray<Fragment> fragments, Fragment fragment) argument 852 setLastIn(SparseArray<Fragment> fragments, Fragment fragment) argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewCallbacks.java | 82 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, argument 87 public boolean isFragmentActive(Fragment fragment); argument 89 public void onFragmentVisible(PhotoViewFragment fragment); argument 91 public boolean isFragmentFullScreen(Fragment fragment); argument 93 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/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintErrorFragment.java | 50 PrintErrorFragment fragment = new PrintErrorFragment(); 51 fragment.setArguments(arguments); 52 return fragment;
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 43 * Immutable URI reference. A URI reference includes a URI and a fragment, the 95 components and fragment identifier in order to determine what 180 * the scheme separator ':' and the fragment separator '#'. If this is a 191 * the scheme separator ':' and the fragment separator '#'. If this is a 276 * the query separator ('?') and before the fragment separator ('#'). This 286 * the query separator ('?') and before the fragment separator ('#'). This 295 * Gets the decoded fragment part of this URI, everything after the '#'. 297 * @return the decoded fragment or null if there isn't one 302 * Gets the encoded fragment part of this URI, everything after the '#'. 304 * @return the encoded fragment o 670 private Part fragment; field in class:Uri.StringUri 811 fromParts(String scheme, String ssp, String fragment) argument 834 private final Part fragment; field in class:Uri.OpaqueUri 836 OpaqueUri(String scheme, Part ssp, Part fragment) argument 1142 private final Part fragment; field in class:Uri.HierarchicalUri 1144 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1324 private Part fragment; field in class:Uri.Builder 1453 fragment(Part fragment) argument 1461 fragment(String fragment) argument 1468 encodedFragment(String fragment) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 344 BackgroundFragment fragment = (BackgroundFragment) activity.getFragmentManager() 346 if (fragment != null) { 347 BackgroundManager manager = fragment.getBackgroundManager(); 351 // manager is null: this is a fragment restored by FragmentManager, 358 BackgroundSupportFragment fragment = (BackgroundSupportFragment) activity 360 if (fragment != null) { 361 BackgroundManager manager = fragment.getBackgroundManager(); 365 // manager is null: this is a fragment restored by FragmentManager, 394 // Use a fragment to ensure the background manager gets detached properly. 395 BackgroundFragment fragment [all...] |
H A D | MediaControllerGlue.java | 52 * will be set on the fragment. 56 * @param fragment 60 PlaybackOverlayFragment fragment, 62 super(context, fragment, seekSpeeds); 71 * will be set on the fragment. 75 * @param fragment 80 PlaybackOverlayFragment fragment, 83 super(context, fragment, fastForwardSpeeds, rewindSpeeds); 59 MediaControllerGlue(Context context, PlaybackOverlayFragment fragment, int[] seekSpeeds) argument 79 MediaControllerGlue(Context context, PlaybackOverlayFragment fragment, int[] fastForwardSpeeds, int[] rewindSpeeds) argument
|
/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/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/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PickFragment.java | 45 final PickFragment fragment = new PickFragment(); 48 ft.replace(R.id.container_save, fragment, TAG);
|
H A D | SaveFragment.java | 56 final SaveFragment fragment = new SaveFragment(); 57 fragment.setArguments(args); 60 ft.replace(R.id.container_save, fragment, TAG);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 983 AString fragment; local 984 fragment.append("Authorization: Basic "); 985 fragment.append(out); 986 fragment.append("\r\n"); 988 request->insert(fragment, i + 2); 1025 AString fragment; local 1026 fragment.append("Authorization: Digest "); 1027 fragment.append("nonce=\""); 1028 fragment.append(mNonce); 1029 fragment [all...] |
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
H A D | AppListFragment.java | 63 final BrowserListFragment fragment = new BrowserListFragment(); 67 fragment.setArguments(args); 70 .replace(android.R.id.content, fragment)
|