Home
last modified time | relevance | path

Searched refs:mListener (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/voip/java/com/android/server/sip/
DSipSessionListenerProxy.java29 private ISipSessionListener mListener; field in SipSessionListenerProxy
32 mListener = listener; in setListener()
36 return mListener; in getListener()
47 if (mListener == null) return; in onCalling()
51 mListener.onCalling(session); in onCalling()
61 if (mListener == null) return; in onRinging()
65 mListener.onRinging(session, caller, sessionDescription); in onRinging()
74 if (mListener == null) return; in onRingingBack()
78 mListener.onRingingBack(session); in onRingingBack()
88 if (mListener == null) return; in onCallEstablished()
[all …]
/frameworks/base/voip/java/android/net/sip/
DSipSession.java237 private Listener mListener; field in SipSession
350 mListener = listener; in setListener()
467 if (mListener != null) { in createListener()
468 mListener.onCalling(SipSession.this); in createListener()
474 if (mListener != null) { in createListener()
475 mListener.onRinging(SipSession.this, caller, in createListener()
481 if (mListener != null) { in createListener()
482 mListener.onRingingBack(SipSession.this); in createListener()
488 if (mListener != null) { in createListener()
489 mListener.onCallEstablished(SipSession.this, in createListener()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java35 private SurfaceHolder.Callback mListener; field in FilterSurfaceView
56 } else if (mListener != null && mListener != listener) { in bindToListener()
59 + "filter " + mListener + " attached already!"); in bindToListener()
63 mListener = listener; in bindToListener()
78 mListener.surfaceCreated(getHolder()); in bindToListener()
82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); in bindToListener()
88 mListener = null; in unbind()
109 if (mListener != null) { in surfaceCreated()
110 mListener.surfaceCreated(holder); in surfaceCreated()
126 if (mListener != null) { in surfaceChanged()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java71 private final IAnimationListener mListener; field in AnimationThread
77 mListener = listener; in AnimationThread()
107 mListener.done(result); in run()
114 if (mListener.isCanceled()) { in run()
136 if (mListener.isCanceled()) { in run()
143 mListener.done(result); in run()
151 if (mListener.isCanceled()) { in run()
157 mListener.onNewFrame(session); in run()
162 } while (mListener.isCanceled() == false && mQueue.size() > 0); in run()
164 mListener.done(Status.SUCCESS.createResult()); in run()
[all …]
/frameworks/base/obex/javax/obex/
DServerSession.java55 private ServerRequestHandler mListener; field in ServerSession
77 mListener = handler; in ServerSession()
172 code = mListener.onAbort(request, reply); in handleAbortRequest()
193 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handlePutRequest()
198 response = validateResponseCode(mListener in handlePutRequest()
201 response = validateResponseCode(mListener.onPut(op)); in handlePutRequest()
238 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handleGetRequest()
240 int response = validateResponseCode(mListener.onGet(op)); in handleGetRequest()
318 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) { in handleSetPathRequest()
319 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID)); in handleSetPathRequest()
[all …]
DServerOperation.java85 private ServerRequestHandler mListener; field in ServerOperation
113 mListener = listen; in ServerOperation()
181 if (mListener.getConnectionId() != -1 && requestHeader.mConnectionID != null) { in ServerOperation()
182 mListener.setConnectionId(ObexHelper.convertToLong(requestHeader.mConnectionID)); in ServerOperation()
184 mListener.setConnectionId(1); in ServerOperation()
287 long id = mListener.getConnectionId(); in sendReply()
456 if (mListener.getConnectionId() != -1 && requestHeader.mConnectionID != null) { in sendReply()
457 mListener.setConnectionId(ObexHelper in sendReply()
460 mListener.setConnectionId(1); in sendReply()
606 long id = mListener.getConnectionId(); in getHeaderLength()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DToggleSlider.java43 private Listener mListener; field in ToggleSlider
82 if (mListener != null) { in onAttachedToWindow()
83 mListener.onInit(this); in onAttachedToWindow()
105 if (mListener != null) { in onCheckedChanged()
106 mListener.onChanged(this, mTracking, checked, mSlider.getProgress()); in onCheckedChanged()
111 if (mListener != null) { in onProgressChanged()
112 mListener.onChanged(this, mTracking, mToggle.isChecked(), progress); in onProgressChanged()
118 if (mListener != null) { in onStartTrackingTouch()
119 mListener.onChanged(this, mTracking, mToggle.isChecked(), mSlider.getProgress()); in onStartTrackingTouch()
126 if (mListener != null) { in onStopTrackingTouch()
[all …]
/frameworks/base/core/java/android/speech/
DRecognitionService.java79 dispatchStartListening(args.mIntent, args.mListener);
114 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening()
128 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel()
144 public final IRecognitionListener mListener; field in RecognitionService.StartListeningArgs
148 this.mListener = listener; in StartListeningArgs()
216 private final IRecognitionListener mListener; field in RecognitionService.Callback
219 mListener = listener; in Callback()
227 mListener.onBeginningOfSpeech(); in beginningOfSpeech()
238 mListener.onBufferReceived(buffer); in bufferReceived()
245 mListener.onEndOfSpeech(); in endOfSpeech()
[all …]
DSpeechRecognizer.java147 private final InternalListener mListener = new InternalListener(); field in SpeechRecognizer
272 mListener.onError(ERROR_CLIENT); in startListening()
285 mListener.onError(ERROR_CLIENT); in startListening()
338 mService.startListening(recognizerIntent, mListener); in handleStartListening()
342 mListener.onError(ERROR_CLIENT); in handleStartListening()
352 mService.stopListening(mListener); in handleStopMessage()
356 mListener.onError(ERROR_CLIENT); in handleStopMessage()
366 mService.cancel(mListener); in handleCancelMessage()
370 mListener.onError(ERROR_CLIENT); in handleCancelMessage()
378 mListener.onError(ERROR_CLIENT); in checkOpenConnection()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DLoader.java36 OnLoadCompleteListener<D> mListener; field in Loader
102 if (mListener != null) { in deliverResult()
103 mListener.onLoadComplete(this, data); in deliverResult()
129 if (mListener != null) { in registerListener()
132 mListener = listener; in registerListener()
142 if (mListener == null) { in unregisterListener()
145 if (mListener != listener) { in unregisterListener()
148 mListener = null; in unregisterListener()
367 writer.print(" mListener="); writer.println(mListener); in dump()
/frameworks/base/core/java/android/content/
DLoader.java54 OnLoadCompleteListener<D> mListener; field in Loader
142 if (mListener != null) { in deliverResult()
143 mListener.onLoadComplete(this, data); in deliverResult()
181 if (mListener != null) { in registerListener()
184 mListener = listener; in registerListener()
194 if (mListener == null) { in unregisterListener()
197 if (mListener != listener) { in unregisterListener()
200 mListener = null; in unregisterListener()
514 writer.print(" mListener="); writer.println(mListener); in dump()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java41 private FilterContext.OnFrameReceivedListener mListener; field in CallbackFilter
55 private FilterContext.OnFrameReceivedListener mListener; field in CallbackFilter.CallbackRunnable
58 mListener = listener; in CallbackRunnable()
65 mListener.onFrameReceived(mFilter, mFrame, mUserData); in run()
88 if (mListener != null) { in process()
91 … CallbackRunnable uiRunnable = new CallbackRunnable(mListener, this, input, mUserData); in process()
96 mListener.onFrameReceived(this, input, mUserData); in process()
/frameworks/base/core/java/android/animation/
DTimeAnimator.java12 private TimeListener mListener; field in TimeAnimator
23 if (mListener != null) { in animationFrame()
27 mListener.onTimeUpdate(this, totalTime, deltaTime); in animationFrame()
39 mListener = listener; in setTimeListener()
/frameworks/base/services/java/com/android/server/location/
DCountryDetectorBase.java36 protected CountryListener mListener; field in CountryDetectorBase
58 mListener = listener; in setCountryListener()
68 if (mListener != null) { in notifyListener()
69 mListener.onCountryDetected(country); in notifyListener()
/frameworks/base/core/java/android/view/
DTextureView.java110 private SurfaceTextureListener mListener; field in TextureView
232 if (mListener != null) { in destroySurface()
233 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface); in destroySurface()
319 if (mListener != null) { in onSizeChanged()
320 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); in onSizeChanged()
376 if (mListener != null && !mUpdateSurface) { in getHardwareLayer()
377 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight()); in getHardwareLayer()
448 if (mListener != null) { in applyUpdate()
449 mListener.onSurfaceTextureUpdated(mSurface); in applyUpdate()
742 return mListener; in getSurfaceTextureListener()
[all …]
DGestureDetector.java212 private final OnGestureListener mListener; field in GestureDetector
261 mListener.onShowPress(mCurrentDownEvent); in handleMessage()
352 mListener = listener; in GestureDetector()
377 if (mListener == null) { in init()
543 handled |= mListener.onDown(ev); in onTouchEvent()
560 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
572 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
588 handled = mListener.onSingleTapUp(ev); in onTouchEvent()
600 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
675 mListener.onLongPress(mCurrentDownEvent); in dispatchLongPress()
/frameworks/base/core/java/android/view/animation/
DAnimation.java178 AnimationListener mListener; field in Animation
359 if (mListener != null) { in setListenerHandler()
360 mListener.onAnimationStart(Animation.this); in setListenerHandler()
366 if (mListener != null) { in setListenerHandler()
367 mListener.onAnimationRepeat(Animation.this); in setListenerHandler()
373 if (mListener != null) { in setListenerHandler()
374 mListener.onAnimationEnd(Animation.this); in setListenerHandler()
800 mListener = listener; in setAnimationListener()
905 if (mListener != null) { in fireAnimationStart()
906 if (mListenerHandler == null) mListener.onAnimationStart(this); in fireAnimationStart()
[all …]
/frameworks/base/media/java/android/media/
DRemoteDisplay.java38 private final Listener mListener; field in RemoteDisplay
47 mListener = listener; in RemoteDisplay()
120 mListener.onDisplayConnected(surface, width, height, flags); in notifyDisplayConnected()
130 mListener.onDisplayDisconnected(); in notifyDisplayDisconnected()
140 mListener.onDisplayError(error); in notifyDisplayError()
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
DMP4Source.cpp31 : mListener(new NuPlayer::NuPlayerStreamListener(source, 0)), in StreamSource()
33 mListener->start(); in StreamSource()
51 n = mListener->read(buffer, skipBytes, &extra); in readAt()
73 ssize_t n = mListener->read( in readAt()
101 sp<NuPlayer::NuPlayerStreamListener> mListener; member
/frameworks/av/include/media/stagefright/
DMediaWriter.h44 mListener = listener; in setListener()
55 sp<IMediaRecorderClient> mListener; member
58 if (mListener != NULL) { in notify()
59 mListener->notify(msg, ext1, ext2); in notify()
/frameworks/base/services/java/com/android/server/display/
DDisplayAdapter.java38 private final Listener mListener; field in DisplayAdapter
51 mListener = listener; in DisplayAdapter()
108 mListener.onDisplayDeviceEvent(device, event); in sendDisplayDeviceEventLocked()
120 mListener.onTraversalRequested(); in sendTraversalRequestLocked()
/frameworks/av/cmds/stagefright/
Dstream.cpp61 sp<IStreamListener> mListener; member
83 mListener = listener; in setListener()
105 mListener->issueCommand( in onBufferAvailable()
116 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
118 mListener->queueBuffer(index, n); in onBufferAvailable()
140 sp<IStreamListener> mListener; member
191 mListener = listener; in setListener()
232 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset); in writeData()
253 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset); in onBufferAvailable()
257 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java72 private final OnGestureListener mListener; field in GestureDetectorCompat.GestureDetectorCompatImplBase
114 mListener.onShowPress(mCurrentDownEvent); in handleMessage()
153 mListener = listener; in GestureDetectorCompatImplBase()
164 if (mListener == null) { in init()
313 handled |= mListener.onDown(ev); in onTouchEvent()
330 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
342 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
358 handled = mListener.onSingleTapUp(ev); in onTouchEvent()
372 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
444 mListener.onLongPress(mCurrentDownEvent); in dispatchLongPress()
/frameworks/native/include/utils/
DGenerationCache.h84 OnEntryRemoved<K, V>* mListener; variable
97 mListener(NULL), mNullValue(NULL) { in GenerationCache()
116 mListener = listener; in setOnEntryRemovedListener()
121 if (mListener) { in clear()
124 if (mListener) { in clear()
125 (*mListener)(entry->key, entry->value); in clear()
193 if (mListener) { in removeAt()
194 (*mListener)(entry->key, entry->value); in removeAt()
/frameworks/support/volley/src/com/android/volley/toolbox/
DStringRequest.java31 private final Listener<String> mListener; field in StringRequest
41 mListener = listener; in StringRequest()
46 mListener.onResponse(response); in deliverResponse()

1234