Home
last modified time | relevance | path

Searched refs:mTabs (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DFragmentNestingStatePagerSupport.java87 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentNestingStatePagerSupport.TabsAdapter
112 mTabs.add(info); in addTab()
119 return mTabs.size(); in getCount()
124 TabInfo info = mTabs.get(position); in getItem()
144 for (int i=0; i<mTabs.size(); i++) { in onTabSelected()
145 if (mTabs.get(i) == tag) { in onTabSelected()
DFragmentNestingPagerSupport.java87 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentNestingPagerSupport.TabsAdapter
112 mTabs.add(info); in addTab()
119 return mTabs.size(); in getCount()
124 TabInfo info = mTabs.get(position); in getItem()
144 for (int i=0; i<mTabs.size(); i++) { in onTabSelected()
145 if (mTabs.get(i) == tag) { in onTabSelected()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentTabsPager.java92 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentTabsPager.TabsAdapter
137 mTabs.add(info); in addTab()
144 return mTabs.size(); in getCount()
149 TabInfo info = mTabs.get(position); in getItem()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DWindowDecorActionBar.java99 private ArrayList<TabImpl> mTabs = new ArrayList<TabImpl>(); field in WindowDecorActionBar
412 selectTab(mTabs.get(position)); in setSelectedNavigationItem()
432 mTabs.clear(); in cleanupTabs()
552 mTabs.add(position, tabi); in configureTab()
554 final int count = mTabs.size(); in configureTab()
556 mTabs.get(i).setPosition(i); in configureTab()
562 addTab(tab, mTabs.isEmpty()); in addTab()
567 addTab(tab, position, mTabs.isEmpty()); in addTab()
574 configureTab(tab, mTabs.size()); in addTab()
610 TabImpl removedTab = mTabs.remove(position); in removeTabAt()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java87 private ArrayList<TabImpl> mTabs = new ArrayList<TabImpl>(); field in WindowDecorActionBar
408 selectTab(mTabs.get(position)); in setSelectedNavigationItem()
427 mTabs.clear(); in cleanupTabs()
535 mTabs.add(position, tabi); in configureTab()
537 final int count = mTabs.size(); in configureTab()
539 mTabs.get(i).setPosition(i); in configureTab()
545 addTab(tab, mTabs.isEmpty()); in addTab()
550 addTab(tab, position, mTabs.isEmpty()); in addTab()
557 configureTab(tab, mTabs.size()); in addTab()
593 TabImpl removedTab = mTabs.remove(position); in removeTabAt()
[all …]
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentTabHost.java55 private final ArrayList<TabInfo> mTabs = new ArrayList<>(); field in FragmentTabHost
251 mTabs.add(info); in addTab()
264 for (int i = 0, count = mTabs.size(); i < count; i++) { in onAttachedToWindow()
265 final TabInfo tab = mTabs.get(i); in onAttachedToWindow()
365 for (int i = 0, count = mTabs.size(); i < count; i++) { in getTabInfoForTag()
366 final TabInfo tab = mTabs.get(i); in getTabInfoForTag()
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/
DFragmentTabHost.java46 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentTabHost
263 mTabs.add(info); in addTab()
280 for (int i=0; i<mTabs.size(); i++) { in onAttachedToWindow()
281 TabInfo tab = mTabs.get(i); in onAttachedToWindow()
366 for (int i=0; i<mTabs.size(); i++) { in doTabChanged()
367 TabInfo tab = mTabs.get(i); in doTabChanged()
/frameworks/base/core/java/android/text/
DTextLine.java59 private TabStops mTabs; field in TextLine
120 tl.mTabs = null; in recycle()
209 mTabs = tabStops; in set()
1277 if (mTabs != null) { in nextTab()
1278 return mTabs.nextTab(h); in nextTab()