Home
last modified time | relevance | path

Searched refs:DarkIconDispatcher (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DDarkIconManager.java24 import com.android.systemui.plugins.DarkIconDispatcher;
39 private final DarkIconDispatcher mDarkIconDispatcher;
48 DarkIconDispatcher darkIconDispatcher) { in DarkIconManager()
78 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(i)); in destroy()
86 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(viewIndex)); in onRemoveIcon()
94 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(viewIndex)); in onSetIcon()
116 private final DarkIconDispatcher mDarkIconDispatcher;
123 DarkIconDispatcher darkIconDispatcher) { in Factory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDarkReceiverImpl.kt23 import com.android.systemui.plugins.DarkIconDispatcher
30 ) : View(context, attrs, defStyle, defStyleRes), DarkIconDispatcher.DarkReceiver {
35 onDarkChanged(ArrayList<Rect>(), 1f, DarkIconDispatcher.DEFAULT_ICON_TINT)
39 val intensity = if (DarkIconDispatcher.isInAreas(areas, this)) darkIntensity else 0f in onDarkChanged()
DDependency.java38 import com.android.systemui.plugins.DarkIconDispatcher;
127 @Inject Lazy<DarkIconDispatcher> mDarkIconDispatcher;
176 mProviders.put(DarkIconDispatcher.class, mDarkIconDispatcher::get); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameViewController.java28 import com.android.systemui.plugins.DarkIconDispatcher;
45 private final DarkIconDispatcher mDarkIconDispatcher;
57 DarkIconDispatcher darkIconDispatcher, in OperatorNameViewController()
122 private final DarkIconDispatcher mDarkIconDispatcher;
132 public Factory(DarkIconDispatcher darkIconDispatcher, in Factory()
173 private final DarkIconDispatcher.DarkReceiver mDarkReceiver =
175 mView.setTextColor(DarkIconDispatcher.getTint(area, mView, tint));
DStatusIconDisplayable.java19 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
DHeadsUpStatusBarView.java29 import com.android.systemui.plugins.DarkIconDispatcher;
166 mTextView.setTextColor(DarkIconDispatcher.getTint(areas, this, tint)); in onDarkChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSysuiDarkIconDispatcher.java22 import com.android.systemui.plugins.DarkIconDispatcher;
33 public interface SysuiDarkIconDispatcher extends DarkIconDispatcher, Dumpable {
DPhoneStatusBarView.java41 import com.android.systemui.plugins.DarkIconDispatcher;
42 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
107 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(mBattery); in onAttachedToWindow()
108 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(mClock); in onAttachedToWindow()
120 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(mBattery); in onDetachedFromWindow()
121 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(mClock); in onDetachedFromWindow()
DDemoStatusIcons.java32 import com.android.systemui.plugins.DarkIconDispatcher;
33 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
72 mColor = DarkIconDispatcher.DEFAULT_ICON_TINT; in DemoStatusIcons()
73 mContrastColor = DarkIconDispatcher.DEFAULT_INVERSE_ICON_TINT; in DemoStatusIcons()
DStatusOverlayHoverListener.kt33 import com.android.systemui.plugins.DarkIconDispatcher
80 val calculatedTint = DarkIconDispatcher.getTint(darkChange.areas, view, darkChange.tint) in toHoverTheme()
DHeadsUpAppearanceController.java30 import com.android.systemui.plugins.DarkIconDispatcher;
70 DarkIconDispatcher.DarkReceiver,
81 private final DarkIconDispatcher mDarkIconDispatcher;
123 DarkIconDispatcher darkIconDispatcher, in HeadsUpAppearanceController()
DLightBarController.java42 import com.android.systemui.plugins.DarkIconDispatcher;
126 DarkIconDispatcher darkIconDispatcher, in LightBarController()
476 private final DarkIconDispatcher mDarkIconDispatcher;
486 DarkIconDispatcher darkIconDispatcher, in Factory()
DLegacyNotificationIconAreaControllerImpl.java44 import com.android.systemui.plugins.DarkIconDispatcher;
45 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
138 DarkIconDispatcher darkIconDispatcher, in LegacyNotificationIconAreaControllerImpl()
257 if (DarkIconDispatcher.isInAreas(tintAreas, mNotificationIconArea)) { in onDarkChanged()
491 color = DarkIconDispatcher.getTint(mTintAreas, v, tint); in updateTintForIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModel.kt23 import com.android.systemui.plugins.DarkIconDispatcher in <lambda>()
76 if (DarkIconDispatcher.isInAreas(areas, viewBounds)) { in <lambda>()
133 return if (DarkIconDispatcher.isInAreas(areas, viewBounds)) { in <lambda>()
136 DarkIconDispatcher.DEFAULT_ICON_TINT in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt23 import com.android.systemui.plugins.DarkIconDispatcher
58 val newTint = DarkIconDispatcher.getTint(areas, this, tint) in onDarkChangedWithContrast()
59 val contrast = DarkIconDispatcher.getInverseTint(areas, this, contrastTint) in onDarkChangedWithContrast()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DDarkIconDispatcher.java23 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
34 @ProvidesInterface(version = DarkIconDispatcher.VERSION)
36 public interface DarkIconDispatcher { interface
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DPluginModule.java23 import com.android.systemui.plugins.DarkIconDispatcher;
51 abstract DarkIconDispatcher provideDarkIconDispatcher(DarkIconDispatcherImpl controllerImpl); in provideDarkIconDispatcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconControllerTest.java38 import com.android.systemui.plugins.DarkIconDispatcher;
92 mock(DarkIconDispatcher.class)); in testSetCalledOnAdd_DarkIconManager()
142 DarkIconDispatcher darkIconDispatcher) { in TestDarkIconManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java39 import com.android.systemui.plugins.DarkIconDispatcher;
74 private final DarkIconDispatcher mDarkIconDispatcher = mock(DarkIconDispatcher.class);
231 verify(mDarkIconDispatcher).removeDarkReceiver((DarkIconDispatcher.DarkReceiver) any()); in testDestroy()
DLegacyNotificationIconAreaControllerImplTest.java33 import com.android.systemui.plugins.DarkIconDispatcher;
72 DarkIconDispatcher mDarkIconDispatcher;
DPhoneStatusBarViewTest.kt36 import com.android.systemui.plugins.DarkIconDispatcher
66 mDependency.injectTestDependency(DarkIconDispatcher::class.java, mock<DarkIconDispatcher>()) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/
DMobileIconBinder.kt37 import com.android.systemui.plugins.DarkIconDispatcher in <lambda>()
89 tint = DarkIconDispatcher.DEFAULT_ICON_TINT, in <lambda>()
90 contrast = DarkIconDispatcher.DEFAULT_INVERSE_ICON_TINT in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterView.java57 import com.android.systemui.plugins.DarkIconDispatcher;
58 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
157 onDarkChanged(new ArrayList<Rect>(), 0, DarkIconDispatcher.DEFAULT_ICON_TINT); in BatteryMeterView()
707 if (DarkIconDispatcher.isInAreas(areas, this)) { in onDarkChanged()
723 float intensity = DarkIconDispatcher.isInAreas(areas, this) ? darkIntensity : 0; in onDarkChangedLegacy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DOperatorNameViewControllerTest.kt27 import com.android.systemui.plugins.DarkIconDispatcher
62 @Mock private lateinit var darkIconDispatcher: DarkIconDispatcher
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt49 import com.android.systemui.plugins.DarkIconDispatcher
93 @get:Provides val darkIconDispatcher: DarkIconDispatcher = mock(),

12