Home
last modified time | relevance | path

Searched refs:mFeatures (Results 1 – 18 of 18) 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/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.java75 private Features mFeatures; field in DirectoryLoader
87 mFeatures = features; in DirectoryLoader()
135 if (mFeatures.isContentPagingEnabled()) { in loadInBackground()
151 if (mSearchMode && !mFeatures.isFoldersInSearchResultsEnabled()) { in loadInBackground()
162 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/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java89 private TestFeatures mFeatures; field in ActionHandlerTest
94 mFeatures = new TestFeatures(); in setUp()
95 mEnv = TestEnv.create(mFeatures); in setUp()
418 mFeatures.forceDefaultRoot = false; in testInitLocation_DefaultsToRecent()
427 mFeatures.forceDefaultRoot = true; in testInitLocation_forceDefaultsToRoot()
438 mFeatures.forceDefaultRoot = true; in testInitLocation_DocumentsRootEnabled()
463 mFeatures.forceDefaultRoot = false; in testInitLocation_BrowseRootWrongAuthority_ShowDefault()
633 mFeatures.debugSupport = false; in testShowInspector_DebugDisabled()
644 mFeatures.debugSupport = true; in testShowInspector_DebugEnabled()
/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()
749 mFeatures.isDebugSupportEnabled() && in showInspector()
/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()