Home
last modified time | relevance | path

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

/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java133 public boolean isPartnerConfigAvailable(PartnerConfig resourceConfig) { in isPartnerConfigAvailable() argument
134 return isAvailable() && resultBundle.containsKey(resourceConfig.getResourceName()); in isPartnerConfigAvailable()
146 public int getColor(@NonNull Context context, PartnerConfig resourceConfig) { in getColor() argument
147 if (resourceConfig.getResourceType() != ResourceType.COLOR) { in getColor()
151 if (partnerResourceCache.containsKey(resourceConfig)) { in getColor()
152 return (int) partnerResourceCache.get(resourceConfig); in getColor()
158 getResourceEntryFromKey(context, resourceConfig.getResourceName()); in getColor()
174 partnerResourceCache.put(resourceConfig, result); in getColor()
190 public Drawable getDrawable(@NonNull Context context, PartnerConfig resourceConfig) { in getDrawable() argument
191 if (resourceConfig.getResourceType() != ResourceType.DRAWABLE) { in getDrawable()
[all …]