Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java20 import com.android.layoutlib.bridge.BridgeConstants;
39 when(parser.getAttributeValue(BridgeConstants.NS_RESOURCES, "layout_width")) in testGetAttributeIntValueForEnums()
42 when(parser.getAttributeNamespace(0)).thenReturn(BridgeConstants.NS_RESOURCES); in testGetAttributeIntValueForEnums()
74 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
78 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java25 import com.android.layoutlib.bridge.BridgeConstants;
417 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext()
422 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext()
429 String attrListItemValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
430 BridgeConstants.ATTR_LIST_ITEM); in setupViewInContext()
431 int attrItemCountValue = attrs.getAttributeIntValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
432 BridgeConstants.ATTR_ITEM_COUNT, -1); in setupViewInContext()
448 String attrVal = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, in setupViewInContext()
449 BridgeConstants.ATTR_OPEN_DRAWER); in setupViewInContext()
456 String minValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "minValue"); in setupViewInContext()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java19 import com.android.layoutlib.bridge.BridgeConstants;
42 if (BridgeConstants.NS_RESOURCES.equals(namespace)) { in getAttributeValue()
DBridgeContext.java31 import com.android.layoutlib.bridge.BridgeConstants;
878 frameworkAttr ? BridgeConstants.NS_RESOURCES : appNamespace, in internalObtainStyledAttributes()
884 value = set.getAttributeValue(BridgeConstants.NS_APP_RES_AUTO, attrName); in internalObtainStyledAttributes()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeConstants.java37 public class BridgeConstants { class
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java24 import com.android.layoutlib.bridge.BridgeConstants;
85 if (BridgeConstants.NS_RESOURCES.equals(ns)) { in getAttributeNameResource()
164 Map<String, Integer> enumValues = BridgeConstants.NS_RESOURCES.equals(namespace) ? in getAttributeIntValue()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java28 import com.android.layoutlib.bridge.BridgeConstants;
545 if (v.equals(BridgeConstants.MATCH_PARENT) || in getDimension()
546 v.equals(BridgeConstants.FILL_PARENT)) { in getDimension()
548 } else if (v.equals(BridgeConstants.WRAP_CONTENT)) { in getDimension()