Home
last modified time | relevance | path

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

123

/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java297 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest() argument
303 success = handlePlay(intent, callback); in onControlRequest()
305 success = handleEnqueue(intent, callback); in onControlRequest()
307 success = handleRemove(intent, callback); in onControlRequest()
309 success = handleSeek(intent, callback); in onControlRequest()
311 success = handleGetStatus(intent, callback); in onControlRequest()
313 success = handlePause(intent, callback); in onControlRequest()
315 success = handleResume(intent, callback); in onControlRequest()
317 success = handleStop(intent, callback); in onControlRequest()
319 success = handleStartSession(intent, callback); in onControlRequest()
[all …]
DPlayer.java79 public void setCallback(Callback callback) { in setCallback() argument
80 mCallback = callback; in setCallback()
/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 …]
/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/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java56 … public FingerprintUiHelper build(ImageView icon, TextView errorTextView, Callback callback) { in build() argument
58 callback); in build()
67 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper() argument
71 mCallback = callback; in FingerprintUiHelper()
/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/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlayer.java57 public void setCallback(Callback callback) { in setCallback() argument
58 mCallback = callback; in setCallback()
/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/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/JobScheduler/src/com.example.android.jobscheduler/service/
DTestJobService.java61 Messenger callback = intent.getParcelableExtra("messenger"); in onStartCommand() local
66 callback.send(m); in onStartCommand()
/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/ndk/platforms/android-9/include/android/
Dlooper.h231 ALooper_callbackFunc callback, void* data);
Dsensor.h169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
/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/Support4Demos/src/com/example/android/supportv4/media/model/
DMusicProvider.java176 public void retrieveMediaAsync(final Callback callback) { in retrieveMediaAsync() argument
180 callback.onMusicCatalogReady(true); in retrieveMediaAsync()
194 if (callback != null) { in retrieveMediaAsync()
195 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/ndk/platforms/android-14/include/SLES/
DOpenSLES_Android.h206 slAndroidSimpleBufferQueueCallback callback,
262 slAndroidBufferQueueCallback callback,
/development/ndk/platforms/android-21/include/SLES/
DOpenSLES_Android.h228 slAndroidSimpleBufferQueueCallback callback,
284 slAndroidBufferQueueCallback callback,
/development/ndk/platforms/android-21/include/linux/
Disdn.h134 int callback; member
/development/ndk/platforms/android-14/include/OMXAL/
DOpenMAXAL_Android.h97 xaAndroidBufferQueueCallback callback,

123