Home | History | Annotate | Download | only in widget

Lines Matching defs:LINES

257     private static final int LINES = 1;
258 private static final int EMS = LINES;
520 private int mMaxMode = LINES;
522 private int mMinMode = LINES;
1203 // of lines of height are unchanged for multi-line TextViews.
1488 * within the text can cause individual lines to be taller or shorter
1768 if (mMaxMode != LINES) {
1801 if (mMaxMode != LINES) {
2989 * Makes the TextView at least this many lines tall.
3001 mMinMode = LINES;
3008 * @return the minimum number of lines displayed in this TextView, or -1 if the minimum
3016 return mMinMode == LINES ? mMinimum : -1;
3022 * Setting this value overrides any other (minimum) number of lines setting.
3037 * height was set in number of lines instead using {@link #setMinLines(int) or #setLines(int)}.
3048 * Makes the TextView at most this many lines tall.
3057 mMaxMode = LINES;
3064 * @return the maximum number of lines displayed in this TextView, or -1 if the maximum
3072 return mMaxMode == LINES ? mMaximum : -1;
3079 * Setting this value overrides any other (maximum) number of lines setting.
3094 * height was set in number of lines instead using {@link #setMaxLines(int) or #setLines(int)}.
3105 * Makes the TextView exactly this many lines tall.
3107 * Note that setting this value overrides any other (minimum / maximum) number of lines or
3113 public void setLines(int lines) {
3114 mMaximum = mMinimum = lines;
3115 mMaxMode = mMinMode = LINES;
3126 * Note that setting this value overrides any other (minimum / maximum) number of lines or
3325 * @return the extra space that is added to the height of each lines of this TextView.
3934 * Note that the maximum number of displayed lines (see {@link #setMaxLines(int)}) will be
4586 // Rectangle bounding box when the region spans several lines
5146 // Selection extends across multiple lines -- make the focused
5174 * Return the number of lines of text, or 0 if the internal Layout has not
5339 * lines but where it doesn't make sense to insert newlines.
6012 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6023 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6103 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6114 ellipsisWidth, mMaxMode == LINES ? mMaximum : Integer.MAX_VALUE);
6356 if (mMaxMode == LINES && mLayout.getLineCount() > mMaximum) {
6398 if (mMaxMode == LINES) {
6400 * Don't cap the hint to a certain number of lines.
6420 if (mMinMode == LINES) {
6654 // lines are likely to have text flush with the right margin, which
6960 * Sets the properties of this field (lines, horizontally scrolling,
6990 * If true, sets the properties of this field (number of lines, horizontally scrolling,
7049 * If {@link #setMaxLines} has been used to set two or more lines,