/frameworks/rs/cpp/ |
H A D | rsCppInternal.h | 26 #define tryDispatch(rs, dispatch) \ 28 dispatch; \ 31 #define createDispatch(rs, dispatch) \ 32 rs->getError() == RS_SUCCESS ? dispatch : nullptr
|
H A D | Script.cpp | 26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, nullptr, 0)); 45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot)); 50 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == nullptr) ? 0 : o->getID())); 54 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len));
|
H A D | BaseObj.cpp | 48 RS::dispatch->ObjDestroy(mRS->getContext(), mID); 56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
|
H A D | ScriptC.cpp | 28 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
|
H A D | RenderScript.cpp | 41 dispatchTable* RS::dispatch = nullptr; member in class:RS 62 RS::dispatch->ContextDeinitToClient(mContext); 67 RS::dispatch->ContextDestroy(mContext); 71 RS::dispatch->DeviceDestroy(mDev); 90 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) { 117 RS::dispatch = new dispatchTable; member in class:RS 148 ALOGE("Couldn't initialize dispatch table"); 161 mDev = RS::dispatch->DeviceCreate(); 173 mContext = RS::dispatch->ContextCreate(mDev, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags); 215 RS::dispatch [all...] |
H A D | Allocation.cpp | 144 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID()); 166 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation)); 177 if (RS::dispatch->AllocationGetPointer == nullptr) { 182 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0, 233 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, 237 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, 255 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, 260 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, 268 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0, 300 tryDispatch(mRS, RS::dispatch [all...] |
H A D | Type.cpp | 103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); 216 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ,
|
H A D | Sampler.cpp | 67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
|
H A D | Element.cpp | 315 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, 1); 324 void *id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, size); 382 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, dk, true, size); 490 void *id = RS::dispatch->ElementCreate2(mRS->getContext(),
|
/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
H A D | Dispatchable.java | 16 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 D | NullDispatcher.java | 16 package android.hardware.camera2.dispatch; 35 public Object dispatch(Method method, Object[] args) { method in class:NullDispatcher
|
H A D | ArgumentReplacingDispatcher.java | 16 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 D | BroadcastDispatcher.java | 16 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 D | DuckTypingDispatcher.java | 16 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 D | InvokeDispatcher.java | 16 package android.hardware.camera2.dispatch; 37 public Object dispatch(Method method, Object[] args) { method in class:InvokeDispatcher
|
H A D | HandlerDispatcher.java | 16 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 D | MethodNameInvoker.java | 16 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 D | KeyEventCompatEclair.java | 28 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/support/v4/java/android/support/v4/view/ |
H A D | KeyEventCompat.java | 37 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/base/core/java/android/nfc/ |
H A D | INfcAdapter.aidl | 56 void dispatch(in Tag tag);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CallbackProxies.java | 24 import android.hardware.camera2.dispatch.Dispatchable; 25 import android.hardware.camera2.dispatch.MethodNameInvoker;
|
H A D | CameraCaptureSessionImpl.java | 22 import android.hardware.camera2.dispatch.ArgumentReplacingDispatcher; 23 import android.hardware.camera2.dispatch.BroadcastDispatcher; 24 import android.hardware.camera2.dispatch.DuckTypingDispatcher; 25 import android.hardware.camera2.dispatch.HandlerDispatcher; 26 import android.hardware.camera2.dispatch.InvokeDispatcher; 456 // also be null in that case. Collapse whole dispatch chain to only call the local
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | AbstractInputMethodService.java | 136 boolean handled = event.dispatch(AbstractInputMethodService.this,
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 156 BackupHelperDispatcher dispatch = new BackupHelperDispatcher(); 157 dispatch.addHelper("", new FileBackupHelper(BackupTestActivity.this, 166 dispatch.performRestore(data, 0, state);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | TransportMediator.java | 61 key.dispatch(mKeyEventCallback); 200 return KeyEventCompat.dispatch(event, mKeyEventCallback, mDispatcherState, this);
|