/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
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 | 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 | BaseViewPagerTest.java | 270 assertEquals("Initial state", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 277 assertEquals("Scroll right", 1, mViewPager.getCurrentItem()); in verifyPageSelections() 281 assertEquals("Scroll right", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 286 assertEquals("Scroll right beyond last page", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 291 assertEquals("Scroll left", 1, mViewPager.getCurrentItem()); in verifyPageSelections() 296 assertEquals("Scroll left", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 302 assertEquals("Scroll left beyond first page", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 311 assertEquals("Scroll to last page", 2, mViewPager.getCurrentItem()); in verifyPageSelections() 317 assertEquals("Scroll to first page", 0, mViewPager.getCurrentItem()); in verifyPageSelections() 340 assertEquals("Initial state", 0, mViewPager.getCurrentItem()); in verifyPageChangeViewActions() [all …]
|
D | ViewPagerActions.java | 186 int current = viewPager.getCurrentItem(); 214 int current = viewPager.getCurrentItem();
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SessionManager.java | 65 public PlaylistItem getCurrentItem() { in getCurrentItem() method in SessionManager 98 mPlayer.getStatus(getCurrentItem(), true /* update */); in updateStatus() 144 PlaylistItem item = getCurrentItem(); in seek() 167 if (item == getCurrentItem()) { in getStatus() 251 PlaylistItem item = getCurrentItem(); in suspend() 326 PlaylistItem item = getCurrentItem(); in checkItemCurrent() 333 PlaylistItem item = getCurrentItem(); in updatePlaybackState() 391 PlaylistItem item = getCurrentItem(); in finishItem()
|
D | SampleMediaRouteProvider.java | 322 if (mSessionManager.getCurrentItem() != null) { in onControlRequest() 571 item = mSessionManager.getCurrentItem(); in handleStatusChange()
|
D | SampleMediaRouterActivity.java | 574 PlaylistItem currentItem = mSessionManager.getCurrentItem(); in updateUi()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | PagerTabStrip.java | 110 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip() 118 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip() 250 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent() 252 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onTouchEvent()
|
D | PagerTitleStrip.java | 322 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter() 488 updateText(mPager.getCurrentItem(), mPager.getAdapter()); in onPageSelected() 491 updateTextPositions(mPager.getCurrentItem(), offset, true); in onPageSelected() 508 updateText(mPager.getCurrentItem(), mPager.getAdapter()); in onChanged() 511 updateTextPositions(mPager.getCurrentItem(), offset, true); in onChanged()
|
D | ViewPager.java | 619 public int getCurrentItem() { in getCurrentItem() method in ViewPager 1649 mScroller.setFinalX(getCurrentItem() * getClientWidth());
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutWithViewPagerTest.java | 271 assertEquals("Selected page", 0, mViewPager.getCurrentItem()); 280 mViewPager.getCurrentItem()); 290 assertEquals("Scroll left #" + i, expectedCurrentTabIndex, mViewPager.getCurrentItem()); 305 assertEquals("Selected page", 0, mViewPager.getCurrentItem()); 313 assertEquals("Select tab #" + i, i, mViewPager.getCurrentItem()); 320 assertEquals("Scroll left #" + i, i, mViewPager.getCurrentItem()); 340 assertEquals("Selected tab", mViewPager.getCurrentItem(), 351 assertEquals("Default selected page", 0, mViewPager.getCurrentItem()); 618 assertEquals("Selected page", selected, mViewPager.getCurrentItem());
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerView.java | 313 if (position != mViewPager.getCurrentItem()) { 326 if (position != mViewPager.getCurrentItem()) { 370 updateButtonVisibility(mViewPager.getCurrentItem()); 405 return mViewPager.getCurrentItem(); 447 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 | 52 int current = viewPager.getCurrentItem(); in scrollRight() 80 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/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 825 setScrollPosition(viewPager.getCurrentItem(), 0f, true); in setupWithViewPager() 915 final int curItem = mViewPager.getCurrentItem(); in populateFromPagerAdapter()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 485 public int getCurrentItem() { in getCurrentItem() method in ViewPager 1308 final ItemInfo itemInfo = infoForPosition(getCurrentItem());
|
/frameworks/support/api/ |
D | 22.0.0.txt | 3507 method public int getCurrentItem();
|
D | 22.1.0.txt | 3842 method public int getCurrentItem();
|
D | 22.2.0.txt | 4244 method public int getCurrentItem();
|
D | 22.2.1.txt | 4273 method public int getCurrentItem();
|
D | 25.1.0.txt | 6901 method public int getCurrentItem();
|
D | 25.0.0.txt | 6490 method public int getCurrentItem();
|
D | 23.0.0.txt | 4946 method public int getCurrentItem();
|
D | 25.2.0.txt | 6901 method public int getCurrentItem();
|