/frameworks/compile/mclinker/unittests/ |
D | FragmentTest.cpp | 40 new Fragment(Fragment::Alignment, s); in TEST_F() 42 new Fragment(Fragment::Alignment, s); in TEST_F() 43 new Fragment(Fragment::Region, s); in TEST_F() 44 new Fragment(Fragment::Fillment, s); in TEST_F() 45 new Fragment(Fragment::Target, s); in TEST_F() 55 Fragment* f = new Fragment(Fragment::Alignment, s); in TEST_F() 57 EXPECT_TRUE(Fragment::Alignment == f->getKind()); in TEST_F() 63 EXPECT_TRUE(f->classof(new Fragment(Fragment::Region, s))); in TEST_F()
|
D | SectionDataTest.cpp | 53 new Fragment(Fragment::Alignment, s); in TEST_F() 54 new Fragment(Fragment::Alignment, s); in TEST_F() 55 new Fragment(Fragment::Region, s); in TEST_F() 56 new Fragment(Fragment::Fillment, s); in TEST_F() 57 new Fragment(Fragment::Target, s); in TEST_F() 61 llvm::iplist<Fragment>::iterator iter = s->begin(); in TEST_F() 62 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F() 64 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F() 66 EXPECT_TRUE(Fragment::Region == iter->getKind()); in TEST_F() 68 EXPECT_TRUE(Fragment::Fillment == iter->getKind()); in TEST_F() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsGOT.h | 38 virtual void setEntryValue(Fragment* entry, uint64_t pValue) = 0; 62 Fragment* consumeLocal(); 63 Fragment* consumeGlobal(); 64 Fragment* consumeTLS(Relocation::Type pType); 67 uint64_t getGPRelOffset(const Input& pInput, const Fragment& pEntry) const; 69 void recordGlobalEntry(const ResolveInfo* pInfo, Fragment* pEntry); 70 Fragment* lookupGlobalEntry(const ResolveInfo* pInfo); 72 void recordTLSEntry(const ResolveInfo* pInfo, Fragment* pEntry, 74 Fragment* lookupTLSEntry(const ResolveInfo* pInfo, Relocation::Type pType); 78 Fragment* pEntry); [all …]
|
D | MipsRelocator.h | 36 typedef KeyEntryMap<ResolveInfo, Fragment> SymGOTPLTMap; 110 Fragment& getLocalGOTEntry(MipsRelocationInfo& pReloc, 115 Fragment& getGlobalGOTEntry(MipsRelocationInfo& pReloc); 119 Fragment& getTLSGOTEntry(MipsRelocationInfo& pReloc); 149 virtual void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, 207 void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym, 222 void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym,
|
/frameworks/base/core/java/android/app/ |
D | FragmentManager.java | 201 public abstract Fragment findFragmentById(int id); in findFragmentById() 211 public abstract Fragment findFragmentByTag(String tag); in findFragmentByTag() 317 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment() 328 public abstract Fragment getFragment(Bundle bundle, String key); in getFragment() 341 public abstract List<Fragment> getFragments(); in getFragments() 365 public abstract Fragment.SavedState saveFragmentInstanceState(Fragment f); in saveFragmentInstanceState() 403 public abstract Fragment getPrimaryNavigationFragment(); in getPrimaryNavigationFragment() 462 public void onFragmentPreAttached(FragmentManager fm, Fragment f, Context context) {} in onFragmentPreAttached() 472 public void onFragmentAttached(FragmentManager fm, Fragment f, Context context) {} in onFragmentAttached() 483 public void onFragmentPreCreated(FragmentManager fm, Fragment f, in onFragmentPreCreated() [all …]
|
D | FragmentTransaction.java | 33 public abstract FragmentTransaction add(Fragment fragment, String tag); in add() 38 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add() 55 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add() 61 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace() 79 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace() 90 public abstract FragmentTransaction remove(Fragment fragment); in remove() 101 public abstract FragmentTransaction hide(Fragment fragment); in hide() 112 public abstract FragmentTransaction show(Fragment fragment); in show() 125 public abstract FragmentTransaction detach(Fragment fragment); in detach() 137 public abstract FragmentTransaction attach(Fragment fragment); in attach() [all …]
|
D | BackStackRecord.java | 107 Fragment f = fm.mActive.get(findex); in instantiate() 192 Fragment fragment; 201 Op(int cmd, Fragment fragment) { in Op() 408 public FragmentTransaction add(Fragment fragment, String tag) { in add() 413 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() 418 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() 423 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() 461 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace() 465 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace() 474 public FragmentTransaction remove(Fragment fragment) { in remove() [all …]
|
D | FragmentManagerNonConfig.java | 36 private final List<Fragment> mFragments; 39 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig() 48 List<Fragment> getFragments() { in getFragments()
|
D | FragmentTransition.java | 90 if (fragmentManager.mCurState < Fragment.CREATED) { in startTransitions() 202 final Fragment inFragment = fragments.lastIn; in configureTransitionsReordered() 203 final Fragment outFragment = fragments.firstOut; in configureTransitionsReordered() 274 final Fragment inFragment = fragments.lastIn; in configureTransitionsOrdered() 275 final Fragment outFragment = fragments.firstOut; in configureTransitionsOrdered() 328 private static void replaceHide(Transition exitTransition, Fragment exitingFragment, in replaceHide() 366 final Fragment inFragment, final View nonExistentView, in scheduleTargetChange() 403 private static TransitionSet getSharedElementTransition(Fragment inFragment, in getSharedElementTransition() 404 Fragment outFragment, boolean isPop) { in getSharedElementTransition() 422 private static Transition getEnterTransition(Fragment inFragment, boolean isPop) { in getEnterTransition() [all …]
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Fragment.cpp | 20 Fragment::Fragment() in Fragment() function in mcld::Fragment 24 Fragment::Fragment(Type pKind, SectionData* pParent) in Fragment() function in mcld::Fragment 30 Fragment::~Fragment() { in ~Fragment() 33 uint64_t Fragment::getOffset() const { in getOffset() 38 bool Fragment::hasOffset() const { in hasOffset()
|
D | FragmentRef.cpp | 39 FragmentRef::FragmentRef(Fragment& pFrag, FragmentRef::Offset pOffset) in FragmentRef() 50 FragmentRef* FragmentRef::Create(Fragment& pFrag, uint64_t pOffset) { in Create() 52 Fragment* frag = &pFrag; in Create() 107 m_pFragment = const_cast<Fragment*>(pCopy.m_pFragment); in assign() 112 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) { in assign() 125 case Fragment::Region: { in memcpy() 135 case Fragment::Stub: { in memcpy() 143 case Fragment::Alignment: in memcpy() 144 case Fragment::Fillment: in memcpy()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 21 import androidx.fragment.app.Fragment; 53 private Fragment mCurrentPrimaryItem = null; 55 private LruCache<String, Fragment> mFragmentCache = new FragmentCache(DEFAULT_CACHE_SIZE); 64 public abstract Fragment getItem(int position); in getItem() 82 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() 109 + " v=" + ((Fragment)object).getView()); in destroyItem() 111 Fragment fragment = (Fragment) object; in destroyItem() 126 Fragment fragment = (Fragment) object; in setPrimaryItem() 151 View root = ((Fragment) object).getView(); in isViewFromObject() 177 private class FragmentCache extends LruCache<String, Fragment> { [all …]
|
/frameworks/layoutlib/bridge/src/android/app/ |
D | Fragment_Delegate.java | 53 /*package*/ static Fragment instantiate(Context context, String fname) { in instantiate() 72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { in instantiate() 75 Fragment f = (Fragment) sLayoutlibCallback.loadView(fname, in instantiate() 87 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 91 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 95 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 99 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate()
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Fragment.h | 27 class Fragment : public llvm::ilist_node_with_parent<Fragment, SectionData> { 32 Fragment(); 34 explicit Fragment(Type pKind, SectionData* pParent = NULL); 36 virtual ~Fragment(); 51 static bool classof(const Fragment* O) { return true; } in classof() 66 DISALLOW_COPY_AND_ASSIGN(Fragment);
|
D | FragmentRef.h | 19 class Fragment; variable 41 static FragmentRef* Create(Fragment& pFrag, uint64_t pOffset); 53 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0); 66 Fragment* frag() { return m_pFragment; } in frag() 68 const Fragment* frag() const { return m_pFragment; } in frag() 81 explicit FragmentRef(Fragment& pFrag, Offset pOffset = 0); 84 Fragment* m_pFragment;
|
D | TargetFragment.h | 22 class TargetFragment : public Fragment { 24 explicit TargetFragment(Fragment::Type pKind, SectionData* pSD = NULL) 25 : Fragment(pKind, pSD) {} in Fragment() function 30 static bool classof(const Fragment* F) { in classof() 31 return F->getKind() == Fragment::Target; in classof()
|
D | NullFragment.h | 22 class NullFragment : public Fragment { 29 static bool classof(const Fragment* F) { in classof() 30 return F->getKind() == Fragment::Null; in classof()
|
D | RegionFragment.h | 21 class RegionFragment : public Fragment { 30 static bool classof(const Fragment* F) { in classof() 31 return F->getKind() == Fragment::Region; in classof()
|
D | FillFragment.h | 20 class FillFragment : public Fragment { 31 static bool classof(const Fragment* F) { in classof() 32 return F->getKind() == Fragment::Fillment; in classof()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
D | FragmentHostManager.java | 18 import android.app.Fragment; 78 public void onFragmentViewCreated(FragmentManager fm, Fragment f, View v, in createFragmentHost() 84 public void onFragmentViewDestroyed(FragmentManager fm, Fragment f) { in createFragmentHost() 89 public void onFragmentDestroyed(FragmentManager fm, Fragment f) { in createFragmentHost() 120 Fragment current = getFragmentManager().findFragmentByTag(tag); in addTagListener() 135 private void onFragmentViewCreated(Fragment fragment) { in onFragmentViewCreated() 144 private void onFragmentViewDestroyed(Fragment fragment) { in onFragmentViewDestroyed() 196 void onFragmentViewCreated(String tag, Fragment fragment); in onFragmentViewCreated() 200 default void onFragmentViewDestroyed(String tag, Fragment fragment) { in onFragmentViewDestroyed() 240 public Fragment instantiate(Context context, String className, Bundle arguments) { in instantiate() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | BaseFragmentTest.java | 20 import android.app.Fragment; 54 private final Class<? extends Fragment> mCls; 58 protected Fragment mFragment; 63 public BaseFragmentTest(Class<? extends Fragment> cls) { in BaseFragmentTest() 196 protected Fragment instantiate(Context context, String className, @Nullable Bundle arguments) { in instantiate() 197 return Fragment.instantiate(context, className, arguments); in instantiate() 219 public Fragment instantiate(Context context, String className, Bundle arguments) { in instantiate() 224 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState() 249 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | BaseCompatActivityTest.java | 36 import androidx.fragment.app.Fragment; 188 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsAllowed() 207 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsNotAllowed() 226 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsAllowed() 245 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsNotAllowed() 270 Fragment fragment = new Fragment(); in testPopBackStackImmediateWithFragmentInStack() 282 Fragment fragment = new Fragment(); in testGetContentFragment()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LoaderLifecycleTest.java | 57 final Fragment f1 = new Fragment(); in loaderIdentityTest() 66 final Fragment f2 = new Fragment(); in loaderIdentityTest() 124 final Fragment restoredOne = fm2.findFragmentByTag("one"); in loaderIdentityTest() 151 final Fragment f1 = new Fragment(); in backStackLoaderIdentityTest() 209 final Fragment restoredOne = fm2.findFragmentByTag("one"); in backStackLoaderIdentityTest()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | Operand.h | 188 class Fragment; variable 194 explicit FragOperand(Fragment& pFragment); 199 const Fragment* frag() const { return m_pFragment; } in frag() 200 Fragment* frag() { return m_pFragment; } in frag() 209 static FragOperand* create(Fragment& pFragment); 214 Fragment* m_pFragment;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | BranchIslandFactory.h | 19 class Fragment; variable 44 BranchIsland* produce(Fragment& pFragment); 49 std::pair<BranchIsland*, BranchIsland*> getIslands(const Fragment& pFragment);
|