Home
last modified time | relevance | path

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

12345678910

/frameworks/compile/mclinker/unittests/
DFragmentTest.cpp45 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()
DSectionDataTest.cpp59 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/
DFragment.h26 class Fragment : public llvm::ilist_node<Fragment>
39 Fragment();
41 Fragment(Type pKind, SectionData *pParent = NULL);
43 virtual ~Fragment();
58 static bool classof(const Fragment *O) { return true; } in classof()
66 Fragment(const Fragment& ); // DO NOT IMPLEMENT
67 Fragment& operator=(const Fragment& ); // DO NOT IMPLEMENT
DFragmentRef.h19 class Fragment; variable
42 static FragmentRef* Create(Fragment& pFrag, uint64_t pOffset);
54 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0);
67 Fragment* frag() in frag()
70 const Fragment* frag() const in frag()
85 FragmentRef(Fragment& pFrag, Offset pOffset = 0);
88 Fragment* m_pFragment;
DTargetFragment.h22 class TargetFragment : public Fragment
25 TargetFragment(Fragment::Type pKind, SectionData* pSD = NULL)
26 : Fragment(pKind, pSD) {} in Fragment() function
31 static bool classof(const Fragment *F) in classof()
32 { return F->getKind() == Fragment::Target; } in classof()
DNullFragment.h22 class NullFragment : public Fragment
30 static bool classof(const Fragment *F) in classof()
31 { return F->getKind() == Fragment::Null; } in classof()
DRegionFragment.h20 class RegionFragment : public Fragment
30 static bool classof(const Fragment *F) in classof()
31 { return F->getKind() == Fragment::Region; } in classof()
DFillFragment.h20 class FillFragment : public Fragment
30 static bool classof(const Fragment *F) in classof()
31 { return F->getKind() == Fragment::Fillment; } in classof()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentStatePagerAdapter.java19 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 …]
DFragmentCompat.java19 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()
DFragmentPagerAdapter.java19 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/
DFragmentStatePagerAdapter.java71 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 …]
DFragmentManager.java174 public abstract Fragment findFragmentById(@IdRes int id); in findFragmentById()
184 public abstract Fragment findFragmentByTag(String tag); in findFragmentByTag()
291 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment()
302 public abstract Fragment getFragment(Bundle bundle, String key); in getFragment()
310 public abstract List<Fragment> getFragments(); in getFragments()
334 public abstract Fragment.SavedState saveFragmentInstanceState(Fragment f); in saveFragmentInstanceState()
424 ArrayList<Fragment> mActive;
425 ArrayList<Fragment> mAdded;
428 ArrayList<Fragment> mCreatedMenus;
436 int mCurState = Fragment.INITIALIZING;
[all …]
DFragmentTransaction.java42 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
47 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
64 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
70 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
88 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
99 public abstract FragmentTransaction remove(Fragment fragment); in remove()
110 public abstract FragmentTransaction hide(Fragment fragment); in hide()
121 public abstract FragmentTransaction show(Fragment fragment); in show()
134 public abstract FragmentTransaction detach(Fragment fragment); in detach()
146 public abstract FragmentTransaction attach(Fragment fragment); in attach()
DBackStackRecord.java121 Fragment f = fm.mActive.get(findex); in instantiate()
132 op.removed = new ArrayList<Fragment>(N); in instantiate()
136 Fragment r = fm.mActive.get(mOps[pos++]); in instantiate()
210 Fragment fragment;
215 ArrayList<Fragment> removed;
400 public FragmentTransaction add(Fragment fragment, String tag) { in add()
405 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
410 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
415 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
442 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
[all …]
DFragmentPagerAdapter.java67 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()
/frameworks/compile/mclinker/lib/Fragment/
DFragment.cpp21 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()
DFragmentRef.cpp40 FragmentRef::FragmentRef(Fragment& pFrag, in FragmentRef()
52 FragmentRef* FragmentRef::Create(Fragment& pFrag, uint64_t pOffset) in Create()
55 Fragment* frag = &pFrag; in Create()
114 m_pFragment = const_cast<Fragment*>(pCopy.m_pFragment); in assign()
119 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) in assign()
133 case Fragment::Region: { in memcpy()
142 case Fragment::Stub: { in memcpy()
150 case Fragment::Alignment: in memcpy()
151 case Fragment::Fillment: in memcpy()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.h39 virtual void setEntryValue(Fragment* entry, uint64_t pValue) = 0;
59 Fragment* consumeLocal();
60 Fragment* consumeGlobal();
63 uint64_t getGPRelOffset(const Input& pInput, const Fragment& pEntry) const;
65 void recordGlobalEntry(const ResolveInfo* pInfo, Fragment* pEntry);
66 Fragment* lookupGlobalEntry(const ResolveInfo* pInfo);
70 Fragment* pEntry);
71 Fragment* lookupLocalEntry(const ResolveInfo* pInfo,
87 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent) = 0;
111 Fragment* m_pLastLocal; ///< the last consumed local entry
[all …]
/frameworks/base/core/java/android/app/
DFragmentManager.java172 public abstract Fragment findFragmentById(int id); in findFragmentById()
182 public abstract Fragment findFragmentByTag(String tag); in findFragmentByTag()
288 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment()
299 public abstract Fragment getFragment(Bundle bundle, String key); in getFragment()
323 public abstract Fragment.SavedState saveFragmentInstanceState(Fragment f); in saveFragmentInstanceState()
417 ArrayList<Fragment> mActive;
418 ArrayList<Fragment> mAdded;
421 ArrayList<Fragment> mCreatedMenus;
429 int mCurState = Fragment.INITIALIZING;
432 Fragment mParent;
[all …]
DFragmentTransaction.java19 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
24 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); in add()
41 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); in add()
46 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); in replace()
64 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); in replace()
74 public abstract FragmentTransaction remove(Fragment fragment); in remove()
85 public abstract FragmentTransaction hide(Fragment fragment); in hide()
96 public abstract FragmentTransaction show(Fragment fragment); in show()
109 public abstract FragmentTransaction detach(Fragment fragment); in detach()
121 public abstract FragmentTransaction attach(Fragment fragment); in attach()
DBackStackRecord.java129 Fragment f = fm.mActive.get(findex); in instantiate()
140 op.removed = new ArrayList<Fragment>(N); in instantiate()
146 Fragment r = fm.mActive.get(mOps[pos++]); in instantiate()
220 Fragment fragment;
225 ArrayList<Fragment> removed;
446 public FragmentTransaction add(Fragment fragment, String tag) { in add()
451 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
456 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
461 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
488 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java21 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/
DFragment_Delegate.java53 /*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/compile/mclinker/include/mcld/LD/
DBranchIslandFactory.h19 class Fragment; variable
46 BranchIsland* produce(Fragment& pFragment);
51 std::pair<BranchIsland*, BranchIsland*> getIslands(const Fragment& pFragment);

12345678910