Searched defs:callback (Results 1 - 25 of 194) sorted by relevance

12345678

/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarImplJB.java22 public ActionBarImplJB(Activity activity, Callback callback) { argument
24 super(activity, callback, false);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCustomFunction.java27 public final SQLiteDatabase.CustomFunction callback; field in class:SQLiteCustomFunction
35 * @param callback The callback to invoke when the function is executed.
38 SQLiteDatabase.CustomFunction callback) {
45 this.callback = callback;
51 callback.callback(args);
37 SQLiteCustomFunction(String name, int numArgs, SQLiteDatabase.CustomFunction callback) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLockScreenWidgetInterface.java21 public void setCallback(LockScreenWidgetCallback callback); argument
/frameworks/wilhelm/src/itf/
H A DIVisualization.c23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate)
32 thiz->mCallback = callback;
22 IVisualization_RegisterVisualizationCallback(SLVisualizationItf self, slVisualizationCallback callback, void *pContext, SLmilliHertz rate) argument
H A DIMIDIMessage.c39 slMetaEventCallback callback, void *pContext)
45 thiz->mMetaEventCallback = callback;
55 slMIDIMessageCallback callback, void *pContext)
61 thiz->mMessageCallback = callback;
38 IMIDIMessage_RegisterMetaEventCallback(SLMIDIMessageItf self, slMetaEventCallback callback, void *pContext) argument
54 IMIDIMessage_RegisterMIDIMessageCallback(SLMIDIMessageItf self, slMIDIMessageCallback callback, void *pContext) argument
H A DIOutputMix.c48 slMixDeviceChangeCallback callback, void *pContext)
54 thiz->mCallback = callback;
47 IOutputMix_RegisterDeviceChangeCallback(SLOutputMixItf self, slMixDeviceChangeCallback callback, void *pContext) argument
/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java46 * A callback interface used by the host application to set the Geolocation
76 * @param callback a {@link ValueCallback} to receive the result of this
87 public void getOrigins(ValueCallback<Set<String> > callback) { argument
95 * @param callback a {@link ValueCallback} to receive the result of this
102 public void getAllowed(String origin, ValueCallback<Boolean> callback) { argument
H A DWebStorage.java39 * Encapsulates a callback function which is used to provide a new quota
127 * We have to do everything asynchronously, by providing a callback function.
130 * We can then use the callback function to return the value.
140 public void getOrigins(ValueCallback<Map> callback) { argument
151 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { argument
162 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandler_Delegate.java36 // get the callback
37 IHandlerCallback callback = sCallbacks.get();
38 if (callback != null) {
39 callback.sendMessageAtTime(handler, msg, uptimeMillis);
53 public static void setCallback(IHandlerCallback callback) { argument
54 sCallbacks.set(callback);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxLearner.java36 public void setModelChangeCallback(ModelChangeCallback callback); argument
H A DLearning_MulticlassPA.java64 public void setModelChangeCallback(ModelChangeCallback callback) { argument
65 modelChangeCallback = callback;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DNativeActionModeAwareLayout.java41 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { argument
43 callback = mActionModeForChildListener.onActionModeForChild(callback);
45 return super.startActionModeForChild(originalView, callback);
52 ActionMode.Callback onActionModeForChild(ActionMode.Callback callback); argument
/frameworks/volley/src/com/android/volley/toolbox/
H A DClearCacheRequest.java37 * @param callback Callback to make on the main thread once the cache is clear,
40 public ClearCacheRequest(Cache cache, Runnable callback) { argument
43 mCallback = callback;
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DGeolocationPermissionsAdapter.java54 public void getAllowed(String origin, ValueCallback<Boolean> callback) { argument
55 mChromeGeolocationPermissions.getAllowed(origin, callback);
59 public void getOrigins(ValueCallback<Set<String>> callback) { argument
60 mChromeGeolocationPermissions.getOrigins(callback);
H A DWebStorageAdapter.java38 public void getOrigins(final ValueCallback<Map> callback) { argument
51 callback.onReceiveValue(originsMap);
57 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { argument
58 mQuotaManagerBridge.getUsageForOrigin(origin, callback);
62 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { argument
63 mQuotaManagerBridge.getQuotaForOrigin(origin, callback);
/frameworks/base/core/java/android/app/
H A DKeyguardManager.java199 * @param callback Let's you know whether the operation was succesful and
204 public void exitKeyguardSecurely(final OnKeyguardExitResult callback) { argument
208 callback.onKeyguardExitResult(success);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java187 * The callback is used to deliver results to Caller, such as connection status as well
192 * @param callback GATT server callback handler that will receive asynchronous callbacks.
196 BluetoothGattServerCallback callback) {
197 if (context == null || callback == null) {
198 throw new IllegalArgumentException("null parameter: " + context + " " + callback);
212 Boolean regStatus = mGattServer.registerCallback(callback);
195 openGattServer(Context context, BluetoothGattServerCallback callback) argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityView.java26 * @param callback
28 void setKeyguardCallback(KeyguardSecurityCallback callback); argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DRemotePrintDocumentAdapter.java68 ILayoutResultCallback callback, Bundle metadata, int sequence) {
73 mRemoteInterface.layout(oldAttributes, newAttributes, callback, metadata, sequence);
79 public void write(final PageRange[] pages, final IWriteResultCallback callback, argument
100 mRemoteInterface.write(pages, sink, callback, sequence);
67 layout(PrintAttributes oldAttributes, PrintAttributes newAttributes, ILayoutResultCallback callback, Bundle metadata, int sequence) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterHelper.java43 IProjectCallback callback, ResourceReference adapterRef, boolean skipCallbackParser) {
56 fillView(context, view, item, parentItem, callback, adapterRef);
68 AdapterItem parentItem, IProjectCallback callback, ResourceReference adapterRef) {
73 fillView(context, group.getChildAt(i), item, parentItem, callback, adapterRef);
88 Object value = callback.getAdapterItemValue(
108 Object value = callback.getAdapterItemValue(
128 Object value = callback.getAdapterItemValue(
42 getView(AdapterItem item, AdapterItem parentItem, ViewGroup parent, IProjectCallback callback, ResourceReference adapterRef, boolean skipCallbackParser) argument
67 fillView(BridgeContext context, View view, AdapterItem item, AdapterItem parentItem, IProjectCallback callback, ResourceReference adapterRef) argument
/frameworks/native/libs/binder/
H A DAppOpsManager.cpp93 const sp<IAppOpsCallback>& callback) {
96 service->startWatchingMode(op, packageName, callback);
100 void AppOpsManager::stopWatchingMode(const sp<IAppOpsCallback>& callback) { argument
103 service->stopWatchingMode(callback);
92 startWatchingMode(int32_t op, const String16& packageName, const sp<IAppOpsCallback>& callback) argument
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java44 * <p>If a registered callback's process goes away, this class will take
60 Callback(E callback, Object cookie) { argument
61 mCallback = callback;
77 public boolean register(E callback) { argument
78 return register(callback, null);
82 * Add a new callback to the list. This callback will remain in the list
84 * goes away. If the callback was already registered (determined by
85 * checking to see if the {@link IInterface#asBinder callback.asBinder()}
88 * will remove a callback afte
107 register(E callback, Object cookie) argument
141 unregister(E callback) argument
175 onCallbackDied(E callback) argument
192 onCallbackDied(E callback, Object cookie) argument
[all...]
H A DSystemProperties.java135 public static void addChangeCallback(Runnable callback) { argument
140 sChangeCallbacks.add(callback);
/frameworks/base/core/java/android/print/
H A DPrintDocumentAdapter.java30 * Initially, you will receive a call to {@link #onStart()}. This callback
47 * callback to release resources allocated in {@link #onStart()}.
83 * Called when printing starts. You can use this callback to allocate
100 * Note that you must call one of the methods of the given callback.
107 * layout. The cancellation callback will not be made on the main
114 * @param callback Callback to inform the system for the layout result.
122 CancellationSignal cancellationSignal, LayoutResultCallback callback,
134 * the methods of the given callback.
140 * which you should stop writing. The cancellation callback will not be
147 * @param callback Callbac
121 onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) argument
152 onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, WriteResultCallback callback) argument
[all...]
/frameworks/base/native/android/
H A Dlooper.cpp71 ALooper_callbackFunc callback, void* data) {
72 return static_cast<Looper*>(looper)->addFd(fd, ident, events, callback, data);
70 ALooper_addFd(ALooper* looper, int fd, int ident, int events, ALooper_callbackFunc callback, void* data) argument

Completed in 599 milliseconds

12345678