Searched refs:buckets (Results 1 – 8 of 8) sorted by relevance
207 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get()216 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get()264 int iMax = results.buckets.length - 1; in getPositionFromPositionWithoutLabels()267 if (results.buckets[iMid].itemsStartIndex + results.buckets[iMid].numItems in getPositionFromPositionWithoutLabels()270 } else if (results.buckets[iMid].itemsStartIndex > position) { in getPositionFromPositionWithoutLabels()277 int mappedPos = results.buckets[bucketNumber].unifiedStartIndex + position in getPositionFromPositionWithoutLabels()278 - results.buckets[bucketNumber].itemsStartIndex + 1; in getPositionFromPositionWithoutLabels()298 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in getPositionWithoutLabelsFromPosition()305 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in getPositionWithoutLabelsFromPosition()330 return results.buckets[bucketNumber].unifiedStartIndex; in getFirstPositionForBucketNumber()[all …]
54 final DateBucket[] buckets; field in MtpDeviceIndexRunnable.Results58 int[] unifiedLookupIndex, IngestObjectInfo[] mtpObjects, DateBucket[] buckets) { in Results() argument61 this.buckets = buckets; in Results()62 this.reversedBuckets = new DateBucket[buckets.length]; in Results()63 for (int i = 0; i < buckets.length; i++) { in Results()64 this.reversedBuckets[i] = buckets[buckets.length - 1 - i]; in Results()106 DateBucket[] buckets = new DateBucket[numBuckets]; in indexDevice() local130 buckets[i] = new DateBucket(bucketTemp.getKey(), unifiedStartIndex, unifiedEndIndex, in indexDevice()135 new Results(unifiedLookupIndex, mtpObjects, buckets))) { in indexDevice()
98 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable() argument109 BucketEntry entry = buckets.get(bucketId); in updateBucketEntriesFromTable()112 buckets.put(bucketId, entry); in updateBucketEntriesFromTable()125 HashMap<Integer, BucketEntry> buckets = new HashMap<Integer, BucketEntry>(64); in loadBucketEntriesFromImagesAndVideoTable() local128 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()132 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()134 BucketEntry[] entries = buckets.values().toArray(new BucketEntry[buckets.size()]); in loadBucketEntriesFromImagesAndVideoTable()
131 List<ResolutionBucket> buckets = parseAvailableSizes(sizes, isBackCamera); in getDisplayableSizesFromSupported() local136 sortedDesiredAspectRatios.add(buckets.get(0).aspectRatio.floatValue()); in getDisplayableSizesFromSupported()140 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()150 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
1778 final Map<Long, List<DataItem>> buckets = new HashMap<>(); in gPlusOrHangoutsDataItemsToEntries() local1781 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in gPlusOrHangoutsDataItemsToEntries()1784 buckets.put(dataItem.getRawContactId(), bucket); in gPlusOrHangoutsDataItemsToEntries()1791 for (List<DataItem> bucket : buckets.values()) { in gPlusOrHangoutsDataItemsToEntries()
1dictionary=main:en,locale=en,description=English,date=1414726273, ...