Searched defs:listener (Results 1 - 25 of 488) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DDatePickerController.java30 void registerOnDateChangedListener(OnDateChangedListener listener); argument
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightManager.java22 void registerListener(TwilightListener listener, Handler handler); argument
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DViewPropertyAnimatorCompatKK.java24 final ViewPropertyAnimatorUpdateListener listener) {
28 listener.onAnimationUpdate(view);
23 setUpdateListener(final View view, final ViewPropertyAnimatorUpdateListener listener) argument
/frameworks/volley/src/com/android/volley/toolbox/
H A DJsonArrayRequest.java38 * @param listener Listener to receive the JSON response
39 * @param errorListener Error listener, or null to ignore errors.
41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { argument
42 super(Method.GET, url, null, listener, errorListener);
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManagerInternal.java56 * Adds a listener for changes in the white-listed packages to show
59 * @param listener The listener to add.
62 OnCrossProfileWidgetProvidersChangeListener listener);
61 addOnCrossProfileWidgetProvidersChangeListener( OnCrossProfileWidgetProvidersChangeListener listener) argument
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTaskSingleDrainer.java40 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
44 * @param listener a non-{@code null} listener where {@code onDrained} will be called
46 public TaskSingleDrainer(Handler handler, DrainListener listener) { argument
47 mTaskDrainer = new TaskDrainer<>(handler, listener);
51 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
55 * @param listener a non-{@code null} listener where {@code onDrained} will be called
58 public TaskSingleDrainer(Handler handler, DrainListener listener, String name) { argument
59 mTaskDrainer = new TaskDrainer<>(handler, listener, nam
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java64 * progress listener.
69 final TextToSpeech.OnUtteranceCompletedListener listener) {
73 listener.onUtteranceCompleted(utteranceId);
78 listener.onUtteranceCompleted(utteranceId);
68 from( final TextToSpeech.OnUtteranceCompletedListener listener) argument
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java71 public void setExtendedSettingsClickListener(View.OnClickListener listener) { argument
72 if (listener != mExtendedSettingsClickListener) {
73 mExtendedSettingsClickListener = listener;
77 dialog.setExtendedSettingsClickListener(listener);
H A DNavItemSelectedListener.java31 public NavItemSelectedListener(ActionBar.OnNavigationListener listener) { argument
32 mListener = listener;
/frameworks/base/media/java/android/media/
H A DMediaTimeProvider.java28 * Cancels all previous notification request from this listener if any. It
29 * registers the listener to get seek and stop notifications. If timeUs is
30 * not negative, it also registers the listener for a timed event
38 public void notifyAt(long timeUs, OnMediaTimeListener listener); argument
41 * Cancels all previous notification request from this listener if any. It
42 * registers the listener to get seek and stop notifications. If the media
43 * is stopped, the listener will immediately receive a stop notification.
46 public void scheduleUpdate(OnMediaTimeListener listener); argument
49 * Cancels all previous notification request from this listener if any.
51 public void cancelNotifications(OnMediaTimeListener listener); argument
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java89 * Set an effect listener.
91 * Some effects may report state changes back to the host, if a listener is set. Consult the
94 * @param listener The listener to receive update callbacks on.
96 public void setUpdateListener(EffectUpdateListener listener) { argument
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DBackDropperEffect.java101 public void setUpdateListener(EffectUpdateListener listener) { argument
102 mEffectListener = listener;
/frameworks/base/services/core/java/com/android/server/location/
H A DCountryDetectorBase.java53 * Register a listener to receive the notification when the country is detected or changed.
55 * The previous listener will be replaced if it exists.
57 public void setCountryListener(CountryListener listener) { argument
58 mListener = listener;
/frameworks/base/services/core/java/com/android/server/wm/
H A DPointerEventDispatcher.java62 * Add the specified listener to the list.
63 * @param listener The listener to add.
65 public void registerInputEventListener(PointerEventListener listener) { argument
67 if (mListeners.contains(listener)) {
69 listener + " twice.");
71 mListeners.add(listener);
77 * Remove the specified listener from the list.
78 * @param listener The listener t
80 unregisterInputEventListener(PointerEventListener listener) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameTargetFilter.java19 * A {@link Filter} that consumes frames and allows to register a listener to observe when
45 public synchronized void setListener(Listener listener) { argument
46 mListener = listener;
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
H A DMusicProviderTask.java36 * listener to be informed when the task is done.
39 * @param listener
42 MusicProviderTaskListener listener) {
44 mMusicProviderTaskListener = listener;
41 MusicProviderTask(MusicProvider musicProvider, MusicProviderTaskListener listener) argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainRecognitionService.java37 protected void onStartListening(Intent recognizerIntent, Callback listener) { argument
42 protected void onCancel(Callback listener) { argument
47 protected void onStopListening(Callback listener) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPlayAnimationThread.java31 IAnimationListener listener) {
32 super(scene, animName, listener);
30 PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, IAnimationListener listener) argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsEcbm.java87 public ImsEcbmListenerProxy(ImsEcbmStateListener listener) { argument
88 mListener = listener;
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsStreamMediaSession.java42 ImsStreamMediaSession(IImsStreamMediaSession mediaSession, Listener listener) { argument
44 setListener(listener);
48 * Sets the listener to listen to the media session events. A {@code ImsStreamMediaSession}
49 * can only hold one listener at a time. Subsequent calls to this method
50 * override the previous listener.
52 * @param listener to listen to the media session events of this object
54 public void setListener(Listener listener) { argument
55 mListener = listener;
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewPropertyAnimatorCompatJB.java37 final ViewPropertyAnimatorListener listener) {
38 if (listener != null) {
42 listener.onAnimationCancel(view);
47 listener.onAnimationEnd(view);
52 listener.onAnimationStart(view);
36 setListener(final View view, final ViewPropertyAnimatorListener listener) argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DNavItemSelectedListener.java33 public NavItemSelectedListener(ActionBar.OnNavigationListener listener) { argument
34 mListener = listener;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DFitWindowsFrameLayout.java40 public void setOnFitSystemWindowsListener(OnFitSystemWindowsListener listener) { argument
41 mListener = listener;
H A DFitWindowsLinearLayout.java39 public void setOnFitSystemWindowsListener(OnFitSystemWindowsListener listener) { argument
40 mListener = listener;
H A DFitWindowsViewGroup.java30 public void setOnFitSystemWindowsListener(OnFitSystemWindowsListener listener); argument

Completed in 1037 milliseconds

1234567891011>>