/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/ |
D | DarkIconManager.java | 24 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/ |
D | DarkReceiverImpl.kt | 23 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()
|
D | Dependency.java | 38 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/ |
D | OperatorNameViewController.java | 28 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));
|
D | StatusIconDisplayable.java | 19 import com.android.systemui.plugins.DarkIconDispatcher.DarkReceiver;
|
D | HeadsUpStatusBarView.java | 29 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/ |
D | SysuiDarkIconDispatcher.java | 22 import com.android.systemui.plugins.DarkIconDispatcher; 33 public interface SysuiDarkIconDispatcher extends DarkIconDispatcher, Dumpable {
|
D | PhoneStatusBarView.java | 41 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()
|
D | DemoStatusIcons.java | 32 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()
|
D | StatusOverlayHoverListener.kt | 33 import com.android.systemui.plugins.DarkIconDispatcher 80 val calculatedTint = DarkIconDispatcher.getTint(darkChange.areas, view, darkChange.tint) in toHoverTheme()
|
D | HeadsUpAppearanceController.java | 30 import com.android.systemui.plugins.DarkIconDispatcher; 70 DarkIconDispatcher.DarkReceiver, 81 private final DarkIconDispatcher mDarkIconDispatcher; 123 DarkIconDispatcher darkIconDispatcher, in HeadsUpAppearanceController()
|
D | LightBarController.java | 42 import com.android.systemui.plugins.DarkIconDispatcher; 126 DarkIconDispatcher darkIconDispatcher, in LightBarController() 476 private final DarkIconDispatcher mDarkIconDispatcher; 486 DarkIconDispatcher darkIconDispatcher, in Factory()
|
D | LegacyNotificationIconAreaControllerImpl.java | 44 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/ |
D | NotificationIconContainerStatusBarViewModel.kt | 23 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/ |
D | ModernStatusBarView.kt | 23 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/ |
D | DarkIconDispatcher.java | 23 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/ |
D | PluginModule.java | 23 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/ |
D | StatusBarIconControllerTest.java | 38 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/ |
D | HeadsUpAppearanceControllerTest.java | 39 import com.android.systemui.plugins.DarkIconDispatcher; 74 private final DarkIconDispatcher mDarkIconDispatcher = mock(DarkIconDispatcher.class); 231 verify(mDarkIconDispatcher).removeDarkReceiver((DarkIconDispatcher.DarkReceiver) any()); in testDestroy()
|
D | LegacyNotificationIconAreaControllerImplTest.java | 33 import com.android.systemui.plugins.DarkIconDispatcher; 72 DarkIconDispatcher mDarkIconDispatcher;
|
D | PhoneStatusBarViewTest.kt | 36 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/ |
D | MobileIconBinder.kt | 37 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/ |
D | BatteryMeterView.java | 57 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/ |
D | OperatorNameViewControllerTest.kt | 27 import com.android.systemui.plugins.DarkIconDispatcher 62 @Mock private lateinit var darkIconDispatcher: DarkIconDispatcher
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestMocksModule.kt | 49 import com.android.systemui.plugins.DarkIconDispatcher 93 @get:Provides val darkIconDispatcher: DarkIconDispatcher = mock(),
|