HomeSort by relevance Sort by last modified time
    Searched refs:Callback (Results 401 - 425 of 2033) sorted by null

<<11121314151617181920>>

  /frameworks/support/paging/common/src/main/java/android/arch/paging/
ContiguousPagedList.java 52 private ArrayList<WeakReference<Callback>> mCallbacks = new ArrayList<>();
239 for (WeakReference<Callback> weakRef : mCallbacks) {
240 Callback callback = weakRef.get(); local
241 if (callback != null) {
243 callback.onChanged(mLeadingNullCount, changedCount);
246 callback.onInserted(0, addedCount);
279 for (WeakReference<Callback> weakRef : mCallbacks) {
280 Callback callback = weakRef.get() local
    [all...]
PageArrayList.java 122 @NonNull Callback callback) {
127 public void removeWeakCallback(Callback callback) {
TiledPagedList.java 57 private ArrayList<WeakReference<Callback>> mCallbacks = new ArrayList<>();
168 for (WeakReference<Callback> weakRef : mCallbacks) {
169 Callback callback = weakRef.get();
170 if (callback != null) {
171 callback.onChanged(pageIndex * mPageSize, data.size());
185 @NonNull Callback callback) {
188 // loop through each page and signal the callback for any pages that are present now,
199 // and signal them all at once to the callback
    [all...]
  /frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
SortedListBatchedCallbackTest.java 36 SortedList.Callback mMockCallback;
39 mMockCallback = Mockito.mock(SortedList.Callback.class);
  /packages/apps/Camera2/src/com/android/camera/data/
FilmstripDataAdapterProxy.java 23 import com.android.camera.util.Callback;
77 public void requestLoad(Callback<Void> onDone) {
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
RuntimeDocumentClipper.java 222 FileOperations.Callback callback) {
224 copyFromClipData(destination, docStack, mClipboard.getPrimaryClip(), callback);
230 FileOperations.Callback callback) {
232 copyFromClipData(docStack, mClipboard.getPrimaryClip(), callback);
240 FileOperations.Callback callback) {
243 copyFromClipData(dstStack, clipData, callback);
251 FileOperations.Callback callback)
    [all...]
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
TestDialogController.java 45 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) {
46 callback.accept(mNextConfirmationCode);
85 Assert.assertEquals(FileOperations.Callback.STATUS_ACCEPTED, mFileOpStatus);
89 Assert.assertEquals(FileOperations.Callback.STATUS_FAILED, mFileOpStatus);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
CreateManagedProfileTask.java 42 public CreateManagedProfileTask(Context context, ProvisioningParams params, Callback callback) {
46 callback,
55 Callback callback,
58 super(context, params, callback);
ManagedProfileSettingsTask.java 42 Callback callback) {
44 callback);
53 Callback callback) {
54 super(context, params, callback);
  /packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
StreamingServiceTracker.java 27 private class Callback extends StreamingServiceCallback {
64 streamingManager.startStreaming(mStreamingServiceInfo, new Callback(), null);
  /prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/
FuzzerValueBitMap.h 71 template <class Callback>
72 void ForEach(Callback CB) {
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/
FuzzerValueBitMap.h 77 template <class Callback>
79 void ForEach(Callback CB) const {
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/
FuzzerValueBitMap.h 77 template <class Callback>
79 void ForEach(Callback CB) const {
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/
FuzzerValueBitMap.h 77 template <class Callback>
79 void ForEach(Callback CB) const {
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/
FuzzerValueBitMap.h 77 template <class Callback>
79 void ForEach(Callback CB) const {
  /prebuilts/go/darwin-x86/misc/swig/callback/
callback_test.go 5 package callback package
17 if s != "Callback::run" {
29 t.Errorf("unexpected string from Call with callback: %q", s)
  /prebuilts/go/linux-x86/misc/swig/callback/
callback_test.go 5 package callback package
17 if s != "Callback::run" {
29 t.Errorf("unexpected string from Call with callback: %q", s)
  /system/update_engine/update_manager/
real_system_provider.cc 20 #include <base/callback.h>
52 base::Callback<bool(T* res)> func)
83 // The function to be called, stored as a base::Callback.
84 base::Callback<bool(T*)> func_;
  /frameworks/support/media-compat/java/android/support/v4/media/session/
MediaControllerCompat.java 54 * other commands can be sent to the session. A callback may be registered to
198 private final HashSet<Callback> mRegisteredCallbacks = new HashSet<>();
278 * @see Callback#onSessionReady
409 * @see Callback#onSessionReady
422 * @see Callback#onSessionReady
435 * @see Callback#onSessionReady
460 * @see Callback#onSessionReady
537 * Adds a callback to receive updates from the Session. Updates will be
540 * @param callback The callback object, must not be null
819 MediaControllerCompat.Callback callback = mCallback.get(); local
827 MediaControllerCompat.Callback callback = mCallback.get(); local
839 MediaControllerCompat.Callback callback = mCallback.get(); local
852 MediaControllerCompat.Callback callback = mCallback.get(); local
860 MediaControllerCompat.Callback callback = mCallback.get(); local
868 MediaControllerCompat.Callback callback = mCallback.get(); local
876 MediaControllerCompat.Callback callback = mCallback.get(); local
885 MediaControllerCompat.Callback callback = mCallback.get(); local
902 MediaControllerCompat.Callback callback = mCallback.get(); local
910 MediaControllerCompat.Callback callback = mCallback.get(); local
918 MediaControllerCompat.Callback callback = mCallback.get(); local
926 MediaControllerCompat.Callback callback = mCallback.get(); local
934 MediaControllerCompat.Callback callback = mCallback.get(); local
942 MediaControllerCompat.Callback callback = mCallback.get(); local
950 MediaControllerCompat.Callback callback = mCallback.get(); local
959 MediaControllerCompat.Callback callback = mCallback.get(); local
967 MediaControllerCompat.Callback callback = mCallback.get(); local
976 MediaControllerCompat.Callback callback = mCallback.get(); local
985 MediaControllerCompat.Callback callback = mCallback.get(); local
993 MediaControllerCompat.Callback callback = mCallback.get(); local
1006 MediaControllerCompat.Callback callback = mCallback.get(); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 83 Drawable.Callback cb = mock(Drawable.Callback.class);
111 Drawable.Callback cb = mock(Drawable.Callback.class);
137 Drawable.Callback cb = mock(Drawable.Callback.class);
  /external/libmojo/base/android/java/src/org/chromium/base/
BaseChromiumApplication.java 64 * Intercepts calls to an existing Window.Callback. Most invocations are passed on directly
65 * to the composed Window.Callback but enables intercepting/manipulating others.
71 private final Window.Callback mCallback;
74 public WindowCallbackProxy(Activity activity, Window.Callback callback) {
75 mCallback = callback;
90 // Window.Callback object. Because we're using a Proxy to forward all method
153 Window.Callback callback = activity.getWindow().getCallback();
154 activity.getWindow().setCallback((Window.Callback) Proxy.newProxyInstance
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
BluetoothControllerImplTest.java 101 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); local
102 mBluetoothControllerImpl.addCallback(callback);
114 verify(callback).onBluetoothDevicesChanged();
122 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); local
123 mBluetoothControllerImpl.addCallback(callback);
137 verify(callback).onBluetoothDevicesChanged()
145 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); local
    [all...]
  /frameworks/support/media-compat/api21/android/support/v4/media/session/
MediaSessionCompatApi21.java 62 public static Object createCallback(Callback callback) {
63 return new CallbackProxy<Callback>(callback);
67 ((MediaSession) sessionObj).setCallback((MediaSession.Callback) callbackObj, handler);
155 interface Callback {
174 static class CallbackProxy<T extends Callback> extends MediaSession.Callback {
177 public CallbackProxy(T callback) {
178 mCallback = callback;
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountServerBaseFragment.java 41 * Activity callback during onAttach
74 // Used to post the callback once we're done saving, since we can't perform fragment
80 * Callback interface that owning activities must provide
82 public interface Callback extends AccountSetupFragment.Callback {
274 final Callback callback = (Callback) getActivity();
275 callback.onAccountServerSaveComplete();
295 final Callback callback = (Callback) getActivity() local
    [all...]
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 40 public interface Callback {
60 private ArrayList<Callback> mCallbacks = new ArrayList<Callback>();
118 public void registerCallback(Callback callback) {
119 mCallbacks.add(callback);
122 public void unregisterCallback(Callback callback) {
123 mCallbacks.remove(callback);
135 for (Callback callback : mCallbacks)
    [all...]

Completed in 1888 milliseconds

<<11121314151617181920>>