/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Model.java | 70 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>(); 79 public void addUpdateListener(EventListener<Update> listener) { in addUpdateListener() 83 public void removeUpdateListener(EventListener<Update> listener) { in removeUpdateListener() 88 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners() 89 handler.accept(Update.UPDATE); in notifyUpdateListeners() 94 Update error = new Update(e, mFeatures.isRemoteActionsEnabled()); in notifyUpdateListeners() 95 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners() 269 public static class Update { class in Model 271 public static final Update UPDATE = new Update(); 286 private Update() { in Update() method in Model.Update [all …]
|
D | FocusManager.java | 47 import com.android.documentsui.Model.Update; 601 private EventListener<Model.Update> mModelListener = new EventListener<Model.Update>() { 603 public void accept(Update event) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 374 public static class Update { class in MockContentProvider 391 public Update(Uri uri, in Update() method in MockContentProvider.Update 407 public Update anyNumberOfTimes() { in anyNumberOfTimes() 418 public Update returnRowsAffected(int rowsAffected) { in returnRowsAffected() 440 Update update = (Update) o; in equals() 472 private List<Update> mExpectedUpdates = new ArrayList<>(); 500 public Update expectUpdate(Uri contentUri, in expectUpdate() 504 Update update = new Update(contentUri, contentValues, selection, selectionArgs); in expectUpdate() 588 for (Iterator<Update> iterator = mExpectedUpdates.iterator(); iterator.hasNext(); ) { in update() 589 Update update = iterator.next(); in update()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | Message.java | 26 import com.android.documentsui.Model.Update; 53 abstract void update(Update Event); in update() 104 void update(Update event) { in update() 120 private void updateToAuthenticationExceptionHeader(Update event) { in updateToAuthenticationExceptionHeader() 144 void update(Update event) { in update()
|
D | ModelBackedDocumentsAdapter.java | 33 import com.android.documentsui.Model.Update; 60 private EventListener<Model.Update> mModelUpdateListener; 68 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter() 70 public void accept(Update event) { in ModelBackedDocumentsAdapter() 81 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
|
D | DirectoryAddonsAdapter.java | 25 import com.android.documentsui.Model.Update; 43 private final EventListener<Update> mModelUpdateListener; 67 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener() 171 private void onModelUpdate(Update event) {
|
D | DocumentsAdapter.java | 58 abstract EventListener<Model.Update> getModelUpdateListener(); in getModelUpdateListener()
|
D | DirectoryFragment.java | 135 private final EventListener<Model.Update> mModelUpdateListener = new ModelUpdateListener(); 1139 private final class ModelUpdateListener implements EventListener<Model.Update> { 1142 public void accept(Model.Update update) { in accept()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImageSavingTask.java | 44 static class UpdateBitmap implements Update { 48 static class UpdateProgress implements Update { 53 static class UpdatePreviewSaved implements Update { 132 public void onUpdate(Update message) { in onUpdate()
|
D | ProcessingTask.java | 31 static interface Update {} interface in ProcessingTask 53 public void postUpdate(Update message) { in postUpdate() 85 public void onUpdate(Update message) {} in onUpdate()
|
D | ProcessingTaskController.java | 47 task.onUpdate((ProcessingTask.Update) msg.obj);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestDocumentsAdapter.java | 26 import com.android.documentsui.Model.Update; 38 final TestEventListener<Update> mModelListener = new TestEventListener<>(); 88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapterTest.java | 52 mAdapter.getModelUpdateListener().accept(Model.Update.UPDATE); in setUp()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 268 private class Update implements Command { class in CalendarProvider2Test 272 public Update(String eventName, KeyValue[] pairs) { in Update() method in CalendarProvider2Test.Update 887 new Update("cancel0", new KeyValue[] { 934 new Update("daily0", new KeyValue[] { 944 new Update("daily0", new KeyValue[] { 950 new Update("except1", new KeyValue[] {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 281 TestEventHandler<Model.Update> listener = new TestEventHandler<>(); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
|