Searched refs:getOrDefault (Results 1 – 11 of 11) sorted by relevance
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable_config.java | 1128 getOrDefault(SCREENLAYOUT_LAYOUTDIR_VALUES, screenLayoutDirection(), "")); in toStringParts() 1134 getOrDefault(SCREENLAYOUT_SIZE_VALUES, screenLayoutSize(), "")); in toStringParts() 1136 getOrDefault(SCREENLAYOUT_LONG_VALUES, screenLayoutLong(), "")); in toStringParts() 1138 getOrDefault(SCREENLAYOUT_ROUND_VALUES, screenLayoutRound(), "")); in toStringParts() 1139 result.put(Type.COLOR_MODE_HDR, getOrDefault(COLOR_MODE_HDR_VALUES, colorModeHdr(), "")); in toStringParts() 1142 getOrDefault(COLOR_MODE_WIDE_COLOR_GAMUT_VALUES, colorModeWideColorGamut(), "")); in toStringParts() 1143 result.put(Type.ORIENTATION, getOrDefault(ORIENTATION_VALUES, orientation, "")); in toStringParts() 1144 result.put(Type.UI_MODE_TYPE, getOrDefault(UI_MODE_TYPE_VALUES, uiModeType(), "")); in toStringParts() 1145 result.put(Type.UI_MODE_NIGHT, getOrDefault(UI_MODE_NIGHT_VALUES, uiModeNight(), "")); in toStringParts() 1146 result.put(Type.DENSITY_DPI, getOrDefault(DENSITY_DPI_VALUES, density, density + "dpi")); in toStringParts() [all …]
|
D | ResTableTheme.java | 8 import static org.robolectric.res.android.ResTable.getOrDefault; 231 final List<Type> typeList = getOrDefault(grp.types, t, Collections.emptyList()); in applyStyle()
|
D | ResTable.java | 523 … final List<Type> typeList = getOrDefault(packageGroup.types, typeIndex, Collections.emptyList()); 982 List<Type> typeList = getOrDefault(group.types, (int) typeIndex, Collections.emptyList()); 1262 List<Type> typeList = getOrDefault(group.types, typeIndex, Collections.emptyList()); 2740 final List<Type> typeConfigs = getOrDefault(grp.types, t, Collections.emptyList()); in getBagLocked() 3069 static <K, V> V getOrDefault(Map<K, V> map, K key, V defaultValue) { in getOrDefault() method
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricProcessor.java | 122 jsonDocsDir = new File(options.getOrDefault(JSON_DOCS_DIR, "build/docs/json")); in processOptions() 124 SdkCheckMode.valueOf(options.getOrDefault(SDK_CHECK_MODE, "WARN").toUpperCase()); in processOptions()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowProcess.java | 94 return threadPriorities.getOrDefault(tid, 0); in getThreadPriority()
|
/external/icu/icu4c/source/i18n/ |
D | number_padding.cpp | 59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
|
D | number_types.h | 340 T getOrDefault(T defaultValue) const { in getOrDefault() function
|
D | number_mapper.cpp | 86 UCurrencyUsage currencyUsage = properties.currencyUsage.getOrDefault(UCURR_USAGE_STANDARD); in oldToNew() 105 RoundingMode roundingMode = properties.roundingMode.getOrDefault(UNUM_ROUND_HALFEVEN); in oldToNew()
|
D | numparse_impl.cpp | 99 bool isStrict = properties.parseMode.getOrDefault(PARSE_MODE_STRICT) == PARSE_MODE_STRICT; in createParserFromProperties()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | IsolatedOptionsData.java | 152 return nameToField.getOrDefault(name, oldNameToField.get(name));
|
/external/doclava/src/com/google/doclava/ |
D | Stubs.java | 1717 final String level = Doclava.manifestPermissions.getOrDefault(perm, null);
|