HomeSort by relevance Sort by last modified time
    Searched refs:listener (Results 601 - 625 of 3745) sorted by null

<<21222324252627282930>>

  /development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
BackgroundPickers.java 42 private final OnBackgroundPickersChangedListener listener; field in class:BackgroundPickers
44 public BackgroundPickers(ViewGroup container, OnBackgroundPickersChangedListener listener) {
48 this.listener = listener;
135 if (listener != null) {
136 listener.onBackgroundPickersChanged(BackgroundPickers.this);
  /external/guava/guava/src/com/google/common/eventbus/
AnnotatedSubscriberFinder.java 69 public Multimap<Class<?>, EventSubscriber> findAllSubscribers(Object listener) {
71 Class<?> clazz = listener.getClass();
75 EventSubscriber subscriber = makeSubscriber(listener, method);
139 * {@code listener}.
143 * @param listener object bearing the event subscriber method.
145 * @return an EventSubscriber that will call {@code method} on {@code listener}
148 private static EventSubscriber makeSubscriber(Object listener, Method method) {
151 wrapper = new EventSubscriber(listener, method);
153 wrapper = new SynchronizedEventSubscriber(listener, method);
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
NewSlider.java 39 ChangeListener listener; field in class:NewSlider
111 if (listener != null) listener.stateChanged(new ChangeEvent(this));
118 public void addChangeListener (ChangeListener listener) {
119 this.listener = listener;
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
packet_sender.h 33 PacketSender(PacketProcessorListener* listener, int flow_id)
34 : PacketProcessor(listener, flow_id, kSender),
68 VideoSender(PacketProcessorListener* listener,
105 PacedVideoSender(PacketProcessorListener* listener,
138 TcpSender(PacketProcessorListener* listener, int flow_id, int64_t offset_ms);
139 TcpSender(PacketProcessorListener* listener,
  /frameworks/base/core/java/android/widget/
Filter.java 92 * <p>Upon completion, the listener is notified.</p>
95 * @param listener a listener notified upon completion of the operation
101 public final void filter(CharSequence constraint, FilterListener listener) {
118 args.listener = listener;
198 * <p>Listener used to receive a notification upon completion of a filtering
273 * to post the results back in the UI and then notifying the listener,
283 if (args.listener != null) {
285 args.listener.onFilterComplete(count)
303 FilterListener listener; field in class:Filter.RequestArguments
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
ProgressReporter.java 78 * reported to the given listener.
85 * Add given listener to watch for progress events. The current state will
86 * be immediately dispatched to the given listener.
88 public void addListener(@Nullable IProgressListener listener) {
89 if (listener == null) return;
91 mListeners.register(listener);
98 listener.onStarted(mId, null);
99 listener.onProgress(mId, mProgress, mExtras);
105 listener.onFinished(mId, null);
  /frameworks/base/libs/common_time/
common_clock_service.cpp 95 const sp<ICommonClockListener>& listener) {
102 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener))
107 mListeners.add(listener);
109 return IInterface::asBinder(listener)->linkToDeath(this);
113 const sp<ICommonClockListener>& listener) {
120 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) {
  /frameworks/base/libs/hwui/
PropertyValuesAnimatorSet.cpp 49 sp<AnimationListener> listener = std::move(mOneShotListener); local
50 // Set the listener to nullptr before the onAnimationFinished callback, rather than after,
56 // 2) It's possible that there are changes to the listener during the callback, therefore
57 // we need to reset the listener before the callback rather than afterwards.
59 listener->onAnimationFinished(animator);
87 void PropertyValuesAnimatorSet::start(AnimationListener* listener) {
89 mOneShotListener = listener;
94 void PropertyValuesAnimatorSet::reverse(AnimationListener* listener) {
96 mOneShotListener = listener;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
AnimationProps.java 80 Animator.AnimatorListener listener) {
81 this(0, duration, interpolator, listener);
97 Animator.AnimatorListener listener) {
101 setListener(listener);
234 * Sets an animator listener for this animation.
236 public AnimationProps setListener(Animator.AnimatorListener listener) {
237 mListener = listener;
242 * Returns the animator listener for this animation.
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
CallbackHandler.java 63 for (EmergencyListener listener : mEmergencyListeners) {
64 listener.setEmergencyCallsOnly(msg.arg1 != 0);
171 public void setListening(EmergencyListener listener, boolean listening) {
172 obtainMessage(MSG_ADD_REMOVE_EMERGENCY, listening ? 1 : 0, 0, listener).sendToTarget();
175 public void setListening(SignalCallback listener, boolean listening) {
176 obtainMessage(MSG_ADD_REMOVE_SIGNAL, listening ? 1 : 0, 0, listener).sendToTarget();
  /frameworks/base/tests/utils/testutils/java/android/app/test/
TestAlarmManager.java 140 AlarmManager.OnAlarmListener listener, Handler handler) {
142 new AlarmListenerRunnable(listener, handler)));
147 public void answer(AlarmManager.OnAlarmListener listener) {
154 if (alarmCallback.getListener() == listener) {
165 public AlarmListenerRunnable(AlarmManager.OnAlarmListener listener, Handler handler) {
166 mListener = listener;
  /frameworks/native/services/inputflinger/
InputListener.h 33 virtual void notify(const sp<InputListenerInterface>& listener) const = 0;
49 virtual void notify(const sp<InputListenerInterface>& listener) const;
76 virtual void notify(const sp<InputListenerInterface>& listener) const;
113 virtual void notify(const sp<InputListenerInterface>& listener) const;
133 virtual void notify(const sp<InputListenerInterface>& listener) const;
151 virtual void notify(const sp<InputListenerInterface>& listener) const;
173 * An implementation of the listener interface that queues up and defers dispatch
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetServiceImpl.java 143 * Addes a listener.
144 * @param listener A {@link IEthernetServiceListener} to add.
146 public void addListener(IEthernetServiceListener listener) {
147 if (listener == null) {
148 throw new IllegalArgumentException("listener must not be null");
151 mListeners.register(listener);
155 * Removes a listener.
156 * @param listener A {@link IEthernetServiceListener} to remove.
158 public void removeListener(IEthernetServiceListener listener) {
159 if (listener == null)
    [all...]
  /frameworks/opt/net/ims/src/java/com/android/ims/
ImsConfig.java 652 * @param listener, provided to be notified for the feature on/off status.
658 ImsConfigListener listener) throws ImsException {
661 ", listener =" + listener);
664 miConfig.getFeatureValue(feature, network, listener);
677 * @param listener, provided if caller needs to be notified for set result.
683 ImsConfigListener listener) throws ImsException {
686 ", value =" + value + ", listener =" + listener);
689 miConfig.setFeatureValue(feature, network, value, listener);
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockAlarmManager.java 141 AlarmManager.OnAlarmListener listener, Handler handler) {
143 new AlarmListenerRunnable(listener, handler)));
148 public void answer(AlarmManager.OnAlarmListener listener) {
155 if (alarmCallback.getListener() == listener) {
166 public AlarmListenerRunnable(AlarmManager.OnAlarmListener listener, Handler handler) {
167 mListener = listener;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsExternalConnection.java 54 public interface Listener {
63 private final Set<Listener> mListeners = Collections.newSetFromMap(
64 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
180 for (Listener listener : mListeners) {
181 listener.onPullExternalCall(this);
238 public void addListener(Listener listener) {
239 mListeners.add(listener);
242 public void removeListener(Listener listener)
    [all...]
  /frameworks/support/transition/tests/src/android/support/transition/
TransitionManagerTest.java 93 final SyncTransitionListener listener local
100 assertThat(transition.addListener(listener), is(sameInstance(transition)));
105 listener.await(), is(true));
110 final SyncTransitionListener listener local
117 assertThat(transition.addListener(listener), is(sameInstance(transition)));
122 listener.await(), is(true));
  /packages/apps/Camera2/src/com/android/camera/captureintent/
CaptureIntentSession.java 123 public synchronized void startEmpty(ImageLifecycleListener listener, @Nonnull Size pictureSize) {
128 public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Bitmap placeholder,
134 public synchronized void startSession(ImageLifecycleListener listener, @Nonnull byte[] placeholder,
140 public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Uri uri,
192 public void addProgressListener(CaptureSession.ProgressListener listener) {
197 public void removeProgressListener(CaptureSession.ProgressListener listener) {
  /packages/apps/Contacts/src/com/android/contacts/list/
ProviderStatusWatcher.java 100 /** Add a listener. */
101 public void addListener(ProviderStatusListener listener) {
102 mListeners.add(listener);
105 /** Remove a listener */
106 public void removeListener(ProviderStatusListener listener) {
107 mListeners.remove(listener);
115 for (ProviderStatusListener listener : mListeners) {
116 listener.onProviderStatusChange();
  /packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
BlockedNumbersMigratorTest.java 45 @Mock private BlockedNumbersMigrator.Listener mListener;
104 MigrationListener listener = new MigrationListener(); local
105 assertTrue(mMigrator.migrate(listener));
106 listener.waitForCallback();
122 MigrationListener listener = new MigrationListener(); local
123 assertTrue(mMigrator.migrate(listener));
124 listener.waitForCallback();
145 private static class MigrationListener implements BlockedNumbersMigrator.Listener {
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
GetOrCreateConversationAction.java 56 final GetOrCreateConversationActionListener listener) {
58 GetOrCreateConversationActionMonitor(data, listener);
67 final String[] recipients, final Object data, final LaunchConversationData listener) {
77 return getOrCreateConversation(participants, data, listener);
119 * A monitor that notifies a listener upon completion
126 final GetOrCreateConversationActionListener listener) {
129 mListener = listener;
  /packages/services/Car/car-lib/src/android/car/hardware/radio/
CarRadioManager.java 100 /** Listener for car radio events.
131 public synchronized void registerListener(CarRadioEventListener listener)
134 throw new IllegalStateException("Listener already registered. Did you call " +
138 mListener = listener;
197 * In order to ensure that the preset value indeed get updated, wait for event on the listener
203 * b) Listener is not set correctly, since otherwise the user of this API cannot confirm if the
216 CarRadioEventListener listener; local
218 listener = mListener;
220 if (listener != null) {
221 listener.onEvent(event)
    [all...]
  /packages/services/Car/libvehiclenetwork/native/
IVehicleNetwork.cpp 143 virtual status_t subscribe(const sp<IVehicleNetworkListener> &listener, int32_t property,
147 data.writeStrongBinder(IInterface::asBinder(listener));
155 virtual void unsubscribe(const sp<IVehicleNetworkListener> &listener, int32_t property) {
158 data.writeStrongBinder(IInterface::asBinder(listener));
211 virtual status_t startErrorListening(const sp<IVehicleNetworkListener> &listener) {
214 data.writeStrongBinder(IInterface::asBinder(listener));
219 virtual void stopErrorListening(const sp<IVehicleNetworkListener> &listener) {
222 data.writeStrongBinder(IInterface::asBinder(listener));
229 virtual status_t startHalRestartMonitoring(const sp<IVehicleNetworkListener> &listener) {
232 data.writeStrongBinder(IInterface::asBinder(listener));
321 sp<IVehicleNetworkListener> listener = local
335 sp<IVehicleNetworkListener> listener = local
416 sp<IVehicleNetworkListener> listener = local
427 sp<IVehicleNetworkListener> listener = local
438 sp<IVehicleNetworkListener> listener = local
449 sp<IVehicleNetworkListener> listener = local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
ContactsAsyncHelper.java 85 public OnImageLoadCompleteListener listener; field in class:ContactsAsyncHelper.WorkerArgs
139 // Listener will synchronize as needed
140 Log.d(this, "Notifying listener: " + args.listener.toString() +
142 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon,
195 * @param listener Callback object which will be used when the asynchronous load is done.
203 OnImageLoadCompleteListener listener, Object cookie) {
221 args.listener = listener;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
XmlEditorMultiOutline.java 111 public void addSelectionChangedListener(ISelectionChangedListener listener) {
115 mListeners.add(listener);
119 public void removeSelectionChangedListener(ISelectionChangedListener listener) {
120 mListeners.remove(listener);
205 public void addSelectionChangedListener(ISelectionChangedListener listener) {
214 public void removeSelectionChangedListener(ISelectionChangedListener listener) {

Completed in 1104 milliseconds

<<21222324252627282930>>