Searched refs:BridgeTypedArray (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
D | BridgeTypedArrayTest.java | 40 assertEquals(TYPE_NULL, BridgeTypedArray.getType(null)); in getType() 41 assertEquals(TYPE_STRING, BridgeTypedArray.getType("")); in getType() 42 assertEquals(TYPE_REFERENCE, BridgeTypedArray.getType("@drawable/my_drawable")); in getType() 43 assertEquals(TYPE_ATTRIBUTE, BridgeTypedArray.getType("?attr/colorPrimary")); in getType() 44 assertEquals(TYPE_INT_BOOLEAN, BridgeTypedArray.getType("true")); in getType() 45 assertEquals(TYPE_STRING, BridgeTypedArray.getType("False")); in getType() 46 assertEquals(TYPE_INT_HEX, BridgeTypedArray.getType("0xffa39d")); in getType() 47 assertEquals(TYPE_STRING, BridgeTypedArray.getType("0xnothex")); in getType() 48 assertEquals(TYPE_INT_COLOR_RGB4, BridgeTypedArray.getType("#f34")); in getType() 49 assertEquals(TYPE_INT_COLOR_ARGB4, BridgeTypedArray.getType("#2f34")); in getType() [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Theme_Delegate.java | 59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() 72 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() 84 … BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes(set, in obtainStyledAttributes()
|
D | TypedArray_Delegate.java | 33 return BridgeTypedArray.obtain(res, len); in obtain()
|
D | BridgeTypedArray.java | 74 public final class BridgeTypedArray extends TypedArray { class 91 public BridgeTypedArray(Resources resources, BridgeContext context, int len) { in BridgeTypedArray() method in BridgeTypedArray 1058 return new BridgeTypedArray(res, null, len); in obtain()
|
D | Resources_Delegate.java | 127 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray() 128 return new BridgeTypedArray(resources, getContext(resources), numEntries); in newTypeArray() 533 BridgeTypedArray ta = context.internalObtainStyledAttributes(set, attrs, 0, 0); in obtainAttributes() 559 BridgeTypedArray typedArray = newTypeArray(resources, length); in obtainTypedArray()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 69 import android.content.res.BridgeTypedArray; 760 public final BridgeTypedArray internalObtainStyledAttributes(int resId, int[] attrs) in internalObtainStyledAttributes() 787 Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> typeArrayAndPropertiesPair = in internalObtainStyledAttributes() 816 public BridgeTypedArray internalObtainStyledAttributes(@Nullable AttributeSet set, int[] attrs, in internalObtainStyledAttributes() 855 BridgeTypedArray ta = in internalObtainStyledAttributes() 1110 … private Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> createStyleBasedTypedArray( in createStyleBasedTypedArray() 1114 BridgeTypedArray ta = in createStyleBasedTypedArray() 2283 Map<Integer, Pair<BridgeTypedArray, 2290 public Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> get(int[] attrs, in get() 2292 Map<List<StyleResourceValue>, Map<Integer, Pair<BridgeTypedArray, Map<ResourceReference, in get() [all …]
|