Searched refs:dispatch (Results 1 - 25 of 35) sorted by path

12

/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp80 void dispatch(const omx_message &msg);
118 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { function in class:android::OMX::CallbackDispatcher
144 dispatch(msg);
/frameworks/base/core/java/android/app/
H A DActivity.java2322 // Some modes use a SpannableStringBuilder to track & dispatch input events
2352 * it will set up the dispatch to call {@link #onKeyUp} where the action
2398 // something useable has been typed - dispatch it now.
2707 return event.dispatch(this, decor != null
3854 * as intermediaries that dispatch their intent to the target the user selects -- to
4206 * @param intent The intent to dispatch to the next activity. For
4226 * @param intent The intent to dispatch to the next activity. For
H A DDialog.java734 return event.dispatch(this, mDecor != null
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DArgumentReplacingDispatcher.java16 package android.hardware.camera2.dispatch;
32 * source dispatch type, whose methods with {@link #dispatch} will be called
34 * argument replacement type, args in {@link #dispatch} matching {@code argumentIndex}
54 * @param target destination dispatch type, methods will be redirected to this dispatcher
67 public Object dispatch(Method method, Object[] args) throws Throwable { method in class:ArgumentReplacingDispatcher
74 return mTarget.dispatch(method, args);
H A DBroadcastDispatcher.java16 package android.hardware.camera2.dispatch;
26 * Broadcast a single dispatch into multiple other dispatchables.
28 * <p>Every time {@link #dispatch} is invoked, all the broadcast targets will
29 * see the same dispatch as well. The first target's return value is returned.</p>
38 * Create a broadcast dispatcher from the supplied dispatch targets.
40 * @param dispatchTargets one or more targets to dispatch to
49 public Object dispatch(Method method, Object[] args) throws Throwable { method in class:BroadcastDispatcher
54 Object localResult = dispatchTarget.dispatch(method, args);
H A DDispatchable.java16 package android.hardware.camera2.dispatch;
21 * Dynamically dispatch a method and its argument to some object.
34 public Object dispatch(Method method, Object[] args) throws Throwable; method in interface:Dispatchable
H A DDuckTypingDispatcher.java16 package android.hardware.camera2.dispatch;
24 * Duck typing dispatcher; converts dispatch methods calls from one class to another by
31 * @param <TFrom> source dispatch type, whose methods with {@link #dispatch} will be called
32 * @param <T> destination dispatch type, methods will be converted to the class of {@code T}
41 * @param target destination dispatch type, methods will be redirected to this dispatcher
42 * @param targetClass destination dispatch class, methods will be converted to this class's
52 public Object dispatch(Method method, Object[] args) { method in class:DuckTypingDispatcher
H A DHandlerDispatcher.java16 package android.hardware.camera2.dispatch;
46 * Create a dispatcher that forwards it's dispatch calls by posting
52 * @return a dispatcher that will forward it's dispatch calls to a handler
60 public Object dispatch(final Method method, final Object[] args) throws Throwable { method in class:HandlerDispatcher
65 mDispatchTarget.dispatch(method, args);
H A DInvokeDispatcher.java16 package android.hardware.camera2.dispatch;
37 public Object dispatch(Method method, Object[] args) { method in class:InvokeDispatcher
H A DMethodNameInvoker.java16 package android.hardware.camera2.dispatch;
28 * @param <T> destination dispatch type, methods will be looked up in the class of {@code T}
40 * @param target destination dispatch type, invokes will be redirected to this dispatcher
41 * @param targetClass destination dispatch class, the invoked methods will be from this class
88 return (K) mTarget.dispatch(targetMethod, params);
H A DNullDispatcher.java16 package android.hardware.camera2.dispatch;
35 public Object dispatch(Method method, Object[] args) { method in class:NullDispatcher
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java24 import android.hardware.camera2.dispatch.Dispatchable;
25 import android.hardware.camera2.dispatch.MethodNameInvoker;
H A DCameraCaptureSessionImpl.java22 import android.hardware.camera2.dispatch.ArgumentReplacingDispatcher;
23 import android.hardware.camera2.dispatch.BroadcastDispatcher;
24 import android.hardware.camera2.dispatch.Dispatchable;
25 import android.hardware.camera2.dispatch.DuckTypingDispatcher;
26 import android.hardware.camera2.dispatch.HandlerDispatcher;
27 import android.hardware.camera2.dispatch.InvokeDispatcher;
28 import android.hardware.camera2.dispatch.NullDispatcher;
412 // also be null in that case. Collapse whole dispatch chain to only call the local
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java136 boolean handled = event.dispatch(AbstractInputMethodService.this,
/frameworks/base/core/java/android/nfc/
H A DINfcAdapter.aidl56 void dispatch(in Tag tag);
H A DNfcAdapter.java75 * <p>The MIME type or data URI of this intent are normalized before dispatch -
1162 * Enable foreground dispatch to the given Activity.
1167 * <p>If any IntentFilters are provided to this method they are used to match dispatch Intents
1170 * relies on meta data outside of the IntentFilter matching for that dispatch Intent is handled
1173 * match then the dispatch is routed through the given PendingIntent. In other words, the second
1182 * the completion of their {@link Activity#onPause} callback to disable foreground dispatch
1187 * @param activity the Activity to dispatch to
1188 * @param intent the PendingIntent to start for the dispatch
1189 * @param filters the IntentFilters to override dispatching for, or null to always dispatch
1200 throw new IllegalStateException("Foreground dispatch ca
1480 public void dispatch(Tag tag) { method in class:NfcAdapter
[all...]
/frameworks/base/core/java/android/view/
H A DKeyEvent.java1076 * "done". This allows TextView to dispatch these as normal enter keys
2594 * @deprecated Use {@link #dispatch(Callback, DispatcherState, Object)} instead.
2597 public final boolean dispatch(Callback receiver) { method in class:KeyEvent
2598 return dispatch(receiver, null, null);
2608 * @param target The target of the dispatch, for use in tracking.
2612 public final boolean dispatch(Callback receiver, DispatcherState state, method in class:KeyEvent
2668 * Use with {@link KeyEvent#dispatch(Callback, DispatcherState, Object)}
H A DView.java3226 * Listener used to dispatch focus change events.
3245 * Listener used to dispatch click events.
3252 * Listener used to dispatch long click events.
5324 * event text is populated in a separate dispatch path since we add to the
6390 * <p>Note: unlike many View methods, there is no dispatch phase to this
6468 * it will be called during dispatch instead of this method. The listener may optionally
6645 * Ask that a new dispatch of {@link #fitSystemWindows(Rect)} be performed.
6655 * Ask that a new dispatch of {@link #onApplyWindowInsets(WindowInsets)} be performed.
8391 * view has focus, it will dispatch to itself. Otherwise it will dispatch
[all...]
/frameworks/base/core/java/android/widget/
H A DGallery.java1201 return event.dispatch(this, null, null);
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java998 // dispatch the input events.
1079 if (keyEvent.dispatch(this, mDispatcherState, this)) {
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java156 BackupHelperDispatcher dispatch = new BackupHelperDispatcher();
157 dispatch.addHelper("", new FileBackupHelper(BackupTestActivity.this,
166 dispatch.performRestore(data, 0, state);
/frameworks/rs/cpp/
H A DAllocation.cpp127 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID());
149 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation));
158 tryDispatch(mRS, RS::dispatch->AllocationIoSend(mRS->getContext(), getID()));
168 tryDispatch(mRS, RS::dispatch->AllocationIoReceive(mRS->getContext(), getID()));
180 if (RS::dispatch->AllocationGetPointer == NULL) {
185 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0,
206 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
221 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
228 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0,
256 tryDispatch(mRS, RS::dispatch
[all...]
H A DBaseObj.cpp48 RS::dispatch->ObjDestroy(mRS->getContext(), mID);
56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
H A DElement.cpp275 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, 1);
284 void *id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, size);
341 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, dk, true, size);
403 void *id = RS::dispatch->ElementCreate2(mRS->getContext(),
H A DRenderScript.cpp41 dispatchTable* RS::dispatch = NULL; member in class:RS
62 RS::dispatch->ContextDeinitToClient(mContext);
67 RS::dispatch->ContextDestroy(mContext);
71 RS::dispatch->DeviceDestroy(mDev);
83 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
84 if (RS::dispatch->AllocationGetType == NULL) {
85 ALOGV("Couldn't initialize RS::dispatch->AllocationGetType");
88 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
89 if (RS::dispatch->TypeGetNativeData == NULL) {
90 ALOGV("Couldn't initialize RS::dispatch
453 RS::dispatch = new dispatchTable; member in class:RS
[all...]

Completed in 436 milliseconds

12