Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DFocusManagerTest.java46 private TestFeatures mFeatures; field in FocusManagerTest
55 mFeatures = new TestFeatures(); in setUp()
56 mManager = new FocusManager(mFeatures, mSelectionMgr, null, null, 0) in setUp()
57 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures)); in setUp()
77 mFeatures, SelectionHelpers.createTestInstance(), null, null, 0) in testFocusDirectoryList_noItemsToFocus()
78 .reset(mView, new TestModel(TEST_AUTHORITY, mFeatures)); in testFocusDirectoryList_noItemsToFocus()
94 mFeatures, SelectionHelpers.createTestInstance(), null, null, 0); in testFocusDirectoryList_invalidContentScope()
101 mFeatures, SelectionHelpers.createTestInstance(), null, null, 0); in testOnFocusChange_invalidContentScope()
108 mFeatures, SelectionHelpers.createTestInstance(), null, null, 0); in testClearFocus_invalidContentScope()
115 mFeatures, SelectionHelpers.createTestInstance(), null, null, 0); in testFocusDocument_invalidContentScope()
DSharedInputHandlerTest.java45 private TestFeatures mFeatures = new TestFeatures(); field in SharedInputHandlerTest
68 mFeatures, in setUp()
194 mFeatures.systemKeyboardNavigation = false; in testTab_AdvancesFocusArea()
204 mFeatures.systemKeyboardNavigation = false; in testNavKey_FocusesDirectory()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DRcsFeatureController.java107 private final Map<Class<?>, Feature> mFeatures = new ArrayMap<>(); field in RcsFeatureController
206 mFeatures.put(clazz, connector); in addFeature()
222 return (T) mFeatures.get(clazz); in getFeature()
231 RcsFeatureController.Feature feature = mFeatures.remove(clazz); in removeFeature()
241 return mFeatures.size() > 0; in hasActiveFeatures()
258 for (Feature c : mFeatures.values()) { in updateAssociatedSubscription()
273 for (Feature c : mFeatures.values()) { in destroy()
277 mFeatures.clear(); in destroy()
400 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
404 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
/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/src/com/android/documentsui/queries/
DCommandInterceptor.java43 private Features mFeatures; field in CommandInterceptor
46 mFeatures = features; in CommandInterceptor()
61 if (!mFeatures.isDebugSupportEnabled()) { in accept()
65 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()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractJobTest.java60 private TestFeatures mFeatures; field in AbstractJobTest
66 mFeatures = new TestFeatures(); in setUp()
67 mFeatures.notificationChannel = InstrumentationRegistry.getTargetContext() in setUp()
119 mContext, listener, FileOperations.createJobId(), mFeatures); in createJob()
135 mContext, mJobListener, FileOperations.createJobId(), mFeatures); in createJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java71 private Features mFeatures; field in DirectoryLoader
83 mFeatures = features; in DirectoryLoader()
131 if (mFeatures.isContentPagingEnabled()) { in loadInBackground()
147 if (mSearchMode && !mFeatures.isFoldersInSearchResultsEnabled()) { in loadInBackground()
158 if (mFeatures.isContentPagingEnabled() in loadInBackground()
DSharedInputHandler.java40 private final Features mFeatures; field in SharedInputHandler
55 mFeatures = features; in SharedInputHandler()
91 if (!mFeatures.isSystemKeyboardNavigationEnabled()) { in onTab()
DRefreshTask.java48 private final Features mFeatures; field in RefreshTask
58 mFeatures = features; in RefreshTask()
92 if (!mFeatures.isContentRefreshEnabled()) { in run()
DModel.java63 private final Features mFeatures; field in Model
76 mFeatures = features; in Model()
94 Update error = new Update(e, mFeatures.isRemoteActionsEnabled()); in notifyUpdateListeners()
DFocusManager.java69 private final Features mFeatures; field in FocusManager
84 mFeatures = checkNotNull(features); in FocusManager()
96 assert(!mFeatures.isSystemKeyboardNavigationEnabled()); in advanceFocusArea()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java46 private final Features mFeatures; field in MenuManager
64 mFeatures = features; in MenuManager()
193 compress.setVisible(mFeatures.isArchiveCreationEnabled()); in updateCompress()
256 boolean visible = mFeatures.isInspectorEnabled(); in updateInspect()
263 boolean visible = mFeatures.isInspectorEnabled(); in updateInspect()
DActionHandler.java93 private final Features mFeatures; field in ActionHandler
117 mFeatures = injector.features; in ActionHandler()
360 selection, DocumentFilters.sharable(mFeatures)); in shareSelectedDocuments()
391 if (mFeatures.isVirtualFilesSharingEnabled() in shareSelectedDocuments()
457 if (mFeatures.isDefaultRootInBrowseEnabled()) { in launchToDefaultLocation()
748 mFeatures.isDebugSupportEnabled() && in showInspector()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java90 private TestFeatures mFeatures; field in ActionHandlerTest
95 mFeatures = new TestFeatures(); in setUp()
96 mEnv = TestEnv.create(mFeatures); in setUp()
431 mFeatures.forceDefaultRoot = false; in testInitLocation_DefaultsToRecent()
440 mFeatures.forceDefaultRoot = true; in testInitLocation_forceDefaultsToRoot()
451 mFeatures.forceDefaultRoot = true; in testInitLocation_DocumentsRootEnabled()
476 mFeatures.forceDefaultRoot = false; in testInitLocation_BrowseRootWrongAuthority_ShowDefault()
646 mFeatures.debugSupport = false; in testShowInspector_DebugDisabled()
657 mFeatures.debugSupport = true; in testShowInspector_DebugEnabled()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DScaleHelper.java43 private final Features mFeatures; field in ScaleHelper
50 mFeatures = features; in ScaleHelper()
57 if (mFeatures.isGestureScaleEnabled() && mScaleDetector != null) { in onInterceptTouchEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java67 private final Features mFeatures; field in DialogController.RuntimeDialogController
71 mFeatures = features; in RuntimeDialogController()
161 return mFeatures.isJobProgressDialogEnabled(); in shouldShowProgressDialogForOperation()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DStackEvent.java27 int mFeatures; field in StackEvent
55 event.mFeatures = features; in rcFeatures()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java80 private final Features mFeatures; field in ActionHandler
99 mFeatures = injector.features; in ActionHandler()
131 if (mFeatures.isLaunchToDocumentEnabled() && launchToInitialUri(intent)) { in initLocation()
407 if (mFeatures.isOverwriteConfirmationEnabled()) { in saveDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java112 private final Features mFeatures; field in Job
141 mFeatures = features; in Job()
333 return mFeatures.isNotificationChannelEnabled() in createNotificationBuilder()