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

1234567891011>>

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DViewStubBindingAdapter.java32 OnInflateListener listener) {
33 viewStubProxy.setOnInflateListener(listener);
31 setOnInflateListener(ViewStubProxy viewStubProxy, OnInflateListener listener) argument
H A DCompoundButtonBindingAdapter.java45 public static void setListeners(CompoundButton view, final OnCheckedChangeListener listener, argument
48 view.setOnCheckedChangeListener(listener);
53 if (listener != null) {
54 listener.onCheckedChanged(buttonView, isChecked);
H A DListenerUtil.java31 * This method tracks listeners for a View. Only one listener per listenerResourceId
33 * when used with BindingAdapters. This guarantees not to leak the listener or the View,
38 * public static void addFooListener(MyView view, OnFooListener listener) {
39 * OnFooListener oldValue = ListenerUtil.trackListener(view, listener, R.id.fooListener);
43 * if (listener != null) {
44 * view.addOnFooListener(listener);
48 * @param view The View that will have this listener
49 * @param listener The listener to keep track of. May be null if the listener i
55 trackListener(View view, T listener, int listenerResourceId) argument
[all...]
H A DNumberPickerBindingAdapter.java47 public static void setListeners(NumberPicker view, final OnValueChangeListener listener, argument
50 view.setOnValueChangedListener(listener);
55 if (listener != null) {
56 listener.onValueChange(picker, oldVal, newVal);
H A DRadioGroupBindingAdapter.java38 public static void setListeners(RadioGroup view, final OnCheckedChangeListener listener, argument
41 view.setOnCheckedChangeListener(listener);
46 if (listener != null) {
47 listener.onCheckedChanged(group, checkedId);
H A DRatingBarBindingAdapter.java38 public static void setListeners(RatingBar view, final OnRatingBarChangeListener listener, argument
41 view.setOnRatingBarChangeListener(listener);
46 if (listener != null) {
47 listener.onRatingChanged(ratingBar, rating, fromUser);
/frameworks/base/core/java/android/widget/
H A DDatePickerController.java30 void registerOnDateChangedListener(OnDateChangedListener listener); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCallbackController.java18 void addCallback(T listener); argument
19 void removeCallback(T listener); argument
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightManager.java27 * Register a listener to be notified whenever the twilight state changes.
29 * @param listener the {@link TwilightListener} to be notified
30 * @param handler the {@link Handler} to use to notify the listener
32 void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler); argument
35 * Unregisters a previously registered listener.
37 * @param listener the {@link TwilightListener} to be unregistered
39 void unregisterListener(@NonNull TwilightListener listener); argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsEcbmImplBase.java37 * Sets the listener.
40 public void setListener(IImsEcbmListener listener) throws RemoteException { argument
H A DImsMultiEndpointImplBase.java38 * Sets the listener.
41 public void setListener(IImsExternalCallStateListener listener) throws RemoteException { argument
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistRecognitionService.java28 protected void onStartListening(Intent recognizerIntent, Callback listener) { argument
32 protected void onCancel(Callback listener) { argument
36 protected void onStopListening(Callback listener) { argument
/frameworks/support/transition/api19/android/support/transition/
H A DAnimatorUtilsApi19.java28 @NonNull AnimatorListenerAdapter listener) {
29 animator.addPauseListener(listener);
27 addPauseListener(@onNull Animator animator, @NonNull AnimatorListenerAdapter listener) argument
/frameworks/support/transition/base/android/support/transition/
H A DAnimatorUtilsImpl.java25 void addPauseListener(@NonNull Animator animator, @NonNull AnimatorListenerAdapter listener); argument
/frameworks/support/transition/src/android/support/transition/
H A DAnimatorUtils.java37 @NonNull AnimatorListenerAdapter listener) {
38 IMPL.addPauseListener(animator, listener);
36 addPauseListener(@onNull Animator animator, @NonNull AnimatorListenerAdapter listener) argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DFitWindowsViewGroup.java34 void setOnFitSystemWindowsListener(OnFitSystemWindowsListener 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/view/
H A DFrameMetricsObserver.java49 @NonNull Window.OnFrameMetricsAvailableListener listener) {
61 mListener = listener;
48 FrameMetricsObserver(@onNull Window window, @NonNull Looper looper, @NonNull Window.OnFrameMetricsAvailableListener 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/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.h38 GLFunctorDrawable(Functor* functor, GlFunctorLifecycleListener* listener, SkCanvas* canvas) argument
40 , mListener(listener)
/frameworks/base/media/java/android/media/
H A DAudioRouting.java54 * @param listener The {@link AudioRouting.OnRoutingChangedListener} interface to receive
60 public void addOnRoutingChangedListener(OnRoutingChangedListener listener, argument
66 * @param listener The previously added {@link AudioRouting.OnRoutingChangedListener} interface
69 public void removeOnRoutingChangedListener(OnRoutingChangedListener listener); argument
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;

Completed in 747 milliseconds

1234567891011>>