Home
last modified time | relevance | path

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

/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DSpannableBuilder.java167 final WatcherWrapper watcher; in removeSpan() local
169 watcher = getWatcherFor(what); in removeSpan()
170 if (watcher != null) { in removeSpan()
171 what = watcher; in removeSpan()
174 watcher = null; in removeSpan()
179 if (watcher != null) { in removeSpan()
180 mWatchers.remove(watcher); in removeSpan()
190 final WatcherWrapper watcher = getWatcherFor(tag); in getSpanStart() local
191 if (watcher != null) { in getSpanStart()
192 tag = watcher; in getSpanStart()
[all …]
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DFlingWatcherFactory.java71 FlingWatcher watcher = mWatchers.get(view); in getFor() local
72 if (watcher == null) { in getFor()
73 watcher = createFor(view); in getFor()
74 if (watcher != null) { in getFor()
75 mWatchers.put(view, watcher); in getFor()
79 return watcher; in getFor()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, in Report() argument
108 mWatcher = watcher; in Report()
115 public void reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode, in reportStatus() argument
117 if (DEBUG) Slog.d(TAG, "Report status to " + watcher in reportStatus()
120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results)); in reportStatus()
123 public void reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode, in reportFinished() argument
125 if (DEBUG) Slog.d(TAG, "Report finished to " + watcher in reportFinished()
128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results)); in reportFinished()
DActivityManagerService.java19821 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection,
19843 reportStartInstrumentationFailureLocked(watcher, className,
19848 reportStartInstrumentationFailureLocked(watcher, className,
19853 reportStartInstrumentationFailureLocked(watcher, className,
19868 reportStartInstrumentationFailureLocked(watcher, className, msg);
19886 activeInstr.mWatcher = watcher;
19916 private void reportStartInstrumentationFailureLocked(IInstrumentationWatcher watcher,
19919 if (watcher != null) {
19923 mInstrumentationReporter.reportStatus(watcher, cn, -1, results);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DLeakTest.java80 final AnimationWatcher watcher = new AnimationWatcher(); in testNoChangeWhenDetached() local
87 getActivity().getWindow().getDecorView().postOnAnimation(watcher); in testNoChangeWhenDetached()
91 watcher.waitForAnimationThread(); in testNoChangeWhenDetached()
98 getActivity().getWindow().getDecorView().postOnAnimation(watcher); in testNoChangeWhenDetached()
102 watcher.waitForAnimationThread(); in testNoChangeWhenDetached()
/frameworks/base/core/java/android/widget/
DDialerFilter.java364 public void setLettersWatcher(TextWatcher watcher) { in setLettersWatcher() argument
367 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setLettersWatcher()
370 public void setDigitsWatcher(TextWatcher watcher) { in setDigitsWatcher() argument
373 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in setDigitsWatcher()
376 public void setFilterWatcher(TextWatcher watcher) { in setFilterWatcher() argument
378 setLettersWatcher(watcher); in setFilterWatcher()
380 setDigitsWatcher(watcher); in setFilterWatcher()
384 public void removeFilterWatcher(TextWatcher watcher) { in removeFilterWatcher() argument
391 text.removeSpan(watcher); in removeFilterWatcher()
DTextView.java9281 public void addTextChangedListener(TextWatcher watcher) { in addTextChangedListener() argument
9286 mListeners.add(watcher); in addTextChangedListener()
9294 public void removeTextChangedListener(TextWatcher watcher) { in removeTextChangedListener() argument
9296 int i = mListeners.indexOf(watcher); in removeTextChangedListener()
/frameworks/base/services/core/java/com/android/server/location/
DActivityRecognitionProxy.java120 IActivityRecognitionHardwareWatcher watcher = in bindProvider() local
122 if (watcher == null) { in bindProvider()
133 watcher.onInstanceChanged(mInstance); in bindProvider()
/frameworks/native/services/nativeperms/
Dnativeperms.cpp82 brillo::BinderWatcher watcher(&messageLoop); in main() local
83 watcher.Init(); in main()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java57 public static void addGcWatcher(Runnable watcher) { in addGcWatcher() argument
59 sGcWatchers.add(watcher); in addGcWatcher()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java521 public void registerWatcher(String name, UiWatcher watcher) { in registerWatcher() argument
522 Tracer.trace(name, watcher); in registerWatcher()
526 mWatchers.put(name, watcher); in registerWatcher()
556 UiWatcher watcher = mWatchers.get(watcherName); in runWatchers() local
557 if (watcher != null) { in runWatchers()
560 if (watcher.checkForCondition()) { in runWatchers()
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java373 InstrumentationWatcher watcher = null; in run() local
376 watcher = new InstrumentationWatcher(reporter); in run()
408 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, in run()
414 if (watcher != null) { in run()
415 if (!watcher.waitForFinish()) { in run()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl216 int watchRotation(IRotationWatcher watcher, int displayId); in watchRotation() argument
222 void removeRotationWatcher(IRotationWatcher watcher); in removeRotationWatcher() argument
/frameworks/base/core/java/android/app/
DIActivityManager.aidl144 int flags, in Bundle arguments, in IInstrumentationWatcher watcher, in startInstrumentation() argument
176 void setActivityController(in IActivityController watcher, boolean imAMonkey); in setActivityController() argument
DInstrumentation.java1912 IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection) { in init() argument
1918 mWatcher = watcher; in init()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java556 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient, in RotationWatcher() argument
558 mWatcher = watcher; in RotationWatcher()
3942 public int watchRotation(IRotationWatcher watcher, int displayId) { in watchRotation() argument
3943 final IBinder watcherBinder = watcher.asBinder(); in watchRotation()
3964 watcher.asBinder().linkToDeath(dr, 0); in watchRotation()
3965 mRotationWatchers.add(new RotationWatcher(watcher, dr, displayId)); in watchRotation()
3975 public void removeRotationWatcher(IRotationWatcher watcher) { in removeRotationWatcher() argument
3976 final IBinder watcherBinder = watcher.asBinder(); in removeRotationWatcher()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2773 public void removeTextChangedListener(TextWatcher watcher) { in removeTextChangedListener() argument
2775 super.removeTextChangedListener(watcher); in removeTextChangedListener()