Searched refs:watcher (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DDialerFilter.java361 public void setLettersWatcher(TextWatcher watcher) { argument
364 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
367 public void setDigitsWatcher(TextWatcher watcher) { argument
370 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
373 public void setFilterWatcher(TextWatcher watcher) { argument
375 setLettersWatcher(watcher);
377 setDigitsWatcher(watcher);
381 public void removeFilterWatcher(TextWatcher watcher) { argument
388 text.removeSpan(watcher);
H A DTextView.java7330 public void addTextChangedListener(TextWatcher watcher) { argument
7335 mListeners.add(watcher);
7343 public void removeTextChangedListener(TextWatcher watcher) { argument
7345 int i = mListeners.indexOf(watcher);
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java515 * @param watcher {@link UiWatcher}
518 public void registerWatcher(String name, UiWatcher watcher) { argument
519 Tracer.trace(name, watcher);
521 throw new IllegalStateException("Cannot register new watcher from within another");
523 mWatchers.put(name, watcher);
536 throw new IllegalStateException("Cannot remove a watcher from within another");
553 UiWatcher watcher = mWatchers.get(watcherName);
554 if (watcher != null) {
557 if (watcher.checkForCondition()) {
561 Log.e(LOG_TAG, "Exceuting watcher
[all...]
/frameworks/uiautomator/src/com/android/uiautomator/core/
H A DUiDevice.java515 * @param watcher {@link UiWatcher}
518 public void registerWatcher(String name, UiWatcher watcher) { argument
519 Tracer.trace(name, watcher);
521 throw new IllegalStateException("Cannot register new watcher from within another");
523 mWatchers.put(name, watcher);
536 throw new IllegalStateException("Cannot remove a watcher from within another");
553 UiWatcher watcher = mWatchers.get(watcherName);
554 if (watcher != null) {
557 if (watcher.checkForCondition()) {
561 Log.e(LOG_TAG, "Exceuting watcher
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl170 int watchRotation(IRotationWatcher watcher);
173 * Remove a rotation watcher set using watchRotation.
176 void removeRotationWatcher(IRotationWatcher watcher);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java849 InstrumentationWatcher watcher = null;
852 watcher = new InstrumentationWatcher();
853 watcher.setRawOutput(rawMode);
864 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId)) {
868 if (watcher != null) {
869 if (!watcher.waitForFinish()) {
/frameworks/base/core/java/android/app/
H A DIActivityManager.java174 int flags, Bundle arguments, IInstrumentationWatcher watcher,
242 public void setActivityController(IActivityController watcher) argument
173 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId) argument
H A DInstrumentation.java1609 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) {
1615 mWatcher = watcher;
1607 init(ActivityThread thread, Context instrContext, Context appContext, ComponentName component, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) argument
H A DActivityManagerNative.java1253 IActivityController watcher = IActivityController.Stub.asInterface(
1255 setActivityController(watcher);
3175 int flags, Bundle arguments, IInstrumentationWatcher watcher,
3184 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
3626 public void setActivityController(IActivityController watcher) throws RemoteException argument
3631 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
3174 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId) argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2215 public void removeTextChangedListener(TextWatcher watcher) { argument
2217 super.removeTextChangedListener(watcher);
2240 // view. If there are, don't do anything in the text watcher.
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6021 public int watchRotation(IRotationWatcher watcher) { argument
6022 final IBinder watcherBinder = watcher.asBinder();
6042 watcher.asBinder().linkToDeath(dr, 0);
6043 mRotationWatchers.add(watcher);
6053 public void removeRotationWatcher(IRotationWatcher watcher) { argument
6054 final IBinder watcherBinder = watcher.asBinder();
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java3428 // ask watcher if this is allowed
10053 + " at watcher's request");
13821 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection,
13843 reportStartInstrumentationFailure(watcher, className,
13848 reportStartInstrumentationFailure(watcher, className,
13863 reportStartInstrumentationFailure(watcher, className, msg);
13876 app.instrumentationWatcher = watcher;
13890 * @param watcher The IInstrumentationWatcher. Null if there isn't one.
13894 private void reportStartInstrumentationFailure(IInstrumentationWatcher watcher, argument
13898 if (watcher !
13819 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection, int userId) argument
[all...]

Completed in 362 milliseconds