Searched refs:bucket (Results 1 - 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Dbloom_filter.h42 const uint32_t bucket = static_cast<uint32_t>(position % BIGRAM_FILTER_MODULO); local
43 mFilter[bucket >> 3] |= static_cast<uint8_t>(1 << (bucket & 0x7));
48 const uint32_t bucket = static_cast<uint32_t>(position % BIGRAM_FILTER_MODULO); local
49 return (mFilter[bucket >> 3] & static_cast<uint8_t>(1 << (bucket & 0x7))) != 0;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DMtpDeviceIndex.java42 * The index enables the access of items and bucket labels as one unified list.
52 * bucket labels need to always be at the beginning:
58 * - size: get the total number of items (bucket labels and MTP objects)
202 * @return the bucket label or MtpObjectInfo at the specified position and
208 DateBucket bucket = mBuckets[mUnifiedLookupIndex[position]];
209 if (bucket.unifiedStartIndex == position) {
210 return bucket.bucket;
212 return mMtpObjects[bucket.itemsStartIndex + position - 1
213 - bucket
350 SimpleDate bucket; field in class:MtpDeviceIndex.DateBucket
357 DateBucket(SimpleDate bucket) argument
361 DateBucket(SimpleDate bucket, MtpObjectInfo firstElement) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java320 LinkedList<RowInfo> bucket = mBuckets.get(day - mTodayJulianDay);
323 bucket.addFirst(rowInfo);
325 bucket.add(rowInfo);
332 for (LinkedList<RowInfo> bucket : mBuckets) {
333 if (!bucket.isEmpty()) {
344 mRowInfos.addAll(bucket);
345 count += bucket.size();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLocaleUtils.java105 * Returns the bucket index for the specified string. AlphabeticIndex
108 * used in a particular locale. This routine adds one additional bucket
110 * the bucket indexes returned by AlphabeticIndex in order to make room
111 * for the new # bucket, so the returned range becomes 0 to N+1.
136 final int bucket = mAlphabeticIndex.getBucketIndex(name);
137 if (bucket < 0) {
140 if (bucket >= mNumberBucketIndex) {
141 return bucket + 1;
143 return bucket;
148 * uses, because this class adds a bucket fo
[all...]
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationService.java95 .setLargeIcon(getBitmap(context, R.drawable.bucket))
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java191 String bucket = thisUri.getQueryParameter("bucketId");
192 if (bucket != null) {
194 .appendQueryParameter("bucketId", bucket)

Completed in 213 milliseconds