Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java27 import com.android.layoutlib.bridge.impl.ResourceHelper;
178 Drawable d = ResourceHelper.getDrawable(backgroundValue, bridgeContext); in setStyle()
199 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out, in setStyle()
211 ColorStateList stateList = ResourceHelper.getColorStateList( in setStyle()
243 boolean translucent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor()
249 boolean transparent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor()
268 return ResourceHelper.getColor(resource.getValue()); in getColor()
DFrameworkActionBar.java26 import com.android.layoutlib.bridge.impl.ResourceHelper;
232 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/); in getPixelValue()
247 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(), in getActionBarHeight()
DAppCompatActionBar.java27 import com.android.layoutlib.bridge.impl.ResourceHelper;
203 return ResourceHelper.getDrawable(value, mBridgeContext); in getDrawable()
DFrameworkActionBarWrapper.java30 import com.android.layoutlib.bridge.impl.ResourceHelper;
373 return ResourceHelper.getDrawable(value, mContext); in getDrawable()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java28 import com.android.layoutlib.bridge.impl.ResourceHelper;
293 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor()
308 return ResourceHelper.getColorStateList(mResourceData[index], mContext); in getColorStateList()
317 return ResourceHelper.getComplexColor(mResourceData[index], mContext); in getComplexColor()
366 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimension()
484 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimension()
518 if (ResourceHelper.parseFloatAttribute(mNames[index], value, mValue, false)) { in getFraction()
681 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable()
740 return s != null && ResourceHelper.parseFloatAttribute(mNames[index], s, outValue, false); in getValue()
789 if (ResourceHelper.parseFloatAttribute(null, value, new TypedValue(), false)) { in getType()
[all …]
DResources_Delegate.java31 import com.android.layoutlib.bridge.impl.ResourceHelper;
142 return ResourceHelper.getDrawable(value.getSecond(), resources.mContext, theme); in getDrawable()
164 return ResourceHelper.getColor(resourceValue.getValue()); in getColor()
199 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList()
512 if (ResourceHelper.parseFloatAttribute( in getDimension()
540 if (ResourceHelper.parseFloatAttribute( in getDimensionPixelOffset()
569 if (ResourceHelper.parseFloatAttribute( in getDimensionPixelSize()
731 if (ResourceHelper.parseFloatAttribute(value.getFirst(), v, outValue, in getValue()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRectShadowPainter.java19 import com.android.layoutlib.bridge.impl.ResourceHelper;
42 private static final int START_COLOR = ResourceHelper.getColor("#37000000");
43 private static final int END_COLOR = ResourceHelper.getColor("#03000000");
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java25 import com.android.layoutlib.bridge.impl.ResourceHelper;
215 return ResourceHelper.getColor(value); in getAttributeIntValue()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java49 import static com.android.layoutlib.bridge.impl.ResourceHelper.getBooleanThemeValue;
127 Drawable d = ResourceHelper.getDrawable(builder.mWindowBackground, builder.mContext); in Layout()
411 TypedValue typedValue = ResourceHelper.getValue(attr, value.getValue(), true); in getDimension()
DRenderDrawable.java80 Drawable d = ResourceHelper.getDrawable(drawableResource, context); in render()
DResourceHelper.java65 public final class ResourceHelper { class
DRenderSessionImpl.java185 mIsAlphaChannelImage = ResourceHelper.getBooleanThemeValue(params.getResources(), in init()