Home
last modified time | relevance | path

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

12345678

/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java67 interface Listener { interface in Call
95 abstract static class ListenerBase implements Listener {
265 private final Set<Listener> mListeners = Collections.newSetFromMap(
266 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
380 void addListener(Listener listener) { in addListener()
384 void removeListener(Listener listener) { in removeListener()
474 for (Listener l : mListeners) { in setRingbackRequested()
519 for (Listener l : mListeners) { in setHandle()
538 for (Listener l : mListeners) { in setCallerDisplayName()
600 for (Listener l : mListeners) { in setConnectionManagerPhoneAccount()
[all …]
DWiredHeadsetManager.java33 interface Listener { interface in WiredHeadsetManager
57 private final Set<Listener> mListeners = Collections.newSetFromMap(
58 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
71 void addListener(Listener listener) { in addListener()
75 void removeListener(Listener listener) { in removeListener()
91 for (Listener listener : mListeners) { in onHeadsetPluggedInChanged()
DServiceBinder.java54 interface Listener<ServiceBinderClass extends ServiceBinder<?>> { interface in ServiceBinder
173 private final Set<Listener> mListeners = Collections.newSetFromMap(
174 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
250 final void addListener(Listener listener) { in addListener()
254 final void removeListener(Listener listener) { in removeListener()
317 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/InCallUI/src/com/android/incallui/
DCallList.java57 private final Set<Listener> mListeners = Collections.newSetFromMap(
58 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1));
71 private Phone.Listener mPhoneListener = new Phone.Listener() {
133 for (Listener listener : mListeners) { in onIncoming()
183 public void addListener(Listener listener) { in addListener()
192 public void removeListener(Listener listener) { in removeListener()
398 for (Listener listener : mListeners) { in notifyGenericListeners()
404 for (Listener listener : mListeners) { in notifyListenersOfDisconnect()
533 public interface Listener { interface in CallList
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DFormPageDisplayer.java42 implements TextInputWizardFragment.Listener, SelectFromListWizardFragment.Listener,
43 PasswordInputWizardFragment.Listener {
88 private TextInputWizardFragment.Listener mTextInputWizardFragmentListener;
89 private PasswordInputWizardFragment.Listener mPasswordInputWizardFragmentListener;
90 private SelectFromListWizardFragment.Listener mSelectFromListWizardFragmentListener;
187 mSelectFromListWizardFragmentListener = new SelectFromListWizardFragment.Listener() { in displayList()
216 mTextInputWizardFragmentListener = new TextInputWizardFragment.Listener() { in displayTextInput()
241 mPasswordInputWizardFragmentListener = new PasswordInputWizardFragment.Listener() { in displayPasswordInput()
DConnectToWifiFragment.java20 import com.android.tv.settings.connectivity.SaveWifiConfigurationFragment.Listener;
47 implements ConnectivityListener.Listener {
49 public interface Listener { interface in ConnectToWifiFragment
76 private Listener mListener;
89 if (activity instanceof Listener) { in onAttach()
90 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.java35 public interface Listener { interface in SaveWifiConfigurationFragment
56 private Listener mListener;
60 if (activity instanceof Listener) { in onAttach()
61 mListener = (Listener) activity; in onAttach()
DConnectivityListener.java50 public interface Listener { interface in ConnectivityListener
62 private final Listener mListener;
80 private final EthernetManager.Listener mEthernetListener = new EthernetManager.Listener() {
114 public ConnectivityListener(Context context, Listener listener) { in ConnectivityListener()
/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/Dialer/src/com/android/dialer/calllog/
DCallLogQueryHandler.java71 private final WeakReference<Listener> mListener;
105 public CallLogQueryHandler(ContentResolver contentResolver, Listener listener) { in CallLogQueryHandler()
109 public CallLogQueryHandler(ContentResolver contentResolver, Listener listener, int limit) { in CallLogQueryHandler()
111 mListener = new WeakReference<Listener>(listener); in CallLogQueryHandler()
253 final Listener listener = mListener.get(); in updateAdapterData()
262 final Listener listener = mListener.get(); in updateVoicemailStatus()
269 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/users/
DUserAppRestrictionsDialogFragment.java22 import com.android.tv.settings.users.AppRestrictionsManager.Listener;
52 public class UserAppRestrictionsDialogFragment extends DialogFragment implements Action.Listener,
53 AppLoadingTask.Listener {
262 mUserManager, packageName, new AppRestrictionsManager.Listener() { in onActionClicked()
320 if (getActivity() instanceof AppLoadingTask.Listener) { in onPackageEnableChanged()
321 ((AppLoadingTask.Listener) getActivity()).onPackageEnableChanged(packageName, enabled); in onPackageEnableChanged()
328 if (getActivity() instanceof AppLoadingTask.Listener) { in onActionsLoaded()
329 ((AppLoadingTask.Listener) getActivity()).onActionsLoaded(actions); in onActionsLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseActionFragment.java33 implements ActionAdapter.Listener, ActionAdapter.OnFocusListener,
67 private ActionAdapter.Listener mListener = null;
170 } else if (mFragment.getActivity() instanceof ActionAdapter.Listener) { in onActionClicked()
171 ActionAdapter.Listener listener = (ActionAdapter.Listener) mFragment.getActivity(); in onActionClicked()
214 public void setListener(ActionAdapter.Listener listener) { in setListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DDialogFragment.java195 private Action.Listener mListener;
377 public void setListener(Action.Listener listener) { in setListener()
487 mAdapter = new DialogActionAdapter(new Action.Listener() { in setActionView()
502 } else if (getActivity() instanceof Action.Listener) { in setActionView()
503 Action.Listener listener = (Action.Listener) getActivity(); in setActionView()
793 .setListener(new Listener(false)) in fadeIn()
816 .setListener(new Listener(true)) in fadeOut()
827 private class Listener implements Animator.AnimatorListener { class in DialogFragment.SelectorAnimator
831 public Listener(boolean fadingOut) { in Listener() method in DialogFragment.SelectorAnimator.Listener
976 public interface Listener { interface in DialogFragment.Action
DSettingsLayoutAdapter.java66 public interface Listener { interface in SettingsLayoutAdapter
86 private Listener mListener;
100 public SettingsLayoutAdapter(Listener listener, OnFocusListener onFocusListener) { in SettingsLayoutAdapter()
159 public void setListener(Listener listener) { in setListener()
491 private Listener mListener;
493 public ActionOnKeyPressAnimator(Listener listener) { in ActionOnKeyPressAnimator()
497 public void setListener(Listener listener) { in setListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java122 public static class Listener { class in BluetoothScanner
143 public static void startListening(Context context, Listener listener, in startListening()
157 public static void stopListening(Listener listener) { in stopListening()
190 public Listener listener;
194 public ClientRecord(Listener listener, BluetoothDeviceCriteria matcher) { in ClientRecord()
227 public void startListening(Listener listener, BluetoothDeviceCriteria matcher) { in startListening()
275 public void stopListening(Listener listener) { in stopListening()
/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/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() {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DTextDecorator.java62 private final Listener mListener;
67 public interface Listener { interface in TextDecorator
75 public TextDecorator(final Listener listener) { in TextDecorator()
348 private final static Listener EMPTY_LISTENER = new Listener() {
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java39 import com.android.contacts.activities.ActionBarAdapter.Listener.Action;
47 public interface Listener { interface in ActionBarAdapter
87 private Listener mListener;
104 public ActionBarAdapter(Context context, Listener listener, ActionBar actionBar, in ActionBarAdapter()
185 public void setListener(Listener listener) { in setListener()
/packages/apps/Dialer/src/com/android/dialer/
DProximitySensorManager.java38 public interface Listener { interface in ProximitySensorManager
75 private final Listener mListener;
90 Listener listener) { in ProximitySensorEventListener()
185 public ProximitySensorManager(Context context, Listener listener) { in ProximitySensorManager()

12345678