Searched defs:listener (Results 201 - 225 of 787) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java163 public void setDoneCallback(OnRunnerDoneListener listener) { argument
164 mDoneListener = listener;
H A DFilterSurfaceView.java52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) { argument
54 if (listener == null) {
56 } else if (mListener != null && mListener != listener) {
58 "Attempting to bind filter " + listener + " to SurfaceView with another open "
62 // Set listener
63 mListener = listener;
77 // Forward surface created to listener
80 // Forward surface changed to listener
108 // Forward callback to listener
H A DSyncRunner.java132 if (mLogVerbose) Log.v(TAG, "Calling completion listener.");
144 public void setDoneCallback(OnRunnerDoneListener listener) { argument
145 mDoneListener = listener;
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java78 for (Listener listener : mListeners) {
79 listener.deviceAdded(mtpDevice);
85 for (Listener listener : mListeners) {
86 listener.deviceRemoved(mtpDevice);
98 for (Listener listener : mListeners) {
99 listener.deviceAdded(mtpDevice);
200 * @param listener the listener to register
202 public void addListener(Listener listener) { argument
204 if (!mListeners.contains(listener)) {
215 removeListener(Listener listener) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java68 public void setOnPrintersChangeListener(OnPrintersChangeListener listener) { argument
69 mOnPrintersChangeListener = listener;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
H A DAuthenticatorHelper.java66 OnAccountsUpdateListener listener) {
69 mListener = listener;
65 AuthenticatorHelper(Context context, UserHandle userHandle, OnAccountsUpdateListener listener) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DInputConsumerController.java94 * Sets the touch listener.
96 public void setTouchListener(TouchListener listener) { argument
97 mListener = listener;
101 * Sets the registration listener.
103 public void setRegistrationListener(RegistrationListener listener) { argument
104 mRegistrationListener = listener;
H A DPipMediaController.java55 * A listener interface to receive notification on changes to the media actions.
127 * Adds a new media action listener.
129 public void addListener(ActionListener listener) { argument
130 if (!mListeners.contains(listener)) {
131 mListeners.add(listener);
132 listener.onMediaActionsChanged(getMediaActions());
137 * Removes a media action listener.
139 public void removeListener(ActionListener listener) { argument
140 listener.onMediaActionsChanged(Collections.EMPTY_LIST);
141 mListeners.remove(listener);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
H A DPipControlButtonView.java117 public void setOnClickListener(OnClickListener listener) { argument
118 mButtonImageView.setOnClickListener(listener);
122 public void setOnFocusChangeListener(OnFocusChangeListener listener) { argument
123 mFocusChangeListener = listener;
H A DPipControlsView.java288 public void setListener(Listener listener) { argument
289 mListener = listener;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java56 TileStateListener listener, Runnable completion) {
58 mListener = listener;
55 TileQueryHelper(Context context, QSTileHost host, TileStateListener listener, Runnable completion) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimationProps.java79 Animator.AnimatorListener listener) {
80 this(0, duration, interpolator, listener);
96 Animator.AnimatorListener listener) {
100 setListener(listener);
204 * Sets an animator listener for this animation.
206 public AnimationProps setListener(Animator.AnimatorListener listener) { argument
207 mListener = listener;
212 * Returns the animator listener for this animation.
78 AnimationProps(int duration, Interpolator interpolator, Animator.AnimatorListener listener) argument
95 AnimationProps(int startDelay, int duration, Interpolator interpolator, Animator.AnimatorListener listener) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUnlockMethodCache.java80 public void addListener(OnUnlockMethodChangedListener listener) { argument
81 mListeners.add(listener);
84 public void removeListener(OnUnlockMethodChangedListener listener) { argument
85 mListeners.remove(listener);
111 for (OnUnlockMethodChangedListener listener : mListeners) {
112 listener.onUnlockMethodStateChanged();
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DCustomListPreference.java44 OnClickListener listener) {
43 onPrepareDialogBuilder(AlertDialog.Builder builder, OnClickListener listener) argument
H A DRadioListPreference.java48 protected void onPrepareDialogBuilder(Builder builder, OnClickListener listener) { argument
49 mOnClickListener = listener;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePrefs.java50 public static void unregisterCallbacks(Context c, OnSharedPreferenceChangeListener listener) { argument
51 prefs(c).unregisterOnSharedPreferenceChangeListener(listener);
54 public static void registerCallbacks(Context c, OnSharedPreferenceChangeListener listener) { argument
55 prefs(c).registerOnSharedPreferenceChangeListener(listener);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationInflaterTest.java259 OnViewAppliedListener listener, OnClickHandler handler) {
260 mHandler.post(() -> listener.onError(new RuntimeException("Failed to inflate async")));
266 OnViewAppliedListener listener) {
267 return applyAsync(context, parent, executor, listener, null);
258 applyAsync(Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener, OnClickHandler handler) argument
265 applyAsync(Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener) argument
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DSaveUi.java52 void onCancel(IntentSender listener); argument
76 public void onCancel(IntentSender listener) { argument
82 mRealListener.onCancel(listener);
110 @NonNull OverlayControl overlayControl, @NonNull OnSaveListener listener) {
111 mListener = new OneTimeListener(listener);
109 SaveUi(@onNull Context context, @NonNull CharSequence providerLabel, @NonNull SaveInfo info, @NonNull OverlayControl overlayControl, @NonNull OnSaveListener listener) argument
/frameworks/base/services/core/java/com/android/server/
H A DCountryDetectorService.java48 * The class represents the remote listener, it will also removes itself
49 * from listener list when the remote process was died.
55 public Receiver(ICountryListener listener) { argument
56 mListener = listener;
57 mKey = listener.asBinder();
110 * Add the ICountryListener into the listener list.
113 public void addCountryListener(ICountryListener listener) throws RemoteException { argument
117 addListener(listener);
121 * Remove the ICountryListener from the listener list.
124 public void removeCountryListener(ICountryListener listener) throw argument
131 addListener(ICountryListener listener) argument
195 setCountryListener(final CountryListener listener) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayAdapter.java54 Context context, Handler handler, Listener listener, String name) {
58 mListener = listener;
108 * Sends a display device event to the display adapter listener asynchronously.
53 DisplayAdapter(DisplayManagerService.SyncRoot syncRoot, Context context, Handler handler, Listener listener, String name) argument
H A DRampAnimator.java117 * Sets a listener to watch for animation events.
119 public void setListener(Listener listener) { argument
120 mListener = listener;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityGestureDetectorTest.java53 public AccessibilityGestureDetectorTestable(Context context, Listener listener) { argument
54 super(context, listener);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DTaskStackChangedListenerTest.java228 private void registerTaskStackChangedListener(ITaskStackListener listener) throws Exception { argument
229 mTaskStackListener = listener;
230 mService.registerTaskStackListener(listener);
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsServiceProxyCompat.java56 public int startSession(PendingIntent incomingCallIntent, IImsRegistrationListener listener) argument
60 listener);
83 public void addRegistrationListener(IImsRegistrationListener listener) argument
86 getServiceInterface(mBinder).addRegistrationListener(mSlotId, ImsFeature.MMTEL, listener);
90 public void removeRegistrationListener(IImsRegistrationListener listener) argument
92 // Not Implemented in old ImsService. If the registration listener becomes invalid, the
105 IImsCallSessionListener listener) throws RemoteException {
107 return getServiceInterface(mBinder).createCallSession(sessionId, profile, listener);
104 createCallSession(int sessionId, ImsCallProfile profile, IImsCallSessionListener listener) argument
/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DIMMTelFeature.java53 * @param listener To listen to IMS registration events; It cannot be null
57 int startSession(PendingIntent incomingCallIntent, IImsRegistrationListener listener) argument
92 * Add a new registration listener for the client associated with the session Id.
93 * @param listener An implementation of IImsRegistrationListener.
95 void addRegistrationListener(IImsRegistrationListener listener) argument
99 * Remove a previously registered listener using {@link #addRegistrationListener} for the client
101 * @param listener A previously registered IImsRegistrationListener
103 void removeRegistrationListener(IImsRegistrationListener listener) argument
135 * @param listener An implementation of IImsCallSessionListener.
138 IImsCallSessionListener listener) throw
137 createCallSession(int sessionId, ImsCallProfile profile, IImsCallSessionListener listener) argument
[all...]

Completed in 395 milliseconds

1234567891011>>