Home
last modified time | relevance | path

Searched refs:bucket (Results 1 – 22 of 22) 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/Settings/src/com/android/settings/datausage/
DDataUsageList.java340 final Bucket bucket = new Bucket(); in bindStats() local
341 while (stats.hasNextBucket() && stats.getNextBucket(bucket)) { in bindStats()
343 final int uid = bucket.getUid(); in bindStats()
352 largest = accumulate(managedKey, knownItems, bucket, in bindStats()
378 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats()
454 Bucket bucket, int itemCategory, ArrayList<AppItem> items, long largest) { in accumulate() argument
455 final int uid = bucket.getUid(); in accumulate()
464 item.total += bucket.getRxBytes() + bucket.getTxBytes(); in accumulate()
DDataUsageUtils.java79 final Bucket bucket = networkStatsManager.querySummaryForUser( in hasEthernet() local
82 if (bucket != null) { in hasEthernet()
83 hasEthernetUsage = bucket.getRxBytes() > 0 || bucket.getTxBytes() > 0; in hasEthernet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java337 final Bucket bucket = new Bucket(); in bindStats() local
338 while (stats.hasNextBucket() && stats.getNextBucket(bucket)) { in bindStats()
340 final int uid = bucket.getUid(); in bindStats()
349 largest = accumulate(managedKey, knownItems, bucket, in bindStats()
375 largest = accumulate(collapseKey, knownItems, bucket, category, items, largest); in bindStats()
451 Bucket bucket, int itemCategory, ArrayList<AppItem> items, long largest) { in accumulate() argument
452 final int uid = bucket.getUid(); in accumulate()
461 item.total += bucket.getRxBytes() + bucket.getTxBytes(); in accumulate()
DDataUsageUtils.java79 final Bucket bucket = networkStatsManager.querySummaryForUser( in hasEthernet() local
82 if (bucket != null) { in hasEthernet()
83 hasEthernetUsage = bucket.getRxBytes() > 0 || bucket.getTxBytes() > 0; in hasEthernet()
/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/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java86 String bucket = mContext.getString(R.string.config_gcs_bucket); in uploadSimple() local
87 if (TextUtils.isEmpty(bucket)) { in uploadSimple()
96 .setBucket(bucket) in uploadSimple()
100 Storage.Objects.Insert insertObject = storage.objects().insert(bucket, object, in uploadSimple()
107 Log.v(TAG, "started uploading object " + fileName + " to bucket " + bucket); in uploadSimple()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java112 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local
115 Float oldTotal = rgbScores.get(bucket); in findDominantColorByHue()
117 rgbScores.put(bucket, newTotal); in findDominantColorByHue()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/shortcut/
DCreateShortcutPreferenceController.java108 int bucket = 0; in updateState() local
112 boolean needDivider = currentBucket != bucket; in updateState()
113 bucket = currentBucket; in updateState()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java108 int bucket = 0; in updateState() local
112 boolean needDivider = currentBucket != bucket; in updateState()
113 bucket = currentBucket; in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DInactiveApps.java104 static String bucketToName(int bucket) { in bucketToName() argument
105 switch (bucket) { in bucketToName()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DInactiveApps.java104 static String bucketToName(int bucket) { in bucketToName() argument
105 switch (bucket) { in bucketToName()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1818 List<DataItem> bucket = buckets.get(dataItem.getRawContactId()); in dataItemsToBucket() local
1819 if (bucket == null) { in dataItemsToBucket()
1820 bucket = new ArrayList<>(); in dataItemsToBucket()
1821 buckets.put(dataItem.getRawContactId(), bucket); in dataItemsToBucket() local
1823 bucket.add(dataItem); in dataItemsToBucket()
1835 for (List<DataItem> bucket : dataItemsToBucket(dataItems).values()) { in gPlusDataItemsToEntries()
1836 for (DataItem dataItem : bucket) { in gPlusDataItemsToEntries()
1861 for (List<DataItem> bucket : dataItemsToBucket(dataItems).values()) { in hangoutsDataItemsToEntries()
1862 if (bucket.size() == 2) { in hangoutsDataItemsToEntries()
1864 final Entry entry = dataItemToEntry(bucket.get(0), in hangoutsDataItemsToEntries()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java191 String bucket = thisUri.getQueryParameter("bucketId");
192 if (bucket != null) {
194 .appendQueryParameter("bucketId", bucket)
/packages/services/Car/tests/BugReportApp/
DREADME.md52 `res/values/configs.xml` for obtaining GCS bucket name.
/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, ...