Home
last modified time | relevance | path

Searched refs:watchers (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java1252 private void sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) { in sendBeforeTextChanged() argument
1253 int n = watchers.length; in sendBeforeTextChanged()
1257 watchers[i].beforeTextChanged(this, start, before, after); in sendBeforeTextChanged()
1262 private void sendTextChanged(TextWatcher[] watchers, int start, int before, int after) { in sendTextChanged() argument
1263 int n = watchers.length; in sendTextChanged()
1267 watchers[i].onTextChanged(this, start, before, after); in sendTextChanged()
1272 private void sendAfterTextChanged(TextWatcher[] watchers) { in sendAfterTextChanged() argument
1273 int n = watchers.length; in sendAfterTextChanged()
1277 watchers[i].afterTextChanged(this); in sendAfterTextChanged()
DSelection.java124 MemoryTextWatcher[] watchers = text.getSpans(0, text.length(), MemoryTextWatcher.class); in removeMemory() local
125 for (MemoryTextWatcher watcher : watchers) { in removeMemory()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java602 private void evalForegroundWatchers(int op, SparseArray<ArraySet<ModeCallback>> watchers, in evalForegroundWatchers() argument
605 ArraySet<ModeCallback> callbacks = watchers.get(op); in evalForegroundWatchers()
618 public void evalForegroundOps(SparseArray<ArraySet<ModeCallback>> watchers) { in evalForegroundOps() argument
627 evalForegroundWatchers(opModes.keyAt(i), watchers, which); in evalForegroundOps() local
639 evalForegroundWatchers(ops.keyAt(j), watchers, which); in evalForegroundOps() local
/frameworks/base/core/java/android/widget/
DTextView.java6281 final ChangeWatcher[] watchers = sp.getSpans(0, sp.length(), ChangeWatcher.class); in setText() local
6282 final int count = watchers.length; in setText()
6284 sp.removeSpan(watchers[i]); in setText()