/packages/apps/Email/src/com/android/email/activity/ |
FragmentInstallable.java | 20 import android.app.Fragment; 27 * Called when a {@link Fragment} wants to be installed to the host activity. 29 * Fragments which use this MUST call this from {@link Fragment#onActivityCreated} using 32 * This means a host {@link Activity} can safely assume a passed {@link Fragment} is already 35 public void onInstallFragment(Fragment fragment); 38 * Called when a {@link Fragment} wants to be uninstalled from the host activity. 40 * Fragments which use this MUST call this from {@link Fragment#onDestroyView} using 43 public void onUninstallFragment(Fragment fragment); [all...] |
/frameworks/base/core/java/android/app/ |
FragmentTransaction.java | 4 * API for performing a set of Fragment operations. 14 * Calls {@link #add(int, Fragment, String)} with a 0 containerViewId. 16 public abstract FragmentTransaction add(Fragment fragment, String tag); 19 * Calls {@link #add(int, Fragment, String)} with a null tag. 21 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); 24 * Add a fragment to the activity state. This fragment may optionally 25 * also have its view (if {@link Fragment#onCreateView Fragment.onCreateView [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentTransaction.java | 28 * Calls {@link #add(int, Fragment, String)} with a 0 containerViewId. 30 public abstract FragmentTransaction add(Fragment fragment, String tag); 33 * Calls {@link #add(int, Fragment, String)} with a null tag. 35 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); 38 * Add a fragment to the activity state. This fragment may optionally 39 * also have its view (if {@link Fragment#onCreateView Fragment.onCreateView [all...] |
FragmentPagerAdapter.java | 27 * represents each page as a {@link Fragment} that is persistently 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: 67 private Fragment mCurrentPrimaryItem = null; 74 * Return the Fragment associated with a specified position. 76 public abstract Fragment getItem(int position); 90 // Do we already have this fragment 92 Fragment fragment = mFragmentManager.findFragmentByTag(name); local 99 mCurTransaction.add(container.getId(), fragment, local 122 Fragment fragment = (Fragment)object; local [all...] |
FragmentStatePagerAdapter.java | 30 * uses a {@link Fragment} to manage each page. This class also handles 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: 71 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 72 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); 105 Fragment fragment = getItem(position); local 119 mCurTransaction.add(container.getId(), fragment); local 126 Fragment fragment = (Fragment)object; local 144 Fragment fragment = (Fragment)object; local [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentPagerAdapter.java | 19 import android.app.Fragment; 31 * represents each page as a {@link android.app.Fragment} that is persistently 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: 71 private Fragment mCurrentPrimaryItem = null; 78 * Return the Fragment associated with a specified position. 80 public abstract Fragment getItem(int position) 96 Fragment fragment = mFragmentManager.findFragmentByTag(name); local 103 mCurTransaction.add(container.getId(), fragment, local 126 Fragment fragment = (Fragment)object; local [all...] |
FragmentStatePagerAdapter.java | 19 import android.app.Fragment; 34 * uses a {@link Fragment} to manage each page. This class also handles 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: 75 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 76 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>() 109 Fragment fragment = getItem(position); local 123 mCurTransaction.add(container.getId(), fragment); local 130 Fragment fragment = (Fragment)object; local 148 Fragment fragment = (Fragment)object; local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
syn-pred.rb | 18 fragment 21 fragment
|
filter-mode.rb | 43 fragment 51 fragment 56 fragment 60 fragment 64 fragment 68 fragment 177 fragment 185 fragment 190 fragment 194 fragment [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextChunk.cpp | 50 SVGTextFragment& fragment = fragments.at(i); local 51 characters += fragment.length; 54 length += fragment.height; 56 length += fragment.width; 59 lastFragment = &fragment; 65 length += fragment.y - (lastFragment->y + lastFragment->height); 67 length += fragment.x - (lastFragment->x + lastFragment->width); 69 lastFragment = &fragment;
|
SVGTextQuery.cpp | 129 const SVGTextFragment& fragment = fragments.at(i); local 130 if ((this->*fragmentCallback)(queryData, fragment)) 133 processedCharacters += fragment.length; 142 bool SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const 144 // Reuse the same logic used for text selection & painting, to map our query start/length into start/endPositions of the current text fragment. 152 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition)) 262 bool SVGTextQuery::textLengthCallback(Data* queryData, const SVGTextFragment& fragment) const 265 data->textLength += queryData->isVerticalText ? fragment.height : fragment.width; 294 bool SVGTextQuery::subStringLengthCallback(Data* queryData, const SVGTextFragment& fragment) cons [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ConnectionState.java | 105 * @param fragment - the byte array containing the 108 protected byte[] encrypt(byte type, byte[] fragment) { 109 return encrypt(type, fragment, 0, fragment.length); 116 * @param fragment - the byte array containing the 122 (byte type, byte[] fragment, int offset, int len); 125 * Retrieves the fragment of the Plaintext structure of 128 * @param fragment - the byte array containing the 131 protected byte[] decrypt(byte type, byte[] fragment) { 132 return decrypt(type, fragment, 0, fragment.length) [all...] |
SSLRecordProtocol.java | 52 * Maximum length of allowed plain data fragment 57 * Maximum length of allowed compressed data fragment 63 * Maximum length of allowed ciphered data fragment 184 byte[] fragment = dataStream.getData(MAX_DATA_LENGTH); 185 return wrap(content_type, fragment, 0, fragment.length); 192 * @param fragment: byte[] 196 byte[] fragment, int offset, int len) { 198 logger.println("SSLRecordProtocol.wrap: TLSPlaintext.fragment[" 200 logger.print(fragment, offset, len) [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
BaseFragmentPagerAdapter.java | 20 import android.app.Fragment; 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. 54 private Fragment mCurrentPrimaryItem = null; 56 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE); 63 * Return the Fragment associated with a specified position. 65 public abstract Fragment getItem(int position); 77 // Do we already have this fragment? 83 Fragment fragment = mFragmentManager.findFragmentByTag(name) local 94 mCurTransaction.add(container.getId(), fragment, local 112 Fragment fragment = (Fragment) object; local 127 Fragment fragment = (Fragment) object; local [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/ |
BaseFragmentPagerAdapter.java | 20 import android.app.Fragment; 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. 54 private Fragment mCurrentPrimaryItem = null; 56 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE); 63 * Return the Fragment associated with a specified position. 65 public abstract Fragment getItem(int position); 77 // Do we already have this fragment? 83 Fragment fragment = mFragmentManager.findFragmentByTag(name) local 90 mCurTransaction.add(container.getId(), fragment, local 108 Fragment fragment = (Fragment) object; local 123 Fragment fragment = (Fragment) object; local [all...] |
/external/smali/smali/src/main/antlr3/org/jf/smali/ |
smaliLexer.g | 194 fragment BASE_INTEGER 200 fragment DECIMAL_EXPONENT 203 fragment BINARY_EXPONENT 206 fragment HEX_PREFIX 209 fragment HEX_DIGIT 212 fragment HEX_DIGITS 216 fragment BASE_FLOAT_OR_ID 223 fragment BASE_FLOAT 229 fragment ESCAPE_SEQUENCE[StringBuilder sb] 283 fragment BASE_STRING_LITERAL[StringBuilder sb [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t012lexerXML.g | 18 fragment DOCTYPE 39 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ; 41 fragment PI : 47 fragment XMLDECL : 54 fragment ELEMENT 70 fragment START_TAG 76 fragment EMPTY_ELEMENT 82 fragment ATTRIBUTE 87 fragment END_TAG 92 fragment COMMEN [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
MovieExtendsBox.java | 17 package com.coremedia.iso.boxes.fragment;
|
MovieFragmentRandomAccessBox.java | 17 package com.coremedia.iso.boxes.fragment;
|
/external/webkit/Source/WebCore/editing/ |
MoveSelectionCommand.h | 37 static PassRefPtr<MoveSelectionCommand> create(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false) 39 return adoptRef(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/ |
MainActivity.java | 25 import android.support.v4.app.Fragment; 57 * instantiates the specified fragment class with no arguments when its tab is selected. 67 * @param activity The host Activity, used to instantiate the fragment 68 * @param cls The class representing the fragment to instantiate 70 public InstantiatingTabListener(TabCompatActivity activity, Class<? extends Fragment> cls) { 78 // Check if the fragment is already initialized 79 Fragment fragment = tab.getFragment(); local 80 if (fragment == null) { 82 fragment = Fragment.instantiate(mActivity, mClass.getName()) 93 Fragment fragment = tab.getFragment(); local [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperHoneycomb.java | 21 import android.support.v4.app.Fragment; 49 // Check to see if we already have a fragment for this tab, probably 53 Fragment fragment = mActivity.getSupportFragmentManager().findFragmentByTag(tag); local 54 tab.setFragment(fragment); 56 if (fragment != null && !fragment.isDetached()) { 58 ft.detach(fragment);
|
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
URLSegments.cpp | 44 if (fragment.isValid()) 45 return fragment.end(); 46 return charactersBefore(Fragment, false); 98 if (fragment.isValid()) { 99 if (type == Fragment && !includeDelimiter) 100 return fragment.begin(); // Back over delimiter. 102 // When there is a fragment and we get here, the component we wanted was before 103 // this and not found, so we always know the beginning of the fragment is right. 104 return fragment.begin() - 1; // Don't want delimiter counted.
|
/external/smali/smali/src/test/antlr3/org/jf/smali/ |
expectedTokensTestGrammar.g | 106 fragment HEX_DIGIT 109 fragment HEX_DIGITS 112 fragment ESCAPE_SEQUENCE[StringBuilder sb] 131 fragment BASE_STRING_LITERAL[StringBuilder sb]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooser.java | 23 import android.app.Fragment; 35 Fragment fragmentView = 40 /* When the screen is XLarge, the fragment is not included in the layout, so show it 43 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance(); local 44 fragment.show(getFragmentManager(), "dialog");
|