Searched refs:buckets (Results 1 – 8 of 8) sorted by relevance
249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get()258 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get()306 int iMax = results.buckets.length - 1; in getPositionFromPositionWithoutLabels()309 if (results.buckets[iMid].itemsStartIndex + results.buckets[iMid].numItems in getPositionFromPositionWithoutLabels()312 } else if (results.buckets[iMid].itemsStartIndex > position) { in getPositionFromPositionWithoutLabels()319 int mappedPos = results.buckets[bucketNumber].unifiedStartIndex + position in getPositionFromPositionWithoutLabels()320 - results.buckets[bucketNumber].itemsStartIndex + 1; in getPositionFromPositionWithoutLabels()340 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in getPositionWithoutLabelsFromPosition()347 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in getPositionWithoutLabelsFromPosition()372 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()
84 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable() argument95 BucketEntry entry = buckets.get(bucketId); in updateBucketEntriesFromTable()98 buckets.put(bucketId, entry); in updateBucketEntriesFromTable()111 HashMap<Integer, BucketEntry> buckets = new HashMap<Integer, BucketEntry>(64); in loadBucketEntriesFromImagesAndVideoTable() local114 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()118 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()120 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()
1816 final Map<Long, List<DataItem>> buckets = new HashMap<>(); in dataItemsToBucket() local1818 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in dataItemsToBucket()1821 buckets.put(dataItem.getRawContactId(), bucket); in dataItemsToBucket()1825 return buckets; in dataItemsToBucket()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...