Searched refs:currentItem (Results 1 – 6 of 6) 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()
353 MediaItemMetadata currentItem = getCurrentMediaItem(); in getCurrentMediaItemId() local354 return currentItem != null ? currentItem.getId() : null; in getCurrentMediaItemId()
407 final int currentItem = mPager.getCurrentItem(); in notifyDataSetChanged() local410 (AbstractConversationViewFragment) getFragmentAt(currentItem); in notifyDataSetChanged()417 currentItem); in notifyDataSetChanged()
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()