Lines Matching defs:buf
234 public void onSpanChanged(Spannable buf,
237 buf.removeSpan(TextKeyListener.ACTIVE);
238 removeTimeouts(buf);
242 private static void removeTimeouts(Spannable buf) {
243 Timeout[] timeout = buf.getSpans(0, buf.length(), Timeout.class);
250 buf.removeSpan(t);
267 Spannable buf = mBuffer;
269 if (buf != null) {
270 int st = Selection.getSelectionStart(buf);
271 int en = Selection.getSelectionEnd(buf);
273 int start = buf.getSpanStart(TextKeyListener.ACTIVE);
274 int end = buf.getSpanEnd(TextKeyListener.ACTIVE);
277 Selection.setSelection(buf, Selection.getSelectionEnd(buf));
280 buf.removeSpan(Timeout.this);