Home
last modified time | relevance | path

Searched refs:bucket (Results 1 – 19 of 19) 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.java238 final int bucket = mAlphabeticIndex.getBucketIndex(name); in getBucketIndex() local
239 if (bucket < 0) { in getBucketIndex()
242 if (bucket >= mNumberBucketIndex) { in getBucketIndex()
243 return bucket + 1; in getBucketIndex()
245 return bucket; in getBucketIndex()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1995 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in dataItemsToBucket() local
1996 if (bucket == null) { in dataItemsToBucket()
1997 bucket = new ArrayList<>(); in dataItemsToBucket()
1998 buckets.put(dataItem.getRawContactId(), bucket); in dataItemsToBucket() local
2000 bucket.add(dataItem); in dataItemsToBucket()
2012 for (List<DataItem> bucket : dataItemsToBucket(dataItems).values()) { in gPlusDataItemsToEntries()
2013 for (DataItem dataItem : bucket) { in gPlusDataItemsToEntries()
2038 for (List<DataItem> bucket : dataItemsToBucket(dataItems).values()) { in hangoutsDataItemsToEntries()
2039 if (bucket.size() == 2) { in hangoutsDataItemsToEntries()
2041 final Entry entry = dataItemToEntry(bucket.get(0), in hangoutsDataItemsToEntries()
[all …]
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DEventLogWriter.java82 public void histogram(Context context, String name, int bucket) { in histogram() argument
83 MetricsLogger.histogram(context, name, bucket); in histogram()
DMetricsFeatureProvider.java94 public void histogram(Context context, String name, int bucket) { in histogram() argument
96 writer.histogram(context, name, bucket); in histogram()
DLogWriter.java69 void histogram(Context context, String name, int bucket); in histogram() argument
DSettingSuggestionsLogWriter.java80 public void histogram(Context context, String name, int bucket) { in histogram() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java350 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local
353 Float oldTotal = rgbScores.get(bucket); in findDominantColorByHue()
355 rgbScores.put(bucket, newTotal); in findDominantColorByHue()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java838 private static void logHistogram(Context context, String name, @ActionType int bucket) { in logHistogram() argument
839 if (DEBUG) Log.d(TAG, name + ": " + bucket); in logHistogram()
840 MetricsLogger.histogram(context, name, bucket); in logHistogram()
/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_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, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...