Home
last modified time | relevance | path

Searched refs:attributeSet (Results 1 – 22 of 22) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowView.java76 protected AttributeSet attributeSet; field in ShadowView
93 public void __constructor__(Context context, AttributeSet attributeSet) { in __constructor__() argument
94 __constructor__(context, attributeSet, 0); in __constructor__()
97 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { in __constructor__() argument
99 this.attributeSet = attributeSet; in __constructor__()
101 if (attributeSet != null) { in __constructor__()
778 … Boolean focusRequested = attributeSet.getAttributeBooleanValue("android", "focus", false); in applyFocus()
786 Integer id = attributeSet.getAttributeResourceValue("android", "id", 0); in applyIdAttribute()
793 Object tag = attributeSet.getAttributeValue("android", "tag"); in applyTagAttribute()
800 String visibility = attributeSet.getAttributeValue("android", "visibility"); in applyVisibilityAttribute()
[all …]
DShadowPreference.java39 public void __constructor__(Context context, AttributeSet attributeSet) { in __constructor__() argument
40 __constructor__(context, attributeSet, 0); in __constructor__()
43 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { in __constructor__() argument
45 this.attrs = attributeSet; in __constructor__()
48 if (attributeSet != null) { in __constructor__()
49 key = attributeSet.getAttributeValue("android", "key"); in __constructor__()
DShadowTextView.java390 String text = attributeSet.getAttributeValue("android", "text"); in applyTextAttribute()
393 int textResId = attributeSet.getAttributeResourceValue("android", "text", 0); in applyTextAttribute()
401 String colorValue = attributeSet.getAttributeValue("android", "textColor"); in applyTextColorAttribute()
404 int colorResId = attributeSet.getAttributeResourceValue("android", "textColor", 0); in applyTextColorAttribute()
414 String hint = attributeSet.getAttributeValue("android", "hint"); in applyHintAttribute()
417 int textResId = attributeSet.getAttributeResourceValue("android", "hint", 0); in applyHintAttribute()
426 String colorValue = attributeSet.getAttributeValue("android", "hintColor"); in applyHintColorAttribute()
429 int colorResId = attributeSet.getAttributeResourceValue("android", "hintColor", 0); in applyHintColorAttribute()
440 attributeSet.getAttributeResourceValue("android", "drawableLeft", 0), in applyCompoundDrawablesWithIntrinsicBoundsAttributes()
441 attributeSet.getAttributeResourceValue("android", "drawableTop", 0), in applyCompoundDrawablesWithIntrinsicBoundsAttributes()
[all …]
DShadowRatingBar.java21 setIsIndicator(attributeSet.getAttributeBooleanValue("android", "isIndicator", false)); in applyAttributes()
22 final int numStars = attributeSet.getAttributeIntValue("android", "numStars", mNumStars); in applyAttributes()
23 final float rating = attributeSet.getAttributeFloatValue("android", "rating", -1); in applyAttributes()
24 final float stepSize = attributeSet.getAttributeFloatValue("android", "stepSize", -1); in applyAttributes()
DShadowFrameLayout.java19 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { in __constructor__() argument
21 super.__constructor__(context, attributeSet, defStyle); in __constructor__()
DShadowViewStub.java29 String inflatedId = attributeSet.getAttributeValue("android", "inflatedId"); in applyAttributes()
34 String layoutResId = attributeSet.getAttributeValue("android", "layout"); in applyAttributes()
DShadowImageView.java156 String source = attributeSet.getAttributeValue("android", "src"); in applyImageAttribute()
159 setImageResource(attributeSet.getAttributeResourceValue( in applyImageAttribute()
DShadowWebView.java39 public void __constructor__(Context context, AttributeSet attributeSet) { in __constructor__() argument
40 super.__constructor__(context, attributeSet); in __constructor__()
DShadowCompoundButton.java21 setChecked(this.attributeSet.getAttributeBooleanValue("android", "checked", false)); in applyAttributes()
DShadowProgressBar.java20 final int max = attributeSet.getAttributeIntValue("android", "max", this.max); in applyAttributes()
DShadowEditText.java27 maxLength = attributeSet.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE); in applyAttributes()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp441 TiXmlAttribute* node = attributeSet.Find( str ); in RemoveAttribute()
443 TiXmlAttribute* node = attributeSet.Find( name ); in RemoveAttribute()
447 attributeSet.Remove( node ); in RemoveAttribute()
568 while( attributeSet.First() ) in ClearThis()
570 TiXmlAttribute* node = attributeSet.First(); in ClearThis()
571 attributeSet.Remove( node ); in ClearThis()
579 const TiXmlAttribute* node = attributeSet.Find( name ); in Attribute()
589 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute()
599 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute()
615 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute()
[all …]
Dtinyxml.h1026 const TiXmlAttribute* node = attributeSet.Find( name ); in QueryValueAttribute()
1039 const TiXmlAttribute* node = attributeSet.Find( name ); in QueryValueAttribute()
1084 …const TiXmlAttribute* FirstAttribute() const { return attributeSet.First(); } ///< Access the fir… in FirstAttribute()
1085 TiXmlAttribute* FirstAttribute() { return attributeSet.First(); } in FirstAttribute()
1086 …const TiXmlAttribute* LastAttribute() const { return attributeSet.Last(); } ///< Access the last… in LastAttribute()
1087 TiXmlAttribute* LastAttribute() { return attributeSet.Last(); } in LastAttribute()
1156 TiXmlAttributeSet attributeSet;
Dtinyxmlparser.cpp1161 TiXmlAttribute* node = attributeSet.Find( attrib->NameTStr() ); in Parse()
1163 TiXmlAttribute* node = attributeSet.Find( attrib->Name() ); in Parse()
1172 attributeSet.Add( attrib ); in Parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DScientificNumberFormatter.java169 Map<Attribute, Object> attributeSet = iterator.getAttributes(); in format() local
170 if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SYMBOL)) { in format()
180 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { in format()
218 Map<Attribute, Object> attributeSet = iterator.getAttributes(); in format() local
219 if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SYMBOL)) { in format()
228 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SIGN)) { in format()
251 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { in format()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DScientificNumberFormatter.java158 Map<Attribute, Object> attributeSet = iterator.getAttributes(); in format() local
159 if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SYMBOL)) { in format()
169 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { in format()
207 Map<Attribute, Object> attributeSet = iterator.getAttributes(); in format() local
208 if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SYMBOL)) { in format()
217 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT_SIGN)) { in format()
240 } else if (attributeSet.containsKey(NumberFormat.Field.EXPONENT)) { in format()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DViewLoader.java208 …TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLo… in constructFragment() local
210 attributeSet.validateStrictI18n(); in constructFragment()
221 String tag = attributeSet.getAttributeValue("android", "tag"); in constructFragment()
222 int id = attributeSet.getAttributeResourceValue("android", "id", 0); in constructFragment()
245 …TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLo… in constructView() local
247 attributeSet.validateStrictI18n(); in constructView()
249 …View>) clazz.getConstructor(Context.class, AttributeSet.class)).newInstance(context, attributeSet); in constructView()
DPreferenceLoader.java128 TestAttributeSet attributeSet = new TestAttributeSet(attributes); in constructPreference() local
130 attributeSet.validateStrictI18n(); in constructPreference()
132 …ence>) clazz.getConstructor(Context.class, AttributeSet.class)).newInstance(context, attributeSet); in constructPreference()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DShadowEditTextTest.java21 TestAttributeSet attributeSet = new TestAttributeSet(hash); in shouldRespectMaxLength() local
22 EditText editText = new EditText(Robolectric.application, attributeSet); in shouldRespectMaxLength()
/external/tinyxml/
Dtinyxml.cpp466 TiXmlAttribute* node = attributeSet.Find( name ); in RemoveAttribute()
469 attributeSet.Remove( node ); in RemoveAttribute()
653 while( attributeSet.First() ) in ClearThis()
655 TiXmlAttribute* node = attributeSet.First(); in ClearThis()
656 attributeSet.Remove( node ); in ClearThis()
664 const TiXmlAttribute* node = attributeSet.Find( name ); in Attribute()
703 const TiXmlAttribute* node = attributeSet.Find( name ); in QueryIntAttribute()
713 const TiXmlAttribute* node = attributeSet.Find( name ); in QueryDoubleAttribute()
747 TiXmlAttribute* node = attributeSet.Find( name ); in SetAttribute()
757 attributeSet.Add( attrib ); in SetAttribute()
[all …]
Dtinyxml.h948 …const TiXmlAttribute* FirstAttribute() const { return attributeSet.First(); } ///< Access the fir… in FirstAttribute()
949 TiXmlAttribute* FirstAttribute() { return attributeSet.First(); } in FirstAttribute()
950 …const TiXmlAttribute* LastAttribute() const { return attributeSet.Last(); } ///< Access the last… in LastAttribute()
951 TiXmlAttribute* LastAttribute() { return attributeSet.Last(); } in LastAttribute()
1016 TiXmlAttributeSet attributeSet;
Dtinyxmlparser.cpp1119 TiXmlAttribute* node = attributeSet.Find( attrib->Name() ); in Parse()
1127 attributeSet.Add( attrib ); in Parse()