/frameworks/compile/mclinker/unittests/ |
D | FragmentTest.cpp | 45 new Fragment(Fragment::Alignment, s); in TEST_F() 47 new Fragment(Fragment::Alignment, s); in TEST_F() 48 new Fragment(Fragment::Region, s); in TEST_F() 49 new Fragment(Fragment::Fillment, s); in TEST_F() 50 new Fragment(Fragment::Target, s); in TEST_F() 60 Fragment* f = new Fragment(Fragment::Alignment, s); in TEST_F() 62 EXPECT_TRUE(Fragment::Alignment == f->getKind()); in TEST_F() 68 EXPECT_TRUE(f->classof(new Fragment(Fragment::Region, s)) ); in TEST_F()
|
D | SectionDataTest.cpp | 59 new Fragment(Fragment::Alignment, s); in TEST_F() 60 new Fragment(Fragment::Alignment, s); in TEST_F() 61 new Fragment(Fragment::Region, s); in TEST_F() 62 new Fragment(Fragment::Fillment, s); in TEST_F() 63 new Fragment(Fragment::Target, s); in TEST_F() 67 llvm::iplist<Fragment>::iterator iter=s->begin(); in TEST_F() 68 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F() 70 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F() 72 EXPECT_TRUE(Fragment::Region == iter->getKind()); in TEST_F() 74 EXPECT_TRUE(Fragment::Fillment == iter->getKind()); in TEST_F() [all …]
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Fragment.h | 29 class Fragment : public llvm::ilist_node<Fragment> 42 Fragment(); 44 Fragment(Type pKind, SectionData *pParent = NULL); 46 virtual ~Fragment(); 61 static bool classof(const Fragment *O) { return true; } in classof() 69 Fragment(const Fragment& ); // DO NOT IMPLEMENT 70 Fragment& operator=(const Fragment& ); // DO NOT IMPLEMENT
|
D | FragmentRef.h | 22 class Fragment; variable 45 static FragmentRef* Create(Fragment& pFrag, uint64_t pOffset); 57 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0); 70 Fragment* frag() in frag() 73 const Fragment* frag() const in frag() 99 FragmentRef(Fragment& pFrag, Offset pOffset = 0); 102 Fragment* m_pFragment;
|
D | TargetFragment.h | 25 class TargetFragment : public Fragment 28 TargetFragment(Fragment::Type pKind, SectionData* pSD = NULL) 29 : Fragment(pKind, pSD) {} in Fragment() function 34 static bool classof(const Fragment *F) in classof() 35 { return F->getKind() == Fragment::Target; } in classof()
|
D | NullFragment.h | 25 class NullFragment : public Fragment 33 static bool classof(const Fragment *F) in classof() 34 { return F->getKind() == Fragment::Null; } in classof()
|
D | RegionFragment.h | 24 class RegionFragment : public Fragment 34 static bool classof(const Fragment *F) in classof() 35 { return F->getKind() == Fragment::Region; } in classof()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentStatePagerAdapter.java | 19 import android.app.Fragment; 75 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 76 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); 77 private Fragment mCurrentPrimaryItem = null; 86 public abstract Fragment getItem(int position); in getItem() 99 Fragment f = mFragments.get(position); in instantiateItem() 109 Fragment fragment = getItem(position); in instantiateItem() 112 Fragment.SavedState fss = mSavedState.get(position); in instantiateItem() 130 Fragment fragment = (Fragment)object; in destroyItem() 136 + " v=" + ((Fragment)object).getView()); in destroyItem() [all …]
|
D | FragmentCompat.java | 19 import android.app.Fragment; 27 void setMenuVisibility(Fragment f, boolean visible); in setMenuVisibility() 28 void setUserVisibleHint(Fragment f, boolean deferStart); in setUserVisibleHint() 32 public void setMenuVisibility(Fragment f, boolean visible) { in setMenuVisibility() 34 public void setUserVisibleHint(Fragment f, boolean deferStart) { in setUserVisibleHint() 40 public void setMenuVisibility(Fragment f, boolean visible) { in setMenuVisibility() 47 public void setUserVisibleHint(Fragment f, boolean deferStart) { in setUserVisibleHint() 67 public static void setMenuVisibility(Fragment f, boolean visible) { in setMenuVisibility() 75 public static void setUserVisibleHint(Fragment f, boolean deferStart) { in setUserVisibleHint()
|
D | FragmentPagerAdapter.java | 19 import android.app.Fragment; 71 private Fragment mCurrentPrimaryItem = null; 80 public abstract Fragment getItem(int position); in getItem() 96 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() 120 + " v=" + ((Fragment)object).getView()); in destroyItem() 121 mCurTransaction.detach((Fragment)object); in destroyItem() 126 Fragment fragment = (Fragment)object; in setPrimaryItem() 151 return ((Fragment)object).getView() == view; in isViewFromObject()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | FragmentStatePagerAdapter.java | 71 private ArrayList<Fragment.SavedState> mSavedState = new ArrayList<Fragment.SavedState>(); 72 private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); 73 private Fragment mCurrentPrimaryItem = null; 82 public abstract Fragment getItem(int position); in getItem() 95 Fragment f = mFragments.get(position); in instantiateItem() 105 Fragment fragment = getItem(position); in instantiateItem() 108 Fragment.SavedState fss = mSavedState.get(position); in instantiateItem() 126 Fragment fragment = (Fragment)object; in destroyItem() 132 + " v=" + ((Fragment)object).getView()); in destroyItem() 144 Fragment fragment = (Fragment)object; in setPrimaryItem() [all …]
|
D | FragmentTransaction.java | 30 public abstract FragmentTransaction add(Fragment fragment, String tag); in add() 35 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); in add() 52 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); in add() 57 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); in replace() 75 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); in replace() 85 public abstract FragmentTransaction remove(Fragment fragment); in remove() 96 public abstract FragmentTransaction hide(Fragment fragment); in hide() 107 public abstract FragmentTransaction show(Fragment fragment); in show() 120 public abstract FragmentTransaction detach(Fragment fragment); in detach() 132 public abstract FragmentTransaction attach(Fragment fragment); in attach()
|
D | FragmentManager.java | 165 public abstract Fragment findFragmentById(int id); in findFragmentById() 175 public abstract Fragment findFragmentByTag(String tag); in findFragmentByTag() 282 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment() 293 public abstract Fragment getFragment(Bundle bundle, String key); in getFragment() 301 public abstract List<Fragment> getFragments(); in getFragments() 325 public abstract Fragment.SavedState saveFragmentInstanceState(Fragment f); in saveFragmentInstanceState() 408 ArrayList<Fragment> mActive; 409 ArrayList<Fragment> mAdded; 412 ArrayList<Fragment> mCreatedMenus; 420 int mCurState = Fragment.INITIALIZING; [all …]
|
D | FragmentPagerAdapter.java | 67 private Fragment mCurrentPrimaryItem = null; 76 public abstract Fragment getItem(int position); in getItem() 92 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() 116 + " v=" + ((Fragment)object).getView()); in destroyItem() 117 mCurTransaction.detach((Fragment)object); in destroyItem() 122 Fragment fragment = (Fragment)object; in setPrimaryItem() 147 return ((Fragment)object).getView() == view; in isViewFromObject()
|
D | BackStackRecord.java | 106 Fragment f = fm.mActive.get(findex); in instantiate() 117 op.removed = new ArrayList<Fragment>(N); in instantiate() 121 Fragment r = fm.mActive.get(mOps[pos++]); in instantiate() 191 Fragment fragment; 196 ArrayList<Fragment> removed; 378 public FragmentTransaction add(Fragment fragment, String tag) { in add() 383 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() 388 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() 393 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() 420 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace() [all …]
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Fragment.cpp | 21 Fragment::Fragment() in Fragment() function in Fragment 25 Fragment::Fragment(Type pKind, SectionData *pParent) in Fragment() function in Fragment 31 Fragment::~Fragment() in ~Fragment() 35 uint64_t Fragment::getOffset() const in getOffset() 41 bool Fragment::hasOffset() const in hasOffset()
|
D | FragmentRef.cpp | 41 FragmentRef::FragmentRef(Fragment& pFrag, in FragmentRef() 53 FragmentRef* FragmentRef::Create(Fragment& pFrag, uint64_t pOffset) in Create() 56 Fragment* frag = &pFrag; in Create() 110 m_pFragment = const_cast<Fragment*>(pCopy.m_pFragment); in assign() 115 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) in assign() 129 case Fragment::Region: { in memcpy() 138 case Fragment::Stub: { in memcpy() 146 case Fragment::Alignment: in memcpy() 147 case Fragment::Fillment: in memcpy() 159 case Fragment::Region: in deref() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransaction.java | 16 public abstract FragmentTransaction add(Fragment fragment, String tag); in add() 21 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); in add() 38 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); in add() 43 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); in replace() 61 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); in replace() 71 public abstract FragmentTransaction remove(Fragment fragment); in remove() 82 public abstract FragmentTransaction hide(Fragment fragment); in hide() 93 public abstract FragmentTransaction show(Fragment fragment); in show() 106 public abstract FragmentTransaction detach(Fragment fragment); in detach() 118 public abstract FragmentTransaction attach(Fragment fragment); in attach()
|
D | FragmentManager.java | 167 public abstract Fragment findFragmentById(int id); in findFragmentById() 177 public abstract Fragment findFragmentByTag(String tag); in findFragmentByTag() 283 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment() 294 public abstract Fragment getFragment(Bundle bundle, String key); in getFragment() 318 public abstract Fragment.SavedState saveFragmentInstanceState(Fragment f); in saveFragmentInstanceState() 411 ArrayList<Fragment> mActive; 412 ArrayList<Fragment> mAdded; 415 ArrayList<Fragment> mCreatedMenus; 423 int mCurState = Fragment.INITIALIZING; 426 Fragment mParent; [all …]
|
D | BackStackRecord.java | 106 Fragment f = fm.mActive.get(findex); in instantiate() 117 op.removed = new ArrayList<Fragment>(N); in instantiate() 121 Fragment r = fm.mActive.get(mOps[pos++]); in instantiate() 191 Fragment fragment; 196 ArrayList<Fragment> removed; 378 public FragmentTransaction add(Fragment fragment, String tag) { in add() 383 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() 388 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() 393 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() 420 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 21 import android.support.v4.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/base/tools/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) sProjectCallback.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/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewCallbacks.java | 4 import android.support.v4.app.Fragment; 68 public boolean isFragmentActive(Fragment fragment); in isFragmentActive() 70 public void onFragmentVisible(Fragment fragment); in onFragmentVisible() 72 public boolean isFragmentFullScreen(Fragment fragment); in isFragmentFullScreen()
|
/frameworks/compile/mclinker/lib/LD/ |
D | BranchIslandFactory.cpp | 36 BranchIsland* BranchIslandFactory::produce(Fragment& pFragment) in produce() 44 Fragment* frag = &pFragment; in produce() 59 Fragment::Alignment == frag->getKind()) { in produce() 76 BranchIsland* BranchIslandFactory::find(const Fragment& pFragment) in find()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | BranchIslandFactory.h | 22 class Fragment; variable 42 BranchIsland* produce(Fragment& pFragment); 46 BranchIsland* find(const Fragment& pFragment);
|