Home
last modified time | relevance | path

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

123

/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/client/
DMediaBrowserHelper.java28 import android.support.v4.media.session.MediaControllerCompat.Callback;
49 private final List<Callback> mCallbackList = new ArrayList<>();
138 public void perform(@NonNull Callback callback) { in resetState()
153 public void registerCallback(Callback callback) { in registerCallback()
173 for (Callback callback : mCallbackList) { in performOnAllCallbacks()
184 void perform(@NonNull Callback callback); in perform()
228 private class MediaControllerCallback extends MediaControllerCompat.Callback {
234 public void perform(@NonNull Callback callback) { in onMetadataChanged()
244 public void perform(@NonNull Callback callback) { in onPlaybackStateChanged()
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/client/
DMediaBrowserHelper.java28 import android.support.v4.media.session.MediaControllerCompat.Callback;
49 private final List<Callback> mCallbackList = new ArrayList<>();
138 public void perform(@NonNull Callback callback) { in resetState()
153 public void registerCallback(Callback callback) { in registerCallback()
173 for (Callback callback : mCallbackList) { in performOnAllCallbacks()
184 void perform(@NonNull Callback callback); in perform()
228 private class MediaControllerCallback extends MediaControllerCompat.Callback {
234 public void perform(@NonNull Callback callback) { in onMetadataChanged()
244 public void perform(@NonNull Callback callback) { in onPlaybackStateChanged()
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/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() {
377 mSessionManager.setCallback(new SessionManager.Callback() { in onCreate()
606 private Callback mCallback;
612 public void setCallback(Callback cb) { in setCallback()
617 public Callback onCreateCallback() { in onCreateCallback()
/developers/samples/android/media/MediaRouter/Application/src/main/java/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() {
377 mSessionManager.setCallback(new SessionManager.Callback() { in onCreate()
606 private Callback mCallback;
612 public void setCallback(Callback cb) { in setCallback()
617 public Callback onCreateCallback() { in onCreateCallback()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/
DTvInputPlayer.java104 private final CopyOnWriteArrayList<Callback> mCallbacks;
125 for(Callback callback : mCallbacks) {
133 for(Callback callback : mCallbacks) {
140 for(Callback callback : mCallbacks) {
157 for(Callback callback : mCallbacks) { in TvInputPlayer()
164 for(Callback callback : mCallbacks) { in TvInputPlayer()
171 for(Callback callback : mCallbacks) { in TvInputPlayer()
180 for (Callback callback : mCallbacks) { in onText()
226 for (Callback callback : mCallbacks) { in prepare()
250 for (Callback callback : mCallbacks) { in prepare()
[all …]
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/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
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
DFingerprintUiHelper.java42 private final Callback mCallback;
59 … public FingerprintUiHelper build(ImageView icon, TextView errorTextView, Callback callback) { in build()
70 ImageView icon, TextView errorTextView, Callback callback) { in FingerprintUiHelper()
162 public interface Callback { interface in FingerprintUiHelper
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/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
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/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
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/
DFingerprintAuthenticationDialogFragment.kt42 FingerprintUiHelper.Callback {
53 private lateinit var callback: Callback
131 fun setCallback(callback: Callback) { in setCallback()
234 interface Callback { interface in com.example.android.fingerprintdialog.FingerprintAuthenticationDialogFragment
DFingerprintUiHelper.kt35 private val callback: Callback
103 interface Callback { interface
/developers/samples/android/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/
DFingerprintAuthenticationDialogFragment.kt42 FingerprintUiHelper.Callback {
53 private lateinit var callback: Callback
131 fun setCallback(callback: Callback) { in setCallback()
234 interface Callback { interface in com.example.android.fingerprintdialog.FingerprintAuthenticationDialogFragment
DFingerprintUiHelper.kt35 private val callback: Callback
103 interface Callback { interface in com.example.android.fingerprintdialog.FingerprintUiHelper
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDigitalAssetLinksRepository.java33 import retrofit2.Callback;
116 new Callback<DalCheck>() { in checkValid()
128 packageName, fingerprint).enqueue(new Callback<DalCheck>() { in checkValid()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDigitalAssetLinksRepository.java33 import retrofit2.Callback;
116 new Callback<DalCheck>() { in checkValid()
128 packageName, fingerprint).enqueue(new Callback<DalCheck>() { in checkValid()
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt46 ) : SurfaceView(context, attrs, defStyleAttr), SurfaceHolder.Callback {
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt46 ) : SurfaceView(context, attrs, defStyleAttr), SurfaceHolder.Callback {
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt45 ) : SurfaceView(context), SurfaceHolder.Callback {
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt45 ) : SurfaceView(context), SurfaceHolder.Callback {
/developers/samples/android/common/src/java/com/example/android/common/actionbarcompat/
DMultiSelectionUtil.java175 final class Callbacks implements ActionMode.Callback, AdapterView.OnItemClickListener,
284 public static interface MultiChoiceModeListener extends ActionMode.Callback {
/developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
DDragFrameLayout.java65 mDragHelper = ViewDragHelper.create(this, 1.0f, new ViewDragHelper.Callback() { in DragFrameLayout()

123