Home
last modified time | relevance | path

Searched refs:watcher (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
DDialerFilter.java361 public void setLettersWatcher(TextWatcher watcher) { in setLettersWatcher() argument
364 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setLettersWatcher()
367 public void setDigitsWatcher(TextWatcher watcher) { in setDigitsWatcher() argument
370 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setDigitsWatcher()
373 public void setFilterWatcher(TextWatcher watcher) { in setFilterWatcher() argument
375 setLettersWatcher(watcher); in setFilterWatcher()
377 setDigitsWatcher(watcher); in setFilterWatcher()
381 public void removeFilterWatcher(TextWatcher watcher) { in removeFilterWatcher() argument
388 text.removeSpan(watcher); in removeFilterWatcher()
DTextView.java7016 public void addTextChangedListener(TextWatcher watcher) { in addTextChangedListener() argument
7021 mListeners.add(watcher); in addTextChangedListener()
7029 public void removeTextChangedListener(TextWatcher watcher) { in removeTextChangedListener() argument
7031 int i = mListeners.indexOf(watcher); in removeTextChangedListener()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DUiDevice.java407 public void registerWatcher(String name, UiWatcher watcher) { in registerWatcher() argument
411 mWatchers.put(name, watcher); in registerWatcher()
439 UiWatcher watcher = mWatchers.get(watcherName); in runWatchers() local
440 if (watcher != null) { in runWatchers()
443 if (watcher.checkForCondition()) { in runWatchers()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java603 InstrumentationWatcher watcher = null; in runInstrument() local
605 watcher = new InstrumentationWatcher(); in runInstrument()
606 watcher.setRawOutput(rawMode); in runInstrument()
615 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher)) { in runInstrument()
619 if (watcher != null) { in runInstrument()
620 if (!watcher.waitForFinish()) { in runInstrument()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl164 int watchRotation(IRotationWatcher watcher); in watchRotation() argument
/frameworks/base/core/java/android/app/
DIActivityManager.java159 int flags, Bundle arguments, IInstrumentationWatcher watcher) in startInstrumentation() argument
219 public void setActivityController(IActivityController watcher) in setActivityController() argument
DInstrumentation.java1523 IInstrumentationWatcher watcher) { in init() argument
1529 mWatcher = watcher; in init()
DActivityManagerNative.java1073 IActivityController watcher = IActivityController.Stub.asInterface( in onTransact() local
1075 setActivityController(watcher); in onTransact()
2657 int flags, Bundle arguments, IInstrumentationWatcher watcher) in startInstrumentation() argument
2666 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null); in startInstrumentation()
3042 public void setActivityController(IActivityController watcher) throws RemoteException in setActivityController() argument
3047 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null); in setActivityController()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2075 public void removeTextChangedListener(TextWatcher watcher) { in removeTextChangedListener() argument
2077 super.removeTextChangedListener(watcher); in removeTextChangedListener()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java13295 IInstrumentationWatcher watcher) { in startInstrumentation() argument
13313 reportStartInstrumentationFailure(watcher, className, in startInstrumentation()
13318 reportStartInstrumentationFailure(watcher, className, in startInstrumentation()
13333 reportStartInstrumentationFailure(watcher, className, msg); in startInstrumentation()
13346 app.instrumentationWatcher = watcher; in startInstrumentation()
13363 private void reportStartInstrumentationFailure(IInstrumentationWatcher watcher, in reportStartInstrumentationFailure() argument
13367 if (watcher != null) { in reportStartInstrumentationFailure()
13371 watcher.instrumentationStatus(cn, -1, results); in reportStartInstrumentationFailure()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java5816 public int watchRotation(IRotationWatcher watcher) { in watchRotation() argument
5817 final IBinder watcherBinder = watcher.asBinder(); in watchRotation()
5836 watcher.asBinder().linkToDeath(dr, 0); in watchRotation()
5837 mRotationWatchers.add(watcher); in watchRotation()