Lines Matching defs:BufferType

620     private BufferType mBufferType = BufferType.NORMAL;
1399 BufferType bufferType = BufferType.EDITABLE;
1500 bufferType = BufferType.SPANNABLE;
1508 bufferType = BufferType.NORMAL;
1511 bufferType = BufferType.SPANNABLE;
1514 bufferType = BufferType.EDITABLE;
1528 if (bufferType == BufferType.NORMAL) {
1529 bufferType = BufferType.SPANNABLE;
2248 * with an argument of {@link android.widget.TextView.BufferType#SPANNABLE BufferType.SPANNABLE}
2249 * or {@link android.widget.TextView.BufferType#EDITABLE BufferType.EDITABLE}, you can cast
2348 // * Promote to BufferType.EDITABLE if needed.
4900 * display buffer, upgrading it to {@link android.widget.TextView.BufferType#EDITABLE}
4911 * display buffer, upgrading it to {@link android.widget.TextView.BufferType#EDITABLE}
4922 setText(mText, BufferType.EDITABLE);
5167 * @see android.widget.TextView.BufferType#EDITABLE
5180 * @see android.widget.TextView.BufferType#SPANNABLE
5230 * Sets the text to be displayed and the {@link android.widget.TextView.BufferType}.
5238 * @param type a {@link android.widget.TextView.BufferType} which defines whether the text is
5242 * @see android.widget.TextView.BufferType
5249 public void setText(CharSequence text, BufferType type) {
5257 private void setText(CharSequence text, BufferType type,
5306 if (type == BufferType.EDITABLE || getKeyListener() != null
5315 } else if (type == BufferType.SPANNABLE || mMovement != null) {
5324 if (type == BufferType.EDITABLE || text instanceof Spannable) {
5332 type = (type == BufferType.EDITABLE) ? BufferType.EDITABLE : BufferType.SPANNABLE;
5453 * Sets the text to be displayed and the {@link android.widget.TextView.BufferType} but retains
5455 * {@link #setText(CharSequence, android.widget.TextView.BufferType)} except that the cursor
5464 * @param type a {@link android.widget.TextView.BufferType} which defines whether the text is
5467 * @see #setText(CharSequence, android.widget.TextView.BufferType)
5469 public final void setTextKeepState(CharSequence text, BufferType type) {
5502 * {@link android.widget.TextView.BufferType}.
5510 * @param type a {@link android.widget.TextView.BufferType} which defines whether the text is
5515 * @see android.widget.TextView.BufferType
5522 public final void setText(@StringRes int resid, BufferType type) {
6644 setText(mText, selectable ? BufferType.SPANNABLE : BufferType.NORMAL);
7585 setText(text.text, TextView.BufferType.EDITABLE);
9149 setText(mText, BufferType.SPANNABLE);
9907 public enum BufferType {
10375 if (mBufferType == BufferType.EDITABLE) {
10673 if (!isEnabled() || (mBufferType != BufferType.EDITABLE)) {
11489 setText(mText, BufferType.SPANNABLE);