Searched refs:bucketIndex (Results 1 – 11 of 11) sorted by relevance
261 public String getBucketLabel(int bucketIndex) { in getBucketLabel() argument262 if (bucketIndex < 0 || bucketIndex >= getBucketCount()) { in getBucketLabel()264 } else if (bucketIndex == mNumberBucketIndex) { in getBucketLabel()266 } else if (bucketIndex > mNumberBucketIndex) { in getBucketLabel()267 --bucketIndex; in getBucketLabel()269 return mAlphabeticIndex.getBucket(bucketIndex).getLabel(); in getBucketLabel()350 final int bucketIndex = super.getBucketIndex(name); in getBucketIndex() local351 if ((bucketIndex == mMiscBucketIndex && in getBucketIndex()353 bucketIndex > mMiscBucketIndex) { in getBucketIndex()354 return bucketIndex + 1; in getBucketIndex()[all …]
119 public Bucket getBucketByIndex(int bucketIndex) { in getBucketByIndex() argument120 int bucketKey = mBuckets.keyAt(bucketIndex); in getBucketByIndex()125 int count = mBuckets.valueAt(bucketIndex); in getBucketByIndex()207 for (int bucketIndex = 0; bucketIndex < mBuckets.size(); ++bucketIndex) { in toString()208 if (bucketIndex > 0) { in toString()211 int bucketKey = mBuckets.keyAt(bucketIndex); in toString()224 sb.append('=').append(mBuckets.valueAt(bucketIndex)); in toString()
81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums() local85 if (bucketIndex < 0) { in findAlbums()89 String id = constructId(internal, cursor.getString(bucketIndex)); in findAlbums()166 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in unpackImageData() local169 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
148 int bucketIndex = cursor.getColumnIndex(PICASA_ALBUM_ID); in unpackImageData() local151 if (bucketIndex >= 0) { in unpackImageData()152 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
135 int bucketIndex = -1; in assignAttributionModeAndGenerateFakeReports() local145 bucketIndex = 0; in assignAttributionModeAndGenerateFakeReports()150 bucketIndex += 1; in assignAttributionModeAndGenerateFakeReports()154 TriggerSpecs.getSummaryBucketFromIndex(bucketIndex, buckets); in assignAttributionModeAndGenerateFakeReports()
201 int bucketIndex = 0; in createBucketSettings() local224 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings()226 period = PREDEFINED_BUCKET_PERIODS[bucketIndex]; in createBucketSettings()493 int bucketIndex; in addScanToBuckets() local497 bucketIndex = EXPONENTIAL_BACK_OFF_BUCKET_IDX; in addScanToBuckets()499 bucketIndex = findBestRegularBucketIndex(settings.periodInMs, NUM_OF_REGULAR_BUCKETS); in addScanToBuckets()502 mBuckets.getOrCreate(bucketIndex).addSettings(settings); in addScanToBuckets()
317 int bucketIndex = triggerDataToBucketIndexMap.get(triggerData) - 1; in prepareFlexAttribution() local318 long prevBucket = bucketIndex == 0 ? 0L : buckets.get(bucketIndex - 1); in prepareFlexAttribution()319 long bucketSize = buckets.get(bucketIndex) - prevBucket; in prepareFlexAttribution()
100 const int bucketIndex = index(bucketNum); in addPastBucket() local101 if (bucketNum <= mMostRecentBucketNum && (mPastBuckets[bucketIndex] != nullptr)) { in addPastBucket()103 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket()
118 int bucketIndex = mTargetUtils.getBucketIndex(name); in getLabel() local119 return mTargetUtils.getBucketLabel(bucketIndex); in getLabel()
1173 int bucketIndex = triggerDataToBucketIndexMap.get(triggerData); in updateFlexAttributionStateAndGetNumReports() local1178 if (bucketIndex == buckets.size()) { in updateFlexAttributionStateAndGetNumReports()1191 long prevBucket = bucketIndex == 0 ? 0L : buckets.get(bucketIndex - 1); in updateFlexAttributionStateAndGetNumReports()1194 for (int i = bucketIndex; i < buckets.size(); i++) { in updateFlexAttributionStateAndGetNumReports()
META-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...