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.java207 public String getBucketLabel(int bucketIndex) { in getBucketLabel() argument
208 if (bucketIndex < 0 || bucketIndex >= getBucketCount()) { in getBucketLabel()
210 } else if (bucketIndex == mNumberBucketIndex) { in getBucketLabel()
212 } else if (bucketIndex > mNumberBucketIndex) { in getBucketLabel()
213 --bucketIndex; in getBucketLabel()
215 return mAlphabeticIndex.getBucket(bucketIndex).getLabel(); in getBucketLabel()
296 final int bucketIndex = super.getBucketIndex(name); in getBucketIndex() local
297 if ((bucketIndex == mMiscBucketIndex && in getBucketIndex()
299 bucketIndex > mMiscBucketIndex) { in getBucketIndex()
300 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.java106 int bucketIndex = utils.getBucketIndex(name); in getLabel() local
107 return utils.getBucketLabel(bucketIndex); in getLabel()