Home
last modified time | relevance | path

Searched refs:resValue (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java249 if (resValue != null) { in getColorStateList()
271 assert resValue != null; in getText()
272 if (resValue != null) { in getText()
290 assert resValue != null; in getText()
291 if (resValue != null) { in getText()
309 if (resValue == null) { in getTextArray()
324 if (resValue == null) { in getStringArray()
346 resValue.getNamespace(), resValue.getNamespaceResolver()); in resolveValues()
364 resValue.getNamespace(), resValue.getNamespaceResolver()); in getIntArray()
431 if (resValue != null) { in getArrayResourceValue()
[all …]
H A DBridgeTypedArray.java581 ResourceValue resValue = mResourceData[index]; in getResourceId() local
584 if (resValue == null) { in getResourceId()
589 if (resValue instanceof StyleResourceValue) { in getResourceId()
591 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue); in getResourceId()
597 if (!(resValue instanceof UnresolvedResourceValue)) { in getResourceId()
598 return mContext.getResourceId(resValue.asReference(), defValue); in getResourceId()
602 String value = resValue.getValue(); in getResourceId()
611 ResourceNamespace contextNamespace = resValue.getNamespace(); in getResourceId()
612 Resolver namespaceResolver = resValue.getNamespaceResolver(); in getResourceId()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DSysUINavigationMode.java50 public final int resValue; field in SysUINavigationMode.Mode
53 Mode(boolean hasGestures, int resValue, LauncherEvent launcherEvent) { in Mode() argument
55 this.resValue = resValue; in Mode()
149 if (m.resValue == modeInt) { in initializeMode()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java156 private static ComplexColor getInternalComplexColor(@NonNull ResourceValue resValue, in getInternalComplexColor() argument
158 String value = resValue.getValue(); in getInternalComplexColor()
177 BridgeXmlBlockParser blockParser = getXmlBlockParser(context, resValue); in getInternalComplexColor()
234 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, in getColorStateList() argument
236 return (ColorStateList) getInternalComplexColor(resValue, context, in getColorStateList()
249 public static ComplexColor getComplexColor(@NonNull ResourceValue resValue, in getComplexColor() argument
251 return getInternalComplexColor(resValue, context, in getComplexColor()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java510 ResourceValue resValue = mRenderResources.getResolvedResource(layout); in inflateView() local
512 if (resValue != null) { in inflateView()
513 String path = resValue.getValue(); in inflateView()
1050 ResourceValue resValue; in createStyleBasedTypedArray() local
1057 if (resValue != null) { in createStyleBasedTypedArray()
1058 defaultPropMap.put(attrHolder.asReference(), resValue); in createStyleBasedTypedArray() local
1060 resValue = mRenderResources.resolveResValue(resValue); in createStyleBasedTypedArray()
1064 resValue); in createStyleBasedTypedArray()
1121 public int getDynamicIdByStyle(StyleResourceValue resValue) { in getDynamicIdByStyle() argument
1122 if (resValue.isFramework()) { in getDynamicIdByStyle()
[all …]
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A DQuickViewIntentBuilder.java162 String resValue = mResources.getString(R.string.trusted_quick_viewer_package); in getQuickViewPackage() local
165 if (IGNORE_DEBUG_PROP.equals(resValue)) { in getQuickViewPackage()
177 return resValue; in getQuickViewPackage()
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
H A DXmlParserUtils.java87 final int resValue = Integer.parseInt(keywordRes.substring(1)); in getDataKeywords() local
88 return context.getString(resValue); in getDataKeywords()
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DNavigationModeSwitchRule.java158 resValue);
178 if (LauncherInstrumentation.getNavigationModel(newMode.resValue)