Searched refs:BridgeConstants (Results 1 – 7 of 7) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/util/ |
D | BridgeXmlPullAttributesTest.java | 23 import com.android.layoutlib.bridge.BridgeConstants; 43 when(parser.getAttributeValue(BridgeConstants.NS_RESOURCES, "layout_width")) in testGetAttributeIntValueForEnums() 46 when(parser.getAttributeNamespace(0)).thenReturn(BridgeConstants.NS_RESOURCES); in testGetAttributeIntValueForEnums() 48 when(parser.getAttributeValue(BridgeConstants.NS_APP_RES_AUTO, "my_custom_attr")) in testGetAttributeIntValueForEnums() 51 when(parser.getAttributeNamespace(1)).thenReturn(BridgeConstants.NS_APP_RES_AUTO); in testGetAttributeIntValueForEnums() 82 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums() 86 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums() 91 assertEquals(1, attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, in testGetAttributeIntValueForEnums() 94 assertEquals(2, attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, in testGetAttributeIntValueForEnums() 100 attributes.getAttributeIntValue(BridgeConstants.NS_APP_RES_AUTO, "my_custom_attr", 500); in testGetAttributeIntValueForEnums() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 27 import com.android.layoutlib.bridge.BridgeConstants; 445 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext() 450 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext() 457 int attrItemCountValue = attrs.getAttributeIntValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() 458 BridgeConstants.ATTR_ITEM_COUNT, -1); in setupViewInContext() 462 BridgeConstants.NS_TOOLS_URI, BridgeConstants.ATTR_LIST_ITEM); in setupViewInContext() 469 String attrVal = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext() 470 BridgeConstants.ATTR_OPEN_DRAWER); in setupViewInContext() 477 String minValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "minValue"); in setupViewInContext() 481 String maxValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "maxValue"); in setupViewInContext() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeLayoutParamsMapAttributes.java | 19 import com.android.layoutlib.bridge.BridgeConstants; 42 if (BridgeConstants.NS_RESOURCES.equals(namespace)) { in getAttributeValue()
|
D | BridgeContext.java | 32 import com.android.layoutlib.bridge.BridgeConstants; 837 value = set.getAttributeValue(BridgeConstants.NS_APP_RES_AUTO, attrName); in internalObtainStyledAttributes()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeConstants.java | 37 public class BridgeConstants { class
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 24 import com.android.layoutlib.bridge.BridgeConstants; 103 if (BridgeConstants.NS_RESOURCES.equals(ns)) { in getAttributeNameResource() 184 if (BridgeConstants.NS_RESOURCES.equals(namespace)) { in getAttributeIntValue()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 33 import com.android.layoutlib.bridge.BridgeConstants; 582 if (v.equals(BridgeConstants.MATCH_PARENT) || in getDimension() 583 v.equals(BridgeConstants.FILL_PARENT)) { in getDimension() 585 } else if (v.equals(BridgeConstants.WRAP_CONTENT)) { in getDimension()
|