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

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DLeakTest.java78 final AnimationWatcher watcher = new AnimationWatcher();
85 binding.getRoot().postOnAnimation(watcher);
89 watcher.waitForAnimationThread();
96 binding.getRoot().postOnAnimation(watcher);
100 watcher.waitForAnimationThread();
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java57 public static void addGcWatcher(Runnable watcher) { argument
59 sGcWatchers.add(watcher);
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java359 public void setLettersWatcher(TextWatcher watcher) { argument
362 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
365 public void setDigitsWatcher(TextWatcher watcher) { argument
368 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
371 public void setFilterWatcher(TextWatcher watcher) { argument
373 setLettersWatcher(watcher);
375 setDigitsWatcher(watcher);
379 public void removeFilterWatcher(TextWatcher watcher) { argument
386 text.removeSpan(watcher);
H A DTextView.java7910 public void addTextChangedListener(TextWatcher watcher) { argument
7915 mListeners.add(watcher);
7923 public void removeTextChangedListener(TextWatcher watcher) { argument
7925 int i = mListeners.indexOf(watcher);
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java120 IActivityRecognitionHardwareWatcher watcher =
122 if (watcher == null) {
123 Log.e(TAG, "No watcher found on connection.");
127 // to keep backwards compatibility do not update the watcher when there is no
133 watcher.onInstanceChanged(mInstance);
135 Log.e(TAG, "Error delivering hardware interface to watcher.", e);
/frameworks/base/cmds/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/base/core/java/android/view/
H A DIWindowManager.aidl188 int watchRotation(IRotationWatcher watcher);
191 * Remove a rotation watcher set using watchRotation.
194 void removeRotationWatcher(IRotationWatcher watcher);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java1061 InstrumentationWatcher watcher = null;
1064 watcher = new InstrumentationWatcher();
1065 watcher.setRawOutput(rawMode);
1092 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, abi)) {
1096 if (watcher != null) {
1097 if (!watcher.waitForFinish()) {
/frameworks/base/core/java/android/app/
H A DInstrumentation.java1774 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) {
1780 mWatcher = watcher;
1772 init(ActivityThread thread, Context instrContext, Context appContext, ComponentName component, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) argument
H A DIActivityManager.java193 int flags, Bundle arguments, IInstrumentationWatcher watcher,
264 public void setActivityController(IActivityController watcher) argument
192 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId, String abiOverride) argument
H A DActivityManagerNative.java1386 IActivityController watcher = IActivityController.Stub.asInterface(
1388 setActivityController(watcher);
3881 int flags, Bundle arguments, IInstrumentationWatcher watcher,
3891 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
4338 public void setActivityController(IActivityController watcher) throws RemoteException argument
4343 data.writeStrongBinder(watcher != null ? watcher.asBinder() : null);
3880 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection connection, int userId, String instructionSet) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java477 IRotationWatcher watcher; field in class:WindowManagerService.RotationWatcher
480 watcher = w;
6673 mRotationWatchers.get(i).watcher.onRotationChanged(rotation);
6701 public int watchRotation(IRotationWatcher watcher) { argument
6702 final IBinder watcherBinder = watcher.asBinder();
6708 if (watcherBinder == mRotationWatchers.get(i).watcher.asBinder()) {
6710 IBinder binder = removed.watcher.asBinder();
6723 watcher.asBinder().linkToDeath(dr, 0);
6724 mRotationWatchers.add(new RotationWatcher(watcher, dr));
6734 public void removeRotationWatcher(IRotationWatcher watcher) { argument
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2398 public void removeTextChangedListener(TextWatcher watcher) { argument
2400 super.removeTextChangedListener(watcher);
2429 // view. If there are, don't do anything in the text watcher.
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java4318 // ask watcher if this is allowed
12582 + " at watcher's request");
17132 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection,
17154 reportStartInstrumentationFailure(watcher, className,
17159 reportStartInstrumentationFailure(watcher, className,
17174 reportStartInstrumentationFailure(watcher, className, msg);
17187 app.instrumentationWatcher = watcher;
17201 * @param watcher The IInstrumentationWatcher. Null if there isn't one.
17205 private void reportStartInstrumentationFailure(IInstrumentationWatcher watcher, argument
17209 if (watcher !
17130 startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection, int userId, String abiOverride) argument
[all...]

Completed in 431 milliseconds