Home | History | Annotate | Download | only in pinyin

Lines Matching refs:mIcon

346         private Drawable mIcon;
349 * The label to be shown. It is enabled only if {@link #mIcon} is null.
373 mIcon = icon;
379 mIcon = null;
402 if (null != mIcon) {
403 measuredWidth += mIcon.getIntrinsicWidth();
404 measuredHeight += mIcon.getIntrinsicHeight();
430 if (null != mIcon) {
431 int marginLeft = (width - mIcon.getIntrinsicWidth()) / 2;
432 int marginRight = width - mIcon.getIntrinsicWidth()
434 int marginTop = (height - mIcon.getIntrinsicHeight()) / 2;
435 int marginBottom = height - mIcon.getIntrinsicHeight()
437 mIcon.setBounds(marginLeft, marginTop, width - marginRight,
439 mIcon.draw(canvas);