Home
last modified time | relevance | path

Searched refs:Listener (Results 1 – 25 of 212) sorted by relevance

123456789

/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java70 interface Listener { interface in Call
99 public abstract static class ListenerBase implements Listener {
279 private final Set<Listener> mListeners = Collections.newSetFromMap(
280 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
415 public void addListener(Listener listener) { in addListener()
419 public void removeListener(Listener listener) { in removeListener()
594 for (Listener l : mListeners) { in setRingbackRequested()
643 for (Listener l : mListeners) { in setHandle()
662 for (Listener l : mListeners) { in setCallerDisplayName()
724 for (Listener l : mListeners) { in setConnectionManagerPhoneAccount()
[all …]
DDockManager.java32 interface Listener { interface in DockManager
55 private final Set<Listener> mListeners = Collections.newSetFromMap(
56 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
68 void addListener(Listener listener) { in addListener()
72 void removeListener(Listener listener) { in removeListener()
94 for (Listener listener : mListeners) { in onDockChanged()
DWiredHeadsetManager.java33 interface Listener { interface in WiredHeadsetManager
58 private final Set<Listener> mListeners = Collections.newSetFromMap(
59 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
72 void addListener(Listener listener) { in addListener()
76 void removeListener(Listener listener) { in removeListener()
92 for (Listener listener : mListeners) { in onHeadsetPluggedInChanged()
DVideoProviderProxy.java49 interface Listener { interface in VideoProviderProxy
60 private final Set<Listener> mListeners = Collections.newSetFromMap(
61 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
133 for (Listener listener : mListeners) { in receiveSessionModifyRequest()
407 public void addListener(Listener listener) { in addListener()
416 public void removeListener(Listener listener) { in removeListener()
DServiceBinder.java52 interface Listener<ServiceBinderClass extends ServiceBinder> { interface in ServiceBinder
189 private final Set<Listener> mListeners = Collections.newSetFromMap(
190 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
265 final void addListener(Listener listener) { in addListener()
269 final void removeListener(Listener listener) { in removeListener()
332 for (Listener l : mListeners) { in setBinder()
/packages/apps/ContactsCommon/src/com/android/contacts/common/editor/
DSelectAccountDialogFragment.java57 public static <F extends Fragment & Listener> void show(FragmentManager fragmentManager, in show()
100 if (targetFragment != null && targetFragment instanceof Listener) { in onCancel()
101 final Listener target = (Listener) targetFragment; in onCancel()
111 if (targetFragment != null && targetFragment instanceof Listener) { in onAccountSelected()
112 final Listener target = (Listener) targetFragment; in onAccountSelected()
117 public interface Listener { interface in SelectAccountDialogFragment
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DFormPageDisplayer.java41 implements TextInputWizardFragment.Listener, SelectFromListWizardFragment.Listener,
42 PasswordInputWizardFragment.Listener {
87 private TextInputWizardFragment.Listener mTextInputWizardFragmentListener;
88 private PasswordInputWizardFragment.Listener mPasswordInputWizardFragmentListener;
89 private SelectFromListWizardFragment.Listener mSelectFromListWizardFragmentListener;
186 mSelectFromListWizardFragmentListener = new SelectFromListWizardFragment.Listener() { in displayList()
215 mTextInputWizardFragmentListener = new TextInputWizardFragment.Listener() { in displayTextInput()
240 mPasswordInputWizardFragmentListener = new PasswordInputWizardFragment.Listener() { in displayPasswordInput()
DConnectToWifiFragment.java42 implements ConnectivityListener.Listener {
44 public interface Listener { interface in ConnectToWifiFragment
71 private Listener mListener;
84 if (activity instanceof Listener) { in onAttach()
85 mListener = (Listener) activity; in onAttach()
DTimedMessageWizardFragment.java31 public interface Listener { interface in TimedMessageWizardFragment
54 private Listener mListener;
58 if (activity instanceof Listener) { in onAttach()
59 mListener = (Listener) activity; in onAttach()
DSaveWifiConfigurationFragment.java31 public interface Listener { interface in SaveWifiConfigurationFragment
52 private Listener mListener;
56 if (activity instanceof Listener) { in onAttach()
57 mListener = (Listener) activity; in onAttach()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java53 private final ArrayList<Listener> mListeners = new ArrayList<Listener>();
83 for (Listener listener : mListeners) {
92 for (Listener listener : mListeners) {
106 for (Listener listener : mListeners) {
123 public interface Listener { interface in MtpClient
226 public void addListener(Listener listener) { in addListener()
239 public void removeListener(Listener listener) { in removeListener()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java56 private final ArrayList<Listener> mListeners = new ArrayList<Listener>();
86 for (Listener listener : mListeners) {
95 for (Listener listener : mListeners) {
109 for (Listener listener : mListeners) {
126 public interface Listener { interface in MtpClient
228 public void addListener(Listener listener) { in addListener()
241 public void removeListener(Listener listener) { in removeListener()
/packages/apps/InCallUI/src/com/android/incallui/
DCallList.java60 private final Set<Listener> mListeners = Collections.newSetFromMap(
61 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
127 for (Listener listener : mListeners) { in onIncoming()
134 for (Listener listener : mListeners) { in onUpgradeToVideo()
231 public void addListener(Listener listener) { in addListener()
240 public void removeListener(Listener listener) { in removeListener()
459 for (Listener listener : mListeners) { in notifyGenericListeners()
465 for (Listener listener : mListeners) { in notifyListenersOfDisconnect()
604 public interface Listener { interface in CallList
DInCallCameraManager.java37 public interface Listener { interface in InCallCameraManager
41 private final Set<Listener> mCameraSelectionListeners = Collections.
42 newSetFromMap(new ConcurrentHashMap<Listener, Boolean>(8,0.9f,1));
87 for (Listener listener : mCameraSelectionListeners) { in setUseFrontFacingCamera()
173 public void addCameraSelectionListener(Listener listener) { in addCameraSelectionListener()
179 public void removeCameraSelectionListener(Listener listener) { in removeCameraSelectionListener()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogQueryHandler.java71 private final WeakReference<Listener> mListener;
112 Listener listener) { in CallLogQueryHandler()
116 public CallLogQueryHandler(Context context, ContentResolver contentResolver, Listener listener, in CallLogQueryHandler()
120 mListener = new WeakReference<Listener>(listener); in CallLogQueryHandler()
261 final Listener listener = mListener.get(); in updateAdapterData()
270 final Listener listener = mListener.get(); in updateVoicemailStatus()
277 public interface Listener { interface in CallLogQueryHandler
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DNotificationListenerActivity.java53 updateList(intent.getStringExtra(Listener.EXTRA_KEY));
77 final IntentFilter intentFilter = new IntentFilter(Listener.ACTION_REFRESH); in onStart()
126 sendBroadcast(new Intent(Listener.ACTION_DISMISS) in dismiss()
127 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); in dismiss()
138 sendBroadcast(new Intent(Listener.ACTION_LAUNCH) in launch()
139 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); in launch()
145 final List<StatusBarNotification> notifications = Listener.getNotifications(); in updateList()
DListener.java40 public class Listener extends NotificationListenerService { class
128 LocalBroadcastManager.getInstance(Listener.this)
143 LocalBroadcastManager.getInstance(Listener.this)
153 LocalBroadcastManager.getInstance(Listener.this)
160 LocalBroadcastManager.getInstance(Listener.this)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseActionFragment.java33 implements ActionAdapter.Listener, ActionAdapter.OnFocusListener,
67 private ActionAdapter.Listener mListener = null;
172 } else if (mFragment.getActivity() instanceof ActionAdapter.Listener) { in onActionClicked()
173 ActionAdapter.Listener listener = (ActionAdapter.Listener) mFragment.getActivity(); in onActionClicked()
216 public void setListener(ActionAdapter.Listener listener) { in setListener()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioLevelSource.java30 private volatile Listener mListener;
34 public interface Listener { interface in AudioLevelSource
58 final Listener l = mListener; in maybeNotify()
64 public synchronized void setListener(Listener listener) { in setListener()
68 public synchronized void clearListener(Listener listener) { in clearListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java95 public static class Listener { class in BluetoothScanner
116 public static void startListening(Context context, Listener listener, in startListening()
130 public static boolean stopListening(Listener listener) { in stopListening()
164 public final Listener listener;
168 public ClientRecord(Listener listener, List<BluetoothDeviceCriteria> matchers) { in ClientRecord()
201 public void startListening(Listener listener, List<BluetoothDeviceCriteria> matchers) { in startListening()
252 public boolean stopListening(Listener listener) { in stopListening()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DDialogFragment.java189 private Action.Listener mListener;
371 public void setListener(Action.Listener listener) { in setListener()
481 mAdapter = new DialogActionAdapter(new Action.Listener() { in setActionView()
496 } else if (getActivity() instanceof Action.Listener) { in setActionView()
497 Action.Listener listener = (Action.Listener) getActivity(); in setActionView()
787 .setListener(new Listener(false)) in fadeIn()
810 .setListener(new Listener(true)) in fadeOut()
821 private class Listener implements Animator.AnimatorListener { class in DialogFragment.SelectorAnimator
825 public Listener(boolean fadingOut) { in Listener() method in DialogFragment.SelectorAnimator.Listener
970 public interface Listener { interface in DialogFragment.Action
DSettingsLayoutAdapter.java63 public interface Listener { interface in SettingsLayoutAdapter
83 private Listener mListener;
97 public SettingsLayoutAdapter(Listener listener, OnFocusListener onFocusListener) { in SettingsLayoutAdapter()
161 public void setListener(Listener listener) { in setListener()
495 private Listener mListener;
497 public ActionOnKeyPressAnimator(Listener listener) { in ActionOnKeyPressAnimator()
501 public void setListener(Listener listener) { in setListener()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorButton.java31 implements BasicSettingPopup.Listener, EffectSettingPopup.Listener{
36 private Listener mListener;
38 static public interface Listener { interface in IndicatorButton
42 public void setSettingChangedListener(Listener listener) { in setSettingChangedListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserAppRestrictionsDialogFragment.java45 public class UserAppRestrictionsDialogFragment extends DialogFragment implements Action.Listener,
46 AppLoadingTask.Listener {
255 mUserManager, packageName, new AppRestrictionsManager.Listener() { in onActionClicked()
315 if (getActivity() instanceof AppLoadingTask.Listener) { in onPackageEnableChanged()
316 ((AppLoadingTask.Listener) getActivity()).onPackageEnableChanged(packageName, enabled); in onPackageEnableChanged()
323 if (getActivity() instanceof AppLoadingTask.Listener) { in onActionsLoaded()
324 ((AppLoadingTask.Listener) getActivity()).onActionsLoaded(actions); in onActionsLoaded()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileListFragment.java55 public interface Listener { interface in ContactTileListFragment
60 private Listener mListener;
221 public void setListener(Listener listener) { in setListener()
225 private ContactTileView.Listener mAdapterListener =
226 new ContactTileView.Listener() {

123456789