/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | UpOrBackController.java | 10 void addUpOrBackHandler(UpOrBackHandler handler); argument 11 void removeUpOrBackHandler(UpOrBackHandler handler); argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Consumers.java | 38 public static <A> void consumeAsync(Handler handler, argument 40 if (handler == null) { 43 handler.post(new Runnable() { 51 public static <A extends QuietlyCloseable> void consumeCloseableAsync(Handler handler, argument 53 if (handler == null) { 56 handler.post(new Runnable() { 65 final Handler handler, final Consumer<A> consumer) { 68 consumeAsync(handler, consumer, value); 75 final Handler handler, final Consumer<A> consumer) { 78 consumeCloseableAsync(handler, consume 64 createAsyncConsumer( final Handler handler, final Consumer<A> consumer) argument 74 createAsyncCloseableConsumer( final Handler handler, final Consumer<A> consumer) argument [all...] |
H A D | AsyncDataSetObservable.java | 42 * @param handler Handler to run callbacks on. 44 public AsyncDataSetObservable(Handler handler) { argument 45 mHandler = handler;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | CameraManager.java | 136 * @param handler The {@link android.os.Handler} in which the callback 143 Handler handler, int cameraId, CameraOpenErrorCallback callback); 147 * camera handler thread. All camera operations made through this interface is 171 * @param handler The {@link android.os.Handler} in which the callback 176 public boolean reconnect(Handler handler, CameraOpenErrorCallback cb); argument 220 * @param handler The {@link android.os.Handler} in which the callback was handled. 224 public void setPreviewDataCallback(Handler handler, CameraPreviewDataCallback cb); argument 229 * @param handler The handler in which the callback will be invoked. 233 public void setPreviewDataCallbackWithBuffer(Handler handler, CameraPreviewDataCallbac argument 142 cameraOpen( Handler handler, int cameraId, CameraOpenErrorCallback callback) argument 248 autoFocus(Handler handler, CameraAFCallback cb) argument 262 setAutoFocusMoveCallback(Handler handler, CameraAFMoveCallback cb) argument 277 takePicture( Handler handler, CameraShutterCallback shutter, CameraPictureCallback raw, CameraPictureCallback postview, CameraPictureCallback jpeg) argument 304 setFaceDetectionCallback(Handler handler, CameraFaceDetectionCallback callback) argument [all...] |
H A D | AndroidCameraManagerImpl.java | 185 * check first for supported operations before sending message to this handler. 348 Handler handler, int cameraId, CameraOpenErrorCallback callback) { 351 handler, callback)).sendToTarget(); 362 * camera handler thread. 363 * TODO: Save the handler for the callback here to avoid passing the same 364 * handler multiple times. 386 public boolean reconnect(Handler handler, CameraOpenErrorCallback cb) { argument 390 CameraOpenErrorCallbackForward.getNewInstance(handler, cb); 434 Handler handler, CameraPreviewDataCallback cb) { 437 PreviewCallbackForward.getNewInstance(handler, thi 347 cameraOpen( Handler handler, int cameraId, CameraOpenErrorCallback callback) argument 433 setPreviewDataCallback( Handler handler, CameraPreviewDataCallback cb) argument 441 setPreviewDataCallbackWithBuffer( Handler handler, CameraPreviewDataCallback cb) argument 454 autoFocus(Handler handler, CameraAFCallback cb) argument 468 setAutoFocusMoveCallback( Handler handler, CameraAFMoveCallback cb) argument 476 takePicture( Handler handler, CameraShutterCallback shutter, CameraPictureCallback raw, CameraPictureCallback post, CameraPictureCallback jpeg) argument 500 setFaceDetectionCallback( Handler handler, CameraFaceDetectionCallback cb) argument 568 getNewInstance( Handler handler, CameraProxy camera, CameraAFCallback cb) argument 608 getNewInstance( Handler handler, CameraProxy camera, CameraAFMoveCallback cb) argument 650 getNewInstance( Handler handler, CameraProxy camera, CameraShutterCallback cb) argument 691 getNewInstance( Handler handler, CameraProxy camera, CameraPictureCallback cb) argument 733 getNewInstance( Handler handler, CameraProxy camera, CameraPreviewDataCallback cb) argument 772 getNewInstance( Handler handler, CameraProxy camera, CameraFaceDetectionCallback cb) argument 813 getNewInstance( Handler handler, CameraOpenErrorCallback cb) argument [all...] |
H A D | CameraHolder.java | 192 Handler handler, int cameraId, 211 .getAndroidCameraManager().cameraOpen(handler, cameraId, cb); 227 if (!mCameraDevice.reconnect(handler, cb)) { 244 Handler handler, int cameraId, CameraManager.CameraOpenErrorCallback cb) { 245 return (!mCameraOpened ? open(handler, cameraId, cb) : null); 191 open( Handler handler, int cameraId, CameraManager.CameraOpenErrorCallback cb) argument 243 tryOpen( Handler handler, int cameraId, CameraManager.CameraOpenErrorCallback cb) argument
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | SettingsContentObserver.java | 26 public SettingsContentObserver(Handler handler) { argument 27 super(handler);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | QueryTask.java | 46 * @param handler Handler that {@link Consumer#consume} will 51 Handler handler, Consumer<C> consumer) { 55 mHandler = handler; 79 NamedTaskExecutor executor, Handler handler, 82 QueryTask<C> task = new QueryTask<C>(query, maxResults, provider, handler, 50 QueryTask(String query, int queryLimit, SuggestionCursorProvider<C> provider, Handler handler, Consumer<C> consumer) argument 76 startQuery(String query, int maxResults, SuggestionCursorProvider<C> provider, NamedTaskExecutor executor, Handler handler, Consumer<C> consumer) argument
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
H A D | MimeStreamParser.java | 38 * ContentHandler handler = new MyHandler();
40 * parser.setContentHandler(handler);
57 private ContentHandler handler = null;
field in class:MimeStreamParser 102 * {@link ContentHandler#raw(InputStream)} handler method only.
142 handler.startMultipart(bd);
146 handler.preamble(new CloseShieldInputStream(tempIs));
165 handler.epilogue(new CloseShieldInputStream(is));
167 handler.endMultipart();
185 handler.body(bd, new CloseShieldInputStream(is));
197 handler [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallStateMonitor.java | 95 public void addListener(Handler handler) { argument 96 if (handler != null && !registeredHandlers.contains(handler)) { 98 Log.d(LOG_TAG, "Adding Handler: " + handler); 100 registeredHandlers.add(handler); 110 for (Handler handler : registeredHandlers) { 111 handler.handleMessage(msg);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Throttle.java | 73 public Throttle(String name, Runnable callback, Handler handler) { argument 74 this(name, callback, handler, DEFAULT_MIN_TIMEOUT, DEFAULT_MAX_TIMEOUT); 78 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, argument 80 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER); 85 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, argument 94 mHandler = handler;
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
H A D | ProgressService.java | 34 private Handler handler; field in class:ProgressService 64 handler.postDelayed(this, 1000); 71 handler = new Handler(); 81 handler.postDelayed(new UpdateRunnable(id, when, progress), 1000);
|
H A D | ToastService.java | 33 private Handler handler; field in class:ToastService 44 handler = new Handler(); 53 handler.post(new Runnable() {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | Replayer.java | 86 final Handler handler = new Handler(Looper.getMainLooper()) { 124 handler.post(new Runnable() { 131 final Message msg = Message.obtain(handler, MSG_MOTION_EVENT, i, 0); 133 handler.sendMessageAtTime(msg, msgTime); 141 handler.sendMessageAtTime(Message.obtain(handler, MSG_DONE), presentDoneTime); 143 handler.postAtTime(callback, presentDoneTime + 1);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandlerTest.java | 66 NoNullCursorAsyncQueryHandler handler = new NoNullCursorAsyncQueryHandler( 76 handler.startQuery(1, null, URI, PROJECTION, null, null, null); 93 final NoNullCursorAsyncQueryHandler handler = new NoNullCursorAsyncQueryHandler( 103 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); 120 final NoNullCursorAsyncQueryHandler handler = new NoNullCursorAsyncQueryHandler( 130 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | NfcHandler.java | 50 NfcHandler handler = null; 52 handler = new NfcHandler(controller); 55 adapter.setNdefPushMessageCallback(handler, activity);
|
H A D | PageDialogsHandler.java | 89 void showHttpAuthentication(final Tab tab, final HttpAuthHandler handler, String host, String realm) { argument 94 handler.proceed(username, password); 100 handler.cancel(); 274 * @param handler The SSL error handler responsible for cancelling the 279 final WebView view, final SslErrorHandler handler, 287 mSSLCertificateOnErrorHandler = handler; 301 onReceivedSslError(view, handler, error); 329 onReceivedSslError(view, handler, error); 278 showSSLCertificateOnError( final WebView view, final SslErrorHandler handler, final SslError error) argument
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | TestWebViewClient.java | 98 public void onReceivedSslError(WebView view, SslErrorHandler handler, argument 100 mWrappedClient.onReceivedSslError(view, handler, error); 106 HttpAuthHandler handler, String host, String realm) { 107 mWrappedClient.onReceivedHttpAuthRequest(view, handler, host, realm); 105 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | MovieControllerOverlay.java | 37 private final Handler handler; field in class:MovieControllerOverlay 44 handler = new Handler(); 88 handler.postDelayed(startHidingRunnable, 2500); 105 handler.removeCallbacks(startHidingRunnable);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | DelayedOperations.java | 55 public DelayedOperations(Handler handler) { argument 56 mHandler = handler; 60 * Post a {@link Runnable} to the handler. Equivalent to {@link Handler#post(Runnable)}.
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryService.java | 175 info.handler = mHandler; 206 info.handler = mHandler; 242 info.handler = mHandler; 279 info.handler = mHandler; 310 info.handler = mHandler; 434 protected void setTestHandler(Handler handler) { argument 435 mHandler = handler;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DictionaryDownloadProgressBar.java | 168 // resort to a runnable posted to the handler of the view. 169 final Handler handler = getHandler(); 172 if (null == handler) return; 173 handler.post(this);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | Utils.java | 253 public ScreensaverMoveSaverRunnable(Handler handler) { argument 254 mHandler = handler; 371 public static void setMidnightUpdater(Handler handler, Runnable runnable) { argument 373 if (handler == null || runnable == null || timezone == null) { 380 handler.removeCallbacks(runnable); 381 handler.postDelayed(runnable, runInMillis); 385 public static void cancelMidnightUpdater(Handler handler, Runnable runnable) { argument 386 if (handler == null || runnable == null) { 389 handler.removeCallbacks(runnable); 394 public static void setQuarterHourUpdater(Handler handler, Runnabl argument 409 cancelQuarterHourUpdater(Handler handler, Runnable runnable) argument [all...] |
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | StringResourceMap.java | 43 final StringResourceHandler handler = new StringResourceHandler(); 49 parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler); 50 parser.parse(is, handler); 60 mResources = Collections.unmodifiableList(handler.mResources);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 90 private SuggestionContentObserver(Handler handler) { argument 91 super(handler); 168 Handler handler = getHandler(); 169 handler.removeMessages(MESSAGE_NAME_CHANGE); 170 handler.sendEmptyMessage(MESSAGE_RESET); 189 Handler handler = getHandler(); 190 handler.removeMessages(MESSAGE_NAME_CHANGE); 196 Message msg = handler.obtainMessage(MESSAGE_NAME_CHANGE, mSuggestionsUri); 197 handler.sendMessageDelayed(msg, SUGGESTION_LOOKUP_DELAY_MILLIS);
|