Lines Matching defs:inset
41 * <p>It can be defined in an XML file with the <code><inset></code> element. For more
65 * Creates a new inset drawable with the specified inset.
67 * @param drawable The drawable to inset.
68 * @param inset Inset in pixels around the drawable.
70 public InsetDrawable(Drawable drawable, int inset) {
71 this(drawable, inset, inset, inset, inset);
75 * Creates a new inset drawable with the specified insets.
77 * @param drawable The drawable to inset.
78 * @param insetLeft Left inset in pixels.
79 * @param insetTop Top inset in pixels.
80 * @param insetRight Right inset in pixels.
81 * @param insetBottom Bottom inset in pixels.
112 + ": <inset> tag requires a 'drawable' attribute or "
133 final int inset = a.getDimensionPixelOffset(attr, Integer.MIN_VALUE);
134 if (inset != Integer.MIN_VALUE) {
135 state.mInsetLeft = inset;
136 state.mInsetTop = inset;
137 state.mInsetRight = inset;
138 state.mInsetBottom = inset;
225 // Apply inset bounds to the wrapped drawable.