/frameworks/support/v4/tests/java/android/support/v4/view/ |
D | ViewPagerWithTabStripTest.java | 51 assertEquals("Click tab #0 on tab #0", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 55 assertEquals("Click tab #1 on tab #0", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 59 assertEquals("Click tab #0 on tab #1", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 66 assertEquals("Click tab #1 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 70 assertEquals("Click tab #2 on tab #1", 2, mViewPager.getCurrentItem()); in assertStripInteraction() 80 assertEquals("Click in between tabs #0 and #1 on tab #0", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 84 assertEquals("Click in between tabs #0 and #1 on tab #1", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 91 assertEquals("Click in between tabs #1 and #2 on tab #1", 2, mViewPager.getCurrentItem()); in assertStripInteraction()
|
D | ViewPagerWithTitleStripTest.java | 52 assertEquals("Click tab #0 on tab #0", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 56 assertEquals("Click tab #1 on tab #0", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 62 assertEquals("Click tab #0 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 66 assertEquals("Click tab #1 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 70 assertEquals("Click tab #2 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 81 assertEquals("Click in between tabs #0 and #1 on tab #0", 0, mViewPager.getCurrentItem()); in assertStripInteraction() 88 assertEquals("Click in between tabs #1 and #2 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction() 92 assertEquals("Click in between tabs #0 and #1 on tab #1", 1, mViewPager.getCurrentItem()); in assertStripInteraction()
|
D | BaseViewPagerTest.java | 198 assertEquals("Initial state", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 205 assertEquals("Scroll right", 1, mViewPager.getCurrentItem()); in verifyPageSelections() 209 assertEquals("Scroll right", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 214 assertEquals("Scroll right beyond last page", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 219 assertEquals("Scroll left", 1, mViewPager.getCurrentItem()); in verifyPageSelections() 224 assertEquals("Scroll left", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 230 assertEquals("Scroll left beyond first page", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 239 assertEquals("Scroll to last page", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 245 assertEquals("Scroll to first page", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 270 assertEquals("Initial state", 0, mViewPager.getCurrentItem()); in testPageSwipes() [all …]
|
D | ViewPagerActions.java | 160 int current = viewPager.getCurrentItem(); 188 int current = viewPager.getCurrentItem();
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutWithViewPagerTest.java | 203 assertEquals("Selected page", 0, mViewPager.getCurrentItem()); in verifyViewPagerSelection() 212 mViewPager.getCurrentItem()); in verifyViewPagerSelection() 222 assertEquals("Scroll left #" + i, expectedCurrentTabIndex, mViewPager.getCurrentItem()); in verifyViewPagerSelection() 237 assertEquals("Selected page", 0, mViewPager.getCurrentItem()); in verifyTabLayoutSelection() 245 assertEquals("Select tab #" + i, i, mViewPager.getCurrentItem()); in verifyTabLayoutSelection() 252 assertEquals("Scroll left #" + i, i, mViewPager.getCurrentItem()); in verifyTabLayoutSelection() 272 assertEquals("Selected tab", mViewPager.getCurrentItem(), in testBasics() 283 assertEquals("Default selected page", 0, mViewPager.getCurrentItem()); in testInteraction() 556 assertEquals("Selected page", selected, mViewPager.getCurrentItem()); in testSetupAfterViewPagerScrolled()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTabStrip.java | 109 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip() 117 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip() 249 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent() 251 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onTouchEvent()
|
D | PagerTitleStrip.java | 331 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter() 494 updateText(mPager.getCurrentItem(), mPager.getAdapter()); in onPageSelected() 497 updateTextPositions(mPager.getCurrentItem(), offset, true); in onPageSelected() 514 updateText(mPager.getCurrentItem(), mPager.getAdapter()); in onChanged() 517 updateTextPositions(mPager.getCurrentItem(), offset, true); in onChanged()
|
D | ViewPager.java | 623 public int getCurrentItem() { in getCurrentItem() method in ViewPager 1643 mScroller.setFinalX(getCurrentItem() * getClientWidth());
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerView.java | 300 if (position != mViewPager.getCurrentItem()) { 348 updateButtonVisibility(mViewPager.getCurrentItem()); 383 return mViewPager.getCurrentItem(); 425 final int nextItem = mViewPager.getCurrentItem() + direction;
|
/frameworks/base/core/java/android/webkit/ |
D | WebBackForwardList.java | 32 public abstract WebHistoryItem getCurrentItem(); in getCurrentItem() method in WebBackForwardList
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | ViewPagerActions.java | 57 int current = viewPager.getCurrentItem(); in scrollRight() 85 int current = viewPager.getCurrentItem();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 544 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); in isFragmentFullScreen() 709 return mViewPager.getCurrentItem() == mAdapter.getItemPosition(fragment); in isFragmentActive() 829 final int position = mViewPager.getCurrentItem() + 1; in updateActionBar() 902 final int position = mViewPager.getCurrentItem(); in getCursorAtProperPosition()
|
/frameworks/base/docs/html/training/animation/ |
D | screen-slide.jd | 173 if (mPager.getCurrentItem() == 0) { 179 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 819 setScrollPosition(viewPager.getCurrentItem(), 0f, true); in setupWithViewPager() 909 final int curItem = mViewPager.getCurrentItem(); in populateFromPagerAdapter()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 512 public int getCurrentItem() { in getCurrentItem() method in ViewPager 1335 final ItemInfo itemInfo = infoForPosition(getCurrentItem());
|
/frameworks/support/v4/api/ |
D | 22.1.0.txt | 2258 method public int getCurrentItem();
|
D | 22.0.0.txt | 2065 method public int getCurrentItem();
|
D | 22.2.1.txt | 2322 method public int getCurrentItem();
|
D | 22.2.0.txt | 2321 method public int getCurrentItem();
|
D | 23.0.0.txt | 2516 method public int getCurrentItem();
|
D | 23.1.0.txt | 2548 method public int getCurrentItem();
|
D | 23.1.1.txt | 2508 method public int getCurrentItem();
|
D | current.txt | 2747 method public int getCurrentItem();
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 36132 method public abstract android.webkit.WebHistoryItem getCurrentItem();
|
/frameworks/base/api/ |
D | current.txt | 45175 method public abstract android.webkit.WebHistoryItem getCurrentItem();
|