Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java207 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get() local
208 if (bucket.unifiedStartIndex == position) { in get()
209 return bucket.date; in get()
211 return results.mtpObjects[bucket.itemsStartIndex + position - 1 in get()
212 - bucket.unifiedStartIndex]; in get()
216 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get() local
217 if (bucket.unifiedEndIndex == zeroIndex) { in get()
218 return bucket.date; in get()
220 return results.mtpObjects[bucket.itemsStartIndex + zeroIndex in get()
221 - bucket.unifiedStartIndex]; in get()
[all …]
DMtpDeviceIndexRunnable.java145 List<IngestObjectInfo> bucket = bucketsTemp.get(mDateInstance); in addObject() local
146 if (bucket == null) { in addObject()
147 bucket = new ArrayList<IngestObjectInfo>(); in addObject()
148 bucketsTemp.put(mDateInstance, bucket); in addObject()
151 bucket.add(objectInfo); in addObject()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java140 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
141 Float aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported()
150 for (ResolutionBucket bucket : buckets) { in getDisplayableSizesFromSupported()
151 Number aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported()
153 result.addAll(pickUpToThree(bucket.sizes)); in getDisplayableSizesFromSupported()
248 ResolutionBucket bucket = aspectRatioToBuckets.get(aspectRatio); in parseAvailableSizes() local
249 if (bucket == null) { in parseAvailableSizes()
250 bucket = new ResolutionBucket(); in parseAvailableSizes()
251 bucket.aspectRatio = aspectRatio; in parseAvailableSizes()
252 aspectRatioToBuckets.put(aspectRatio, bucket); in parseAvailableSizes()
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java320 LinkedList<RowInfo> bucket = mBuckets.get(day - mTodayJulianDay); in buildFromCursor() local
323 bucket.addFirst(rowInfo); in buildFromCursor()
325 bucket.add(rowInfo); in buildFromCursor()
332 for (LinkedList<RowInfo> bucket : mBuckets) { in buildFromCursor()
333 if (!bucket.isEmpty()) { in buildFromCursor()
344 mRowInfos.addAll(bucket); in buildFromCursor()
345 count += bucket.size(); in buildFromCursor()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java157 final int bucket = mAlphabeticIndex.getBucketIndex(name); in getBucketIndex() local
158 if (bucket < 0) { in getBucketIndex()
161 if (bucket >= mNumberBucketIndex) { in getBucketIndex()
162 return bucket + 1; in getBucketIndex()
164 return bucket; in getBucketIndex()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1781 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in gPlusOrHangoutsDataItemsToEntries() local
1782 if (bucket == null) { in gPlusOrHangoutsDataItemsToEntries()
1783 bucket = new ArrayList<>(); in gPlusOrHangoutsDataItemsToEntries()
1784 buckets.put(dataItem.getRawContactId(), bucket); in gPlusOrHangoutsDataItemsToEntries() local
1786 bucket.add(dataItem); in gPlusOrHangoutsDataItemsToEntries()
1791 for (List<DataItem> bucket : buckets.values()) { in gPlusOrHangoutsDataItemsToEntries()
1792 if (bucket.size() == 2) { in gPlusOrHangoutsDataItemsToEntries()
1794 final Entry entry = dataItemToEntry(bucket.get(0), in gPlusOrHangoutsDataItemsToEntries()
1795 /* secondDataItem = */ bucket.get(1), this, mContactData, in gPlusOrHangoutsDataItemsToEntries()
1801 for (DataItem dataItem : bucket) { in gPlusOrHangoutsDataItemsToEntries()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java480 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local
483 Float oldTotal = rgbScores.get(bucket); in findDominantColorByHue()
485 rgbScores.put(bucket, newTotal); in findDominantColorByHue()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java191 String bucket = thisUri.getQueryParameter("bucketId");
192 if (bucket != null) {
194 .appendQueryParameter("bucketId", bucket)
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java128 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...