/frameworks/rs/cpp/ |
H A D | rsCppInternal.h | 23 #define tryDispatch(rs, dispatch) \ 25 dispatch; \ 28 #define createDispatch(rs, dispatch) \ 29 rs->getError() == RS_SUCCESS ? dispatch : NULL
|
H A D | RenderScript.cpp | 41 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 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, NULL, 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 == NULL) ? 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 | 27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
|
H A D | Allocation.cpp | 127 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 D | Type.cpp | 103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); 203 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ,
|
H A D | Sampler.cpp | 54 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotropy);
|
H A D | Element.cpp | 275 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(),
|
/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 | CameraCaptureSessionImpl.java | 22 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
|
H A D | CallbackProxies.java | 24 import android.hardware.camera2.dispatch.Dispatchable; 25 import android.hardware.camera2.dispatch.MethodNameInvoker;
|
/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);
|