Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get() local
250 if (bucket.unifiedStartIndex == position) { in get()
251 return bucket.date; in get()
253 return results.mtpObjects[bucket.itemsStartIndex + position - 1 in get()
254 - bucket.unifiedStartIndex]; in get()
258 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get() local
259 if (bucket.unifiedEndIndex == zeroIndex) { in get()
260 return bucket.date; in get()
262 return results.mtpObjects[bucket.itemsStartIndex + zeroIndex in get()
263 - 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.java184 final int bucket = mAlphabeticIndex.getBucketIndex(name); in getBucketIndex() local
185 if (bucket < 0) { in getBucketIndex()
188 if (bucket >= mNumberBucketIndex) { in getBucketIndex()
189 return bucket + 1; in getBucketIndex()
191 return bucket; in getBucketIndex()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2147 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in gPlusOrHangoutsDataItemsToEntries() local
2148 if (bucket == null) { in gPlusOrHangoutsDataItemsToEntries()
2149 bucket = new ArrayList<>(); in gPlusOrHangoutsDataItemsToEntries()
2150 buckets.put(dataItem.getRawContactId(), bucket); in gPlusOrHangoutsDataItemsToEntries() local
2152 bucket.add(dataItem); in gPlusOrHangoutsDataItemsToEntries()
2157 for (List<DataItem> bucket : buckets.values()) { in gPlusOrHangoutsDataItemsToEntries()
2158 if (bucket.size() == 2) { in gPlusOrHangoutsDataItemsToEntries()
2160 final Entry entry = dataItemToEntry(bucket.get(0), in gPlusOrHangoutsDataItemsToEntries()
2161 /* secondDataItem = */ bucket.get(1), this, mContactData, in gPlusOrHangoutsDataItemsToEntries()
2167 for (DataItem dataItem : bucket) { in gPlusOrHangoutsDataItemsToEntries()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java540 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local
543 Float oldTotal = rgbScores.get(bucket); in findDominantColorByHue()
545 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.java141 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeSmsNotification()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz