Home
last modified time | relevance | path

Searched refs:Fragment (Results 1 – 25 of 89) sorted by relevance

1234

/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
DTestFragmentTransaction.java3 import android.support.v4.app.Fragment;
12 private Fragment fragment;
22 private Fragment fragmentToRemove;
24 private Fragment fragmentToAttach;
31 public FragmentTransaction add(Fragment fragment, String tag) { in add()
36 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
41 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
50 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
55 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
65 public FragmentTransaction remove(Fragment fragment) { in remove()
[all …]
DTestFragmentManager.java24 private Map<Integer, Fragment> fragmentsById = new HashMap<Integer, Fragment>();
25 private Map<String, Fragment> fragmentsByTag = new HashMap<String, Fragment>();
56 public Fragment findFragmentById(int id) { in findFragmentById()
61 public Fragment findFragmentByTag(String tag) { in findFragmentByTag()
111 public void putFragment(Bundle bundle, String key, Fragment fragment) { in putFragment()
115 public Fragment getFragment(Bundle bundle, String key) { in getFragment()
128 public Fragment.SavedState saveFragmentInstanceState(Fragment f) { in saveFragmentInstanceState()
140 public void addFragment(int containerViewId, String tag, Fragment fragment, boolean replace) { in addFragment()
154 public void startFragment(Fragment fragment) { in startFragment()
178 public HashMap<Integer, Fragment> getFragments() { in getFragments()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp31 const MCFragment *Fragment,
39 const MCFragment *Fragment,
47 const MCFragment *Fragment,
54 const MCFragment *Fragment,
66 const MCFragment *Fragment, const MCFixup &Fixup, in RecordRelocation() argument
69 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
72 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
104 const MCFragment *Fragment, in RecordX86_64Relocation() argument
114 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
116 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp33 const MCFragment *Fragment,
41 const MCFragment *Fragment,
47 const MCFragment &Fragment,
59 const MCFragment *Fragment, const MCFixup &Fixup,
150 const MCFragment *Fragment, in RecordARMScatteredHalfRelocation() argument
154 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredHalfRelocation()
238 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation()
249 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation()
255 const MCFragment *Fragment, in RecordARMScatteredRelocation() argument
260 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredRelocation()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowFragmentActivity.java4 import android.support.v4.app.Fragment;
43 Fragment fragment = fragmentState.fragmentClass.newInstance(); in onCreate()
58 for (Fragment fragment : fragmentManager.getFragments().values()) { in onStart()
65 for(Fragment fragment : fragmentManager.getFragments().values()) { in onPause()
81 for (Map.Entry<Integer, Fragment> entry : fragmentManager.getFragments().entrySet()) { in onSaveInstanceState()
82 Fragment fragment = entry.getValue(); in onSaveInstanceState()
98 for (Fragment fragment : fragmentManager.getFragments().values()) { in getCurrentFocus()
114 for (Fragment fragment : fragmentManager.getFragments().values()) { in clearFocus()
DSerializedFragmentState.java3 import android.support.v4.app.Fragment;
10 public final Class<? extends Fragment> fragmentClass;
13 public SerializedFragmentState(Integer containerId, Fragment fragment) { in SerializedFragmentState()
DShadowFragment.java6 import android.support.v4.app.Fragment;
14 @Implements(Fragment.class)
17 protected Fragment realFragment;
DShadowFragmentPagerAdapter.java3 import android.support.v4.app.Fragment;
25 fragmentManager.beginTransaction().add(container.getId(), (Fragment) object).commit(); in setPrimaryItem()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DFragmentManagerTest.java6 import android.support.v4.app.Fragment;
51 assertThat(manager.findFragmentById(CONTAINER_VIEW_ID), sameInstance((Fragment) fragment)); in shouldFindFragmentById()
58 assertThat(manager.findFragmentByTag("tag1"), sameInstance((Fragment) fragment)); in shouldFindFragmentByTag()
153 Fragment retrievedFragment = manager.getFragment(outState, "fragment tag"); in getFragment_whenBundleSavedByShadowFragmentActivity_shouldGetFragmentByTagFromBundle()
173 transaction.add(new Fragment(), "tag"); in getCommittedTransactions_shouldReturnListOfOnlyCommittedTransactions()
179 anotherTransaction.add(new Fragment(), "tag"); in getCommittedTransactions_shouldReturnListOfOnlyCommittedTransactions()
203 Fragment fragment2 = new Fragment(); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused()
DFragmentTransactionTest.java15 import android.support.v4.app.Fragment;
35 private Fragment fragment;
194 Fragment fragment = new TestFragment() { in hide_shouldCallOnHiddenChangedOnFragment()
210 Fragment fragment = new TestFragment() { in show_shouldCallOnHiddenChangedOnFragment()
226 Fragment fragment = new TestFragment() { in hide_shouldNotCallOnHiddenChangedOnFragmentIfAlreadyHidden()
242 Fragment fragment = new TestFragment() { in show_shouldNotCallOnHiddenChangedOnFragmentIfAlreadyNotHidden()
272 private Fragment addFragmentFragment;
280 … public void addFragment(int containerViewId, String tag, Fragment fragment, boolean replace) { in addFragment()
DFragmentTest.java3 import android.support.v4.app.Fragment;
15 private Fragment fragment;
DFragmentActivityTest.java4 import android.support.v4.app.Fragment;
48Fragment fragmentById = activity.getSupportFragmentManager().findFragmentById(R.id.fragment); in viewLoader_shouldSetFragmentId()
78 Fragment fragment = new TestFragment(); in onSaveInstanceState_shouldStoreListOfFragments()
159 Fragment fragment = activity.getSupportFragmentManager().findFragmentById( in getCurrentFocus_shouldGetFocusFromFragment()
DTestFragment.java6 import android.support.v4.app.Fragment;
17 public class TestFragment extends Fragment {
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp3412 std::string Fragment = "struct A { int i; }; int A::* ptr = &A::i;"; in TEST() local
3413 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3415 EXPECT_TRUE(matches(Fragment, varDecl(hasName("ptr"), in TEST()
3417 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3419 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3421 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3423 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3426 Fragment = "int *ptr;"; in TEST()
3427 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
3429 EXPECT_TRUE(notMatches(Fragment, varDecl(hasName("ptr"), in TEST()
[all …]
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h74 const MCFragment *Fragment,
143 uint64_t getFragmentAddress(const MCFragment *Fragment,
222 const MCFragment *Fragment,
229 const MCFragment *Fragment,
234 const MCFragment *Fragment, const MCFixup &Fixup,
/external/iptables/extensions/
Dlibip6t_frag.man1 This module matches the parameters in Fragment header.
8 Fragment header is static and this option doesn't make sense.
/external/webkit/Source/JavaScriptCore/wtf/url/src/
DURLSegments.cpp46 return charactersBefore(Fragment, false); in length()
99 if (type == Fragment && !includeDelimiter) in charactersBefore()
DURLSegments.h50 Fragment, enumerator
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp176 const MCFragment *Fragment,
455 bool external = SymbolData.isExternal() || (SymbolData.Fragment == NULL); in DefineSymbol()
461 if (SymbolData.Fragment != NULL) in DefineSymbol()
463 SectionMap[&SymbolData.Fragment->getParent()->getSection()]; in DefineSymbol()
632 const MCFragment *Fragment, in RecordRelocation() argument
641 MCSectionData const *SectionData = Fragment->getParent(); in RecordRelocation()
664 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordRelocation()
679 Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment); in RecordRelocation()
684 FixedValue += Layout.getFragmentOffset(coff_symbol->MCData->Fragment) in RecordRelocation()
730 if ((SymbolData != NULL) && (SymbolData->Fragment != NULL)) { in WriteObject()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DViewLoader.java5 import android.support.v4.app.Fragment;
213 Class<? extends Fragment> clazz = loadFragmentClass(attributes.get("android:name")); in constructFragment()
214Fragment fragment = ((Constructor<? extends Fragment>) clazz.getConstructor()).newInstance(); in constructFragment()
293 private Class<? extends Fragment> loadFragmentClass(String className) { in loadFragmentClass()
/external/clang/lib/Lex/
DLiteralSupport.cpp1392 StringRef Fragment) { in CopyStringFragment() argument
1394 if (ConvertUTF8toWide(CharByteWidth, Fragment, ResultPtr, ErrorPtrTmp)) in CopyStringFragment()
1402 memcpy(ResultPtr, Fragment.data(), Fragment.size()); in CopyStringFragment()
1403 ResultPtr += Fragment.size(); in CopyStringFragment()
1412 ErrorPtr, resyncUTF8(ErrorPtr, Fragment.end()), in CopyStringFragment()
1416 const char *NextStart = resyncUTF8(ErrorPtr, Fragment.end()); in CopyStringFragment()
1417 StringRef NextFragment(NextStart, Fragment.end()-NextStart); in CopyStringFragment()
1421 Dummy.reserve(Fragment.size() * CharByteWidth); in CopyStringFragment()
1427 NextStart = resyncUTF8(ErrorPtr, Fragment.end()); in CopyStringFragment()
1430 NextFragment = StringRef(NextStart, Fragment.end()-NextStart); in CopyStringFragment()
/external/e2fsprogs/tests/m_large_file/
Dexpect.14 Fragment size=4096 (log=2)
43 Fragment size: 4096
/external/e2fsprogs/tests/m_dasd_bs/
Dexpect.14 Fragment size=2048 (log=1)
45 Fragment size: 2048
/external/llvm/test/MC/X86/AlignedBundling/
Dbundle-group-too-large-error.s3 # CHECK: ERROR: Fragment can't be larger than a bundle size
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/data/30/fragment/META-INF/
DMANIFEST.MF5 Fragment-Host: PLUGIN_ID;bundle-version="PLUGIN_VERSION"

1234