/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
CustomView.java | 14 attributeResourceValue = attrs.getAttributeResourceValue("some namespace", "message", -1);
|
/frameworks/base/core/java/android/util/ |
XmlPullAttributes.java | 69 public int getAttributeResourceValue(String namespace, String attribute, 107 public int getAttributeResourceValue(int index, int defaultValue) { 139 return getAttributeResourceValue(null, "id", defaultValue); 143 return getAttributeResourceValue(null, "style", 0);
|
AttributeSet.java | 30 * (with {@link #getAttributeResourceValue(int, int)}) and do the resource 114 * <p>Note that this is different than {@link #getAttributeResourceValue} 165 public int getAttributeResourceValue(String namespace, String attribute, 243 public int getAttributeResourceValue(int index, int defaultValue); 296 * Equivalent to getAttributeResourceValue(null, "id", defaultValue); 306 * Equivalent to getAttributeResourceValue(null, "style").
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
TestAttributeSetTest.java | 37 assertThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(android.R.id.text1)); 44 assertEquals(0, testAttributeSet.getAttributeResourceValue("android", "id", 0)); 51 assertEquals(0, testAttributeSet.getAttributeResourceValue("com.some.namespace", "id", 0)); 59 assertThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(android.R.id.text1)); 67 assertThat(testAttributeSet.getAttributeResourceValue("android", "id", 0), equalTo(R.id.text1)); 75 assertThat(testAttributeSet.getAttributeResourceValue("com.some.namespace", "message", 0), equalTo(R.string.howdy)); 83 assertThat(testAttributeSet.getAttributeResourceValue("com.some.namespace", "message", 0), equalTo(R.string.howdy)); 89 assertThat(testAttributeSet.getAttributeResourceValue("com.some.namespace", "message", -1), equalTo(-1));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeLayoutParamsMapAttributes.java | 91 public int getAttributeResourceValue(String namespace, String attribute, 126 public int getAttributeResourceValue(int index, int defaultValue) {
|
BridgeXmlBlockParser.java | 456 public int getAttributeResourceValue(int index, int defaultValue) { 457 return mAttrib.getAttributeResourceValue(index, defaultValue); 461 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 462 return mAttrib.getAttributeResourceValue(namespace, attribute, defaultValue);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTextView.java | 393 int textResId = attributeSet.getAttributeResourceValue("android", "text", 0); 404 int colorResId = attributeSet.getAttributeResourceValue("android", "textColor", 0); 417 int textResId = attributeSet.getAttributeResourceValue("android", "hint", 0); 429 int colorResId = attributeSet.getAttributeResourceValue("android", "hintColor", 0); 440 attributeSet.getAttributeResourceValue("android", "drawableLeft", 0), 441 attributeSet.getAttributeResourceValue("android", "drawableTop", 0), 442 attributeSet.getAttributeResourceValue("android", "drawableRight", 0), 443 attributeSet.getAttributeResourceValue("android", "drawableBottom", 0));
|
ShadowImageView.java | 159 setImageResource(attributeSet.getAttributeResourceValue(
|
ShadowView.java | 784 Integer id = attributeSet.getAttributeResourceValue("android", "id", 0); 821 setBackgroundResource(attributeSet.getAttributeResourceValue("android", "background", 0)); 870 int resId = attributeSet.getAttributeResourceValue("android", "contentDescription", 0);
|
/external/replicaisland/src/com/replica/replicaisland/ |
LevelTree.java | 122 final int value = parser.getAttributeResourceValue(i, -1); 149 final int value = parser.getAttributeResourceValue(i, -1); 161 final int value = parser.getAttributeResourceValue(i, -1); 174 final int value = parser.getAttributeResourceValue(i, -1);
|
ConversationUtils.java | 62 final int value = parser.getAttributeResourceValue(i, -1);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
MenuLoader.java | 164 .getAttributeResourceValue("android", "id", 0), 170 .getAttributeResourceValue("android", "id", 0), 174 int newGroupId = attributes.getAttributeResourceValue("android", "id", 0);
|
ViewLoader.java | 222 int id = attributeSet.getAttributeResourceValue("android", "id", 0);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 463 int skbTemplateId = xrp.getAttributeResourceValue(null, 641 int popupSkbId = xrp.getAttributeResourceValue(null, 754 int resId = xrp.getAttributeResourceValue(null, name, 0); 771 int resId = xrp.getAttributeResourceValue(null, name, 0); [all...] |
/frameworks/base/core/java/android/content/res/ |
XmlBlock.java | 330 public int getAttributeResourceValue(String namespace, String attribute, 334 return getAttributeResourceValue(idx, defaultValue); 385 public int getAttributeResourceValue(int idx, int defaultValue) { 436 return getAttributeResourceValue(null, "id", defaultValue);
|
ColorStateList.java | 209 colorRes = attrs.getAttributeResourceValue(i, 0);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
TestAttributeSet.java | 132 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 142 public int getAttributeResourceValue(int resourceId, int defaultValue) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 116 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { 197 public int getAttributeResourceValue(int index, int defaultValue) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
LayoutInflater_Delegate.java | 85 final int layout = attrs.getAttributeResourceValue(null, "layout", 0);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
SymbolList.java | 127 int resId = xrp.getAttributeResourceValue(null, name, 0);
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
ActionBarHelperBase.java | 268 itemId = parser.getAttributeResourceValue(MENU_RES_NAMESPACE,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 165 drawableRes = attrs.getAttributeResourceValue(i, 0);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsUtils.java | 221 int resId = xml.getAttributeResourceValue(null, name, 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 56 int bitmapRsc = attrs.getAttributeResourceValue(
|
/frameworks/base/core/java/android/view/ |
LayoutInflater.java | 783 final int layout = attrs.getAttributeResourceValue(null, "layout", 0); [all...] |