Searched defs:features (Results 1 - 25 of 41) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DDocumentFilters.java40 public static Predicate<Cursor> sharable(Features features) { argument
41 return features.isVirtualFilesSharingEnabled()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DModelTest.java65 private TestFeatures features; field in class:ModelTest
69 features = new TestFeatures();
90 model = new Model(features);
/packages/apps/TV/common/src/com/android/tv/common/feature/
H A DFeatureUtils.java24 * Static utilities for features.
29 * Returns a feature that is enabled if any of {@code features} is enabled.
31 * @param features the features to or
33 public static Feature OR(final Feature... features) { argument
37 for (Feature f : features) {
47 return "or(" + Arrays.asList(features) + ")";
54 * Returns a feature that is enabled if all of {@code features} is enabled.
56 * @param features the features t
58 AND(final Feature... features) argument
[all...]
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
H A DSuggestionRanker.java32 // The following coefficients form a linear model, which mixes the features to obtain a
64 Map<String, Map<String, Double>> features = mSuggestionFeaturizer.featurize(suggestionIds);
67 getRelevanceMetric(features.get(suggestionIds.get(i))));
73 double getRelevanceMetric(Map<String, Double> features) { argument
75 if (features == null) {
79 sum += WEIGHTS.get(feature) * features.get(feature);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestAuthenticator.java125 AccountAuthenticatorResponse response, Account account, String[] features) {
127 // specific features. We don't expect to get called, so we always
124 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
/packages/apps/Dialer/java/com/android/dialer/oem/
H A DMotorolaUtils.java79 public static boolean shouldShowHdIconInCallLog(Context context, int features) { argument
82 && (features & FEATURES_HD_CALL) == FEATURES_HD_CALL
86 public static boolean shouldShowWifiIconInCallLog(Context context, int features) { argument
89 && (features & FEATURES_WIFI) == FEATURES_WIFI
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DRefreshTask.java53 public RefreshTask(Features features, State state, DocumentInfo doc, long timeout, argument
56 mFeatures = features;
H A DSharedInputHandler.java44 Features features) {
49 mFeatures = features;
39 SharedInputHandler( FocusHandler focusHandler, SelectionManager selectionMgr, Procedure searchCanceler, Procedure dirPopper, Features features) argument
H A DInjector.java47 public final Features features; field in class:Injector
75 Features features,
80 this(features, config, prefs, messages, dialogs, new Model(features));
85 Features features,
92 this.features = features;
74 Injector( Features features, ActivityConfig config, ScopedPreferences prefs, MessageBuilder messages, DialogController dialogs) argument
84 Injector( Features features, ActivityConfig config, ScopedPreferences prefs, MessageBuilder messages, DialogController dialogs, Model model) argument
H A DRecentsLoader.java97 public RecentsLoader(Context context, ProvidersAccess providers, State state, Features features) { argument
101 mFeatures = features;
H A DModel.java77 public Model(Features features) { argument
78 mFeatures = features;
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
H A DCommandInterceptor.java45 public CommandInterceptor(Features features) { argument
46 mFeatures = features;
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
H A DCompressJob.java59 String id, DocumentStack destination, UrisSupplier srcs, Features features) {
60 super(service, listener, id, OPERATION_MOVE, destination, srcs, features);
58 CompressJob(Context service, Listener listener, String id, DocumentStack destination, UrisSupplier srcs, Features features) argument
H A DDeleteJob.java55 UrisSupplier srcs, @Nullable Uri srcParent, Features features) {
56 super(service, listener, id, OPERATION_DELETE, stack, srcs, features);
54 DeleteJob(Context service, Listener listener, String id, DocumentStack stack, UrisSupplier srcs, @Nullable Uri srcParent, Features features) argument
H A DMoveJob.java61 UrisSupplier srcs, @Nullable Uri srcParent, Features features) {
62 super(service, listener, id, OPERATION_MOVE, destination, srcs, features);
60 MoveJob(Context service, Listener listener, String id, DocumentStack destination, UrisSupplier srcs, @Nullable Uri srcParent, Features features) argument
H A DResolvedResourcesJob.java50 DocumentStack destination, UrisSupplier srcs, Features features) {
51 super(service, listener, id, opType, destination, srcs, features);
49 ResolvedResourcesJob(Context service, Listener listener, String id, @OpType int opType, DocumentStack destination, UrisSupplier srcs, Features features) argument
H A DFileOperation.java83 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); argument
120 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { argument
121 return new CopyJob(service, listener, id, getDestination(), getSrc(), features);
159 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { argument
160 return new CompressJob(service, listener, id, getDestination(), getSrc(), features);
199 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { argument
200 return new CopyJob(service, listener, id, getDestination(), getSrc(), features);
233 Job createJob(Context service, Job.Listener listener, String id, Features features) { argument
237 mSrcParent, features);
240 mSrcParent, features);
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
H A DTestJob.java43 UrisSupplier srcs, Runnable startRunnable, Features features) {
44 super(service, listener, id, opType, stack, srcs, features);
42 TestJob(Context service, Listener listener, String id, @OpType int opType, DocumentStack stack, UrisSupplier srcs, Runnable startRunnable, Features features) argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestModel.java50 public TestModel(String authority, Features features) { argument
51 super(features);
H A DTestEnv.java67 public final TestFeatures features; field in class:TestEnv
75 features = new TestFeatures();
76 model = new TestModel(authority, features);
77 archiveModel = new TestModel(ArchivesProvider.AUTHORITY, features);
81 features,
88 injector.focusManager = new FocusManager(features, selectionMgr, null, null, 0);
/packages/apps/Email/provider_src/com/android/email/service/
H A DEasTestAuthenticatorService.java103 String[] features) throws NetworkErrorException {
102 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
H A DAuthenticatorService.java145 String[] features) throws NetworkErrorException {
144 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DListeningGestureDetector.java61 Features features,
73 mFeatures = features;
60 ListeningGestureDetector( Features features, Context context, RecyclerView recView, EventHandler<InputEvent> mouseDragListener, BooleanConsumer refreshLayoutEnabler, GestureSelector gestureSelector, UserInputHandler<? extends InputEvent> handler, @Nullable BandController bandController, Consumer<Float> scaleHandler) argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_sdp.cpp253 jint msg_types, jint features) {
274 record.mas.supported_features = features;
292 jint features) {
312 record.mns.supported_features = features;
330 jint features) {
350 record.pse.supported_features = features;
250 sdpCreateMapMasRecordNative(JNIEnv* env, jobject obj, jstring name_str, jint mas_id, jint scn, jint l2cap_psm, jint version, jint msg_types, jint features) argument
289 sdpCreateMapMnsRecordNative(JNIEnv* env, jobject obj, jstring name_str, jint scn, jint l2cap_psm, jint version, jint features) argument
326 sdpCreatePbapPseRecordNative(JNIEnv* env, jobject obj, jstring name_str, jint scn, jint l2cap_psm, jint version, jint supported_repositories, jint features) argument
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneCallDetails.java94 public int features; field in class:PhoneCallDetails

Completed in 1764 milliseconds

12