Home
last modified time | relevance | path

Searched refs:buckets (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java249 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 …]
DMtpDeviceIndexRunnable.java54 final DateBucket[] buckets; field in MtpDeviceIndexRunnable.Results
58 int[] unifiedLookupIndex, IngestObjectInfo[] mtpObjects, DateBucket[] buckets) { in Results() argument
61 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() local
130 buckets[i] = new DateBucket(bucketTemp.getKey(), unifiedStartIndex, unifiedEndIndex, in indexDevice()
135 new Results(unifiedLookupIndex, mtpObjects, buckets))) { in indexDevice()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java84 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable() argument
95 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() local
114 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()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java131 List<ResolutionBucket> buckets = parseAvailableSizes(sizes, isBackCamera); in getDisplayableSizesFromSupported() local
136 sortedDesiredAspectRatios.add(buckets.get(0).aspectRatio.floatValue()); in getDisplayableSizesFromSupported()
140 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
150 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1816 final Map<Long, List<DataItem>> buckets = new HashMap<>(); in dataItemsToBucket() local
1818 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in dataItemsToBucket()
1821 buckets.put(dataItem.getRawContactId(), bucket); in dataItemsToBucket()
1825 return buckets; in dataItemsToBucket()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...