Home | History | Annotate | Download | only in widget

Lines Matching refs:EMS

264     private static final int EMS = LINES;
3410 * Makes the TextView at least this many ems wide
3417 mMinWidthMode = EMS;
3424 * @return the minimum width of the TextView, expressed in ems or -1 if the minimum width
3433 return mMinWidthMode == EMS ? mMinWidth : -1;
3452 * was set in ems instead (using {@link #setMinEms(int)} or {@link #setEms(int)}).
3464 * Makes the TextView at most this many ems wide
3471 mMaxWidthMode = EMS;
3478 * @return the maximum width of the TextView, expressed in ems or -1 if the maximum width
3487 return mMaxWidthMode == EMS ? mMaxWidth : -1;
3506 * was set in ems instead (using {@link #setMaxEms(int)} or {@link #setEms(int)}).
3518 * Makes the TextView exactly this many ems wide
3528 public void setEms(int ems) {
3529 mMaxWidth = mMinWidth = ems;
3530 mMaxWidthMode = mMinWidthMode = EMS;
6631 if (mMaxWidthMode == EMS) {
6637 if (mMinWidthMode == EMS) {