Lines Matching refs:attribute

26  * the Resources API will convert resource references (attribute values such as
32 * application of themes and styles when retrieving attribute values.
56 * identifier associated with a particular XML attribute name.
67 * Returns the name of the specified attribute.
69 * @param index Index of the desired attribute, 0...count-1.
71 * @return A String containing the name of the attribute, or null if the
72 * attribute cannot be found.
77 * Returns the value of the specified attribute as a string representation.
79 * @param index Index of the desired attribute, 0...count-1.
81 * @return A String containing the value of the attribute, or null if the
82 * attribute cannot be found.
87 * Returns the value of the specified attribute as a string representation.
88 * The lookup is performed using the attribute name.
90 * @param namespace The namespace of the attribute to get the value from.
91 * @param name The name of the attribute to get the value from.
93 * @return A String containing the value of the attribute, or null if the
94 * attribute cannot be found.
99 * Returns a description of the current position of the attribute set.
100 * For instance, if the attribute set is loaded from an XML document,
109 * Return the resource ID associated with the given attribute name. This
110 * will be the identifier for an attribute resource, which can be used by
112 * attribute.
115 * in that it returns a resource identifier for the attribute name; the
116 * other method returns this attribute's value as a resource identifier.
118 * @param index Index of the desired attribute, 0...count-1.
125 * Return the index of the value of 'attribute' in the list 'options'.
127 * @param namespace Namespace of attribute to retrieve.
128 * @param attribute Name of attribute to retrieve.
130 * @param defaultValue Value returned if attribute doesn't exist or no
135 public int getAttributeListValue(String namespace, String attribute,
139 * Return the boolean value of 'attribute'.
141 * @param namespace Namespace of attribute to retrieve.
142 * @param attribute The attribute to retrieve.
143 * @param defaultValue What to return if the attribute isn't found.
147 public boolean getAttributeBooleanValue(String namespace, String attribute,
151 * Return the value of 'attribute' as a resource identifier.
154 * in that it returns the value contained in this attribute as a
157 * identifier that identifies the name of the attribute.
159 * @param namespace Namespace of attribute to retrieve.
160 * @param attribute The attribute to retrieve.
161 * @param defaultValue What to return if the attribute isn't found.
165 public int getAttributeResourceValue(String namespace, String attribute,
169 * Return the integer value of 'attribute'.
171 * @param namespace Namespace of attribute to retrieve.
172 * @param attribute The attribute to retrieve.
173 * @param defaultValue What to return if the attribute isn't found.
177 public int getAttributeIntValue(String namespace, String attribute,
181 * Return the boolean value of 'attribute' that is formatted as an
185 * @param namespace Namespace of attribute to retrieve.
186 * @param attribute The attribute to retrieve.
187 * @param defaultValue What to return if the attribute isn't found.
191 public int getAttributeUnsignedIntValue(String namespace, String attribute,
195 * Return the float value of 'attribute'.
197 * @param namespace Namespace of attribute to retrieve.
198 * @param attribute The attribute to retrieve.
199 * @param defaultValue What to return if the attribute isn't found.
203 public float getAttributeFloatValue(String namespace, String attribute,
207 * Return the index of the value of attribute at 'index' in the list
210 * @param index Index of the desired attribute, 0...count-1.
212 * @param defaultValue Value returned if attribute doesn't exist or no
220 * Return the boolean value of attribute at 'index'.
222 * @param index Index of the desired attribute, 0...count-1.
223 * @param defaultValue What to return if the attribute isn't found.
230 * Return the value of attribute at 'index' as a resource identifier.
233 * in that it returns the value contained in this attribute as a
236 * identifier that identifies the name of the attribute.
238 * @param index Index of the desired attribute, 0...count-1.
239 * @param defaultValue What to return if the attribute isn't found.
246 * Return the integer value of attribute at 'index'.
248 * @param index Index of the desired attribute, 0...count-1.
249 * @param defaultValue What to return if the attribute isn't found.
256 * Return the integer value of attribute at 'index' that is formatted as an
260 * @param index Index of the desired attribute, 0...count-1.
261 * @param defaultValue What to return if the attribute isn't found.
268 * Return the float value of attribute at 'index'.
270 * @param index Index of the desired attribute, 0...count-1.
271 * @param defaultValue What to return if the attribute isn't found.
278 * Return the value of the "id" attribute or null if there is not one.
281 * @return The id attribute's value or null.
286 * Return the value of the "class" attribute or null if there is not one.
289 * @return The class attribute's value or null.
294 * Return the integer value of the "id" attribute or defaultValue if there
298 * @param defaultValue What to return if the "id" attribute isn't found.
305 * Return the value of the "style" attribute or 0 if there is not one.
308 * @return The style attribute's resource identifier or 0.