Home
last modified time | relevance | path

Searched refs:mAlphabeticIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java114 private Object mAlphabeticIndex; field in AlphabeticIndexCompat.AlphabeticIndexV16
123 mAlphabeticIndex = clazz.getConstructor(Locale.class).newInstance(curLocale); in AlphabeticIndexV16()
127 .invoke(mAlphabeticIndex, Locale.ENGLISH); in AlphabeticIndexV16()
138 return (Integer) mGetBucketIndexMethod.invoke(mAlphabeticIndex, s); in getBucketIndex()
150 return (String) mGetBucketLabelMethod.invoke(mAlphabeticIndex, index); in getBucketLabel()
164 private Object mAlphabeticIndex; field in AlphabeticIndexCompat.AlphabeticIndexVN
180 mAlphabeticIndex = clazz.getConstructor(Locale.class).newInstance(primaryLocale); in AlphabeticIndexVN()
185 addLocales.invoke(mAlphabeticIndex, new Object[]{ new Locale[] {l}}); in AlphabeticIndexVN()
187 addLocales.invoke(mAlphabeticIndex, new Object[]{ new Locale[] {Locale.ENGLISH}}); in AlphabeticIndexVN()
189 mAlphabeticIndex = mAlphabeticIndex.getClass() in AlphabeticIndexVN()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java95 protected final ImmutableIndex mAlphabeticIndex; field in ContactLocaleUtils.ContactLocaleUtilsBase
120 mAlphabeticIndex = ai.buildImmutableIndex(); in ContactLocaleUtilsBase()
121 mAlphabeticIndexBucketCount = mAlphabeticIndex.getBucketCount(); in ContactLocaleUtilsBase()
184 final int bucket = mAlphabeticIndex.getBucketIndex(name); in getBucketIndex()
215 return mAlphabeticIndex.getBucket(bucketIndex).getLabel(); in getBucketLabel()