Searched refs:currentItem (Results 1 – 4 of 4) sorted by relevance
85 private PieItem currentItem; field in PieRenderer231 currentItem = null; in show()421 if ((item != null) && (currentItem != item)) { in onTouchEvent()432 PieItem item = currentItem; in onTouchEvent()467 if ((item != null) && (currentItem != item) && (!opening || moved)) { in onTouchEvent()491 if (currentItem != null) { in onEnter()492 currentItem.setSelected(false); in onEnter()496 currentItem = item; in onEnter()497 if ((currentItem != openItem) && currentItem.hasItems()) { in onEnter()501 currentItem = null; in onEnter()[all …]
56 private void testRtlCompatibleInner(int currentItem) { in testRtlCompatibleInner() argument59 mViewPager.setCurrentItem(currentItem); in testRtlCompatibleInner()63 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()72 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
192 private void compute(SmallItem currentItem) { in compute() argument193 if (currentItem != null) { in compute()202 mCurrCluster.addItem(currentItem); in compute()205 if (isGeographicallySeparated(prevItem, currentItem)) { in compute()210 } else if (timeDistance(prevItem, currentItem) < mClusterSplitTime) { in compute()211 mCurrCluster.addItem(currentItem); in compute()226 mCurrCluster.addItem(currentItem); in compute()
667 final ViewItem currentItem = mViewItems[BUFFER_CENTER]; in init()668 currentItem.getView().performAccessibilityAction(action, args); in init()969 ViewItem currentItem = mViewItems[BUFFER_CENTER]; in clampCenterX() local970 if (currentItem == null) { in clampCenterX()975 if (currentItem.getAdapterIndex() == 0 && mCenterX < currentItem.getCenterX()) { in clampCenterX()978 } else if (currentItem.getAdapterIndex() == mDataAdapter.getTotalNumber() - 1 in clampCenterX()979 && mCenterX > currentItem.getCenterX()) { in clampCenterX()985 mCenterX = currentItem.getCenterX(); in clampCenterX()