Home
last modified time | relevance | path

Searched refs:getOrDefault (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java1128 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 …]
DResTableTheme.java8 import static org.robolectric.res.android.ResTable.getOrDefault;
231 final List<Type> typeList = getOrDefault(grp.types, t, Collections.emptyList()); in applyStyle()
DResTable.java523 … 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/
DRobolectricProcessor.java122 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/
DShadowProcess.java94 return threadPriorities.getOrDefault(tid, 0); in getThreadPriority()
/external/icu/icu4c/source/i18n/
Dnumber_padding.cpp59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
Dnumber_types.h340 T getOrDefault(T defaultValue) const { in getOrDefault() function
Dnumber_mapper.cpp86 UCurrencyUsage currencyUsage = properties.currencyUsage.getOrDefault(UCURR_USAGE_STANDARD); in oldToNew()
105 RoundingMode roundingMode = properties.roundingMode.getOrDefault(UNUM_ROUND_HALFEVEN); in oldToNew()
Dnumparse_impl.cpp99 bool isStrict = properties.parseMode.getOrDefault(PARSE_MODE_STRICT) == PARSE_MODE_STRICT; in createParserFromProperties()
/external/desugar/java/com/google/devtools/common/options/
DIsolatedOptionsData.java152 return nameToField.getOrDefault(name, oldNameToField.get(name));
/external/doclava/src/com/google/doclava/
DStubs.java1717 final String level = Doclava.manifestPermissions.getOrDefault(perm, null);