Home
last modified time | relevance | path

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

/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentNestingStatePagerSupport.java86 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentNestingStatePagerSupport.TabsAdapter
111 mTabs.add(info); in addTab()
118 return mTabs.size(); in getCount()
123 TabInfo info = mTabs.get(position); in getItem()
143 for (int i=0; i<mTabs.size(); i++) { in onTabSelected()
144 if (mTabs.get(i) == tag) { in onTabSelected()
DFragmentNestingPagerSupport.java86 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentNestingPagerSupport.TabsAdapter
111 mTabs.add(info); in addTab()
118 return mTabs.size(); in getCount()
123 TabInfo info = mTabs.get(position); in getItem()
143 for (int i=0; i<mTabs.size(); i++) { in onTabSelected()
144 if (mTabs.get(i) == tag) { in onTabSelected()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentTabsPager.java91 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentTabsPager.TabsAdapter
136 mTabs.add(info); in addTab()
143 return mTabs.size(); in getCount()
148 TabInfo info = mTabs.get(position); in getItem()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java43 private final ArrayList<TabInfo> mTabs = new ArrayList<TabInfo>(); field in FragmentTabHost
238 mTabs.add(info); in addTab()
251 for (int i=0; i<mTabs.size(); i++) { in onAttachedToWindow()
252 TabInfo tab = mTabs.get(i); in onAttachedToWindow()
321 for (int i=0; i<mTabs.size(); i++) { in doTabChanged()
322 TabInfo tab = mTabs.get(i); in doTabChanged()
/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/v7/appcompat/src/android/support/v7/app/
DWindowDecorActionBar.java98 private ArrayList<TabImpl> mTabs = new ArrayList<TabImpl>(); field in WindowDecorActionBar
411 selectTab(mTabs.get(position)); in setSelectedNavigationItem()
431 mTabs.clear(); in cleanupTabs()
551 mTabs.add(position, tabi); in configureTab()
553 final int count = mTabs.size(); in configureTab()
555 mTabs.get(i).setPosition(i); in configureTab()
561 addTab(tab, mTabs.isEmpty()); in addTab()
566 addTab(tab, position, mTabs.isEmpty()); in addTab()
573 configureTab(tab, mTabs.size()); in addTab()
609 TabImpl removedTab = mTabs.remove(position); in removeTabAt()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTabHost.java54 private final ArrayList<TabInfo> mTabs = new ArrayList<>(); field in FragmentTabHost
250 mTabs.add(info); in addTab()
263 for (int i = 0, count = mTabs.size(); i < count; i++) { in onAttachedToWindow()
264 final TabInfo tab = mTabs.get(i); in onAttachedToWindow()
364 for (int i = 0, count = mTabs.size(); i < count; i++) { in getTabInfoForTag()
365 final TabInfo tab = mTabs.get(i); in getTabInfoForTag()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java244 private final ArrayList<Tab> mTabs = new ArrayList<>(); field in TabLayout
444 addTab(tab, mTabs.isEmpty()); in addTab()
455 addTab(tab, position, mTabs.isEmpty()); in addTab()
465 addTab(tab, mTabs.size(), setSelected); in addTab()
579 return mTabs.size(); in getTabCount()
587 return (index < 0 || index >= getTabCount()) ? null : mTabs.get(index); in getTabAt()
623 final Tab removedTab = mTabs.remove(position); in removeTabAt()
629 final int newTabCount = mTabs.size(); in removeTabAt()
631 mTabs.get(i).setPosition(i); in removeTabAt()
635 selectTab(mTabs.isEmpty() ? null : mTabs.get(Math.max(0, position - 1))); in removeTabAt()
[all …]
/frameworks/base/core/java/android/text/
DTextLine.java53 private TabStops mTabs; field in TextLine
106 tl.mTabs = null; in recycle()
183 mTabs = tabStops; in set()
1013 if (mTabs != null) { in nextTab()
1014 return mTabs.nextTab(h); in nextTab()