/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_CommonDataKinds_RelationTest.java | 20 import android.provider.ContactsContract.CommonDataKinds.Relation; 34 assertGetTypeLabel(Relation.TYPE_ASSISTANT); 35 assertGetTypeLabel(Relation.TYPE_BROTHER); 36 assertGetTypeLabel(Relation.TYPE_CHILD); 37 assertGetTypeLabel(Relation.TYPE_DOMESTIC_PARTNER); 38 assertGetTypeLabel(Relation.TYPE_FATHER); 39 assertGetTypeLabel(Relation.TYPE_FRIEND); 40 assertGetTypeLabel(Relation.TYPE_MANAGER); 41 assertGetTypeLabel(Relation.TYPE_MOTHER); 42 assertGetTypeLabel(Relation.TYPE_PARENT) [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
FieldTypeWithHeuristics.java | 20 import android.arch.persistence.room.Relation; 28 @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = AutofillHint.class) 31 @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = ResourceIdHeuristic.class)
|
DatasetWithFilledAutofillFields.java | 20 import android.arch.persistence.room.Relation; 29 @Relation(parentColumn = "id", entityColumn = "datasetId", entity = FilledAutofillField.class)
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
FieldTypeWithHeuristics.java | 20 import android.arch.persistence.room.Relation; 28 @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = AutofillHint.class) 31 @Relation(parentColumn = "typeName", entityColumn = "fieldTypeName", entity = ResourceIdHeuristic.class)
|
DatasetWithFilledAutofillFields.java | 20 import android.arch.persistence.room.Relation; 29 @Relation(parentColumn = "id", entityColumn = "datasetId", entity = FilledAutofillField.class)
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
ShowChildren.java | 19 import com.ibm.icu.impl.Relation; 31 Relation<String, String> parent2children = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class); 45 Map<String, Relation<String, String>> path2value2locales = new TreeMap<String, Relation<String, String>>(); 59 Relation<String, String> value2locales = path2value2locales.get(path); 62 value2locales = Relation.of(new LinkedHashMap<String, Set<String>>(), TreeSet.class)); 79 for (Entry<String, Relation<String, String>> datum : path2value2locales.entrySet()) { 82 Relation<String, String> value2locales = datum.getValue();
|
CompareStockDatetime.java | 13 import com.ibm.icu.impl.Relation; 31 Map<String, Relation<String, String>> lengthToSkeletonToLocales = new TreeMap<String, Relation<String, String>>(); 32 // new Relation(new TreeMap(), TreeSet.class); 53 Relation<String, String> skeletonToLocales = lengthToSkeletonToLocales.get(key); 55 lengthToSkeletonToLocales.put(key, skeletonToLocales = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class)); 62 for (Entry<String, Relation<String, String>> entry : lengthToSkeletonToLocales.entrySet()) {
|
CheckEnglishCurrencyNames.java | 19 import com.ibm.icu.impl.Relation; 31 Relation<String, String> currencyCodesWithDates = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class); 32 Relation<String, String> modernCurrencyCodes2territory = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class); 82 Relation<String, String> territory2official = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class); 98 Relation<String, String> currency2symbols = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class); 99 Map<String, Relation<String, String>> currency2symbol2locales = new TreeMap<String, Relation<String, String>>(); / [all...] |
ShowCoverageLevels.java | 11 import com.ibm.icu.impl.Relation; 25 Relation<Level, String> values = new Relation(new EnumMap<Level, String>(Level.class), TreeSet.class); 64 private static int keyValuePairCount(Relation<Level, String> values) {
|
PluralRulesFactory.java | 18 import com.ibm.icu.impl.Relation; 174 public Relation<ULocale, FixedDecimal> getExtraSamples() { 183 private Relation<ULocale, FixedDecimal> EXTRA_SAMPLES = null; 188 Relation<ULocale, FixedDecimal> tempSamples = Relation.of(new HashMap<ULocale, Set<FixedDecimal>>(), HashSet.class); 294 EXTRA_SAMPLES = (Relation<ULocale, FixedDecimal>) tempSamples.freeze(); [all...] |
FindPreferredHours.java | 26 import com.ibm.icu.impl.Relation; 112 final Relation<String, Hours> lang2Hours = Relation.of(new TreeMap<String, Set<Hours>>(), TreeSet.class); 152 Map<String, Relation<Character, String>> region2Preferred2locales = new TreeMap<String, Relation<Character, String>>(); 153 Relation<String, Character> region2Allowed = Relation.of(new TreeMap<String, Set<Character>>(), TreeSet.class); 175 Relation<Character, String> items = region2Preferred2locales.get(region); 178 items = Relation.of(new TreeMap<Character, Set<String>>(), TreeSet.class)); 186 Relation<PreferredAndAllowedHour, String> preferred2Region = Relation.of [all...] |
GenerateBcp47Tests.java | 10 import com.ibm.icu.impl.Relation; 30 Relation<String, String> extension2Keys = info.getBcp47Extension2Keys(); 31 Relation<String, String> keys2subtypes = info.getBcp47Keys();
|
GenerateBcp47Text.java | 14 import com.ibm.icu.impl.Relation; 24 Relation<String, String> extension2Keys = info.getBcp47Extension2Keys(); 25 Relation<String, String> keys2subtypes = info.getBcp47Keys(); 26 Relation<R2<String, String>, String> keySubtype2Aliases = info.getBcp47Aliases();
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Relation.java | 28 * A Relation is a set of mappings from keys to values. 35 public class Relation<K, V> implements Freezable<Relation<K,V>> { // TODO: add , Map<K, Collection<V>>, but requires API changes 41 public static <K, V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator) { 42 return new Relation<>(map, setCreator); 45 public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { 46 return new Relation<>(map, setCreator, setComparator); 49 public Relation(Map<K, Set<V>> map, Class<?> setCreator) { 54 public Relation(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { 111 return data.equals(((Relation<?, ?>) o).data) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Relation.java | 27 * A Relation is a set of mappings from keys to values. 33 public class Relation<K, V> implements Freezable<Relation<K,V>> { // TODO: add , Map<K, Collection<V>>, but requires API changes 39 public static <K, V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator) { 40 return new Relation<>(map, setCreator); 43 public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { 44 return new Relation<>(map, setCreator, setComparator); 47 public Relation(Map<K, Set<V>> map, Class<?> setCreator) { 52 public Relation(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { 109 return data.equals(((Relation<?, ?>) o).data) [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
Containment.java | 15 import com.ibm.icu.impl.Relation; 20 static final Relation<String, String> containmentCore = supplementalData 31 static final Relation<String, String> containmentFull = supplementalData 33 static final Relation<String, String> containedToContainer = (Relation<String, String>) Relation 39 static final Relation<String, String> leavesToContainers; 41 leavesToContainers = Relation 57 static final Relation<String, String> containedToContainerCore = (Relation<String, String>) Relatio [all...] |
ElementAttributeInfo.java | 20 import com.ibm.icu.impl.Relation; 30 private Relation<String, String> element2children = Relation.of(new LinkedHashMap<String, Set<String>>(), LinkedHashSet.class); 31 private Relation<String, String> element2parents = Relation.of(new LinkedHashMap<String, Set<String>>(), LinkedHashSet.class); 32 private Relation<String, String> element2attributes = Relation.of(new LinkedHashMap<String, Set<String>>(), LinkedHashSet.class); 121 public Relation<String, String> getElement2Children() { 125 public Relation<String, String> getElement2Parents() { 129 public Relation<String, String> getElement2Attributes() [all...] |
IsoCurrencyParser.java | 12 import com.ibm.icu.impl.Relation; 109 private Relation<String, Data> codeList = Relation.of(new TreeMap<String, Set<Data>>(), TreeSet.class, null); 110 private Relation<String, String> countryToCodes = Relation.of(new TreeMap<String, Set<String>>(), TreeSet.class, null); 166 public Relation<String, Data> getCodeList() { 186 * private Relation<String,Data> codeList = new Relation(new TreeMap(), TreeSet.class, null); 190 public Relation<String, String> getCountryToCodes() {
|
LanguageInfo.java | 14 import com.ibm.icu.impl.Relation; 26 private Relation<OfficialStatus, String> statusToRegions = Relation.of(new EnumMap<OfficialStatus, Set<String>>(OfficialStatus.class), TreeSet.class); 33 public Relation<OfficialStatus, String> getStatusToRegions() {
|
/external/libtextclassifier/utils/calendar/ |
calendar_test-include.cc | 31 static_cast<DateParseData::Relation>(0), 119 data.relation = DateParseData::Relation::NEXT; 155 DateParseData::Relation::FUTURE, 175 DateParseData::Relation::NEXT, 195 DateParseData::Relation::NEXT_OR_SAME, 215 DateParseData::Relation::LAST, 235 DateParseData::Relation::PAST, 256 DateParseData::Relation::FUTURE, 277 DateParseData::Relation::FUTURE [all...] |
calendar-common.h | 66 // if it already matches the relation type. 150 switch (parse_data.relation) { 151 case DateParseData::Relation::UNSPECIFIED: 154 case DateParseData::Relation::NEXT: 161 case DateParseData::Relation::NEXT_OR_SAME: 168 case DateParseData::Relation::LAST: 175 case DateParseData::Relation::NOW: 177 case DateParseData::Relation::TOMORROW: 180 case DateParseData::Relation::YESTERDAY: 183 case DateParseData::Relation::PAST [all...] |
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
TestUExtension.java | 8 import com.ibm.icu.impl.Relation; 20 Relation<String, String> validKeyTypes = data.getBcp47Keys();
|
TestCollationMapMaker.java | 17 import com.ibm.icu.impl.Relation; 49 Relation<String, String> inverse = new Relation(new TreeMap(c),
|
TestDTDAttributes.java | 20 import com.ibm.icu.impl.Relation; 50 Relation<String, String> toChildren = ElementAttributeInfo.getInstance( 52 // Relation<String, String> toParents = 114 Relation<String, String> elementToAttributes = ElementAttributeInfo 116 Relation<String, String> distinguishingAttributeToElements = Relation 119 Relation<String, String> nondistinguishingAttributeToElements = Relation 122 Relation<String, String> orderedAttributeToElements = Relation [all...] |
/external/libtextclassifier/annotator/datetime/ |
extractor.cc | 113 if (!ParseRelation(group_text, &(result->relation))) { 400 const UnicodeText& input, DateParseData::Relation* parsed_relation) const { 404 {DatetimeExtractorType_NOW, DateParseData::Relation::NOW}, 405 {DatetimeExtractorType_YESTERDAY, DateParseData::Relation::YESTERDAY}, 406 {DatetimeExtractorType_TOMORROW, DateParseData::Relation::TOMORROW}, 407 {DatetimeExtractorType_NEXT, DateParseData::Relation::NEXT}, 409 DateParseData::Relation::NEXT_OR_SAME}, 410 {DatetimeExtractorType_LAST, DateParseData::Relation::LAST}, 411 {DatetimeExtractorType_PAST, DateParseData::Relation::PAST}, 412 {DatetimeExtractorType_FUTURE, DateParseData::Relation::FUTURE} [all...] |