Lines Matching defs:TextView

139  * Displays text to the user and optionally allows them to edit it.  A TextView
147 * See {@link android.R.styleable#TextView TextView Attributes},
216 public class TextView extends View implements ViewTreeObserver.OnPreDrawListener {
217 static final String LOG_TAG = "TextView";
262 // New state used to change background based on whether this TextView is multiline.
395 // they are defined by the TextView's style and are theme-dependent.
441 boolean onEditorAction(TextView v, int actionId, KeyEvent event);
444 public TextView(Context context) {
448 public TextView(Context context, AttributeSet attrs) {
453 public TextView(Context context, AttributeSet attrs, int defStyle) {
485 * almost every TextView has one and it greatly simplifies the logic
569 attrs, com.android.internal.R.styleable.TextView, defStyle, 0);
1201 // Hide the soft input if the currently active TextView is disabled
1272 * Return the text the TextView is displaying. If setText() was called with
1287 * Returns the length, in characters, of the text managed by this TextView
1294 * Return the text the TextView is displaying as an Editable object. If
1330 * @return the current key listener for this TextView.
1345 * Sets the key listener to be used with this TextView. This can be null
1353 * Be warned that if you want a TextView with a key listener or movement
1354 * method not to be focusable, or if you want a TextView without a
1403 * @return the movement method being used for this TextView.
1412 * this TextView. This can be null to disallow using the arrow keys
1415 * Be warned that if you want a TextView with a key listener or movement
1416 * method not to be focusable, or if you want a TextView without a
1450 * @return the current transformation method for this TextView.
1463 * TextView is displaying.
2213 * Get the default {@link Locale} of the text in this TextView.
2214 * @return the default {@link Locale} of the text in this TextView.
2221 * Set the default {@link Locale} of the text in this TextView to the given value. This value
2234 * @return the size (in pixels) of the default text size in this TextView.
2390 * Gets the text colors for the different states (normal, selected, focused) of the TextView.
2436 * TextView gets focused. The default is true.
2447 * TextView gets focused. The default is true.
2584 * TextView.
2614 * @return the color of the hint text, for the different states of this TextView.
2667 * this TextView
2681 * in the TextView beyond what is required for the text itself.
2720 * Returns the horizontal and vertical alignment of this TextView.
2785 * Makes the TextView at least this many lines tall.
2787 * Setting this value overrides any other (minimum) height setting. A single line TextView will
2804 * @return the minimum number of lines displayed in this TextView, or -1 if the minimum
2816 * Makes the TextView at least this many pixels tall.
2832 * @return the minimum height of this TextView expressed in pixels, or -1 if the minimum
2844 * Makes the TextView at most this many lines tall.
2860 * @return the maximum number of lines displayed in this TextView, or -1 if the maximum
2872 * Makes the TextView at most this many pixels tall. This option is mutually exclusive with the
2889 * @return the maximum height of this TextView expressed in pixels, or -1 if the maximum
2901 * Makes the TextView exactly this many lines tall.
2904 * height setting. A single line TextView will set this value to 1.
2918 * Makes the TextView exactly this many pixels tall.
2937 * Makes the TextView at least this many ems wide
2951 * @return the minimum width of the TextView, expressed in ems or -1 if the minimum width
2964 * Makes the TextView at least this many pixels wide
2978 * @return the minimum width of the TextView, in pixels or -1 if the minimum width
2991 * Makes the TextView at most this many ems wide
3005 * @return the maximum width of the TextView, expressed in ems or -1 if the maximum width
3018 * Makes the TextView at most this many pixels wide
3032 * @return the maximum width of the TextView, in pixels or -1 if the maximum width
3045 * Makes the TextView exactly this many ems wide
3064 * Makes the TextView exactly this many pixels wide.
3085 * Sets line spacing for this TextView. Each line will have its height
3121 * @return the extra space that is added to the height of each lines of this TextView.
3133 * Convenience method: Append the specified text to the TextView's
3142 * Convenience method: Append the specified text slice to the TextView's
3388 * Sets the string value of the TextView. TextView <em>does not</em> accept
3417 * Sets the text that this TextView is to display (see
3582 * Sets the TextView to display the specified slice of the specified
3585 * since the TextView has no way to know that the text
3617 * Like {@link #setText(CharSequence, android.widget.TextView.BufferType)},
3620 * @see #setText(CharSequence, android.widget.TextView.BufferType)
3648 * Sets the text to be displayed when the text of the TextView is empty.
3673 * Sets the text to be displayed when the text of the TextView is empty,
3684 * Returns the hint that is displayed when the text of the TextView
4125 * Sets the right-hand compound drawable of the TextView to the "error"
4127 * the TextView has focus. The icon and error message will be reset to
4128 * null when any key events cause changes to the TextView's text. If the
4146 * Sets the right-hand compound drawable of the TextView to the specified
4148 * the TextView has focus. The icon and error message will be reset to
4149 * null when any key events cause changes to the TextView's text. The
4568 final TextView.Drawables drawables = mDrawables;
4612 * When a TextView is used to display a useful piece of information to the user (such as a
4617 * {@link android.R.styleable#TextView_textIsSelectable} XML attribute to make this TextView
4621 * in order to select text in non-editable TextView, the content of an {@link EditText} can
4624 * @return True if the text displayed in this TextView can be selected by the user.
4642 * @param selectable Whether or not the content of this TextView should be selectable.
4677 // Disable pressed state, which was introduced when TextView was made clickable.
5461 * If this TextView contains editable content, extract a portion of it
5492 setText(text.text, TextView.BufferType.EDITABLE);
5956 * Set whether the TextView includes extra top and bottom padding to make
5977 * Gets whether the TextView includes extra top and bottom padding to make
6584 * TextView contains spannable text; otherwise it will do nothing.
6846 * TextView has marquee enabled. Set to -1 to repeat indefinitely.
6858 * TextView has marquee enabled.
6881 * Set the TextView so that when it takes focus, all the text is
6898 * makes sense for editable TextView.
6920 * @return whether or not the cursor is visible (assuming this TextView is editable)
6999 * @param text The text the TextView is displaying
7022 * whenever this TextView's text changes.
7040 * whenever this TextView's text changes.
7453 * @return True iff this TextView contains a text that can be edited, or if this is
7454 * a selectable TextView.
7669 * TextView. {@link #textCanBeSelected()} has to be true (this is one of the conditions to have
7678 * Test based on the <i>intrinsic</i> charateristics of the TextView.
7698 * in this TextView, based on the current spell checker settings,
7785 event.setClassName(TextView.class.getName());
7800 info.setClassName(TextView.class.getName());
7947 * Return whether or not suggestions are enabled on this TextView. The suggestions are generated
7953 * TextView.
8003 * Note that text selection mode is not started when a TextView receives focus and the
8202 TextView.this.requestFocus();
8380 * A standard TextView (as well as buttons, checkboxes...) should not qualify and hence will
8469 * User interface state that is stored by TextView for implementing
8501 String str = "TextView.SavedState{"
8645 private final WeakReference<TextView> mView;
8658 Marquee(TextView v) {
8661 mView = new WeakReference<TextView>(v);
8692 final TextView textView = mView.get();
8715 final TextView textView = mView.get();
8725 final TextView textView = mView.get();
8788 TextView.this.sendBeforeTextChanged(buffer, start, before, after);
8794 TextView.this.handleTextChanged(buffer, start, before, after);
8805 TextView.this.sendAfterTextChanged(buffer);
8808 MetaKeyKeyListener.stopSelecting(TextView.this, buffer);
8815 TextView.this.spanChange(buf, what, s, st, e, en);
8821 TextView.this.spanChange(buf, what, -1, s, -1, e);
8827 TextView.this.spanChange(buf, what, s, -1, e, -1);