Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DRemoteDisplay.java38 private final Listener mListener;
46 private RemoteDisplay(Listener listener, Handler handler) { in RemoteDisplay()
67 public static RemoteDisplay listen(String iface, Listener listener, Handler handler) { in listen()
148 public interface Listener { interface in RemoteDisplay
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java55 private final ArrayList<Listener> mListeners = new ArrayList<Listener>();
78 for (Listener listener : mListeners) {
85 for (Listener listener : mListeners) {
98 for (Listener listener : mListeners) {
112 public interface Listener { interface in MtpClient
202 public void addListener(Listener listener) { in addListener()
215 public void removeListener(Listener listener) { in removeListener()
/frameworks/support/volley/src/com/android/volley/toolbox/
DStringRequest.java23 import com.android.volley.Response.Listener;
31 private final Listener<String> mListener;
39 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { in StringRequest()
DJsonRequest.java23 import com.android.volley.Response.Listener;
42 private final Listener<T> mListener;
45 public JsonRequest(String url, String requestBody, Listener<T> listener, in JsonRequest()
DJsonArrayRequest.java23 import com.android.volley.Response.Listener;
41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { in JsonArrayRequest()
DJsonObjectRequest.java23 import com.android.volley.Response.Listener;
44 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, in JsonObjectRequest()
DImageRequest.java43 private final Response.Listener<Bitmap> mListener;
68 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest()
DRequestFuture.java54 public class RequestFuture<T> implements Future<T>, Response.Listener<T>,
/frameworks/base/services/java/com/android/server/display/
DDisplayAdapter.java38 private final Listener mListener;
47 Context context, Handler handler, Listener listener, String name) { in DisplayAdapter()
125 public interface Listener { interface in DisplayAdapter
DOverlayDisplayWindow.java67 private final Listener mListener;
95 int width, int height, int densityDpi, int gravity, Listener listener) { in OverlayDisplayWindow()
362 public interface Listener { interface in OverlayDisplayWindow
DHeadlessDisplayAdapter.java35 Context context, Handler handler, Listener listener) { in HeadlessDisplayAdapter()
DOverlayDisplayAdapter.java70 Context context, Handler handler, Listener listener, Handler uiHandler) { in OverlayDisplayAdapter()
257 private final class OverlayDisplayHandle implements OverlayDisplayWindow.Listener {
/frameworks/base/voip/java/android/net/sip/
DSipAudioCall.java73 public static class Listener { class in SipAudioCall
180 private SipAudioCall.Listener mListener;
219 public void setListener(SipAudioCall.Listener listener) { in setListener()
232 public void setListener(SipAudioCall.Listener listener, in setListener()
381 private SipSession.Listener createListener() { in createListener()
382 return new SipSession.Listener() { in createListener()
386 Listener listener = mListener; in createListener()
399 Listener listener = mListener; in createListener()
446 Listener listener = mListener; in createListener()
473 Listener listener = mListener; in createListener()
[all …]
DSipSession.java111 public static class Listener { class in SipSession
237 private Listener mListener;
250 SipSession(ISipSession realSession, Listener listener) { in SipSession()
349 public void setListener(Listener listener) { in setListener()
DSipManager.java321 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
353 String peerProfileUri, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
381 SipAudioCall.Listener listener) throws SipException { in takeAudioCall()
551 SipSession.Listener listener) throws SipException { in createSipSession()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java42 private final Listener mListener = new Listener();
44 private class Listener implements CompoundButton.OnCheckedChangeListener { class in SwitchPreference
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DToggleSlider.java38 public interface Listener { interface in ToggleSlider
43 private Listener mListener;
131 public void setOnChangedListener(Listener l) { in setOnChangedListener()
DVolumeController.java30 public class VolumeController implements ToggleSlider.Listener {
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java285 private ArrayList<Listener> mListeners = new ArrayList<Listener>();
323 Listener test = mListeners.get(i);
330 Listener l = new Listener(listener);
344 Listener l = null;
347 Listener test = mListeners.get(i);
832 private final class Listener implements IBinder.DeathRecipient { class in GpsLocationProvider
835 Listener(IGpsStatusListener listener) { in Listener() method in GpsLocationProvider.Listener
1073 Listener listener = mListeners.get(i); in reportLocation()
1136 Listener listener = mListeners.get(i); in reportStatus()
1169 Listener listener = mListeners.get(i); in reportSvStatus()
[all …]
/frameworks/base/services/java/com/android/server/dreams/
DDreamController.java52 private final Listener mListener;
74 public DreamController(Context context, Handler handler, Listener listener) { in DreamController()
208 public interface Listener { interface in DreamController
/frameworks/base/docs/html/guide/topics/connectivity/
Dsip.jd80 <td>{@link android.net.sip.SipAudioCall.Listener}</td>
81 <td>Listener for events relating to a SIP call, such as when a call is being
108 <td>{@link android.net.sip.SipSession.Listener}</td>
109 <td>Listener for events relating to a SIP session, such as when a session is being registered
299 android.net.sip.SipAudioCall.Listener}. Much of the client's interaction with
301 android.net.sip.SipAudioCall.Listener} sets things up after the call is
305 SipAudioCall.Listener listener = new SipAudioCall.Listener() {
321 <p>Once you've set up the {@link android.net.sip.SipAudioCall.Listener}, you can
329 <li>A {@link android.net.sip.SipAudioCall.Listener} to listen to the call
391 SipAudioCall.Listener listener = new SipAudioCall.Listener() {
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java75 private class Listener implements ScaleGestureDetector.OnScaleGestureListener { class in TransformTestActivity.TransformView
128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()
/frameworks/support/volley/src/com/android/volley/
DResponse.java27 public interface Listener<T> { interface in Response
/frameworks/wilhelm/tools/mphtogen/
Dmphtogen.c59 _(Listener) in main()
/frameworks/base/location/java/android/location/
DLocationManager.java62 private final HashMap<GpsStatus.Listener, GpsStatusListenerTransport> mGpsStatusListeners =
63 new HashMap<GpsStatus.Listener, GpsStatusListenerTransport>();
1338 private final GpsStatus.Listener mListener;
1355 GpsStatusListenerTransport(GpsStatus.Listener listener) { in GpsStatusListenerTransport()
1455 public boolean addGpsStatusListener(GpsStatus.Listener listener) { in addGpsStatusListener()
1481 public void removeGpsStatusListener(GpsStatus.Listener listener) { in removeGpsStatusListener()

12