Home
last modified time | relevance | path

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

12

/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(Rect(), 1f, DarkIconDispatcher.DEFAULT_ICON_TINT)
39 val intensity = if (DarkIconDispatcher.isInArea(area, this)) darkIntensity else 0f in onDarkChanged()
DBatteryMeterView.java56 import com.android.systemui.plugins.DarkIconDispatcher;
57 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
161 onDarkChanged(new Rect(), 0, DarkIconDispatcher.DEFAULT_ICON_TINT); in BatteryMeterView()
444 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0; in onDarkChanged()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DCarStatusBarHeader.java30 import com.android.systemui.plugins.DarkIconDispatcher;
56 if (v instanceof DarkIconDispatcher.DarkReceiver) { in applyDarkness()
57 ((DarkIconDispatcher.DarkReceiver) v).onDarkChanged(tintArea, intensity, color); in applyDarkness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java33 import com.android.systemui.plugins.DarkIconDispatcher;
34 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
75 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(this); in onAttachedToWindow()
84 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(this); in onDetachedFromWindow()
91 setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
DStatusIconDisplayable.java19 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
DStatusBarWifiView.java19 import static com.android.systemui.plugins.DarkIconDispatcher.getTint;
20 import static com.android.systemui.plugins.DarkIconDispatcher.isInArea;
37 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
DStatusBarMobileView.java19 import static com.android.systemui.plugins.DarkIconDispatcher.getTint;
20 import static com.android.systemui.plugins.DarkIconDispatcher.isInArea;
41 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
DNavigationBarController.java40 import com.android.systemui.plugins.DarkIconDispatcher;
142 Dependency.get(DarkIconDispatcher.class), in createNavigationBar()
DHeadsUpStatusBarView.java34 import com.android.systemui.plugins.DarkIconDispatcher;
282 mTextView.setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSysuiDarkIconDispatcher.java20 import com.android.systemui.plugins.DarkIconDispatcher;
26 public interface SysuiDarkIconDispatcher extends DarkIconDispatcher, Dumpable {
DDarkIconDispatcherImpl.java17 import static com.android.systemui.plugins.DarkIconDispatcher.DEFAULT_ICON_TINT;
18 import static com.android.systemui.plugins.DarkIconDispatcher.getTint;
28 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
DPhoneStatusBarView.java42 import com.android.systemui.plugins.DarkIconDispatcher;
43 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
112 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(mBattery); in onAttachedToWindow()
121 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(mBattery); in onDetachedFromWindow()
DDemoStatusIcons.java32 import com.android.systemui.plugins.DarkIconDispatcher;
33 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
58 mColor = DarkIconDispatcher.DEFAULT_ICON_TINT; in DemoStatusIcons()
296 setColor(DarkIconDispatcher.getTint(area, mStatusIcons, tint)); in onDarkChanged()
DHeadsUpAppearanceController.java29 import com.android.systemui.plugins.DarkIconDispatcher;
50 DarkIconDispatcher.DarkReceiver, NotificationWakeUpCoordinator.WakeUpListener {
60 private final DarkIconDispatcher mDarkIconDispatcher;
145 mDarkIconDispatcher = Dependency.get(DarkIconDispatcher.class); in HeadsUpAppearanceController()
DStatusBarIconController.java41 import com.android.systemui.plugins.DarkIconDispatcher;
42 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
106 private final DarkIconDispatcher mDarkIconDispatcher;
113 mDarkIconDispatcher = Dependency.get(DarkIconDispatcher.class); in DarkIconManager()
DNotificationIconAreaController.java23 import com.android.systemui.plugins.DarkIconDispatcher;
24 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
232 if (DarkIconDispatcher.isInArea(tintArea, mNotificationIconArea)) { in onDarkChanged()
240 if (DarkIconDispatcher.isInArea(tintArea, mCenteredIconArea)) { in onDarkChanged()
517 color = DarkIconDispatcher.getTint(mTintArea, v, tint); in updateTintForIcon()
DLightBarController.java35 import com.android.systemui.plugins.DarkIconDispatcher;
88 public LightBarController(Context ctx, DarkIconDispatcher darkIconDispatcher, in LightBarController()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DDarkIconDispatcher.java24 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
32 @ProvidesInterface(version = DarkIconDispatcher.VERSION)
34 public interface DarkIconDispatcher { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java34 import com.android.systemui.plugins.DarkIconDispatcher;
58 private final DarkIconDispatcher mDarkIconDispatcher = mock(DarkIconDispatcher.class);
78 mDependency.injectTestDependency(DarkIconDispatcher.class, mDarkIconDispatcher); in setUp()
199 verify(mDarkIconDispatcher).removeDarkReceiver((DarkIconDispatcher.DarkReceiver) any()); in testDestroy()
DStatusBarIconControllerTest.java33 import com.android.systemui.plugins.DarkIconDispatcher;
57 mDependency.injectMockDependency(DarkIconDispatcher.class); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java47 import com.android.systemui.plugins.DarkIconDispatcher;
48 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
197 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(this); in onAttachedToWindow()
222 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(this); in onDetachedFromWindow()
320 mNonAdaptedColor = DarkIconDispatcher.getTint(area, this, tint); in onDarkChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DDependencyBinder.java27 import com.android.systemui.plugins.DarkIconDispatcher;
203 public abstract DarkIconDispatcher provideDarkIconDispatcher( in provideDarkIconDispatcher()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/statusbar/
DCarStatusBarModule.java41 import com.android.systemui.plugins.DarkIconDispatcher;
192 DarkIconDispatcher darkIconDispatcher, in provideStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/
DStatusBarPhoneModule.java41 import com.android.systemui.plugins.DarkIconDispatcher;
191 DarkIconDispatcher darkIconDispatcher, in provideStatusBar()
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/navigationbar/
DCarNavigationBarControllerTest.java35 import com.android.systemui.plugins.DarkIconDispatcher;
67 mDependency.injectMockDependency(DarkIconDispatcher.class); in setUp()

12