Searched refs:dispatch (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/rs/cpp/
H A DrsCppInternal.h22 #define tryDispatch(rs, dispatch) \
24 dispatch; \
27 #define createDispatch(rs, dispatch) \
28 rs->getError() == RS_SUCCESS ? dispatch : NULL
H A DRenderScript.cpp37 dispatchTable* RS::dispatch = NULL; member in class:RS
57 RS::dispatch->ContextDeinitToClient(mContext);
62 RS::dispatch->ContextDestroy(mContext);
64 RS::dispatch->DeviceDestroy(mDev);
75 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType");
76 if (RS::dispatch->AllocationGetType == NULL) {
77 ALOGE("Couldn't initialize RS::dispatch->AllocationGetType");
80 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData");
81 if (RS::dispatch->TypeGetNativeData == NULL) {
82 ALOGE("Couldn't initialize RS::dispatch
440 RS::dispatch = new dispatchTable; member in class:RS
[all...]
H A DScriptC.cpp27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
H A DScript.cpp26 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 DBaseObj.cpp48 RS::dispatch->ObjDestroy(mRS->getContext(), mID);
56 RS::dispatch->GetName(mRS->getContext(), mID, &name);
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()));
173 tryDispatch(mRS, RS::dispatch->AllocationGenerateMipmaps(mRS->getContext(), getID()));
188 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
203 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
210 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0,
238 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
247 tryDispatch(mRS, RS::dispatch
[all...]
H A DType.cpp103 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 DSampler.cpp54 void* id = RS::dispatch->SamplerCreate(rs.get(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotropy);
H A DElement.cpp274 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, 1);
283 void *id = RS::dispatch->ElementCreate(rs->getContext(), dt, RS_KIND_USER, false, size);
340 void * id = RS::dispatch->ElementCreate(rs->getContext(), dt, dk, true, size);
402 void *id = RS::dispatch->ElementCreate2(mRS->getContext(),
/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/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/base/core/java/android/nfc/
H A DINfcAdapter.aidl50 void dispatch(in Tag tag);
H A DNfcAdapter.java74 * <p>The MIME type or data URI of this intent are normalized before dispatch -
1097 * Enable foreground dispatch to the given Activity.
1102 * <p>If any IntentFilters are provided to this method they are used to match dispatch Intents
1105 * relies on meta data outside of the IntentFilter matching for that dispatch Intent is handled
1108 * match then the dispatch is routed through the given PendingIntent. In other words, the second
1117 * the completion of their {@link Activity#onPause} callback to disable foreground dispatch
1122 * @param activity the Activity to dispatch to
1123 * @param intent the PendingIntent to start for the dispatch
1124 * @param filters the IntentFilters to override dispatching for, or null to always dispatch
1135 throw new IllegalStateException("Foreground dispatch ca
1359 public void dispatch(Tag tag) { method in class:NfcAdapter
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DIKeyguardService.aidl44 oneway void dispatch(in MotionEvent event);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardService.java136 public void dispatch(MotionEvent event) {
138 mKeyguardViewMediator.dispatch(event);
H A DKeyguardViewManager.java544 public void dispatch(MotionEvent event) { method in class:KeyguardViewManager
546 mKeyguardView.dispatch(event);
H A DKeyguardViewMediator.java1150 mKeyguardViewManager.dispatch(event);
1379 public void dispatch(MotionEvent event) { method in class:KeyguardViewMediator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardTouchDelegate.java101 public boolean dispatch(MotionEvent event) { method in class:KeyguardTouchDelegate
105 service.dispatch(event);
112 Slog.w(TAG, "dispatch(event): NO SERVICE!");
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java136 boolean handled = event.dispatch(AbstractInputMethodService.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/support/v4/java/android/support/v4/media/
H A DTransportMediator.java61 key.dispatch(mKeyEventCallback);
200 return KeyEventCompat.dispatch(event, mKeyEventCallback, mDispatcherState, this);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardServiceWrapper.java195 public void dispatch(MotionEvent event) { method in class:KeyguardServiceWrapper
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp78 void dispatch(const omx_message &msg);
116 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { function in class:android::OMX::CallbackDispatcher
142 dispatch(msg);
/frameworks/base/core/java/android/view/
H A DKeyEvent.java1184 * "done". This allows TextView to dispatch these as normal enter keys
2615 * @deprecated Use {@link #dispatch(Callback, DispatcherState, Object)} instead.
2618 public final boolean dispatch(Callback receiver) { method in class:KeyEvent
2619 return dispatch(receiver, null, null);
2629 * @param target The target of the dispatch, for use in tracking.
2633 public final boolean dispatch(Callback receiver, DispatcherState state, method in class:KeyEvent
2689 * Use with {@link KeyEvent#dispatch(Callback, DispatcherState, Object)}
/frameworks/base/core/java/android/app/
H A DDialog.java715 return event.dispatch(this, mDecor != null

Completed in 493 milliseconds

12