Home
last modified time | relevance | path

Searched refs:dispatcher (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java81 final KeyEvent.DispatcherState dispatcher = mView.getKeyDispatcherState(); in onKeyDown() local
114 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher == null) { in onKeyDown()
118 dispatcher.startTracking(event, this); in onKeyDown()
119 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
120 dispatcher.performedLongPress(event); in onKeyDown()
141 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher == null) { in onKeyDown()
145 dispatcher.startTracking(event, this); in onKeyDown()
146 } else if (event.isLongPress() && dispatcher.isTracking(event)) { in onKeyDown()
147 dispatcher.performedLongPress(event); in onKeyDown()
165 if (getKeyguardManager().inKeyguardRestrictedInputMode() || dispatcher == null) { in onKeyDown()
[all …]
DPhoneWindow.java1843 final KeyEvent.DispatcherState dispatcher = in onKeyDown() local
1906 if (dispatcher != null) { in onKeyDown()
1907 dispatcher.startTracking(event, this); in onKeyDown()
1939 final KeyEvent.DispatcherState dispatcher = in onKeyUp() local
1941 if (dispatcher != null) { in onKeyUp()
1942 dispatcher.handleUpEvent(event); in onKeyUp()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java67 int audioFormat, int channelCount, UtteranceProgressDispatcher dispatcher, in SynthesisPlaybackQueueItem() argument
69 super(dispatcher, callerIdentity); in SynthesisPlaybackQueueItem()
84 final UtteranceProgressDispatcher dispatcher = getDispatcher(); in run() local
85 dispatcher.dispatchOnStart(); in run()
88 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT); in run()
113 dispatcher.dispatchOnSuccess(); in run()
115 dispatcher.dispatchOnStop(); in run()
117 dispatcher.dispatchOnError(mStatusCode); in run()
DAudioPlaybackQueueItem.java38 AudioPlaybackQueueItem(UtteranceProgressDispatcher dispatcher, in AudioPlaybackQueueItem() argument
41 super(dispatcher, callerIdentity); in AudioPlaybackQueueItem()
53 final UtteranceProgressDispatcher dispatcher = getDispatcher(); in run() local
55 dispatcher.dispatchOnStart(); in run()
62 dispatcher.dispatchOnError(TextToSpeech.ERROR_OUTPUT); in run()
93 dispatcher.dispatchOnSuccess(); in run()
95 dispatcher.dispatchOnStop(); in run()
DPlaybackQueueItem.java11 PlaybackQueueItem(TextToSpeechService.UtteranceProgressDispatcher dispatcher, in PlaybackQueueItem() argument
13 mDispatcher = dispatcher; in PlaybackQueueItem()
DSilencePlaybackQueueItem.java25 SilencePlaybackQueueItem(UtteranceProgressDispatcher dispatcher, in SilencePlaybackQueueItem() argument
27 super(dispatcher, callerIdentity); in SilencePlaybackQueueItem()
DPlaybackSynthesisCallback.java57 @NonNull UtteranceProgressDispatcher dispatcher, @NonNull Object callerIdentity, in PlaybackSynthesisCallback() argument
62 mDispatcher = dispatcher; in PlaybackSynthesisCallback()
DFileSynthesisCallback.java58 @NonNull UtteranceProgressDispatcher dispatcher, boolean clientIsUsingV2) { in FileSynthesisCallback() argument
61 mDispatcher = dispatcher; in FileSynthesisCallback()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java144 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber]; in close() local
145 synchronized (dispatcher) { in close()
146 dispatcher.getSender().disconnect(mInputPort); in close()
147 int openCount = dispatcher.getReceiverCount(); in close()
218 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber];
219 synchronized (dispatcher) {
220 dispatcher.getSender().connect(inputPort);
221 int openCount = dispatcher.getReceiverCount();
260 MidiDispatcher dispatcher = mOutputPortDispatchers[outputPortNumber];
261 synchronized (dispatcher) {
[all …]
/frameworks/native/services/inputflinger/
DInputManager.cpp38 const sp<InputDispatcherInterface>& dispatcher) : in InputManager() argument
40 mDispatcher(dispatcher) { in InputManager()
DInputManager.h89 const sp<InputDispatcherInterface>& dispatcher);
DInputDispatcher.h1144 explicit InputDispatcherThread(const sp<InputDispatcherInterface>& dispatcher);
DInputDispatcher.cpp4554 InputDispatcherThread::InputDispatcherThread(const sp<InputDispatcherInterface>& dispatcher) : in InputDispatcherThread() argument
4555 Thread(/*canCallJava*/ true), mDispatcher(dispatcher) { in InputDispatcherThread()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp51 CallbackDispatcherThread(CallbackDispatcher *dispatcher) in CallbackDispatcherThread()
52 : mDispatcher(dispatcher) { in CallbackDispatcherThread()
654 sp<OMX::CallbackDispatcher> dispatcher = findDispatcher(node); in OnEvent() local
672 dispatcher->post(msg, false /* realTime */); in OnEvent()
685 dispatcher->post(msg, true /* realTime */); in OnEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSMSDispatcher.java336 SMSDispatcher dispatcher = (isCdmaFormat(newFormat)) ? in sendRetrySms() local
339 tracker.mFormat = dispatcher.getFormat(); in sendRetrySms()
340 dispatcher.sendSms(tracker); in sendRetrySms()