Home
last modified time | relevance | path

Searched refs:bucketIndex (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java261 public String getBucketLabel(int bucketIndex) { in getBucketLabel() argument
262 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() local
351 if ((bucketIndex == mMiscBucketIndex && in getBucketIndex()
353 bucketIndex > mMiscBucketIndex) { in getBucketIndex()
354 return bucketIndex + 1; in getBucketIndex()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums() local
85 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() local
169 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
DPicasaSource.java148 int bucketIndex = cursor.getColumnIndex(PICASA_ALBUM_ID); in unpackImageData() local
151 if (bucketIndex >= 0) { in unpackImageData()
152 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java117 int bucketIndex = mTargetUtils.getBucketIndex(name); in getLabel() local
118 return mTargetUtils.getBucketLabel(bucketIndex); in getLabel()