Home
last modified time | relevance | path

Searched refs:currItem (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java1022 final ViewItem currItem = mViewItems[BUFFER_CENTER]; in scrollCurrentItemToCenter() local
1023 if (currItem == null) { in scrollCurrentItemToCenter()
1026 final int currentViewCenter = currItem.getCenterX(); in scrollCurrentItemToCenter()
1186 final ViewItem currItem = mViewItems[BUFFER_CENTER]; in layoutViewItems() local
1187 final int currCenterX = currItem.getCenterX(); in layoutViewItems()
1197 currItem.layoutWithTranslationX(mDrawArea, mCenterX, mScale); in layoutViewItems()
1198 currItem.setTranslationX(0f); in layoutViewItems()
1199 currItem.setAlpha(1f); in layoutViewItems()
1202 final ViewItem currItem = mViewItems[BUFFER_CENTER]; in layoutViewItems() local
1203 currItem.setVisibility(View.VISIBLE); in layoutViewItems()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DGPMWrapper.java38 MediaSession.QueueItem currItem = null; in isMetadataSynced() local
42 currItem = item; in isMetadataSynced()
48 Metadata qitem = Util.toMetadata(currItem); in isMetadataSynced()
50 if (currItem == null || !qitem.equals(mdata)) { in isMetadataSynced()
DMediaPlayerWrapper.java190 MediaSession.QueueItem currItem = null; in isMetadataSynced() local
195 currItem = item; in isMetadataSynced()
201 Metadata qitem = Util.toMetadata(currItem); in isMetadataSynced()
203 if (currItem == null || !qitem.equals(mdata)) { in isMetadataSynced()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java279 SmallItem currItem = currClusterItems.get(i); in getPartitionIndexForCurrentCluster() local
283 long timeCurr = currItem.dateInMs; in getPartitionIndexForCurrentCluster()
293 if (timeDistance(currItem, prevItem) > mLargeClusterSplitTime) { in getPartitionIndexForCurrentCluster()
296 } else if (timeDistance(nextItem, currItem) > mLargeClusterSplitTime) { in getPartitionIndexForCurrentCluster()