Searched refs:callback (Results 1 - 25 of 261) sorted by relevance

1234567891011

/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/packages/services/Proxy/com/android/net/
H A DIProxyCallback.aidl21 oneway void getProxyPort(IBinder callback);
/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);
H A DActionBarImplHC.java31 public ActionBarImplHC(ActionBarActivity activity, Callback callback) { argument
32 super(activity, callback);
46 public ActionMode.Callback onActionModeForChild(ActionMode.Callback callback) { argument
47 return new CallbackWrapper(callback);
75 CallbackWrapper(ActionMode.Callback callback) { argument
76 mWrappedCallback = callback;
/frameworks/base/core/java/com/android/internal/widget/
H A DLockScreenWidgetInterface.java21 public void setCallback(LockScreenWidgetCallback callback); argument
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java57 // Return sInstance if it's non-null, otherwise construct a new callback
58 InputContextCallback callback;
60 callback = sInstance;
63 // Reset the callback
64 callback.mHaveValue = false;
66 callback = new InputContextCallback();
70 callback.mSeq = sSequenceNumber++;
71 return callback;
98 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq
111 Log.i(TAG, "Got out-of-sequence callback "
[all...]
H A DIInputContext.aidl33 void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback);
35 void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback);
37 void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback);
40 IInputContextCallback callback);
74 void getSelectedText(int flags, int seq, IInputContextCallback callback);
/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/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java62 public void createSession(SessionCallback callback) { argument
63 callback.sessionCreated(onCreateInputMethodSessionInterface());
135 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { argument
138 if (callback != null) {
139 callback.finishedEvent(seq, handled);
148 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { argument
150 if (callback != null) {
151 callback.finishedEvent(seq, handled);
160 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { argument
162 if (callback !
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothManager.aidl31 IBluetooth registerAdapter(in IBluetoothManagerCallback callback);
32 void unregisterAdapter(in IBluetoothManagerCallback callback);
33 void registerStateChangeCallback(in IBluetoothStateChangeCallback callback);
34 void unregisterStateChangeCallback(in IBluetoothStateChangeCallback 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/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl36 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId);
39 String text, int interactionId, IAccessibilityInteractionConnectionCallback callback,
44 IAccessibilityInteractionConnectionCallback callback, long threadId);
47 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
50 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId);
54 IAccessibilityInteractionConnectionCallback callback, long threadId);
/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...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl33 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
37 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
41 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
45 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
49 IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid,
53 int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags,
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxLearner.java36 public void setModelChangeCallback(ModelChangeCallback callback); argument
/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/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/core/java/android/hardware/location/
H A DIGeofenceHardware.aidl32 int notificationResponsiveness, int unknownTimer,in IGeofenceHardwareCallback callback);
37 IGeofenceHardwareMonitorCallback callback);
39 IGeofenceHardwareMonitorCallback callback);
H A DGeofenceHardware.java195 * about the area specified by the geofence, the given callback will be called.
215 * long as the same callback object is used.
236 * @param callback {@link GeofenceHardwareCallback} that will be use to notify the
242 geofenceRequest, GeofenceHardwareCallback callback) {
252 getCallbackWrapper(callback));
354 * Register the callback to be notified when the state of a hardware geofence
368 * <p> The same callback object can be used to be informed of geofence transitions
372 * @param callback Callback that will be called.
376 GeofenceHardwareMonitorCallback callback) {
379 getMonitorCallbackWrapper(callback));
241 addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest geofenceRequest, GeofenceHardwareCallback callback) argument
375 registerForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
403 unregisterForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
417 removeCallback(GeofenceHardwareCallback callback) argument
423 getCallbackWrapper(GeofenceHardwareCallback callback) argument
434 removeMonitorCallback(GeofenceHardwareMonitorCallback callback) argument
440 getMonitorCallbackWrapper( GeofenceHardwareMonitorCallback callback) argument
[all...]
/frameworks/base/core/java/android/view/
H A DChoreographer.java146 * Callback type: Input callback. Runs first.
152 * Callback type: Animation callback. Runs before traversals.
158 * Callback type: Traversal callback. Handles layout and draw. Runs last
242 * posting the animation callback but let the animation timer take care of the remaining
248 * we might still wait 6ms before posting an animation callback that we want to run
272 * Posts a callback to run on the next frame.
274 * The callback runs once then is automatically removed.
277 * @param callbackType The callback type.
278 * @param action The callback action to run during the next frame.
279 * @param token The callback toke
384 postFrameCallback(FrameCallback callback) argument
400 postFrameCallbackDelayed(FrameCallback callback, long delayMillis) argument
417 removeFrameCallback(FrameCallback callback) argument
629 recycleCallbackLocked(CallbackRecord callback) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java109 * the implementation must call back on <var>callback</var> with its
123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); argument
138 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); argument
153 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); argument
/frameworks/base/core/java/android/print/
H A DIPrintSpooler.aidl37 void getPrintJobInfos(IPrintSpoolerCallbacks callback, in ComponentName componentName,
39 void getPrintJobInfo(in PrintJobId printJobId, IPrintSpoolerCallbacks callback,
43 IPrintSpoolerCallbacks callback, int sequence);
44 void setPrintJobTag(in PrintJobId printJobId, String tag, IPrintSpoolerCallbacks callback,
H A DPrintDocumentAdapter.java30 * Initially, you will receive a call to {@link #onStart()}. This callback
48 * callback to release resources allocated in {@link #onStart()}.
52 * The {@link #onStart()} callback is always the first call you will receive and
58 * LayoutResultCallback, Bundle)} callback requires that you layout the content
61 * callback instance. Hence, you will not receive a subsequent call to any other
63 * one of the callback methods.
70 * callback instance. Hence, you will not receive a subsequent call to any other
72 * one of the callback methods. You will never receive a sequence of one or more
77 * The {@link #onFinish()} callback is always the last call you will receive and
116 * LayoutResultCallback, Bundle)} callback
186 onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) argument
241 onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, WriteResultCallback callback) argument
[all...]

Completed in 472 milliseconds

1234567891011