Searched defs:Callback (Results 1 - 17 of 17) 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.java125 private Callback mCallback;
156 public interface Callback { interface in class:Window
361 * @param callback Callback to control the lifecycle of this action mode
364 public ActionMode onWindowStartingActionMode(ActionMode.Callback callback);
562 * Set the Callback interface for this window, used to intercept key
565 * @param callback The desired Callback interface.
567 public void setCallback(Callback callback) {
572 * Return the current Callback interface for this window.
574 public final Callback getCallback() {
591 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
133 public Handler(Callback callback) {
165 public Handler(Looper looper, Callback callback) {
620 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.java33 final Callback mCallback;
65 public interface Callback { interface in class:HandlerCaller
69 public HandlerCaller(Context context, Callback callback) {
76 public HandlerCaller(Context context, Looper looper, 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.java38 public interface Callback { interface in class:ExpandHelper
94 private Callback mCallback;
159 public ExpandHelper(Context context, Callback callback, int small, int large) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java81 * through the {@link Callback} interface. All clients should support this
124 private WeakReference<Callback> mCallback = null;
257 * {@link Drawable#setCallback(android.graphics.drawable.Drawable.Callback)}
261 public static interface Callback { interface in class:Drawable
302 public static interface Callback2 extends Callback {
312 * Bind a {@link Callback} object to this Drawable. Required for clients
315 * @param cb The client's Callback implementation.
319 public final void setCallback(Callback cb) {
320 mCallback = new WeakReference<Callback>(cb);
324 * Return the current {@link Callback} implementatio
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java248 * @param cb Callback to add
250 public void addCallback(int types, Callback cb) {
265 * @param cb Callback to remove
267 public void removeCallback(Callback cb) {
1497 public final Callback cb;
1500 public CallbackInfo(Callback cb, int type, MediaRouter router) {
1511 * <p>A Callback will only receive events relevant to routes that the callback
1514 * @see MediaRouter#addCallback(int, Callback)
1515 * @see MediaRouter#removeCallback(Callback)
1517 public static abstract class Callback { class in class:MediaRouter
[all...]

Completed in 203 milliseconds