Searched defs:listener (Results 126 - 150 of 787) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DCallbackFilter.java35 @GenerateFieldPort(name = "listener", hasDefault = true)
52 public CallbackRunnable(FilterContext.OnFrameReceivedListener listener, Filter filter, Frame frame, Object userData) { argument
53 mListener = listener;
81 // Get frame and forward to listener
94 throw new RuntimeException("CallbackFilter received frame, but no listener set!");
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DPrefState.java75 public void setListener(PrefsListener listener) { argument
76 mListener = listener;
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
H A DRemotePrintServicePlugin.java62 * @param listener The listener to be notified about changes in this plugin
69 @NonNull OnChangedListener listener, boolean recommendsMultiVendorService)
71 mListener = listener;
91 * Start the plugin. From now on there might be callbacks to the registered listener.
68 RemotePrintServicePlugin(@onNull PrintServicePlugin plugin, @NonNull OnChangedListener listener, boolean recommendsMultiVendorService) argument
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
H A DDiscoveryListenerMultiplexer.java39 * Add a new {@link NsdManager.DiscoveryListener listener} for a {@code serviceType}.
43 * @param newListener the {@link NsdManager.DiscoveryListener listener} to add.
70 * Remove a previously added {@link NsdManager.DiscoveryListener listener}.
73 * @param listener The {@link NsdManager.DiscoveryListener listener} that was registered
75 * @return true iff the listener was removed
78 @NonNull NsdManager.DiscoveryListener listener) {
84 wasRemoved = listeners.subListeners.remove(listener);
105 /** The listener registered with the NSD Manager */
123 * Create a new multi listener
77 removeListener(@onNull NsdManager nsdManager, @NonNull NsdManager.DiscoveryListener listener) argument
[all...]
H A DNsdResolveQueue.java61 final @NonNull NsdManager.ResolveListener listener; field in class:NsdResolveQueue.NsdResolveRequest
64 @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) {
67 this.listener = listener;
76 * @param listener The listener to call back once the info is resolved.
79 @NonNull NsdManager.ResolveListener listener) {
82 new ListenerWrapper(listener)));
91 * Wrapper for a {@link NsdManager.ResolveListener}. Calls the listener and then
97 private ListenerWrapper(@NonNull NsdManager.ResolveListener listener) { argument
63 NsdResolveRequest(@onNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) argument
78 resolve(@onNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissView.java49 public void setOnButtonClickListener(OnClickListener listener) { argument
50 mContent.setOnClickListener(listener);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationDozeHelper.java64 boolean dark, long delay, Animator.AnimatorListener listener) {
72 if (listener != null) {
73 animator.addListener(listener);
78 public void setIntensityDark(Consumer<Float> listener, boolean dark, argument
81 startIntensityAnimation(a -> listener.accept((Float) a.getAnimatedValue()), dark, delay,
82 null /* listener */);
84 listener.accept(dark ? 1f : 0f);
63 startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, boolean dark, long delay, Animator.AnimatorListener listener) argument
H A DRowInflaterTask.java41 RowInflationFinishedListener listener) {
42 mListener = listener;
40 inflate(Context context, ViewGroup parent, NotificationData.Entry entry, RowInflationFinishedListener listener) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImpl.java64 public void addCallback(DeviceProvisionedListener listener) { argument
65 mListeners.add(listener);
69 listener.onUserSetupChanged();
70 listener.onDeviceProvisionedChanged();
74 public void removeCallback(DeviceProvisionedListener listener) { argument
75 mListeners.remove(listener);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeNetworkController.java38 public void addEmergencyListener(EmergencyListener listener) { argument
39 mEmergencyChecker.addCallback(listener);
43 public void removeEmergencyListener(EmergencyListener listener) { argument
44 mEmergencyChecker.removeCallback(listener);
/frameworks/base/services/core/java/com/android/server/
H A DRecoverySystemService.java77 public boolean uncrypt(String filename, IRecoverySystemProgressListener listener) { argument
129 if (listener != null) {
131 listener.onProgress(status);
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBasedCountryDetector.java96 * Register a listener with a provider name
98 protected void registerListener(String provider, LocationListener listener) { argument
101 mLocationManager.requestLocationUpdates(provider, 0, 0, listener);
108 * Unregister an already registered listener
110 protected void unregisterListener(LocationListener listener) { argument
113 mLocationManager.removeUpdates(listener);
176 LocationListener listener = new LocationListener () {
194 mLocationListeners.add(listener);
195 registerListener(provider, listener);
218 * Stop the current query without notifying the listener
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DAudioPlaybackMonitor.java65 OnAudioPlaybackStartedListener listener) {
67 mListener = listener;
64 AudioPlaybackMonitor(Context context, IAudioService audioService, OnAudioPlaybackStartedListener listener) argument
/frameworks/base/services/core/java/com/android/server/vr/
H A DSettingsObserver.java114 * Add a listener for setting changes.
116 * @param listener a {@link SettingChangeListener} instance.
118 public void addListener(@NonNull SettingChangeListener listener) { argument
119 mSettingsListeners.add(listener);
123 * Remove a listener for setting changes.
125 * @param listener a {@link SettingChangeListener} instance.
127 public void removeListener(@NonNull SettingChangeListener listener) { argument
128 mSettingsListeners.remove(listener);
H A DVrManagerInternal.java116 * Adds listener that reports state changes to persistent VR mode.
118 public abstract void addPersistentVrModeStateListener(IPersistentVrStateCallbacks listener); argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedStackWindowController.java41 public PinnedStackWindowController(int stackId, PinnedStackWindowListener listener, argument
43 super(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance());
207 PinnedStackWindowListener listener = (PinnedStackWindowListener) mListener;
208 listener.updatePictureInPictureModeForPinnedStackAnimation(targetStackBounds);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCountryDetectorServiceTest.java58 protected void setCountryListener(final CountryListener listener) { argument
59 mListener = listener;
/frameworks/base/services/usb/java/com/android/server/usb/
H A DMtpNotificationManager.java68 MtpNotificationManager(Context context, OnOpenInAppListener listener) { argument
70 mListener = listener;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java45 public AudioTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
46 super(trackIndex, format, listener);
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java73 IAnimationListener listener) {
76 mListener = listener;
72 AnimationThread(RenderSessionImpl scene, String threadName, IAnimationListener listener) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java131 OnSharedPreferenceChangeListener listener) {
136 OnSharedPreferenceChangeListener listener) {
130 registerOnSharedPreferenceChangeListener( OnSharedPreferenceChangeListener listener) argument
135 unregisterOnSharedPreferenceChangeListener( OnSharedPreferenceChangeListener listener) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMethodReferenceExpr.java52 public Expr resolveListeners(ModelClass listener, Expr parent) { argument
54 return resolveListenersAsMethodReference(listener, parent);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DDatePickerBindingAdapter.java36 final OnDateChangedListener listener, final InverseBindingListener yearChanged,
45 view.init(year, month, day, listener);
52 oldListener.setListeners(listener, yearChanged, monthChanged, dayChanged);
63 public void setListeners(OnDateChangedListener listener, InverseBindingListener yearChanged, argument
65 mListener = listener;
35 setListeners(DatePicker view, int year, int month, int day, final OnDateChangedListener listener, final InverseBindingListener yearChanged, final InverseBindingListener monthChanged, final InverseBindingListener dayChanged) argument
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java28 public void addOnListChangedCallback(OnListChangedCallback listener) { argument
32 mListeners.add(listener);
36 public void removeOnListChangedCallback(OnListChangedCallback listener) { argument
38 mListeners.remove(listener);
H A DObservableArrayMap.java28 OnMapChangedCallback<? extends ObservableMap<K, V>, K, V> listener) {
32 mListeners.add(listener);
37 OnMapChangedCallback<? extends ObservableMap<K, V>, K, V> listener) {
39 mListeners.remove(listener);
27 addOnMapChangedCallback( OnMapChangedCallback<? extends ObservableMap<K, V>, K, V> listener) argument
36 removeOnMapChangedCallback( OnMapChangedCallback<? extends ObservableMap<K, V>, K, V> listener) argument

Completed in 388 milliseconds

1234567891011>>