Searched defs:dispatch (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/dispatch/
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 DNullDispatcher.java16 package android.hardware.camera2.dispatch;
35 public Object dispatch(Method method, Object[] args) { method in class:NullDispatcher
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 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);
/frameworks/support/v4/eclair/android/support/v4/view/
H A DKeyEventCompatEclair.java28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, method in class:KeyEventCompatEclair
30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target);
/frameworks/rs/cpp/
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...]
H A DrsCppStructs.h147 static dispatchTable* dispatch; member in class:android::RSC::RS
/frameworks/support/v4/java/android/support/v4/view/
H A DKeyEventCompat.java37 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, method in interface:KeyEventCompat.KeyEventVersionImpl
112 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, method in class:KeyEventCompat.BaseKeyEventVersionImpl
114 return event.dispatch(receiver);
135 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, method in class:KeyEventCompat.EclairKeyEventVersionImpl
137 return KeyEventCompatEclair.dispatch(event, receiver, state, target);
207 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, method in class:KeyEventCompat
209 return IMPL.dispatch(event, receiver, state, target);
/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/nfc/
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)}

Completed in 332 milliseconds