Home
last modified time | relevance | path

Searched refs:mFeatures (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/
DSuggestionRankerTest.java51 private Map<String, Map<String, Double>> mFeatures; field in SuggestionRankerTest
59 mFeatures = new HashMap<String, Map<String, Double>>(); in setUp()
60 mFeatures.put("pkg1", new HashMap<String, Double>()); in setUp()
61 mFeatures.put("pkg2", new HashMap<String, Double>()); in setUp()
62 mFeatures.put("pkg3", new HashMap<String, Double>()); in setUp()
72 when(mSuggestionFeaturizer.featurize(mPkgNames)).thenReturn(mFeatures); in setUp()
74 when(mSuggestionRanker.getRelevanceMetric(same(mFeatures.get("pkg1")))).thenReturn(0.9); in setUp()
75 when(mSuggestionRanker.getRelevanceMetric(same(mFeatures.get("pkg2")))).thenReturn(0.1); in setUp()
76 when(mSuggestionRanker.getRelevanceMetric(same(mFeatures.get("pkg3")))).thenReturn(0.5); in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java43 private Features mFeatures; field in CommandInterceptor
46 mFeatures = features; in CommandInterceptor()
63 if (!mFeatures.isDebugSupportEnabled()) { in accept()
67 if (!mFeatures.isCommandInterceptorEnabled()) { in accept()
105 mFeatures.forceFeature(R.bool.feature_gesture_scale, enabled); in gestureScale()
118 mFeatures.forceFeature(R.bool.feature_job_progress_dialog, enabled); in jobProgressDialog()
131 mFeatures.forceFeature(R.bool.feature_archive_creation, enabled); in archiveCreation()
144 mFeatures.forceFeature(R.bool.feature_inspector, enabled); in docInspector()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsList.java32 private final Features mFeatures; field in RootsList
38 mFeatures = Features.create(getContext()); in RootsList()
43 mFeatures = Features.create(getContext()); in RootsList()
48 mFeatures = Features.create(getContext()); in RootsList()
53 mFeatures = Features.create(getContext()); in RootsList()
62 return mFeatures.isSystemKeyboardNavigationEnabled() in onKeyDown()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DFocusManagerTest.java43 private TestFeatures mFeatures; field in FocusManagerTest
49 mFeatures = new TestFeatures(); in setUp()
50 mManager = new FocusManager(mFeatures, mSelectionMgr, null, null, 0) in setUp()
51 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures)); in setUp()
71 mFeatures, SelectionManagers.createTestInstance(), null, null, 0) in testFocusDirectoryList_noItemsToFocus()
72 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures)); in testFocusDirectoryList_noItemsToFocus()
DSharedInputHandlerTest.java44 private TestFeatures mFeatures = new TestFeatures(); field in SharedInputHandlerTest
66 mFeatures); in setUp()
177 mFeatures.systemKeyboardNavigation = false; in testTab_AdvancesFocusArea()
187 mFeatures.systemKeyboardNavigation = false; in testNavKey_FocusesDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java67 private Features mFeatures; field in DirectoryLoader
81 mFeatures = features; in DirectoryLoader()
116 if (mFeatures.isContentPagingEnabled()) { in loadInBackground()
138 if (mSearchMode && !mFeatures.isFoldersInSearchResultsEnabled()) { in loadInBackground()
145 if (mFeatures.isContentPagingEnabled() in loadInBackground()
DSharedInputHandler.java36 private final Features mFeatures; field in SharedInputHandler
49 mFeatures = features; in SharedInputHandler()
84 if (!mFeatures.isSystemKeyboardNavigationEnabled()) { in onTab()
DRefreshTask.java46 private final Features mFeatures; field in RefreshTask
56 mFeatures = features; in RefreshTask()
85 if (!mFeatures.isContentRefreshEnabled()) { in run()
DModel.java65 private final Features mFeatures; field in Model
78 mFeatures = features; in Model()
96 Update error = new Update(e, mFeatures.isRemoteActionsEnabled()); in notifyUpdateListeners()
DRecentsLoader.java89 private final Features mFeatures; field in RecentsLoader
108 mFeatures = features; in RecentsLoader()
350 if (mFeatures.isContentPagingEnabled()) { in runInternal()
DFocusManager.java63 private final Features mFeatures; field in FocusManager
78 mFeatures = checkNotNull(features); in FocusManager()
90 assert(!mFeatures.isSystemKeyboardNavigationEnabled()); in advanceFocusArea()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractJobTest.java59 private TestFeatures mFeatures; field in AbstractJobTest
65 mFeatures = new TestFeatures(); in setUp()
66 mFeatures.notificationChannel = InstrumentationRegistry.getTargetContext() in setUp()
110 mContext, mJobListener, FileOperations.createJobId(), mFeatures); in createJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java46 private final Features mFeatures; field in MenuManager
62 mFeatures = features; in MenuManager()
206 compress.setVisible(mFeatures.isArchiveCreationEnabled()); in updateCompress()
269 boolean visible = mFeatures.isInspectorEnabled(); in updateInspector()
DActionHandler.java85 private final Features mFeatures; field in ActionHandler
109 mFeatures = injector.features; in ActionHandler()
351 selection, DocumentFilters.sharable(mFeatures)); in shareSelectedDocuments()
382 if (mFeatures.isVirtualFilesSharingEnabled() in shareSelectedDocuments()
683 mFeatures.isDebugSupportEnabled() in showInspector()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java73 private final Features mFeatures; field in ActionHandler
91 mFeatures = injector.features; in ActionHandler()
117 if (mFeatures.isLaunchToDocumentEnabled() && launchToDocument(intent)) { in initLocation()
307 if (mFeatures.isOverwriteConfirmationEnabled()) { in saveDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DListeningGestureDetector.java49 private final Features mFeatures; field in ListeningGestureDetector
73 mFeatures = features; in ListeningGestureDetector()
102 if (mFeatures.isGestureScaleEnabled() in onInterceptTouchEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java65 private final Features mFeatures; field in DialogController.RuntimeDialogController
69 mFeatures = features; in RuntimeDialogController()
160 return mFeatures.isJobProgressDialogEnabled(); in shouldShowProgressDialogForOperation()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java105 private final Features mFeatures; field in Job
134 mFeatures = features; in Job()
325 return mFeatures.isNotificationChannelEnabled() in createNotificationBuilder()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java105 private int mFeatures; field in Avrcp
257 mFeatures = 0; in Avrcp()
462 mFeatures = msg.arg1; in handleMessage()
463 mFeatures = modifyRcFeatureFromBlacklist(mFeatures, address); in handleMessage()
467 + ", features=" + msg.arg1 + ", mFeatures=" + mFeatures); in handleMessage()
1298 return ((mFeatures & BTRC_FEAT_ABSOLUTE_VOLUME) != 0); in isAbsoluteVolumeSupported()
1424 mFeatures &= ~BTRC_FEAT_ABSOLUTE_VOLUME; in blackListCurrentDevice()
2371 ProfileService.println(sb, "mFeatures: " + mFeatures); in dump()