Home
last modified time | relevance | path

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

12345678910>>...13

/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/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java644 Object listener = getListener(message.arg2); in handleMessage() local
772 private int putListener(Object listener) { in putListener()
820 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
852 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
868 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
895 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
912 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
936 public void createGroup(Channel c, ActionListener listener) { in createGroup()
953 public void removeGroup(Channel c, ActionListener listener) { in removeGroup()
968 public void startWps(Channel c, WpsInfo wps, ActionListener listener) { in startWps()
[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/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.java193 ListenerTransport(LocationListener listener, Looper looper) { in ListenerTransport()
424 LocationListener listener) { in requestLocationUpdates()
455 LocationListener listener, Looper looper) { in requestLocationUpdates()
487 LocationListener listener, Looper looper) { in requestLocationUpdates()
643 public void requestSingleUpdate(String provider, LocationListener listener, Looper looper) { in requestSingleUpdate()
672 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
783 public void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
815 private ListenerTransport wrapListener(LocationListener listener, Looper looper) { in wrapListener()
827 private void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
851 public void removeUpdates(LocationListener listener) { in removeUpdates()
[all …]
/frameworks/base/services/java/com/android/server/
DCountryDetectorService.java55 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()
198 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/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/
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()
539 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
557 public void unregisterListener(SensorEventListener listener) { in unregisterListener()
566 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
606 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { in registerListener()
652 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate, in registerListener()
681 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java304 Object listener = getListener(message.arg2); in handleMessage() local
379 private int putListener(Object listener, NsdServiceInfo s) { in putListener()
413 private int getListenerKey(Object listener) { in getListenerKey()
455 RegistrationListener listener) { in registerService()
482 public void unregisterService(RegistrationListener listener) { in unregisterService()
517 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices()
546 public void stopServiceDiscovery(DiscoveryListener listener) { in stopServiceDiscovery()
565 public void resolveService(NsdServiceInfo serviceInfo, ResolveListener listener) { in resolveService()
/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()
DStringRequest.java41 public StringRequest(int method, String url, Listener<String> listener, in StringRequest()
54 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { in StringRequest()
/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()
/frameworks/av/camera/
DICameraService.cpp91 virtual status_t addListener(const sp<ICameraServiceListener>& listener) in addListener()
100 virtual status_t removeListener(const sp<ICameraServiceListener>& listener) in removeListener()
158 sp<ICameraServiceListener> listener = in onTransact() local
165 sp<ICameraServiceListener> listener = in onTransact() local
DCameraBase.cpp157 void CameraBase<TCam, TCamTraits>::setListener(const sp<TCamListener>& listener) in setListener()
169 sp<TCamListener> listener; in notifyCallback() local
201 const sp<ICameraServiceListener>& listener) { in addServiceListener()
209 const sp<ICameraServiceListener>& listener) { in removeServiceListener()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDatePickerController.java31 void registerOnDateChangedListener(OnDateChangedListener listener); in registerOnDateChangedListener()
33 void unregisterOnDateChangedListener(OnDateChangedListener listener); in unregisterOnDateChangedListener()
/frameworks/base/core/java/android/content/
DIClipboard.aidl33 void addPrimaryClipChangedListener(in IOnPrimaryClipChangedListener listener, in addPrimaryClipChangedListener()
35 void removePrimaryClipChangedListener(in IOnPrimaryClipChangedListener listener); in removePrimaryClipChangedListener()
/frameworks/base/services/java/com/android/server/location/
DLocationBasedCountryDetector.java97 protected void registerListener(String provider, LocationListener listener) { in registerListener()
104 protected void unregisterListener(LocationListener listener) { in unregisterListener()
160 LocationListener listener = new LocationListener () { in detectCountry() local

12345678910>>...13