Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 37) sorted by relevance

12

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java285 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest() argument
291 success = handlePlay(intent, callback); in onControlRequest()
293 success = handleEnqueue(intent, callback); in onControlRequest()
295 success = handleRemove(intent, callback); in onControlRequest()
297 success = handleSeek(intent, callback); in onControlRequest()
299 success = handleGetStatus(intent, callback); in onControlRequest()
301 success = handlePause(intent, callback); in onControlRequest()
303 success = handleResume(intent, callback); in onControlRequest()
305 success = handleStop(intent, callback); in onControlRequest()
307 success = handleStartSession(intent, callback); in onControlRequest()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintHtmlOffScreen.java107 CancellationSignal cancellationSignal, LayoutResultCallback callback, in doPrint()
110 callback, extras); in doPrint()
115 CancellationSignal cancellationSignal, WriteResultCallback callback) { in doPrint()
116 mWrappedInstance.onWrite(pages, destination, cancellationSignal, callback); in doPrint()
DPrintCustomContent.java123 final LayoutResultCallback callback, in print()
128 callback.onLayoutCancelled(); in print()
193 callback.onLayoutFinished(mDocumentInfo, false); in print()
273 callback.onLayoutFinished(info, true); in print()
279 callback.onLayoutFailed(null); in print()
294 callback.onLayoutCancelled(); in print()
303 final WriteResultCallback callback) { in print()
307 callback.onWriteCancelled(); in print()
421 callback.onWriteFinished(pageRanges); in print()
423 callback.onWriteFailed(null); in print()
[all …]
DMessengerServiceActivities.java163 mCallbackText = (TextView)findViewById(R.id.callback); in onCreate()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java157 SynthesisCallback callback) { in onSynthesizeText() argument
166 callback.error(); in onSynthesizeText()
176 callback.start(SAMPLING_RATE_HZ, in onSynthesizeText()
186 if (!generateOneSecondOfAudio(value, callback)) { in onSynthesizeText()
187 callback.error(); in onSynthesizeText()
193 callback.done(); in onSynthesizeText()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineFillService.java58 FillCallback callback) { in onFillRequest() argument
69 callback.onSuccess(null); in onFillRequest()
103 callback.onSuccess(response); in onFillRequest()
144 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest() argument
147 callback.onSuccess(); in onSaveRequest()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java60 … public FingerprintUiHelper build(ImageView icon, TextView errorTextView, Callback callback) { in build() argument
62 callback); in build()
71 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper() argument
75 mCallback = callback; in FingerprintUiHelper()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DShowcaseFragment.java141 Runnable callback) { in addStep() argument
142 addStep(new Step(tutorialText, targetView, callback)); in addStep()
165 if (current.callback != null) current.callback.run(); in executeStep()
211 public Runnable callback; field in ShowcaseFragment.Step
226 callback = onStepCallback; in Step()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlayer.java57 public void setCallback(Callback callback) { in setCallback() argument
58 mCallback = callback; in setCallback()
DSessionManager.java398 public void setCallback(Callback callback) { in setCallback() argument
399 mCallback = callback; in setCallback()
DRemotePlayer.java331 ControlRequestCallback callback = new ControlRequestCallback() { in updateStatistics() local
350 mRoute.sendControlRequest(intent, callback); in updateStatistics()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java49 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener() argument
50 mCallback = callback; in setTabListener()
DCompatTabHoneycomb.java56 public CompatTab setTabListener(CompatTabListener callback) { in setTabListener() argument
57 mCallback = callback; in setTabListener()
DCompatTab.java39 public abstract CompatTab setTabListener(CompatTabListener callback); in setTabListener() argument
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DMultiClientInputMethod.java68 final ClientCallbackImpl callback = new ClientCallbackImpl( in onCreate()
77 mDelegate.acceptClient(clientId, callback, callback.getDispatcherState(), in onCreate()
78 callback.getLooper()); in onCreate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceUtil.java120 final FetchConfigDataMapCallback callback) { in fetchConfigDataMap() argument
132 .setResultCallback(new DataItemResultCallback(callback)); in fetchConfigDataMap()
186 public DataItemResultCallback(FetchConfigDataMapCallback callback) { in DataItemResultCallback() argument
187 mCallback = callback; in DataItemResultCallback()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppPickerDialog.java48 AppPickedCallback callback) { in newInstance() argument
51 frag.mAppPickerCallback = callback; in newInstance()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DKubeRenderer.java34 public KubeRenderer(GLWorld world, AnimationCallback callback) { in KubeRenderer() argument
36 mCallback = callback; in KubeRenderer()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintUiHelper.java44 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper() argument
48 mCallback = callback; in FingerprintUiHelper()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java228 public void restoreState(CardStreamState state, OnCardClickListener callback) { in restoreState() argument
231 Card card = new Card.Builder(callback,c).build(getActivity()); in restoreState()
240 Card card = new Card.Builder(callback,c).build(getActivity()); in restoreState()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java177 public void retrieveMediaAsync(final Callback callback) { in retrieveMediaAsync() argument
181 callback.onMusicCatalogReady(true); in retrieveMediaAsync()
195 if (callback != null) { in retrieveMediaAsync()
196 callback.onMusicCatalogReady(current == State.INITIALIZED); in retrieveMediaAsync()
/development/samples/browseable/MediaBrowserService/
D_index.jd15 connected to Android Auto, the same service provides data and callback
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java210 final InputConnectionCompat.OnCommitContentListener callback = in createEditTextWithContentMimeTypes()
219 return InputConnectionCompat.createWrapper(ic, editorInfo, callback); in createEditTextWithContentMimeTypes()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java234 public void setCallback(Callback callback) { in setCallback() argument
235 this.mCallback = callback; in setCallback()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js246 for (let [txt, callback] of items) {
247 domUl.appendChild(domNewElem('li', domNewLink(txt, callback)));

12