Home | History | Annotate | Download | only in widget

Lines Matching refs:drawables

305     static class Drawables {
329 public Drawables(Context context) {
337 // First reset "left" and "right" drawables to their initial values
355 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
470 Drawables mDrawables;
1200 // This call will save the initial left/right drawables
1347 Drawables dr = mDrawables;
1349 mDrawables = dr = new Drawables(getContext());
1737 final Drawables dr = mDrawables;
1750 final Drawables dr = mDrawables;
1763 final Drawables dr = mDrawables;
1776 final Drawables dr = mDrawables;
1931 * Sets the Drawables (if any) to appear to the left of, above,
1933 * want a Drawable there. The Drawables must already have had
1943 Drawables dr = mDrawables;
1945 final boolean drawables = left != null || top != null
1948 if (!drawables) {
1949 // Clearing drawables... can we free the data structure?
1972 mDrawables = dr = new Drawables(getContext());
2043 // Save initial left/right drawables
2056 * Sets the Drawables (if any) to appear to the left of, above,
2058 * want a Drawable there. The Drawables' bounds will be set to
2081 * Sets the Drawables (if any) to appear to the left of, above,
2083 * want a Drawable there. The Drawables' bounds will be set to
2110 * Sets the Drawables (if any) to appear to the start of, above,
2112 * want a Drawable there. The Drawables must already have had
2122 Drawables dr = mDrawables;
2124 final boolean drawables = start != null || top != null
2127 if (!drawables) {
2128 // Clearing drawables... can we free the data structure?
2151 mDrawables = dr = new Drawables(getContext());
2229 * Sets the Drawables (if any) to appear to the start of, above,
2231 * want a Drawable there. The Drawables' bounds will be set to
2256 * Sets the Drawables (if any) to appear to the start of, above,
2258 * want a Drawable there. The Drawables' bounds will be set to
2285 * Returns drawables for the left, top, right, and bottom borders.
2293 final Drawables dr = mDrawables;
2304 * Returns drawables for the start, top, end, and bottom borders.
2312 final Drawables dr = mDrawables;
2323 * Sets the size of the padding between the compound drawables and
2330 Drawables dr = mDrawables;
2337 mDrawables = dr = new Drawables(getContext());
2347 * Returns the padding between the compound drawables and the text.
2352 final Drawables dr = mDrawables;
3449 final Drawables dr = mDrawables;
4822 final TextView.Drawables drawables = mDrawables;
4823 if (drawables != null) {
4824 if (drawable == drawables.mDrawableLeft) {
4830 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2;
4831 } else if (drawable == drawables.mDrawableRight) {
4836 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight);
4837 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightRight) / 2;
4838 } else if (drawable == drawables.mDrawableTop) {
4843 scrollX += compoundPaddingLeft + (hspace - drawables.mDrawableWidthTop) / 2;
4845 } else if (drawable == drawables.mDrawableBottom) {
4850 scrollX += compoundPaddingLeft + (hspace - drawables.mDrawableWidthBottom) / 2;
4851 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom);
5030 final Drawables dr = mDrawables;
6323 final Drawables dr = mDrawables;
6466 final Drawables dr = mDrawables;
8709 // Resolve drawables