Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/frameworks/base/core/java/android/speech/
DRecognitionService.java94 private void dispatchStartListening(Intent intent, IRecognitionListener listener) { in dispatchStartListening()
109 private void dispatchStopListening(IRecognitionListener listener) { in dispatchStopListening()
125 private void dispatchCancel(IRecognitionListener listener) { in dispatchCancel()
146 public StartListeningArgs(Intent intent, IRecognitionListener listener) { in StartListeningArgs()
158 private boolean checkPermissions(IRecognitionListener listener) { in checkPermissions()
181 protected abstract void onStartListening(Intent recognizerIntent, Callback listener); in onStartListening()
186 protected abstract void onCancel(Callback listener); in onCancel()
193 protected abstract void onStopListening(Callback listener); in onStopListening()
218 private Callback(IRecognitionListener listener) { in Callback()
314 public void startListening(Intent recognizerIntent, IRecognitionListener listener) { in startListening()
[all …]
DIRecognitionService.aidl43 void startListening(in Intent recognizerIntent, in IRecognitionListener listener); in startListening()
52 void stopListening(in IRecognitionListener listener); in stopListening()
59 void cancel(in IRecognitionListener listener); in cancel()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java35 AccessibilityStateChangeListenerCompat listener); in newAccessiblityStateChangeListener()
37 AccessibilityStateChangeListenerCompat listener); in addAccessibilityStateChangeListener()
39 AccessibilityStateChangeListenerCompat listener); in removeAccessibilityStateChangeListener()
49 AccessibilityStateChangeListenerCompat listener) { in newAccessiblityStateChangeListener()
54 AccessibilityStateChangeListenerCompat listener) { in addAccessibilityStateChangeListener()
59 AccessibilityStateChangeListenerCompat listener) { in removeAccessibilityStateChangeListener()
82 final AccessibilityStateChangeListenerCompat listener) { in newAccessiblityStateChangeListener()
93 AccessibilityStateChangeListenerCompat listener) { in addAccessibilityStateChangeListener()
100 final AccessibilityStateChangeListenerCompat listener) { in removeAccessibilityStateChangeListener()
/frameworks/base/core/java/android/app/
DAlertDialog.java235 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
276 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
289 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
302 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
487 public Builder setPositiveButton(int textId, final OnClickListener listener) { in setPositiveButton()
500 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
513 public Builder setNegativeButton(int textId, final OnClickListener listener) { in setNegativeButton()
526 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
539 public Builder setNeutralButton(int textId, final OnClickListener listener) { in setNeutralButton()
552 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton()
[all …]
/frameworks/native/services/batteryservice/
DIBatteryPropertiesRegistrar.cpp34 void registerListener(const sp<IBatteryPropertiesListener>& listener) { in registerListener()
41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener) { in unregisterListener()
59 sp<IBatteryPropertiesListener> listener = in onTransact() local
67 sp<IBatteryPropertiesListener> listener = in onTransact() local
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java667 Object listener = getListener(message.arg2); in handleMessage() local
801 private int putListener(Object listener) { in putListener()
849 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
881 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
897 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
924 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
941 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
965 public void createGroup(Channel c, ActionListener listener) { in createGroup()
982 public void removeGroup(Channel c, ActionListener listener) { in removeGroup()
988 public void listen(Channel c, boolean enable, ActionListener listener) { in listen()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DSearchViewCompat.java37 Object newOnQueryTextListener(OnQueryTextListenerCompat listener); in newOnQueryTextListener()
38 void setOnQueryTextListener(Object searchView, Object listener); in setOnQueryTextListener()
39 Object newOnCloseListener(OnCloseListenerCompat listener); in newOnCloseListener()
40 void setOnCloseListener(Object searchView, Object listener); in setOnCloseListener()
73 public Object newOnQueryTextListener(OnQueryTextListenerCompat listener) { in newOnQueryTextListener()
78 public void setOnQueryTextListener(Object searchView, Object listener) { in setOnQueryTextListener()
82 public Object newOnCloseListener(OnCloseListenerCompat listener) { in newOnCloseListener()
87 public void setOnCloseListener(Object searchView, Object listener) { in setOnCloseListener()
148 public Object newOnQueryTextListener(final OnQueryTextListenerCompat listener) { in newOnQueryTextListener()
163 public void setOnQueryTextListener(Object searchView, Object listener) { in setOnQueryTextListener()
[all …]
/frameworks/base/core/java/android/os/
DIBatteryPropertiesRegistrar.aidl26 void registerListener(IBatteryPropertiesListener listener); in registerListener()
27 void unregisterListener(IBatteryPropertiesListener listener); in unregisterListener()
/frameworks/base/location/java/android/location/
DIGpsStatusProvider.aidl27 void addGpsStatusListener(IGpsStatusListener listener); in addGpsStatusListener()
28 void removeGpsStatusListener(IGpsStatusListener listener); in removeGpsStatusListener()
DICountryDetector.aidl38 void addCountryListener(in ICountryListener listener); in addCountryListener()
43 void removeCountryListener(in ICountryListener listener); in removeCountryListener()
DCountryDetector.java65 public ListenerTransport(CountryListener listener, Looper looper) { in ListenerTransport()
122 public void addCountryListener(CountryListener listener, Looper looper) { in addCountryListener()
139 public void removeCountryListener(CountryListener listener) { in removeCountryListener()
DLocationManager.java217 ListenerTransport(LocationListener listener, Looper looper) { in ListenerTransport()
448 LocationListener listener) { in requestLocationUpdates()
479 LocationListener listener, Looper looper) { in requestLocationUpdates()
511 LocationListener listener, Looper looper) { in requestLocationUpdates()
667 public void requestSingleUpdate(String provider, LocationListener listener, Looper looper) { in requestSingleUpdate()
696 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
807 public void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
839 private ListenerTransport wrapListener(LocationListener listener, Looper looper) { in wrapListener()
851 private void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
875 public void removeUpdates(LocationListener listener) { in removeUpdates()
[all …]
/frameworks/base/media/java/android/media/
DMediaTimeProvider.java38 public void notifyAt(long timeUs, OnMediaTimeListener listener); in notifyAt()
46 public void scheduleUpdate(OnMediaTimeListener listener); in scheduleUpdate()
51 public void cancelNotifications(OnMediaTimeListener listener); in cancelNotifications()
/frameworks/base/services/java/com/android/server/
DCountryDetectorService.java54 public Receiver(ICountryListener listener) { in Receiver()
112 public void addCountryListener(ICountryListener listener) throws RemoteException { in addCountryListener()
123 public void removeCountryListener(ICountryListener listener) throws RemoteException { in removeCountryListener()
130 private void addListener(ICountryListener listener) { in addListener()
194 protected void setCountryListener(final CountryListener listener) { in setCountryListener()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java217 SipRegistrationListener listener) throws SipException { in open()
240 SipRegistrationListener listener) throws SipException { in setRegistrationListener()
320 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
352 String peerProfileUri, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
380 SipAudioCall.Listener listener) throws SipException { in takeAudioCall()
476 SipRegistrationListener listener) throws SipException { in register()
501 SipRegistrationListener listener) throws SipException { in unregister()
537 SipRegistrationListener listener, String uri) { in createRelay()
550 SipSession.Listener listener) throws SipException { in createSipSession()
581 public ListenerRelay(SipRegistrationListener listener, String uri) { in ListenerRelay()
DISipService.aidl31 in ISipSessionListener listener); in open3()
36 ISipSessionListener listener); in setRegistrationListener()
39 in ISipSessionListener listener); in createSession()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp41 TimedTextPlayer::TimedTextPlayer(const wp<MediaPlayerBase> &listener) in TimedTextPlayer()
98 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived() local
141 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived() local
271 sp<MediaPlayerBase> listener = mListener.promote(); in delayUsFromCurrentTime() local
294 sp<MediaPlayerBase> listener = mListener.promote(); in notifyError() local
303 sp<MediaPlayerBase> listener = mListener.promote(); in notifyListener() local
/frameworks/base/core/java/android/hardware/
DSensorManager.java454 public boolean registerListener(SensorListener listener, int sensors) { in registerListener()
482 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener()
497 public void unregisterListener(SensorListener listener) { in unregisterListener()
515 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener()
537 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
555 public void unregisterListener(SensorEventListener listener) { in unregisterListener()
564 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
603 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs) { in registerListener()
659 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs, in registerListener()
707 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs, in registerListener()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java101 boolean isFrameworkAnimation, IAnimationListener listener) { in animate()
119 IAnimationListener listener) { in insertChild()
142 Map<String, String> layoutParams, IAnimationListener listener) { in moveChild()
166 public Result removeChild(Object childView, IAnimationListener listener) { in removeChild()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java124 public void addAvailabilityListener(AvailabilityListener listener, Handler handler) { in addAvailabilityListener()
147 public void removeAvailabilityListener(AvailabilityListener listener) { in removeAvailabilityListener()
215 CameraDevice.StateListener listener, Handler handler) in openCameraDeviceUserAsync()
295 public void openCamera(String cameraId, final CameraDevice.StateListener listener, in openCamera()
498 final AvailabilityListener listener = mListenerMap.keyAt(i); in onStatusChanged() local
/frameworks/base/services/java/com/android/server/wm/
DPointerEventDispatcher.java65 public void registerInputEventListener(PointerEventListener listener) { in registerInputEventListener()
80 public void unregisterInputEventListener(PointerEventListener listener) { in unregisterInputEventListener()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java317 Object listener = getListener(message.arg2); in handleMessage() local
383 private int putListener(Object listener, NsdServiceInfo s) { in putListener()
417 private int getListenerKey(Object listener) { in getListenerKey()
464 RegistrationListener listener) { in registerService()
491 public void unregisterService(RegistrationListener listener) { in unregisterService()
526 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices()
555 public void stopServiceDiscovery(DiscoveryListener listener) { in stopServiceDiscovery()
574 public void resolveService(NsdServiceInfo serviceInfo, ResolveListener listener) { in resolveService()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDevice.java131 public CameraDevice(String cameraId, StateListener listener, Handler handler) { in CameraDevice()
252 public int capture(CaptureRequest request, CaptureListener listener, Handler handler) in capture()
258 public int captureBurst(List<CaptureRequest> requests, CaptureListener listener, in captureBurst()
269 private int submitCaptureRequest(CaptureRequest request, CaptureListener listener, in submitCaptureRequest()
313 public int setRepeatingRequest(CaptureRequest request, CaptureListener listener, in setRepeatingRequest()
319 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureListener listener, in setRepeatingBurst()
434 CaptureListenerHolder(CaptureListener listener, CaptureRequest request, Handler handler, in CaptureListenerHolder()
/frameworks/volley/src/com/android/volley/toolbox/
DJsonObjectRequest.java46 Listener<JSONObject> listener, ErrorListener errorListener) { in JsonObjectRequest()
57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, in JsonObjectRequest()
/frameworks/support/v4/java/android/support/v4/media/
DTransportController.java29 public abstract void registerStateListener(TransportStateListener listener); in registerStateListener()
34 public abstract void unregisterStateListener(TransportStateListener listener); in unregisterStateListener()

12345678910>>...15