Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java26 import static com.android.SdkConstants.NS_RESOURCES;
47 parser.getAttributeValue(NS_RESOURCES, "layout_width")); in testDataBindingLayout()
50 parser.getAttributeValue(NS_RESOURCES, "text")); in testDataBindingLayout()
52 parser.getAttributeValue(NS_RESOURCES, "id")); in testDataBindingLayout()
72 parser.getAttributeValue(NS_RESOURCES, "layout_width")); in testNonDataBindingLayout()
75 parser.getAttributeValue(NS_RESOURCES, "text")); in testNonDataBindingLayout()
77 parser.getAttributeValue(NS_RESOURCES, "id")); in testNonDataBindingLayout()
/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java43 when(parser.getAttributeValue(BridgeConstants.NS_RESOURCES, "layout_width")) in testGetAttributeIntValueForEnums()
46 when(parser.getAttributeNamespace(0)).thenReturn(BridgeConstants.NS_RESOURCES); in testGetAttributeIntValueForEnums()
82 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
86 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES, in testGetAttributeIntValueForEnums()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeConstants.java40 public final static String NS_RESOURCES = "http://schemas.android.com/apk/res/android"; field in BridgeConstants
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeLayoutParamsMapAttributes.java42 if (BridgeConstants.NS_RESOURCES.equals(namespace)) { in getAttributeValue()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java103 if (BridgeConstants.NS_RESOURCES.equals(ns)) { in getAttributeNameResource()
184 if (BridgeConstants.NS_RESOURCES.equals(namespace)) { in getAttributeIntValue()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java445 String scrollPosX = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollX"); in setupViewInContext()
450 String scrollPosY = attrs.getAttributeValue(BridgeConstants.NS_RESOURCES, "scrollY"); in setupViewInContext()