Home | History | Annotate | Download | only in widget

Lines Matching refs:LINES

263     private static final int LINES = 1;
264 private static final int EMS = LINES;
535 private int mMaxMode = LINES;
537 private int mMinMode = LINES;
1251 // of lines of height are unchanged for multi-line TextViews.
1543 * within the text can cause individual lines to be taller or shorter
1869 if (mMaxMode != LINES) {
1906 if (mMaxMode != LINES) {
3258 * Makes the TextView at least this many lines tall.
3270 mMinMode = LINES;
3277 * @return the minimum number of lines displayed in this TextView, or -1 if the minimum
3285 return mMinMode == LINES ? mMinimum : -1;
3291 * Setting this value overrides any other (minimum) number of lines setting.
3306 * height was set in number of lines instead using {@link #setMinLines(int) or #setLines(int)}.
3317 * Makes the TextView at most this many lines tall.
3326 mMaxMode = LINES;
3333 * @return the maximum number of lines displayed in this TextView, or -1 if the maximum
3341 return mMaxMode == LINES ? mMaximum : -1;
3348 * Setting this value overrides any other (maximum) number of lines setting.
3363 * height was set in number of lines instead using {@link #setMaxLines(int) or #setLines(int)}.
3374 * Makes the TextView exactly this many lines tall.
3376 * Note that setting this value overrides any other (minimum / maximum) number of lines or
3382 public void setLines(int lines) {
3383 mMaximum = mMinimum = lines;
3384 mMaxMode = mMinMode = LINES;
3395 * Note that setting this value overrides any other (minimum / maximum) number of lines or
3594 * @return the extra space that is added to the height of each lines of this TextView.
4222 * Note that the maximum number of displayed lines (see {@link #setMaxLines(int)}) will be
4890 // Rectangle bounding box when the region spans several lines
5479 // Selection extends across multiple lines -- make the focused
5507 * Return the number of lines of text, or 0 if the internal Layout has not
5671 * lines but where it doesn't make sense to insert newlines.
6359 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6370 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6450 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6461 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6703 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximum) {
6745 if (mMaxMode == LINES) {
6747 * Don't cap the hint to a certain number of lines.
6767 if (mMinMode == LINES) {
7001 // lines are likely to have text flush with the right margin, which
7307 * Sets the properties of this field (lines, horizontally scrolling,
7337 * If true, sets the properties of this field (number of lines, horizontally scrolling,
7396 * If {@link #setMaxLines} has been used to set two or more lines,