Lines Matching refs:type
47 /** Identifies the start of plain integer values. Any type value
166 /** The type held by this value, as defined by the constants here.
168 public int type;
173 /** Basic data in the value, interpreted according to {@link #type} */
195 * whose type is {@link #TYPE_FLOAT}. */
315 * Return the complex unit type for this value. For example, a dimen type
317 * whose type is {@link #TYPE_DIMENSION}.
319 * @return The complex unit type.
361 * whose type is {@link #TYPE_DIMENSION}.
403 * type is {@link #TYPE_FRACTION}.
420 * Regardless of the actual type of the value, try to convert it to a
421 * string value. For example, a color type will be converted to a
425 * null or the type is not known, null is returned.
429 int t = type;
444 * Perform type conversion as per {@link #coerceToString()} on an
445 * explicitly supplied type and data.
447 * @param type The data type identifier.
451 * null or the type is not known, null is returned.
453 public static final String coerceToString(int type, int data)
455 switch (type) {
476 if (type >= TYPE_FIRST_COLOR_INT && type <= TYPE_LAST_COLOR_INT) {
478 } else if (type >= TYPE_FIRST_INT && type <= TYPE_LAST_INT) {
487 type = other.type;
498 sb.append("TypedValue{t=0x").append(Integer.toHexString(type));
500 if (type == TYPE_STRING) {