Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlayer.java29 protected Callback mCallback;
57 public void setCallback(Callback callback) { in setCallback()
75 public interface Callback { interface in Player
DSessionManager.java25 import com.example.android.mediarouter.player.Player.Callback;
38 public class SessionManager implements Callback {
48 private Callback mCallback;
398 public void setCallback(Callback callback) { in setCallback()
415 public interface Callback { interface in SessionManager
DMainActivity.java41 import android.support.v7.media.MediaRouter.Callback;
114 private final MediaRouter.Callback mMediaRouterCB = new MediaRouter.Callback() {
376 mSessionManager.setCallback(new SessionManager.Callback() { in onCreate()
605 private Callback mCallback;
611 public DiscoveryFragment(Callback cb) { in DiscoveryFragment()
615 public void setCallback(Callback cb) { in setCallback()
620 public Callback onCreateCallback() { in onCreateCallback()
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java38 protected void onCancel(Callback listener) { in onCancel()
43 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
78 protected void onStopListening(Callback listener) { in onStopListening()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java43 private final Callback mCallback;
60 … public FingerprintUiHelper build(ImageView icon, TextView errorTextView, Callback callback) { in build()
71 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper()
163 public interface Callback { interface in FingerprintUiHelper
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintUiHelper.java35 private final Callback mCallback;
44 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper()
139 public interface Callback { interface in FingerprintUiHelper
DFingerprintAuthenticationDialogFragment.java42 implements TextView.OnEditorActionListener, FingerprintUiHelper.Callback {
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DMyBaseListFragment.java123 private final LauncherApps.Callback mLauncherCallback = new LauncherApps.Callback() {
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java67 private Callback mCallback;
234 public void setCallback(Callback callback) { in setCallback()
470 interface Callback { interface in Playback
DQueueFragment.java99 private MediaController.Callback mSessionCallback = new MediaController.Callback() {
DMediaNotificationManager.java192 private final MediaController.Callback mCb = new MediaController.Callback() {
DMusicService.java108 public class MusicService extends MediaBrowserService implements Playback.Callback {
244 mMusicProvider.retrieveMediaAsync(new MusicProvider.Callback() { in onLoadChildren()
322 private final class MediaSessionCallback extends MediaSession.Callback {
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java194 private class MediaProjectionCallback extends MediaProjection.Callback {
202 private class SurfaceCallbacks implements SurfaceHolder.Callback {
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreview.java36 public class CameraPreview extends SurfaceView implements SurfaceHolder.Callback {
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java25 import android.os.Handler.Callback;
148 private class MyHandlerCallback implements Callback {
DGameView.java36 import android.os.Handler.Callback;
427 private class MyHandler implements Callback {
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreview.java36 public class CameraPreview extends SurfaceView implements SurfaceHolder.Callback {
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java65 mDragHelper = ViewDragHelper.create(this, 1.0f, new ViewDragHelper.Callback() { in DragFrameLayout()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java367 private ActionMode.Callback mContentSelectionActionModeCallback = new ActionMode.Callback() {
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java78 public interface Callback { interface in MusicProvider
177 public void retrieveMediaAsync(final Callback callback) { in retrieveMediaAsync()
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DInlineContentClipView.java86 mBackgroundView.getHolder().addCallback(new SurfaceHolder.Callback() { in InlineContentClipView()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DMediaPlayerDemo_Video.java37 OnPreparedListener, OnVideoSizeChangedListener, SurfaceHolder.Callback {
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java77 private class MyActionModeCallback implements ActionMode.Callback {
103 ActionMode.Callback cb = new MyActionModeCallback(); in startActionMode()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnService.java39 public class ToyVpnService extends VpnService implements Handler.Callback {
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java125 private static class SortedListCallback extends SortedList.Callback<Alarm> {

12