Home
last modified time | relevance | path

Searched refs:currentItem (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java85 private PieItem currentItem; field in PieRenderer
231 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 …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java192 private void compute(SmallItem currentItem) { in compute() argument
193 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java57 private void testRtlCompatibleInner(int currentItem) { in testRtlCompatibleInner() argument
60 mViewPager.setCurrentItem(currentItem); in testRtlCompatibleInner()
64 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
73 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
/packages/apps/Car/Media/src/com/android/car/media/
DBrowseFragment.java341 MediaItemMetadata currentItem = getCurrentMediaItem(); in getCurrentMediaItemId() local
342 return currentItem != null ? currentItem.getId() : null; in getCurrentMediaItemId()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java667 final ViewItem currentItem = mViewItems[BUFFER_CENTER]; in init()
668 currentItem.getView().performAccessibilityAction(action, args); in init()
969 ViewItem currentItem = mViewItems[BUFFER_CENTER]; in clampCenterX() local
970 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()