Searched refs:currentItem (Results 1 – 5 of 5) 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 …]
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()
57 private void testRtlCompatibleInner(int currentItem) { in testRtlCompatibleInner() argument60 mViewPager.setCurrentItem(currentItem); in testRtlCompatibleInner()64 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()73 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
341 MediaItemMetadata currentItem = getCurrentMediaItem(); in getCurrentMediaItemId() local342 return currentItem != null ? currentItem.getId() : null; in getCurrentMediaItemId()
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()