HomeSort by relevance Sort by last modified time
    Searched refs:ImmutableIndex (Results 1 - 19 of 19) sorted by null

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsIcuTest.java 19 import android.icu.text.AlphabeticIndex.ImmutableIndex;
30 private static ImmutableIndex buildIndex(String... localeTags) {
38 final ImmutableIndex index = ai.buildImmutableIndex();
46 private static String getBucket(ImmutableIndex index, String name) {
50 private static boolean checkBucket(ImmutableIndex index, String expectedBucket, String str) {
78 final ImmutableIndex index = buildIndex("zh-Hant-TW");
  /external/icu/icu4c/source/i18n/unicode/
alphaindex.h 160 * <p>Callers can also use the AlphabeticIndex::ImmutableIndex, or the AlphabeticIndex itself,
163 * <p>The ImmutableIndex is both immutable and thread-safe.
167 * <li>ImmutableIndex.getBucket(index) provides random access to all
169 * <li>The AlphabeticIndex bucket iterator or ImmutableIndex.getBucket(0..getBucketCount-1)
178 * const UnicodeString &label = immutableIndex.getBucket(bucketIndex)->getLabel(); // optional
193 * and returned by ImmutableIndex.getBucket().
243 * The ImmutableIndex class is not intended for public subclassing.
247 class U_I18N_API ImmutableIndex : public UObject {
253 virtual ~ImmutableIndex();
285 ImmutableIndex(BucketList *bucketList, Collator *collatorPrimaryOnly
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
AlphabeticIndexTest.java 34 import android.icu.text.AlphabeticIndex.ImmutableIndex;
341 ImmutableIndex ii = index.buildImmutableIndex();
407 ImmutableIndex<Integer> immIndex = index.buildImmutableIndex();
    [all...]
  /external/icu/icu4c/source/test/intltest/
alphaindextst.cpp 33 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) {
366 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
536 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
613 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
671 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
684 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
706 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
AlphabeticIndexTest.java 33 import com.ibm.icu.text.AlphabeticIndex.ImmutableIndex;
340 ImmutableIndex ii = index.buildImmutableIndex();
406 ImmutableIndex<Integer> immIndex = index.buildImmutableIndex();
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLocaleUtils.java 20 import android.icu.text.AlphabeticIndex.ImmutableIndex;
86 static void dumpIndex(ImmutableIndex index) {
110 protected final ImmutableIndex mAlphabeticIndex;
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
AlphabeticIndexCompat.java 167 private final AlphabeticIndex.ImmutableIndex mAlphabeticIndex;
  /external/icu/icu4c/source/i18n/
alphaindex.cpp 180 AlphabeticIndex::ImmutableIndex::~ImmutableIndex() {
186 AlphabeticIndex::ImmutableIndex::getBucketCount() const {
191 AlphabeticIndex::ImmutableIndex::getBucketIndex(
197 AlphabeticIndex::ImmutableIndex::getBucket(int32_t index) const {
255 AlphabeticIndex::ImmutableIndex *AlphabeticIndex::buildImmutableIndex(UErrorCode &errorCode) {
257 // In C++, the ImmutableIndex must own its copy of the BucketList,
269 ImmutableIndex *immIndex = new ImmutableIndex(immutableBucketList.getAlias(), coll.getAlias());
274 // The ImmutableIndex adopted its parameter objects
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
AlphabeticIndex.java 98 * <p>Callers can also use the {@link AlphabeticIndex.ImmutableIndex}, or the AlphabeticIndex itself,
101 * <p>The ImmutableIndex is both immutable and thread-safe.
105 * <li>ImmutableIndex.getBucket(index) provides random access to all
116 * String label = immutableIndex.getBucket(bucketIndex).getLabel(); // optional
171 public static final class ImmutableIndex<V> implements Iterable<Bucket<V>> {
175 private ImmutableIndex(BucketList<V> bucketList, Collator collatorPrimaryOnly) {
598 public ImmutableIndex<V> buildImmutableIndex() {
612 return new ImmutableIndex<V>(immutableBucketList, collatorPrimaryOnly);
857 * and {@link AlphabeticIndex.ImmutableIndex#getBucketIndex(CharSequence)},
858 * returned by {@link AlphabeticIndex.ImmutableIndex#getBucket(int)}
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
AlphabeticIndex.java 97 * <p>Callers can also use the {@link AlphabeticIndex.ImmutableIndex}, or the AlphabeticIndex itself,
100 * <p>The ImmutableIndex is both immutable and thread-safe.
104 * <li>ImmutableIndex.getBucket(index) provides random access to all
115 * String label = immutableIndex.getBucket(bucketIndex).getLabel(); // optional
172 public static final class ImmutableIndex<V> implements Iterable<Bucket<V>> {
176 private ImmutableIndex(BucketList<V> bucketList, Collator collatorPrimaryOnly) {
618 public ImmutableIndex<V> buildImmutableIndex() {
632 return new ImmutableIndex<V>(immutableBucketList, collatorPrimaryOnly);
890 * and {@link AlphabeticIndex.ImmutableIndex#getBucketIndex(CharSequence)},
891 * returned by {@link AlphabeticIndex.ImmutableIndex#getBucket(int)}
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
ManageApplications.java     [all...]
  /frameworks/base/
compiled-classes-phone     [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/misc/common/robolectric/lib/
icu4j-53.1.jar 
  /prebuilts/sdk/25/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 226 milliseconds