Home
last modified time | relevance | path

Searched refs:numItems (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java338 int numItems = newItems.size();
352 computePreviewItemDrawingParams(prevIndex, numItems, p);
354 numItems);
362 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems);
372 PreviewItemDrawingParams p = computePreviewItemDrawingParams(oldIndex, numItems, null);
373 updateTransitionParam(p, item, oldIndex, EXIT_INDEX, numItems);
385 int prevIndex, int newIndex, int numItems) {
388 FolderPreviewItemAnim anim = new FolderPreviewItemAnim(this, p, prevIndex, numItems,
389 newIndex, numItems, DROP_IN_ANIMATION_DURATION, null);
DClippedFolderIconLayoutRule.java130 public float scaleForItem(int numItems) { in scaleForItem() argument
133 if (numItems <= 2) { in scaleForItem()
135 } else if (numItems == 3) { in scaleForItem()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DDateBucket.java16 final int numItems; field in DateBucket
19 int itemsStartIndex, int numItems) { in DateBucket() argument
24 this.numItems = numItems; in DateBucket()
DMtpDeviceIndex.java309 if (results.buckets[iMid].itemsStartIndex + results.buckets[iMid].numItems in getPositionFromPositionWithoutLabels()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionPreferenceGroup.java81 public void onFreeableChanged(int numItems, long freeableBytes) { in onFreeableChanged() argument
82 updatePreferenceText(numItems, freeableBytes, mDeletionType.getMostRecentLastModified()); in onFreeableChanged()
83 maybeUpdateListener(numItems, freeableBytes); in onFreeableChanged()
154 private void maybeUpdateListener(int numItems, long bytesFreeable) { in maybeUpdateListener() argument
156 mListener.onFreeableChanged(numItems, bytesFreeable); in maybeUpdateListener()
DDeletionPreference.java89 public void onFreeableChanged(int numItems, long freeableBytes) { in onFreeableChanged() argument
90 mFreeableItems = numItems; in onFreeableChanged()
DDeletionHelperSettings.java253 public void onFreeableChanged(int numItems, long bytesFreeable) { in onFreeableChanged() argument
254 if (numItems > 0 || bytesFreeable > 0 || allTypesEmpty()) { in onFreeableChanged()
DDeletionType.java97 void onFreeableChanged(int numItems, long bytesFreeable); in onFreeableChanged() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java138 void setBrowsedPlayerResponse(int playerId, boolean success, String rootId, int numItems) { in setBrowsedPlayerResponse() argument
142 + " numItems=" + numItems); in setBrowsedPlayerResponse()
143 setBrowsedPlayerResponseNative(playerId, success, rootId, numItems); in setBrowsedPlayerResponse()
243 int playerId, boolean success, String rootId, int numItems); in setBrowsedPlayerResponseNative() argument
DMediaPlayerList.java116 void run(int playerId, boolean success, String rootId, int numItems); in run() argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DPagingProvider.java85 int numItems = (limit >= 0) in queryChildDocuments() local
90 assert(numItems >= 0); in queryChildDocuments()
91 for (int i = 0; i < numItems; i++) { in queryChildDocuments()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java177 private void setTimeRange(long timeRange, int numItems) { in setTimeRange() argument
178 if (numItems != 0) { in setTimeRange()
179 int meanItemsPerCluster = numItems / NUM_CLUSTERS_TARGETED; in setTimeRange()
184 mClusterSplitTime = timeRange / numItems * CLUSTER_SPLIT_MULTIPLIER; in setTimeRange()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java487 int numItems = mAdapter.mItems.size(); in checkBucketIdsFinished() local
488 if (numItems == 0) { in checkBucketIdsFinished()
490 } else if (numItems == 1) { in checkBucketIdsFinished()