Searched defs:Callback (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/
H A DInputQueue.java28 public static interface Callback { interface in class:InputQueue
H A DActionMode.java158 * {@link ActionMode.Callback} will have its
159 * {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called.
166 * Finish and close this action mode. The action mode's {@link ActionMode.Callback} will
167 * have its {@link Callback#onDestroyActionMode(ActionMode)} method called.
213 * Callback interface for action modes. Supplied to
214 * {@link View#startActionMode(Callback)}, a Callback
219 * <li>{@link Callback#onCreateActionMode(ActionMode, Menu)} once on initial
221 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} after creation
223 * <li>{@link Callback#onActionItemClicke
229 public interface Callback { interface in class:ActionMode
[all...]
H A DSurfaceHolder.java31 * {@link #lockCanvas} and {@link Callback#surfaceCreated Callback.surfaceCreated()}.
66 * {@link #surfaceDestroyed(SurfaceHolder)}. The Callback is set with
69 public interface Callback { interface in interface:SurfaceHolder
108 * Additional callbacks that can be received for {@link Callback}.
110 public interface Callback2 extends Callback {
125 * Add a Callback interface for this holder. There can several Callback
128 * @param callback The new Callback interface.
130 public void addCallback(Callback callbac
[all...]
H A DWindow.java131 private Callback mCallback;
163 public interface Callback { interface in class:Window
368 * @param callback Callback to control the lifecycle of this action mode
371 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback);
547 * Set the Callback interface for this window, used to intercept key
550 * @param callback The desired Callback interface.
552 public void setCallback(Callback callback) {
557 * Return the current Callback interface for this window.
559 public final Callback getCallback() {
576 public abstract void takeInputQueue(InputQueue.Callback callbac
[all...]
H A DKeyEvent.java1282 public interface Callback { interface in class:KeyEvent
2307 * Call this during {@link Callback#onKeyDown} to have the system track
2584 * @deprecated Use {@link #dispatch(Callback, DispatcherState, Object)} instead.
2587 public final boolean dispatch(Callback receiver) {
2592 * Deliver this key event to a {@link Callback} interface. If this is
2596 * @param receiver The Callback that will be given the event.
2600 * @return The return value from the Callback method that was called.
2602 public final boolean dispatch(Callback receiver, DispatcherState state,
2658 * Use with {@link KeyEvent#dispatch(Callback, DispatcherState, Object)}
2695 * than handling them in {@link Callback#onKeyDow
[all...]
/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java35 * {@link WebChromeClient#onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) WebChromeClient.onGeolocationPermissionsShowPrompt()}
49 public interface Callback { interface in class:GeolocationPermissions
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java50 /*package*/ HashMap<IBinder, Callback> mCallbacks
51 = new HashMap<IBinder, Callback>();
56 private final class Callback implements IBinder.DeathRecipient { class in class:RemoteCallbackList
60 Callback(E callback, Object cookie) { method in class:RemoteCallbackList.Callback
114 Callback cb = new Callback(callback, cookie);
143 Callback cb = mCallbacks.remove(callback.asBinder());
162 for (Callback cb : mCallbacks.values()) {
242 for (Callback cb : mCallbacks.values()) {
271 return ((Callback)mActiveBroadcas
[all...]
H A DHandler.java74 * Callback interface you can use when instantiating a Handler to avoid
77 public interface Callback { interface in class:Handler
124 public Handler(Callback callback) {
144 public Handler(Looper looper, Callback callback) {
185 public Handler(Callback callback, boolean async) {
224 public Handler(Looper looper, Callback callback, boolean async) {
730 final Callback mCallback;
/frameworks/base/core/java/android/net/
H A DVpnService.java213 return new Callback();
236 private class Callback extends Binder { class in class:VpnService
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPresenter.java32 public interface Callback { interface in interface:MenuPresenter
46 * @return true if the Callback will handle presenting the submenu, false if
82 * @param cb Callback that will be notified of future events
84 public void setCallback(Callback cb);
88 * has been selected. An active Callback should be notified, and
H A DMenuBuilder.java81 * Callback that will receive the various menu-related events generated by
84 private Callback mCallback;
162 public interface Callback { interface in class:MenuBuilder
379 public void setCallback(Callback cb) {
/frameworks/base/core/java/android/speech/
H A DRecognitionService.java61 * {@link RecognitionService#onStartListening(Intent, Callback)} method
63 private Callback mCurrentCallback = null;
97 mCurrentCallback = new Callback(listener);
181 protected abstract void onStartListening(Intent recognizerIntent, Callback listener);
186 protected abstract void onCancel(Callback listener);
193 protected abstract void onStopListening(Callback listener);
212 * {@link RecognitionService#onStartListening(Intent, Callback)} method. Recognizers may call
215 public class Callback { class in class:RecognitionService
218 private Callback(IRecognitionListener listener) { method in class:RecognitionService.Callback
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java31 final Callback mCallback;
44 public interface Callback { interface in class:HandlerCaller
48 public HandlerCaller(Context context, Callback callback) {
55 public HandlerCaller(Context context, Looper looper, Callback callback) {
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java39 public interface Callback { interface in class:FusionEngine
55 private Callback mCallback;
81 public void init(Callback callback) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java62 private Callback mCallback;
79 public SwipeHelper(int swipeDirection, Callback callback, float densityScale,
389 public interface Callback { interface in class:SwipeHelper
H A DExpandHelper.java37 public interface Callback { interface in class:ExpandHelper
95 private Callback mCallback;
186 public ExpandHelper(Context context, Callback callback, int small, int large) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java80 * through the {@link Callback} interface. All clients should support this
123 private WeakReference<Callback> mCallback = null;
258 * {@link Drawable#setCallback(android.graphics.drawable.Drawable.Callback)}
262 public static interface Callback { interface in class:Drawable
300 * Bind a {@link Callback} object to this Drawable. Required for clients
303 * @param cb The client's Callback implementation.
307 public final void setCallback(Callback cb) {
308 mCallback = new WeakReference<Callback>(cb);
312 * Return the current {@link Callback} implementation attached to this
315 * @return A {@link Callback} instanc
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java331 * @param cb Callback to add
333 public void addCallback(int types, Callback cb) {
348 * @param cb Callback to remove
350 public void removeCallback(Callback cb) {
1208 * using the {@link Callback#onRoutePresentationDisplayChanged} callback and
1870 public final Callback cb;
1873 public CallbackInfo(Callback cb, int type, MediaRouter router) {
1884 * <p>A Callback will only receive events relevant to routes that the callback
1887 * @see MediaRouter#addCallback(int, Callback)
1888 * @see MediaRouter#removeCallback(Callback)
1890 public static abstract class Callback { class in class:MediaRouter
[all...]

Completed in 1156 milliseconds