/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputConnectionWrapper.java | 56 // Return sInstance if it's non-null, otherwise construct a new callback 57 InputContextCallback callback; 59 callback = sInstance; 62 // Reset the callback 63 callback.mHaveValue = false; 65 callback = new InputContextCallback(); 69 callback.mSeq = sSequenceNumber++; 70 return callback; 97 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq 110 Log.i(TAG, "Got out-of-sequence callback " [all...] |
H A D | IInputContext.aidl | 32 void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback); 34 void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback); 36 void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback); 39 IInputContextCallback callback); 71 void getSelectedText(int flags, int seq, IInputContextCallback callback);
|
H A D | IInputConnectionWrapper.java | 64 IInputContextCallback callback; field in class:IInputConnectionWrapper.SomeArgs 89 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { argument 90 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback)); 93 public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { argument 94 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback)); 97 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { argument 98 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback)); 101 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { argument 102 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback)); 106 int flags, int seq, IInputContextCallback callback) { 105 getExtractedText(ExtractedTextRequest request, int flags, int seq, IInputContextCallback callback) argument 424 obtainMessageISC(int what, int arg1, int seq, IInputContextCallback callback) argument 431 obtainMessageIISC(int what, int arg1, int arg2, int seq, IInputContextCallback callback) argument 438 obtainMessageIOSC(int what, int arg1, Object arg2, int seq, IInputContextCallback callback) argument [all...] |
H A D | IInputMethodSession.aidl | 44 void dispatchKeyEvent(int seq, in KeyEvent event, IInputMethodCallback callback); 46 void dispatchTrackballEvent(int seq, in MotionEvent event, IInputMethodCallback callback);
|
H A D | BaseSurfaceHolder.java | 73 public void addCallback(Callback callback) { argument 77 if (mCallbacks.contains(callback) == false) { 78 mCallbacks.add(callback); 83 public void removeCallback(Callback callback) { argument 85 mCallbacks.remove(callback);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | Handler_Delegate.java | 36 // 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/os/ |
H A D | RemoteCallbackList.java | 44 * <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 174 onCallbackDied(E callback) argument 191 onCallbackDied(E callback, Object cookie) argument [all...] |
H A D | Message.java | 83 /*package*/ Runnable callback; field in class:Message 127 m.callback = orig.callback; 145 * Same as {@link #obtain(Handler)}, but assigns a callback Runnable on 148 * @param callback Runnable that will execute when the message is handled. 151 public static Message obtain(Handler h, Runnable callback) { argument 154 m.callback = callback; 253 * target/callback of the original message. 293 * Retrieve callback objec [all...] |
H A D | Handler.java | 91 if (msg.callback != null) { 130 * current thread and takes a callback interface in which you can handle 133 public Handler(Callback callback) { argument 149 mCallback = callback; 162 * Use the provided queue instead of the default one and take a callback 165 public Handler(Looper looper, Callback callback) { argument 168 mCallback = callback; 258 * @param uptimeMillis The absolute time at which the callback should run, 280 * @param uptimeMillis The absolute time at which the callback should run, 575 m.callback [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | AbstractInputMethodService.java | 62 public void createSession(SessionCallback callback) { argument 63 callback.sessionCreated(onCreateInputMethodSessionInterface()); 134 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { argument 137 if (callback != null) { 138 callback.finishedEvent(seq, handled); 146 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { argument 148 if (callback != null) { 149 callback.finishedEvent(seq, handled);
|
/frameworks/base/core/java/android/view/ |
H A D | InputQueue.java | 146 FinishedCallback callback = sRecycleHead; 147 if (callback != null) { 148 sRecycleHead = callback.mRecycleNext; 150 callback.mRecycleNext = null; 152 callback = new FinishedCallback(); 154 callback.mFinishedToken = finishedToken; 155 return callback; 162 throw new IllegalStateException("Event finished callback already invoked.");
|
H A D | SurfaceHolder.java | 142 * @param callback The new Callback interface. 144 public void addCallback(Callback callback); argument 149 * @param callback The Callback interface to remove. 151 public void removeCallback(Callback callback); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebStorage.java | 36 * Encapsulates a callback function to be executed when a new quota is made 69 private static final String CALLBACK = "callback"; 124 ValueCallback<Map> callback = (ValueCallback<Map>) values.get(CALLBACK); 125 callback.onReceiveValue(origins); 130 ValueCallback<Long> callback = (ValueCallback<Long>) values.get(CALLBACK); 131 callback.onReceiveValue((Long)values.get(USAGE)); 136 ValueCallback<Long> callback = (ValueCallback<Long>) values.get(CALLBACK); 137 callback.onReceiveValue((Long)values.get(QUOTA)); 172 ValueCallback callback = (ValueCallback) msg.obj; 175 values.put(CALLBACK, callback); 234 getOrigins(ValueCallback<Map> callback) argument 260 getUsageForOrigin(String origin, ValueCallback<Long> callback) argument 283 getQuotaForOrigin(String origin, ValueCallback<Long> callback) argument [all...] |
H A D | GeolocationPermissions.java | 81 private static final String CALLBACK = "callback"; 108 ValueCallback<Set<String> > callback = (ValueCallback<Set<String> >) values.get(CALLBACK); 109 callback.onReceiveValue(origins); 114 ValueCallback<Boolean> callback = (ValueCallback<Boolean>) values.get(CALLBACK); 115 callback.onReceiveValue(allowed); 136 ValueCallback callback = (ValueCallback) msg.obj; 138 values.put(CALLBACK, callback); 145 ValueCallback callback = (ValueCallback) values.get(CALLBACK); 148 retValues.put(CALLBACK, callback); 208 public void getOrigins(ValueCallback<Set<String> > callback) { argument 225 getAllowed(String origin, ValueCallback<Boolean> callback) argument [all...] |
H A D | WebChromeClient.java | 28 * @param view The WebView that initiated the callback. 36 * @param view The WebView that initiated the callback. 43 * @param view The WebView that initiated the callback. 50 * @param view The WebView that initiated the callback. 58 * A callback interface used by the host application to notify 73 * @param callback is the callback to be invoked if and when the view 76 public void onShowCustomView(View view, CustomViewCallback callback) {}; argument 88 * @param view The WebView that initiated the callback. 130 * @param view The WebView that initiated the callback 237 onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) argument 311 getVisitedHistory(ValueCallback<String[]> callback) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | INotificationManager.aidl | 33 void enqueueToast(String pkg, ITransientNotification callback, int duration); 34 void cancelToast(String pkg, ITransientNotification callback);
|
H A D | KeyguardManager.java | 146 * @param callback Let's you know whether the operation was succesful and 150 public void exitKeyguardSecurely(final OnKeyguardExitResult callback) { argument 154 callback.onKeyguardExitResult(success);
|
/frameworks/base/core/jni/ |
H A D | android_view_InputChannel.h | 32 /* Sets a callback that is invoked when the InputChannel DVM object is disposed (or finalized). 36 InputChannelObjDisposeCallback callback, void* data = NULL);
|
/frameworks/base/core/java/android/service/urlrenderer/ |
H A D | UrlRenderer.java | 72 * Render the list of <var>urls</var> and invoke the <var>callback</var> 77 * @param callback An instance of {@link Callback} invoked for each url. 80 Callback callback) { 84 new InternalCallback(callback)); 79 render(List<String> urls, int width, int height, Callback callback) argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSession.java | 100 * the implementation must call back on <var>callback</var> with its 114 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); argument 129 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | TelephonyRegistry.java | 59 IPhoneStateListener callback; field in class:TelephonyRegistry.Record 126 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, argument 138 IBinder b = callback.asBinder(); 148 r.callback = callback; 161 r.callback.onSignalStrengthChanged((gsmSignalStrength == 99 ? -1 169 r.callback.onMessageWaitingIndicatorChanged(mMessageWaiting); 176 r.callback.onCallForwardingIndicatorChanged(mCallForwarding); 186 r.callback.onCallStateChanged(mCallState, mCallIncomingNumber); 193 r.callback [all...] |
/frameworks/base/core/java/android/util/ |
H A D | CalendarUtils.java | 122 for (Runnable callback : mTZCallbacks) { 123 if (callback != null) { 124 callback.run(); 250 * query to verify that the data in preferences is correct. The callback supplied 256 * @param callback The runnable that should execute if a query returns new values 259 public String getTimeZone(Context context, Runnable callback) { argument 280 mTZCallbacks.add(callback); 289 * query is already in progress the callback will be added to the list 293 * @param callback The runnable that should execute if a query returns 296 public void forceDBRequery(Context context, Runnable callback) { argument [all...] |
/frameworks/base/native/android/ |
H A D | looper.cpp | 71 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
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 58 public void addCallback(Callback callback) { 61 public void removeCallback(Callback callback) {
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 122 * run asynchronously. If a callback is provided then 127 * to the callback). This method waits for the operation to complete (if 131 * future from the method; no callback need be supplied. 414 * @param callback Callback to invoke when the request completes, 415 * null for no callback 416 * @param handler {@link Handler} identifying the callback thread, 423 AccountManagerCallback<Boolean> callback, Handler handler) { 426 return new Future2Task<Boolean>(handler, callback) { 458 * @param callback Callback to invoke when the request completes, 459 * null for no callback 421 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 466 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument 535 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument 806 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 888 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 949 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1016 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1076 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1127 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1151 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument 1186 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument 1368 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument 1460 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 1652 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument [all...] |