Lines Matching refs:mPreviewText
144 private TextView mPreviewText;
263 mPreviewText.setVisibility(INVISIBLE);
344 mPreviewText = (TextView) inflate.inflate(previewLayout, null);
345 mPreviewTextSizeLarge = (int) mPreviewText.getTextSize();
346 mPreviewPopup.setContentView(mPreviewText);
880 if (previewPopup.isShowing() && mPreviewText.getVisibility() == VISIBLE) {
898 mPreviewText.setCompoundDrawables(null, null, null,
900 mPreviewText.setText(null);
902 mPreviewText.setCompoundDrawables(null, null, null, null);
903 mPreviewText.setText(getPreviewText(key));
905 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mKeyTextSize);
906 mPreviewText.setTypeface(Typeface.DEFAULT_BOLD);
908 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mPreviewTextSizeLarge);
909 mPreviewText.setTypeface(Typeface.DEFAULT);
912 mPreviewText.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
914 int popupWidth = Math.max(mPreviewText.getMeasuredWidth(), key.width
915 + mPreviewText.getPaddingLeft() + mPreviewText.getPaddingRight());
917 LayoutParams lp = mPreviewText.getLayoutParams();
923 mPopupPreviewX = key.x - mPreviewText.getPaddingLeft() + mPaddingLeft;
927 mPopupPreviewX = 160 - mPreviewText.getMeasuredWidth() / 2;
928 mPopupPreviewY = - mPreviewText.getMeasuredHeight();
936 mPreviewText.getBackground().setState(
963 mPreviewText.setVisibility(VISIBLE);