Lines Matching refs:value

82      * Retrieve the styled string value for the attribute at <var>index</var>.
110 * Retrieve the string value for the attribute at <var>index</var>.
139 * Retrieve the string value for the attribute at <var>index</var>, but
140 * only if that string comes from an immediate value in an XML file. That
150 * an immediate string value.
168 * Retrieve the string value for the attribute at <var>index</var> that is
203 * Retrieve the boolean value for the attribute at <var>index</var>.
208 * @return Attribute boolean value, or defValue if not defined.
233 * Retrieve the integer value for the attribute at <var>index</var>.
238 * @return Attribute int value, or defValue if not defined.
263 * Retrieve the float value for the attribute at <var>index</var>.
267 * @return Attribute float value, or defValue if not defined..
296 * Retrieve the color value for the attribute at <var>index</var>. If
305 * @return Attribute color value, or defValue if not defined.
317 final TypedValue value = mValue;
318 if (getValueAt(index, value)) {
320 value, value.resourceId);
332 * The value may be either a single solid color or a reference to
340 final TypedValue value = mValue;
341 if (getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, value)) {
342 return mResources.loadColorStateList(value, value.resourceId);
348 * Retrieve the integer value for the attribute at <var>index</var>.
354 * @return Attribute integer value, or defValue if not defined.
381 * @return Attribute dimension value multiplied by the appropriate
405 * {@link #getDimension}, except the returned value is converted to
407 * truncating the base value to an integer.
413 * @return Attribute dimension value multiplied by the appropriate
437 * {@link #getDimension}, except the returned value is converted to
439 * rounding the base value, and ensuring that a non-zero base value
446 * @return Attribute dimension value multiplied by the appropriate
476 * @return Attribute dimension value multiplied by the appropriate
502 * @param defValue The default value to return if this attribute is not
505 * @return Attribute dimension value multiplied by the appropriate
527 * @param base The base value of this fraction. In other words, a
528 * standard fraction is multiplied by this value.
529 * @param pbase The parent base value of this fraction. In other
531 * value.
535 * @return Attribute fractional value multiplied by the appropriate
536 * base value, or defValue if not defined.
558 * final resource value that was found, <em>not</em> necessarily the
590 final TypedValue value = mValue;
591 if (getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, value)) {
595 + value.type
596 + " str=" + value.string
597 + " int=0x" + Integer.toHexString(value.data)
598 + " cookie=" + value.assetCookie);
601 return mResources.loadDrawable(value, value.resourceId);
617 final TypedValue value = mValue;
618 if (getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, value)) {
622 + value.type
623 + " str=" + value.string
624 + " int=0x" + Integer.toHexString(value.data)
625 + " cookie=" + value.assetCookie);
628 return mResources.getTextArray(value.resourceId);
640 * @return Returns true if the value was retrieved, else false.
651 * @return True if the attribute has a value, false otherwise.
672 final TypedValue value = mValue;
673 if (getValueAt(index*AssetManager.STYLE_NUM_ENTRIES, value)) {
674 return value;