@Override protected void onSizeChanged(int width, int height, int oldwidth, int oldheight) { super.onSizeChanged(width, height, oldwidth, oldheight); if (width != oldwidth || height != oldheight) adjustTextSize(); }
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); // on change the size, we should try refresh hint checkShowTitle(getEditableText(), true); }
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); height = h; width = w; divideLineWStartX = w / maxCount; startX = w / maxCount / 2; startY = h / 2; bottomLineLength = w / (maxCount + 2); rectF.set(0, 0, width, height); }
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); int contentH = getLayout().getHeight(); //TODO: known issue,set movement to null will make cursor disappear. if(h < contentH){ setMovementMethod(null); }else{ setMovementMethod(getDefaultMovementMethod()); } }
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); ViewUtil.resizeText(this, mOriginalTextSize, mMinTextSize); } }
/** */ @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); this.ensureDecorator(); mDecorator.onSizeChanged(w, h, oldw, oldh); }
@Override protected void onSizeChanged(final int width, final int height, final int oldwidth, final int oldheight) { _textCachedSizes.clear(); super.onSizeChanged(width, height, oldwidth, oldheight); if (width != oldwidth || height != oldheight) reAdjust(); }
/** */ @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); this.ensureDecorator(); mDecorator.onSizeChanged(w, h, oldw, oldh); }
/** */ @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); this.ensureDecorator(); mDecorator.onSizeChanged(w, h, oldw, oldh); }