Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragStartListener.java41 import java.util.function.Function;
74 private final Function<View, String> mIdFinder;
76 private final Function<Selection, DragShadowBuilder> mShadowFactory;
77 private Function<Selection, List<DocumentInfo>> mDocsConverter;
85 Function<View, String> idFinder, in ActiveListener()
86 Function<Selection, List<DocumentInfo>> docsConverter, in ActiveListener()
88 Function<Selection, DragShadowBuilder> shadowFactory) { in ActiveListener()
194 Function<View, String> idFinder, in create()
DAccessibilityEventRouter.java27 import java.util.function.Function;
46 private final Function<View, Boolean> mClickCallback;
49 RecyclerView recyclerView, Function<View, Boolean> clickCallback) { in AccessibilityEventRouter()
DUserInputHandler.java35 import java.util.function.Function;
52 private final Function<MotionEvent, T> mEventConverter;
69 Function<MotionEvent, T> eventConverter, in UserInputHandler()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDao.java28 import com.google.common.base.Function;
46 public static final Function<Context, SimContactDao> DEFAULT_FACTORY =
47 new Function<Context, SimContactDao>() {
55 private static Function<? super Context, SimContactDao> sInstanceFactory = DEFAULT_FACTORY;
86 Function<? super Context, SimContactDao> factory) { in setFactoryForTest()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DIntegerArrayStream.java19 import java.util.function.Function;
50 public <T> T hasAtLeast(int n, Function<IntegerArrayStream, T> ifTrue) { in hasAtLeast()
56 Function<IntegerArrayStream, T> ifTrue, in hasAtLeast()
57 Function<IntegerArrayStream, T> ifFalse) { in hasAtLeast()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java46 import java.util.function.Function;
93 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType) { in getClipDataForDocuments()
111 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType) { in createStandardClipData()
142 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType) { in createJumboClipData()
185 public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection) { in clipDocumentsForCopy()
195 Function<String, Uri> uriBuilder, Selection selection, DocumentInfo parent) { in clipDocumentsForCut()
DDocumentClipper.java32 import java.util.function.Function;
51 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType); in getClipDataForDocuments()
56 void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection); in clipDocumentsForCopy()
62 Function<String, Uri> uriBuilder, Selection selection, DocumentInfo parent); in clipDocumentsForCut()
DUrisSupplier.java41 import java.util.function.Function;
85 Selection selection, Function<String, Uri> uriBuilder, ClipStore storage) in create()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentClipper.java32 import java.util.function.Function;
44 public ClipData getClipDataForDocuments(Function<String, Uri> uriBuilder, Selection selection, in getClipDataForDocuments()
50 public void clipDocumentsForCopy(Function<String, Uri> uriBuilder, Selection selection) { in clipDocumentsForCopy()
55 public void clipDocumentsForCut(Function<String, Uri> uriBuilder, Selection selection, in clipDocumentsForCut()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DEscaper.java92 private final Function<String, String> asFunction =
93 new Function<String, String>() {
102 public Function<String, String> asFunction() { in asFunction()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DRankedComparator.java20 import com.google.android.mail.common.base.Function;
38 private final Function<T, K> mRankExtractorFunction;
49 public RankedComparator(K[] rankOrder, Function<T, K> rankExtractorFunction) { in RankedComparator()
/packages/apps/Camera2/src/com/android/camera/one/config/
DOneCameraFeatureConfig.java23 import com.google.common.base.Function;
82 private final Function<CameraCharacteristics, CaptureSupportLevel> mCaptureModeDetector;
97 Function<CameraCharacteristics, CaptureSupportLevel> captureModeDetector, in OneCameraFeatureConfig()
DOneCameraFeatureConfigCreator.java29 import com.google.common.base.Function;
57 private static Function<CameraCharacteristics, CaptureSupportLevel> buildCaptureModuleDetector( in buildCaptureModuleDetector()
59 return new Function<CameraCharacteristics, CaptureSupportLevel>() { in buildCaptureModuleDetector()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DRankedComparatorTest.java23 import com.google.android.mail.common.base.Function;
85 private static final Function<DummyObject, String> DUMMY_OBJECT_TO_RANK_FUNCTION =
86 new Function<DummyObject, String>() {
/packages/apps/Camera2/src/com/android/camera/async/
DObservables.java20 import com.google.common.base.Function;
52 final Function<F, T> function) { in transform()
83 Function<List<F>, T> function) {
DObservableCombiner.java19 import com.google.common.base.Function;
63 final Function<List<I>, O> function) { in transform()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountInfo.java20 import com.google.common.base.Function;
149 public static final Function<AccountInfo, AccountWithDataSet> ACCOUNT_EXTRACTOR =
150 new Function<AccountInfo, AccountWithDataSet>() {
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DSelectionMetadata.java34 import java.util.function.Function;
44 private final Function<String, Cursor> mDocFinder;
57 public SelectionMetadata(Function<String, Cursor> docFinder) { in SelectionMetadata()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java54 import com.google.common.base.Function;
354 private final Function<AccountTypeProvider, List<AccountWithDataSet>> mAccountsExtractor =
355 new Function<AccountTypeProvider, List<AccountWithDataSet>>() {
540 return Futures.transform(all, new Function<List<List<AccountWithDataSet>>,
569 return Futures.transform(getAllAccountsAsyncInternal(), new Function<List<AccountInfo>,
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java35 import java.util.function.Function;
157 String attrName, Function<PersistableBundle, E> converter) { in getObjectAttrFromPersistableBundle()
163 String attrName, Function<String, E> converter) { in getStringAttrFromPersistableBundle()
/packages/apps/Camera2/src/com/android/camera/one/
DFlashSetting.java22 import com.google.common.base.Function;
30 Function<String, OneCamera.PhotoCaptureParameters.Flash> {
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMailAppProvider.java42 import com.google.android.mail.common.base.Function;
161 final Function<AccountCacheEntry, String> accountQueryUriExtractor = in onCreate()
162 new Function<AccountCacheEntry, String>() { in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragShadowBuilder.java36 import java.util.function.Function;
118 public static final class Updater implements Function<Selection, DragShadowBuilder> {
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java53 import com.google.common.base.Function;
129 new Function<List<AccountInfo>, List<ContactListFilter>>() { in loadData()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java65 import com.google.common.base.Function;
242 SimContactDao.setFactoryForTest(new Function<Context, SimContactDao>() { in selectionsAreImportedAndDisabledOnSubsequentImports()

12