/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
D | FilterStack.java | 112 private void callbackDone(final OnDoneCallback callback) { in callbackDone() argument 118 callback.onDone(); in callbackDone() 136 public void saveBitmap(final OnDoneBitmapCallback callback) { in saveBitmap() argument 148 callback.onDone(bitmap); in saveBitmap() 155 public void setPhotoSource(final Bitmap bitmap, final OnDoneCallback callback) { in setPhotoSource() argument 162 callbackDone(callback); in setPhotoSource() 186 public void undo(final OnDoneCallback callback) { in undo() argument 196 callbackDone(callback); in undo() 201 public void redo(final OnDoneCallback callback) { in redo() argument 210 callbackDone(callback); in redo() [all …]
|
D | LoadScreennailTask.java | 45 private final Callback callback; field in LoadScreennailTask 47 public LoadScreennailTask(Context context, Callback callback) { in LoadScreennailTask() argument 49 this.callback = callback; in LoadScreennailTask() 70 callback.onComplete(result); in onPostExecute()
|
D | PhotoEditor.java | 74 LoadScreennailTask.Callback callback = new LoadScreennailTask.Callback() { in openPhoto() local 87 new LoadScreennailTask(this, callback).execute(sourceUri); in openPhoto() 100 OnDoneCallback callback = new OnDoneCallback() { in createUndoRedoRunnable() 108 filterStack.undo(callback); in createUndoRedoRunnable() 110 filterStack.redo(callback); in createUndoRedoRunnable() 132 SaveCopyTask.Callback callback = new SaveCopyTask.Callback() { 141 new SaveCopyTask(PhotoEditor.this, sourceUri, callback).execute(
|
D | SaveCopyTask.java | 64 private final Callback callback; field in SaveCopyTask 68 public SaveCopyTask(Context context, Uri sourceUri, Callback callback) { in SaveCopyTask() argument 71 this.callback = callback; in SaveCopyTask() 102 callback.onComplete(result); in onPostExecute()
|
/packages/apps/Phone/src/com/android/phone/ |
D | CallLogAsync.java | 119 OnLastOutgoingCallComplete callback) { in GetLastOutgoingCallArgs() argument 121 this.callback = callback; in GetLastOutgoingCallArgs() 124 public final OnLastOutgoingCallComplete callback; field in CallLogAsync.GetLastOutgoingCallArgs 147 return new GetLastOutgoingCallTask(args.callback).execute(args); in getLastOutgoingCall() 188 public GetLastOutgoingCallTask(OnLastOutgoingCallComplete callback) { in GetLastOutgoingCallTask() argument 189 mCallback = callback; in GetLastOutgoingCallTask()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableDictionary.java | 195 public void getWords(final WordComposer codes, final WordCallback callback, in getWords() argument 203 getWordsInner(codes, callback, proximityInfo); in getWords() 206 protected final void getWordsInner(final WordComposer codes, final WordCallback callback, in getWordsInner() argument 215 getWordsRec(mRoots, codes, mWordBuilder, 0, false, 1, 0, -1, callback); in getWordsInner() 217 getWordsRec(mRoots, codes, mWordBuilder, 0, false, 1, 0, i, callback); in getWordsInner() 272 WordCallback callback) { in getWordsRec() argument 302 if (!callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId, in getWordsRec() 309 skipPos, callback); in getWordsRec() 317 skipPos, callback); in getWordsRec() 343 callback.addWord(word, 0, depth + 1, finalFreq, mDicTypeId, in getWordsRec() [all …]
|
D | DictionaryCollection.java | 52 public void getWords(final WordComposer composer, final WordCallback callback, in getWords() argument 55 dict.getWords(composer, callback, proximityInfo); in getWords() 60 final WordCallback callback) { in getBigrams() argument 62 dict.getBigrams(composer, previousWord, callback); in getBigrams()
|
D | SynchronouslyLoadedUserDictionary.java | 35 public synchronized void getWords(final WordComposer codes, final WordCallback callback, in getWords() argument 38 getWordsInner(codes, callback, proximityInfo); in getWords()
|
D | Dictionary.java | 69 abstract public void getWords(final WordComposer composer, final WordCallback callback, in getWords() argument 80 final WordCallback callback) { in getBigrams() argument
|
D | BinaryDictionary.java | 130 final WordCallback callback) { in getBigrams() argument 160 callback.addWord(mOutputChars_bigrams, start, len, mBigramScores[j], in getBigrams() 168 public void getWords(final WordComposer codes, final WordCallback callback, in getWords() argument 180 callback.addWord(mOutputChars, start, len, mScores[j], mDicTypeId, in getWords()
|
/packages/apps/Email/src/com/android/email/ |
D | Throttle.java | 72 public Throttle(String name, Runnable callback, Handler handler) { in Throttle() argument 73 this(name, callback, handler, DEFAULT_MIN_TIMEOUT, DEFAULT_MAX_TIMEOUT); in Throttle() 77 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, in Throttle() argument 79 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER); in Throttle() 83 /* package */ Throttle(String name, Runnable callback, Handler handler,int minTimeout, in Throttle() argument 89 mCallback = callback; in Throttle()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEventManager.java | 110 void registerCallback(BluetoothCallback callback) { in registerCallback() argument 112 mCallbacks.add(callback); in registerCallback() 117 void unregisterCallback(BluetoothCallback callback) { in unregisterCallback() argument 119 mCallbacks.remove(callback); in unregisterCallback() 164 for (BluetoothCallback callback : mCallbacks) { in onReceive() 165 callback.onBluetoothStateChanged(state); in onReceive() 180 for (BluetoothCallback callback : mCallbacks) { in onReceive() 181 callback.onScanningStateChanged(mStarted); in onReceive() 214 for (BluetoothCallback callback : mCallbacks) { in dispatchDeviceAdded() 215 callback.onDeviceAdded(cachedDevice); in dispatchDeviceAdded() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepServer.java | 57 public SnepServer(Callback callback) { in SnepServer() argument 58 mCallback = callback; in SnepServer() 64 public SnepServer(String serviceName, int serviceSap, Callback callback) { in SnepServer() argument 65 mCallback = callback; in SnepServer() 71 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { in SnepServer() argument 72 mCallback = callback; in SnepServer() 122 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest() argument 141 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), in handleRequest() 145 messenger.sendMessage(callback.doPut(request.getNdefMessage())); in handleRequest()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 102 private Runnable callback(final int position, final int offset, in callback() method in ImageGetter.ImageGetterRunnable 180 Runnable cb = callback(mCurrentPosition, offset, 216 Runnable cb = callback(mCurrentPosition, offset, 298 public void postGetterCallback(Runnable callback) { 299 postDelayedGetterCallback(callback, 0); 302 public void postDelayedGetterCallback(Runnable callback, long delay) { 303 if (callback == null) { 308 message.obj = callback;
|
D | ReverseGeocoderTask.java | 41 Callback callback) { in ReverseGeocoderTask() argument 45 mCallback = callback; in ReverseGeocoderTask()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | TestLoaderManager.java | 184 public <D> Loader<D> initLoader(final int id, Bundle args, final LoaderCallbacks<D> callback) { in initLoader() argument 188 return callback.onCreateLoader(id, args); in initLoader() 193 callback.onLoadFinished(loader, data); in initLoader() 201 callback.onLoaderReset(loader); in initLoader() 207 public <D> Loader<D> restartLoader(int id, Bundle args, LoaderCallbacks<D> callback) { 208 return mDelegate.restartLoader(id, args, callback);
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 132 for (Runnable callback : mTZCallbacks) { in onQueryComplete() 133 if (callback != null) { in onQueryComplete() 134 callback.run(); in onQueryComplete() 269 public String getTimeZone(Context context, Runnable callback) { in getTimeZone() argument 290 mTZCallbacks.add(callback); in getTimeZone() 306 public void forceDBRequery(Context context, Runnable callback) { in forceDBRequery() argument 309 mTZCallbacks.add(callback); in forceDBRequery() 313 getTimeZone(context, callback); in forceDBRequery()
|
D | ContactsAsyncHelper.java | 73 public Runnable callback; field in ContactsAsyncHelper.WorkerArgs 207 args.callback = run; in retrieveContactPhotoAsync() 245 if (args.callback != null) { in handleMessage() 246 args.callback.run(); in handleMessage()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | TestWebChromeClient.java | 73 public void onShowCustomView(View view, CustomViewCallback callback) { in onShowCustomView() argument 74 mWrappedClient.onShowCustomView(view, callback); in onShowCustomView() 151 GeolocationPermissions.Callback callback) { in onGeolocationPermissionsShowPrompt() argument 152 mWrappedClient.onGeolocationPermissionsShowPrompt(origin, callback); in onGeolocationPermissionsShowPrompt() 194 public void getVisitedHistory(ValueCallback<String[]> callback) { in getVisitedHistory() argument 195 mWrappedClient.getVisitedHistory(callback); in getVisitedHistory()
|
/packages/apps/Email/src/com/android/email/service/ |
D | EmailServiceUtils.java | 52 IEmailServiceCallback callback) { in getService() argument 53 return new EmailServiceProxy(context, intentAction, callback); in getService() 68 IEmailServiceCallback callback) { in getExchangeService() argument 69 return getService(context, EmailServiceProxy.EXCHANGE_INTENT, callback); in getExchangeService()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | InsertQuickResponseDialog.java | 70 final Callback callback; in newInstance() local 73 callback = (Callback) callbackFragment; in newInstance() 92 final Callback callback; in onCreateDialog() local 94 callback = (Callback) getActivity(); in onCreateDialog()
|
D | MessageCommandButtonView.java | 87 public void setCallback(Callback callback) { in setCallback() argument 88 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback; in setCallback()
|
D | MessageOrderManager.java | 124 public MessageOrderManager(Context context, long mailboxId, Callback callback) { in MessageOrderManager() argument 125 this(context, mailboxId, callback, new DelayedOperations(Utility.getMainThreadHandler())); in MessageOrderManager() 129 MessageOrderManager(Context context, long mailboxId, Callback callback, in MessageOrderManager() argument 136 mCallback = new PostingCallback(callback); in MessageOrderManager()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapAuthenticator.java | 57 public BluetoothPbapAuthenticator(final Handler callback) { in BluetoothPbapAuthenticator() argument 58 mCallback = callback; in BluetoothPbapAuthenticator()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | TimelineRelativeLayout.java | 62 public void requestLayout(LayoutCallback callback) { in requestLayout() argument 63 mLayoutCallback = callback; in requestLayout()
|