Searched defs:callback (Results 1 - 25 of 133) sorted by path

123456

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DContextMap.java65 T callback; field in class:ContextMap.App
73 /** Internal callback info queue, waiting to be send on congestion clear */
79 App(UUID uuid, T callback) { argument
81 this.callback = callback;
89 IBinder binder = ((IInterface)callback).asBinder();
103 IBinder binder = ((IInterface)callback).asBinder();
130 void add(UUID uuid, T callback) { argument
132 mApps.add(new App(uuid, callback));
H A DGattService.java283 public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) { argument
286 service.registerClient(uuid.getUuid(), callback);
433 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) { argument
436 service.registerServer(uuid.getUuid(), callback);
585 app.callback.onFoundOrLost(true, result);
589 app.callback.onScanResult(result);
602 app.callback.onScanResult(address, rssi, adv_data);
636 app.callback.onClientRegistered(status, clientIf);
648 app.callback.onClientConnectionState(status, clientIf,
662 app.callback
1319 registerClient(UUID uuid, IBluetoothGattCallback callback) argument
1832 registerServer(UUID uuid, IBluetoothGattServerCallback callback) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java344 IBluetoothHealthCallback callback) {
347 return service.registerAppConfiguration(config, callback);
404 IBluetoothHealthCallback callback) {
411 mApps.put(config, new AppInfo(callback));
515 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback;
516 if (callback == null) {
521 callback.onHealthAppConfigurationStatusChange(config, status);
608 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback;
609 if (callback == null) {
610 Log.e(TAG, "No callback foun
343 registerAppConfiguration(BluetoothHealthAppConfiguration config, IBluetoothHealthCallback callback) argument
403 registerAppConfiguration(BluetoothHealthAppConfiguration config, IBluetoothHealthCallback callback) argument
796 AppInfo(IBluetoothHealthCallback callback) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java102 public BluetoothMapObexServer(Handler callback, argument
109 mCallback = callback;
H A DBluetoothMnsObexClient.java70 public BluetoothMnsObexClient(BluetoothDevice remoteDevice, Handler callback) { argument
81 mCallback = callback;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppRfcommListener.java76 public synchronized boolean start(Handler callback) { argument
78 mCallback = callback;
H A DTestActivity.java382 public synchronized boolean start(Handler callback) { argument
384 mCallback = callback;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapAuthenticator.java57 public BluetoothPbapAuthenticator(final Handler callback) { argument
58 mCallback = callback;
H A DBluetoothPbapObexServer.java170 public BluetoothPbapObexServer(Handler callback, Context context) { argument
172 mCallback = callback;
/packages/apps/Browser/src/com/android/browser/
H A DBaseUi.java523 WebChromeClient.CustomViewCallback callback) {
526 callback.onCustomViewHidden();
538 mCustomViewCallback = callback;
522 showCustomView(View view, int requestedOrientation, WebChromeClient.CustomViewCallback callback) argument
H A DController.java985 public void getVisitedHistory(final ValueCallback<String[]> callback) { argument
994 callback.onReceiveValue(result);
1111 // callback from phone title bar
1120 WebChromeClient.CustomViewCallback callback) {
1123 callback.onCustomViewHidden();
1126 mUi.showCustomView(view, requestedOrientation, callback);
1549 // ui callback handled it
1926 public void showFileChooser(ValueCallback<Uri[]> callback, FileChooserParams params) { argument
1928 mUploadHandler.openFileChooser(callback, params);
1119 showCustomView(Tab tab, View view, int requestedOrientation, WebChromeClient.CustomViewCallback callback) argument
H A DGeolocationPermissionsPrompt.java73 * the buttons, the supplied callback is be called.
75 public void show(String origin, GeolocationPermissions.Callback callback) { argument
77 mCallback = callback;
93 * Handles a click on one the buttons by invoking the callback.
H A DPreloadController.java143 public void getVisitedHistory(ValueCallback<String[]> callback) { argument
163 CustomViewCallback callback) {
207 public void showFileChooser(ValueCallback<Uri[]> callback, FileChooserParams params) { argument
162 showCustomView(Tab tab, View view, int requestedOrientation, CustomViewCallback callback) argument
H A DUI.java90 CustomViewCallback callback);
89 showCustomView(View view, int requestedOrientation, CustomViewCallback callback) argument
H A DUploadHandler.java69 void openFileChooser(ValueCallback<Uri[]> callback, FileChooserParams fileChooserParams) { argument
76 mUploadMessage = callback;
H A DWebViewController.java71 void getVisitedHistory(final ValueCallback<String[]> callback); argument
80 WebChromeClient.CustomViewCallback callback);
97 void showFileChooser(ValueCallback<Uri[]> callback, FileChooserParams params); argument
79 showCustomView(Tab tab, View view, int requestedOrientation, WebChromeClient.CustomViewCallback callback) argument
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebChromeClient.java73 public void onShowCustomView(View view, CustomViewCallback callback) { argument
74 mWrappedClient.onShowCustomView(view, callback);
151 GeolocationPermissions.Callback callback) {
152 mWrappedClient.onGeolocationPermissionsShowPrompt(origin, callback);
194 public void getVisitedHistory(ValueCallback<String[]> callback) { argument
195 mWrappedClient.getVisitedHistory(callback);
150 onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) argument
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorExpressionEvaluator.java36 public void evaluate(CharSequence expr, EvaluateCallback callback) { argument
37 evaluate(expr.toString(), callback);
40 public void evaluate(String expr, EvaluateCallback callback) { argument
50 callback.onEvaluate(expr, null, Calculator.INVALID_RES_ID);
60 callback.onEvaluate(expr, null, R.string.error_nan);
67 callback.onEvaluate(expr, resultString, Calculator.INVALID_RES_ID);
70 callback.onEvaluate(expr, null, R.string.error_syntax);
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarUtils.java133 for (Runnable callback : mTZCallbacks) {
134 if (callback != null) {
135 callback.run();
261 * query to verify that the data in preferences is correct. The callback supplied
267 * @param callback The runnable that should execute if a query returns new values
270 public String getTimeZone(Context context, Runnable callback) { argument
294 mTZCallbacks.add(callback);
303 * query is already in progress the callback will be added to the list
307 * @param callback The runnable that should execute if a query returns
310 public void forceDBRequery(Context context, Runnable callback) { argument
[all...]
H A DContactsAsyncHelper.java73 public Runnable callback; field in class:ContactsAsyncHelper.WorkerArgs
151 // sent to the callback function.
200 // sent to the callback function.
207 args.callback = run;
245 if (args.callback != null) {
246 args.callback.run();
H A DDeleteEventHelper.java131 * This callback is used when a normal event is deleted.
150 * This callback is used when an exception to an event is deleted
167 * This callback is used when a list item for a repeating event is selected
183 * This callback is used when a repeating event is deleted.
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { argument
220 mCallback = callback;
H A DUtils.java280 * query to verify that the data in preferences is correct. The callback
286 * @param callback The runnable that should execute if a query returns new
291 public static String getTimeZone(Context context, Runnable callback) { argument
292 return mTZUtils.getTimeZone(context, callback);
1670 public CalendarBroadcastReceiver(Runnable callback) { argument
1672 mCallBack = callback;
1687 public static BroadcastReceiver setTimeChangesReceiver(Context c, Runnable callback) { argument
1694 CalendarBroadcastReceiver r = new CalendarBroadcastReceiver(callback);
/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java745 // TODO: This callback is UI event callback, should always
1998 protected void updateStorageSpaceAndHint(final OnStorageUpdateDoneListener callback) { argument
2025 // This callback returns after I/O to check disk, so we could be
2027 if (callback != null && !mPaused) {
2028 callback.onStorageUpdateDone(bytes);
2030 Log.v(TAG, "ignoring storage callback after activity pause");
2650 callback) {
2652 mCallback = callback;
2665 * @param callback {
2649 DataAndCallback(LocalData data, com.android.camera.util.Callback<Bitmap> callback) argument
2668 startDecodingJob(final LocalData data, final com.android.camera.util.Callback<Bitmap> callback) argument
[all...]
H A DPhotoUI.java411 public boolean showAspectRatioDialog(final PhotoModule.AspectRatioDialogCallback callback) { argument
414 showAspectRatioDialog(callback, mDialog);
421 private boolean showAspectRatioDialog(final PhotoModule.AspectRatioDialogCallback callback, argument
434 // callback to set picture size.
435 callback.onAspectRatioSelected(aspectRatio, new Runnable() {
444 }, callback.getCurrentAspectRatio());
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraController.java86 public void setCameraDefaultExceptionCallback(CameraExceptionCallback callback, argument
88 mCameraAgent.setCameraDefaultExceptionCallback(callback, handler);
90 mCameraAgentNg.setCameraDefaultExceptionCallback(callback, handler);

Completed in 497 milliseconds

123456