Home
last modified time | relevance | path

Searched refs:mFeatureFlags (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/init/
DNotifPipelineInitializer.java54 private final FeatureFlags mFeatureFlags; field in NotifPipelineInitializer
76 mFeatureFlags = featureFlags; in NotifPipelineInitializer()
88 if (mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in initialize()
96 if (mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in initialize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DLowPriorityInflationHelper.java36 private final FeatureFlags mFeatureFlags; field in LowPriorityInflationHelper
45 mFeatureFlags = featureFlags; in LowPriorityInflationHelper()
78 if (mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in shouldUseLowPriorityView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java64 @Mock private FeatureFlags mFeatureFlags; field in DozeParametersTest
79 mFeatureFlags, in setup()
129 when(mFeatureFlags.useNewLockscreenAnimations()).thenReturn(true); in testControlUnlockedScreenOffAnimation_dozeAfterScreenOff_false()
146 when(mFeatureFlags.useNewLockscreenAnimations()).thenReturn(false); in testControlUnlockedScreenOffAnimationDisabled_dozeAfterScreenOff()
DStatusBarNotificationActivityStarterTest.java126 private FeatureFlags mFeatureFlags; field in StatusBarNotificationActivityStarterTest
184 when(mFeatureFlags.isNewNotifPipelineRenderingEnabled()).thenReturn(false); in setUp()
222 mFeatureFlags, in setUp()
DNotificationPanelViewTest.java267 private FeatureFlags mFeatureFlags; field in NotificationPanelViewTest
435 mFeatureFlags, in setup()
574 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(false); in testSinglePaneShadeLayout_isAlignedToParent()
644 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(false); in testSinglePaneShadeLayout_childrenHaveConstantWidth()
788 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(true); in enableSplitShade()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerBaseTest.java97 FeatureFlags mFeatureFlags; field in QSPanelControllerBaseTest
144 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager, mFeatureFlags); in setup()
156 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager, mFeatureFlags) { in testSetRevealExpansion_preAttach()
245 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(false); in testShouldUzeHorizontalLayout_falseForSplitShade()
249 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager, mFeatureFlags); in testShouldUzeHorizontalLayout_falseForSplitShade()
254 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(true); in testShouldUzeHorizontalLayout_falseForSplitShade()
259 mMetricsLogger, mUiEventLogger, mQSLogger, mDumpManager, mFeatureFlags); in testShouldUzeHorizontalLayout_falseForSplitShade()
DQSPanelControllerTest.java102 FeatureFlags mFeatureFlags; field in QSPanelControllerTest
134 mFalsingManager, mFeatureFlags in setup()
DQSFragmentTest.java98 private FeatureFlags mFeatureFlags; field in QSFragmentTest
192 mFeatureFlags, in instantiate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java111 @Mock private FeatureFlags mFeatureFlags; field in NotificationStackScrollLayoutTest
151 mFeatureFlags, in setUp()
236 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(true); in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
241 mFeatureFlags.isTwoColumnNotificationShadeEnabled()) in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
246 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(false); in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
250 when(mFeatureFlags.isTwoColumnNotificationShadeEnabled()).thenReturn(true); in testSetExpandedHeight_withSplitShade_doesntInterpolateStackHeight()
DNotificationStackScrollerControllerTest.java119 @Mock private FeatureFlags mFeatureFlags; field in NotificationStackScrollerControllerTest
145 when(mFeatureFlags.isNewNotifPipelineRenderingEnabled()).thenReturn(false); in setUp()
174 mFeatureFlags, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java65 private final FeatureFlags mFeatureFlags; field in DozeParameters
93 mFeatureFlags = featureFlags; in DozeParameters()
235 && mFeatureFlags.useNewLockscreenAnimations() in canControlUnlockedScreenOff()
DStatusBarNotificationActivityStarter.java119 private final FeatureFlags mFeatureFlags; field in StatusBarNotificationActivityStarter
193 mFeatureFlags = featureFlags; in StatusBarNotificationActivityStarter()
205 if (!mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in StatusBarNotificationActivityStarter()
622 if (mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in getVisibleNotificationsCount()
660 private final FeatureFlags mFeatureFlags; field in StatusBarNotificationActivityStarter.Builder
728 mFeatureFlags = featureFlags; in Builder()
791 mFeatureFlags, in build()
DStatusBarIconController.java222 private final FeatureFlags mFeatureFlags; field in StatusBarIconController.IconManager
237 mFeatureFlags = featureFlags; in IconManager()
339 mContext, slot, mFeatureFlags.isCombinedStatusBarSignalIconsEnabled()); in onCreateStatusBarMobileView()
459 return new DemoStatusIcons((LinearLayout) mGroup, mIconSize, mFeatureFlags); in createDemoStatusIcons()
DDemoStatusIcons.java52 private final FeatureFlags mFeatureFlags; field in DemoStatusIcons
67 mFeatureFlags = featureFlags; in DemoStatusIcons()
258 mContext, state.slot, mFeatureFlags.isCombinedStatusBarSignalIconsEnabled()); in addMobileView()
DCollapsedStatusBarFragment.java95 private final FeatureFlags mFeatureFlags; field in CollapsedStatusBarFragment
133 mFeatureFlags = featureFlags; in CollapsedStatusBarFragment()
159 mDarkIconManager = new DarkIconManager(view.findViewById(R.id.statusIcons), mFeatureFlags); in onViewCreated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelControllerBase.java71 private final FeatureFlags mFeatureFlags; field in QSPanelControllerBase
90 Utils.shouldUseSplitNotificationShade(mFeatureFlags, getResources());
132 mFeatureFlags = featureFlags; in QSPanelControllerBase()
134 Utils.shouldUseSplitNotificationShade(mFeatureFlags, getResources()); in QSPanelControllerBase()
DQuickStatusBarHeaderController.java72 private final FeatureFlags mFeatureFlags; field in QuickStatusBarHeaderController
148 mFeatureFlags = featureFlags; in QuickStatusBarHeaderController()
194 if (mFeatureFlags.isCombinedStatusBarSignalIconsEnabled()) { in onViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java131 protected FeatureFlags mFeatureFlags; field in NetworkControllerBaseTest
165 mFeatureFlags = mock(FeatureFlags.class); in setUp()
166 when(mFeatureFlags.isCombinedStatusBarSignalIconsEnabled()).thenReturn(false); in setUp()
167 when(mFeatureFlags.isProviderModelSettingEnabled()).thenReturn(true); in setUp()
245 mFeatureFlags, in setUp()
315 mCarrierConfigTracker, mFeatureFlags, in setUpNoMobileData()
DNetworkControllerSignalTest.java71 mDemoModeController, mock(CarrierConfigTracker.class), mFeatureFlags, in testNoIconWithoutMobile()
92 mDemoModeController, mock(CarrierConfigTracker.class), mFeatureFlags, in testServiceStateInitialState()
161 mDemoModeController, mock(CarrierConfigTracker.class), mFeatureFlags, in testNoSimlessIconWithoutMobile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationEntryManagerInflationTest.java141 @Mock private FeatureFlags mFeatureFlags; field in NotificationEntryManagerInflationTest
178 when(mFeatureFlags.isNewNotifPipelineEnabled()).thenReturn(false); in setUp()
179 when(mFeatureFlags.isNewNotifPipelineRenderingEnabled()).thenReturn(false); in setUp()
184 mFeatureFlags, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java467 private final FeatureFlags mFeatureFlags; field in QSCarrierGroupController.Builder
483 mFeatureFlags = featureFlags; in Builder()
495 mCarrierConfigTracker, mFeatureFlags, mSlotIndexResolver); in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java103 private FeatureFlags mFeatureFlags; field in ThemeOverlayControllerTest
117 when(mFeatureFlags.isMonetEnabled()).thenReturn(true); in setup()
123 mUserTracker, mDumpManager, mFeatureFlags, mWakefulnessLifecycle) { in setup()
515 mUserTracker, mDumpManager, mFeatureFlags, mWakefulnessLifecycle) { in catchException_whenPackageNameIsOverlayName()
552 mUserTracker, mDumpManager, mFeatureFlags, mWakefulnessLifecycle) { in onWallpaperColorsChanged_defersUntilSetupIsCompleted_ifHasColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java143 private final FeatureFlags mFeatureFlags; field in NotificationEntryManager
212 mFeatureFlags = featureFlags; in NotificationEntryManager()
639 if (!mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in addNotificationInternal()
695 if (!mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in updateNotificationInternal()
723 if (mPresenter != null && !mFeatureFlags.isNewNotifPipelineRenderingEnabled()) { in updateNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java81 @Mock private FeatureFlags mFeatureFlags; field in QSCarrierGroupControllerTest
121 mFeatureFlags, mSlotIndexResolver) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java129 private final FeatureFlags mFeatureFlags; field in NetworkControllerImpl
282 mFeatureFlags = featureFlags; in NetworkControllerImpl()
305 mFeatureFlags); in NetworkControllerImpl()
432 mProviderModelBehavior = mFeatureFlags.isCombinedStatusBarSignalIconsEnabled(); in NetworkControllerImpl()
433 mProviderModelSetting = mFeatureFlags.isProviderModelSettingEnabled(); in NetworkControllerImpl()
932 mFeatureFlags); in setCurrentSubscriptionsLocked()
1404 mFeatureFlags); in addSignalController()

12