Home
last modified time | relevance | path

Searched refs:iconColor (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java192 summaryIconColor = iconAttr.iconColor; in maybeGroup()
323 newColor = state.iconColor; in getAutobundledSummaryAttributes()
325 if (newColor != state.iconColor) { in getAutobundledSummaryAttributes()
350 int newColor = newAttr.iconColor; in updateAutobundledSummaryAttributes()
354 if (newAttr.iconColor == Notification.COLOR_INVALID) { in updateAutobundledSummaryAttributes()
355 newColor = oldAttr.iconColor; in updateAutobundledSummaryAttributes()
393 public final int iconColor; field in GroupHelper.NotificationAttributes
397 public NotificationAttributes(int flags, Icon icon, int iconColor, int visibility) { in NotificationAttributes() argument
400 this.iconColor = iconColor; in NotificationAttributes()
407 this.iconColor = attr.iconColor; in NotificationAttributes()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/ui/viewmodel/
DDeviceIconViewModel.kt26 val iconColor: Color constant
31 override val iconColor: Color, constant in com.android.systemui.volume.panel.component.mediaoutput.ui.viewmodel.DeviceIconViewModel.IsPlaying
37 override val iconColor: Color, constant in com.android.systemui.volume.panel.component.mediaoutput.ui.viewmodel.DeviceIconViewModel.IsNotPlaying
DMediaOutputViewModel.kt109 iconColor = in <lambda>()
117 iconColor = in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java126 UserHandle user, String groupKey, Icon smallIcon, int iconColor) { in getSbn() argument
131 .setColor(iconColor); in getSbn()
930 final int iconColor = Color.BLUE; in testAddSummary_sameIcon_sameColor_alwaysAutogroup() local
931 final NotificationAttributes attr = new NotificationAttributes(BASE_FLAGS, icon, iconColor, in testAddSummary_sameIcon_sameColor_alwaysAutogroup()
937 icon, iconColor); in testAddSummary_sameIcon_sameColor_alwaysAutogroup()
949 String.valueOf(AUTOGROUP_AT_COUNT), UserHandle.SYSTEM, null, icon, iconColor); in testAddSummary_sameIcon_sameColor_alwaysAutogroup()
964 final int iconColor = Color.BLUE; in testAddSummary_sameIcon_sameColor() local
965 final NotificationAttributes attr = new NotificationAttributes(BASE_FLAGS, icon, iconColor, in testAddSummary_sameIcon_sameColor()
971 icon, iconColor); in testAddSummary_sameIcon_sameColor()
983 String.valueOf(AUTOGROUP_AT_COUNT), UserHandle.SYSTEM, null, icon, iconColor); in testAddSummary_sameIcon_sameColor()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DOngoingPrivacyChip.kt43 private var iconColor = 0 in <lambda>() variable
82 it.setTint(iconColor) in <lambda>()
127 iconColor = in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java671 final ColorCache.IconColor iconColor = mColorCache.getIconColor( in processAdaptiveIcon() local
680 Integer.toHexString(iconColor.mFgColor), in processAdaptiveIcon()
681 Integer.toHexString(iconColor.mBgColor), in processAdaptiveIcon()
682 iconColor.mIsBgComplex, in processAdaptiveIcon()
683 iconColor.mReuseCount > 0, in processAdaptiveIcon()
694 if (!iconColor.mIsBgComplex && mTmpAttrs.mIconBgColor == Color.TRANSPARENT in processAdaptiveIcon()
695 && (isRgbSimilarInHsv(mThemeColor, iconColor.mBgColor) in processAdaptiveIcon()
696 || (iconColor.mIsBgGrayscale in processAdaptiveIcon()
697 && !isRgbSimilarInHsv(mThemeColor, iconColor.mFgColor)))) { in processAdaptiveIcon()
703 iconColor.mFgNonTranslucentRatio < mEnlargeForegroundIconThreshold in processAdaptiveIcon()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaSessionReleaseDialog.java50 int iconColor) { in MediaSessionReleaseDialog() argument
60 mIconColor = iconColor; in MediaSessionReleaseDialog()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/selector/ui/composable/
DVolumePanelRadioButtons.kt279 val iconColor: Color, constant in com.android.systemui.volume.panel.component.selector.ui.composable.VolumePanelRadioButtonBarColors
289 if (selected) selectedIconColor else iconColor in getIconColor()
312 iconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, in getIconColor()
320 iconColor = iconColor, in getIconColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSLongPressProperties.kt33 var iconColor: Int, variable in com.android.systemui.qs.tileimpl.QSLongPressProperties
DQSTileViewImpl.kt991 initialLongPressProperties?.iconColor ?: 0, in <lambda>()
992 finalLongPressProperties?.iconColor ?: 0, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java152 void updateColor(int iconColor) { in updateColor() argument
153 if (mIconColor == iconColor) { in updateColor()
157 mIconColor = iconColor; in updateColor()
DKeyguardStatusBarView.java456 @ColorInt int iconColor = Utils.getColorStateListDefaultColor(mContext, in updateIconsAndTextColors() local
464 mCarrierLabel.setTextColor(iconColor); in updateIconsAndTextColors()
474 iconManager.setTint(iconColor, contrastColor); in updateIconsAndTextColors()
477 mDarkChange.setValue(new DarkChange(mEmptyTintRect, intensity, iconColor)); in updateIconsAndTextColors()
478 applyDarkness(R.id.battery, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors()
479 applyDarkness(R.id.clock, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors()
DNotificationIconContainer.java825 public int iconColor = StatusBarIconView.NO_COLOR; field in NotificationIconContainer.IconState
931 icon.setIconColor(mOverrideIconColor ? mThemedTextColorPrimary : iconColor, in applyToView()
974 iconColor = ((StatusBarIconView) view).getStaticDrawableColor(); in initFrom()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/dialog/ui/composable/
DAlertDialogContent.kt72 val iconColor = LocalAndroidColorScheme.current.primary in <lambda>() constant
73 CompositionLocalProvider(LocalContentColor provides iconColor) { icon() } in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java158 final int iconColor = Color.RED; in testParcelLegacy() local
163 generateTestIcon(width, height, iconColor), in testParcelLegacy()
185 assertEquals(iconColor, resultIcon.getPixel(0, 0)); in testParcelLegacy()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/card/
DSettingsCard.kt124 fun CardHeader(imageVector: ImageVector?, iconColor: Color, onDismiss: (() -> Unit)? = null) { in CardHeader()
129 CardIcon(imageVector, iconColor) in CardHeader()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformSlider.kt196 if (enabled) colors.iconColor else colors.disabledIconColor in Track()
443 val iconColor: Color, constant in com.android.compose.PlatformSliderColors
462 iconColor = MaterialTheme.colorScheme.onPrimary, in defaultPlatformSliderColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java775 public void setIconColor(int iconColor, boolean animate) { in setIconColor() argument
776 if (mIconColor != iconColor) { in setIconColor()
777 mIconColor = iconColor; in setIconColor()
781 if (mCurrentSetColor == iconColor) { in setIconColor()
799 setColorInternal(iconColor); in setIconColor()
DNotificationShelf.java888 int iconColor = row.getOriginalIconColor(); in setIconTransformationAmount() local
889 shelfColor = NotificationUtils.interpolateColors(iconColor, shelfColor, in setIconTransformationAmount()
892 iconState.iconColor = shelfColor; in setIconTransformationAmount()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java108 protected FastBitmapDrawable(Bitmap b, int iconColor) { in FastBitmapDrawable() argument
110 mIconColor = iconColor; in FastBitmapDrawable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java1171 int iconColor; in setupUserSwitcher()
1173 iconColor = Utils.getColorAttrDefaultColor(context, in setupUserSwitcher()
1176 iconColor = context.getResources().getColor( in setupUserSwitcher()
1180 drawable.setTint(iconColor); in setupUserSwitcher()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/
DMediaOutputComponent.kt191 tint = it.iconColor.toColor(), in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DColumnVolumeSliders.kt177 contentColor = sliderColors.iconColor in ExpandButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt474 tint = colors.iconColor(selected).value in CategoryItemTwoPane()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java882 int iconColor = getEmergencyIconColor(context); in create() local
888 icon.getDrawable().setTint(iconColor); in create()

12