/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Consumers.java | 28 public static <A extends QuietlyCloseable> void consumeCloseable(Consumer<A> consumer, in consumeCloseable() 39 final Consumer<A> consumer, final A value) { in consumeAsync() 52 final Consumer<A> consumer, final A value) { in consumeCloseableAsync() 64 public static <A> Consumer<A> createAsyncConsumer( in createAsyncConsumer() 65 final Handler handler, final Consumer<A> consumer) { in createAsyncConsumer() 66 return new Consumer<A>() { in createAsyncConsumer() 74 public static <A extends QuietlyCloseable> Consumer<A> createAsyncCloseableConsumer( 75 final Handler handler, final Consumer<A> consumer) { 76 return new Consumer<A>() {
|
D | CachedLater.java | 42 private List<Consumer<? super A>> mWaitingConsumers; 56 List<Consumer<? super A>> waitingConsumers; in store() 65 for (Consumer<? super A> consumer : waitingConsumers) { in store() 79 public void getLater(Consumer<? super A> consumer) { in getLater() 88 mWaitingConsumers = new ArrayList<Consumer<? super A>>(); in getLater()
|
D | NoOpConsumer.java | 19 import com.android.quicksearchbox.util.Consumer; 24 public class NoOpConsumer<A> implements Consumer<A> {
|
D | NowOrLaterWrapper.java | 29 public void getLater(final Consumer<? super B> consumer) { in getLater() 30 mWrapped.getLater(new Consumer<A>(){ in getLater()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | DocumentLoader.java | 37 import java.util.function.Consumer; 62 public void loadDocInfo(Uri uri, Consumer<DocumentInfo> updateView) { in loadDocInfo() 71 Consumer<Cursor> callback = new Consumer<Cursor>() { in loadDocInfo() 91 public void loadDirCount(DocumentInfo directory, Consumer<Integer> updateView) { in loadDirCount() 101 Consumer<Cursor> callback = new Consumer<Cursor>() { in loadDirCount() 145 private final Consumer<Cursor> mCallback; 148 Callbacks(Context context, Uri uri, Consumer<Cursor> callback) { in Callbacks()
|
D | InspectorController.java | 43 import java.util.function.Consumer; 50 private final Consumer<DocumentInfo> mHeader; 54 private final Consumer<DocumentInfo> mDebugView; 67 ProvidersAccess providers, boolean showDebug, Consumer<DocumentInfo> header, in InspectorController() 69 Consumer<DocumentInfo> debugView, Lookup<String, Executor> executors, in InspectorController() 224 void loadDocInfo(Uri uri, Consumer<DocumentInfo> callback); in loadDocInfo() 232 void loadDirCount(DocumentInfo directory, Consumer<Integer> callback); in loadDirCount()
|
D | HeaderView.java | 36 import java.util.function.Consumer; 41 public final class HeaderView extends RelativeLayout implements Consumer<DocumentInfo> { 107 Consumer<Bitmap> callback = new Consumer<Bitmap>() { in loadHeaderImage()
|
D | DebugView.java | 24 import java.util.function.Consumer; 29 public class DebugView extends TableView implements Consumer<DocumentInfo> {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QueryTask.java | 19 import com.android.quicksearchbox.util.Consumer; 38 private final Consumer<C> mConsumer; 51 Handler handler, Consumer<C> consumer) { in QueryTask() 80 Consumer<C> consumer) { in startQuery()
|
D | SuggestionsProviderImpl.java | 23 import com.android.quicksearchbox.util.Consumer; 66 Consumer<SourceResult> receiver; in getSuggestions() 92 private class SuggestionCursorReceiver implements Consumer<SourceResult> {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Injector.java | 43 import java.util.function.Consumer; 55 public final Consumer<Collection<RootInfo>> shortcutsUpdater; 86 Consumer<Collection<RootInfo>> shortcutsUpdater) { in Injector() 99 Consumer<Collection<RootInfo>> shortcutsUpdater, in Injector()
|
D | ThumbnailLoader.java | 37 import java.util.function.Consumer; 62 private final Consumer<Bitmap> mCallback; 74 Consumer<Bitmap> callback, boolean addToCache) { in ThumbnailLoader()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
D | PreferencesMonitor.java | 25 import java.util.function.Consumer; 39 private final Consumer<String> mChangeCallback; 44 Consumer<String> listener) { in PreferencesMonitor()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | LoadLastAccessedStackTask.java | 27 import java.util.function.Consumer; 43 private final Consumer<DocumentStack> mCallback; 50 Consumer<DocumentStack> callback) { in LoadLastAccessedStackTask()
|
D | CreatePickedDocumentTask.java | 36 import java.util.function.Consumer; 48 private final Consumer<Uri> mCallback; 58 Consumer<Uri> callback) { in CreatePickedDocumentTask()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | GetRootDocumentTask.java | 29 import java.util.function.Consumer; 41 private final Consumer<DocumentInfo> mCallback; 49 Consumer<DocumentInfo> callback) { in GetRootDocumentTask()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | Backend.java | 42 import java.util.function.Consumer; 60 private Consumer<JobStatus> mJobStatusListener; 93 final Consumer<LocalPrinterCapabilities> capabilitiesConsumer) { in getCapabilities() 109 Consumer<JobStatus> listener) {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | DocumentLoaderTest.java | 32 import java.util.function.Consumer; 154 private static class TestDocConsumer implements Consumer<DocumentInfo> { 171 private static class TestDirConsumer implements Consumer<Integer> {
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 33 import java.util.function.Consumer; 58 private Consumer<LocalPrintJob> mCompleteConsumer; 82 void start(Consumer<LocalPrintJob> callback) { in start()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | IconHelper.java | 48 import java.util.function.Consumer; 203 Consumer<Bitmap> callback = new Consumer<Bitmap>() { in loadThumbnail()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | ConsumerTrap.java | 19 import com.android.quicksearchbox.util.Consumer; 26 public class ConsumerTrap<A> implements Consumer<A> {
|
D | IconLoaderTest.java | 19 import com.android.quicksearchbox.util.Consumer; 66 protected static class AssertConsumer<C> implements Consumer<C> {
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestConsumer.java | 21 import java.util.function.Consumer; 27 public class TestConsumer<T> extends TestPredicate<T> implements Consumer<T> {
|
D | TestActionHandler.java | 27 import java.util.function.Consumer; 81 public void getRootDocument(RootInfo root, int timeout, Consumer<DocumentInfo> callback) { in getRootDocument()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | SingleMessageHandler.java | 24 import java.util.function.Consumer; 45 events.forEach(new Consumer<EventType>() { in handleMessage()
|