/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 28 import com.android.internal.util.ContrastColorUtil; 40 public static boolean isGrayscale(ImageView v, ContrastColorUtil colorUtil) { in isGrayscale()
|
D | MediaNotificationProcessor.java | 31 import com.android.internal.util.ContrastColorUtil; 162 if (ContrastColorUtil.isColorLight(backgroundColor)) { in selectForegroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleManageEducationView.java | 28 import com.android.internal.util.ContrastColorUtil; 73 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, true); in onFinishInflate()
|
D | BubbleOverflowActivity.java | 43 import com.android.internal.util.ContrastColorUtil; 164 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, isNightMode); in updateTheme() 257 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, true); in onCreateViewHolder()
|
D | BubbleExperimentConfig.java | 46 import com.android.internal.util.ContrastColorUtil; 238 notifColor = ContrastColorUtil.findContrastColor(notifColor, Color.WHITE, in createFromNotif()
|
D | BubbleStackView.java | 86 import com.android.internal.util.ContrastColorUtil; 1146 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, true); in setUpUserEducation()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 51 public class ContrastColorUtil { class 57 private static ContrastColorUtil sInstance; 65 public static ContrastColorUtil getInstance(Context context) { in getInstance() 68 sInstance = new ContrastColorUtil(context); in getInstance() 74 private ContrastColorUtil(Context context) { in ContrastColorUtil() method in ContrastColorUtil 476 return ContrastColorUtil.resolveContrastColor(context, notificationColor, in resolveContrastColor() 495 color = ContrastColorUtil.ensureTextContrast(color, backgroundColor, isDark); in resolveContrastColor() 503 ContrastColorUtil.contrastChange(resolvedColor, color, backgroundColor), in resolveContrastColor() 611 return ContrastColorUtil.calculateContrast(foregroundColor, backgroundColor) >= 4.5; in satisfiesTextContrast()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 46 import com.android.internal.util.ContrastColorUtil; 119 ContrastColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 23 import static com.android.internal.util.ContrastColorUtil.satisfiesTextContrast; 95 import com.android.internal.util.ContrastColorUtil; 3463 private ContrastColorUtil mColorUtil; 3589 private ContrastColorUtil getColorUtil() { in getColorUtil() 3591 mColorUtil = ContrastColorUtil.getInstance(mContext); in getColorUtil() 4847 return ContrastColorUtil.clearColorSpans(text); in processTextSpans() 4915 mPrimaryTextColor = ContrastColorUtil.resolvePrimaryColor(mContext, in ensureColors() 4917 mSecondaryTextColor = ContrastColorUtil.resolveSecondaryColor(mContext, in ensureColors() 4920 mPrimaryTextColor = ContrastColorUtil.findAlphaToMeetContrast( in ensureColors() 4922 mSecondaryTextColor = ContrastColorUtil.findAlphaToMeetContrast( in ensureColors() [all …]
|
D | WallpaperColors.java | 35 import com.android.internal.util.ContrastColorUtil; 403 final boolean satisfiesTextContrast = ContrastColorUtil in calculateDarkHints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 40 import com.android.internal.util.ContrastColorUtil; 173 backgroundColor = ContrastColorUtil.compositeColors(backgroundColor, parentBackground); in childrenNeedInversion()
|
D | NotificationTemplateViewWrapper.java | 35 import com.android.internal.util.ContrastColorUtil; 222 return ContrastColorUtil.compositeColors(Color.argb((int) (alpha * 255), in blendColorWithBackground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 34 import com.android.internal.util.ContrastColorUtil; 137 mMinStrokeContrast = ContrastColorUtil.calculateContrast(mDefaultStrokeColor, in SmartReplyView() 834 final boolean dark = !ContrastColorUtil.isColorLight(backgroundColor); in setBackgroundTintColor() 836 int textColor = ContrastColorUtil.ensureTextContrast( in setBackgroundTintColor() 839 int strokeColor = ContrastColorUtil.ensureContrast( in setBackgroundTintColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconAreaController.java | 18 import com.android.internal.util.ContrastColorUtil; 52 private final ContrastColorUtil mContrastColorUtil; 109 mContrastColorUtil = ContrastColorUtil.getInstance(context); in NotificationIconAreaController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 54 import com.android.internal.util.ContrastColorUtil; 704 if (!ContrastColorUtil.satisfiesTextContrast(mCachedContrastBackgroundColor, in updateContrastedStaticColor() 713 boolean isDark = !ContrastColorUtil.isColorLight(mCachedContrastBackgroundColor); in updateContrastedStaticColor() 714 contrastedColor = ContrastColorUtil.resolveContrastColor(mContext, in updateContrastedStaticColor()
|
D | NotificationHeaderUtil.java | 30 import com.android.internal.util.ContrastColorUtil; 88 int grey = ContrastColorUtil.resolveColor(view.getContext(),
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 52 import com.android.internal.util.ContrastColorUtil; 363 double luminance = ContrastColorUtil.calculateLuminance(layoutColor); in findColor() 369 return ContrastColorUtil.getShiftedColor(layoutColor, in findColor()
|
D | ConversationLayout.java | 70 import com.android.internal.util.ContrastColorUtil; 933 double luminance = ContrastColorUtil.calculateLuminance(layoutColor); in findColor() 939 return ContrastColorUtil.getShiftedColor(layoutColor, in findColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 61 import com.android.internal.util.ContrastColorUtil; 495 final int contrasted = ContrastColorUtil.resolveContrastColor(context, rawColor, in getContrastedColor()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 19 import static com.android.internal.util.ContrastColorUtil.satisfiesTextContrast;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 68 import com.android.internal.util.ContrastColorUtil; 600 ContrastColorUtil.getInstance(mContext)); in updateShelfIconColor() 1295 mNotificationColor = ContrastColorUtil.resolveContrastColor(mContext,
|
D | NotificationContentView.java | 46 import com.android.internal.util.ContrastColorUtil; 1308 existing.setBackgroundColor(ContrastColorUtil.ensureTextBackgroundColor(color,
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 75 import com.android.internal.util.ContrastColorUtil; 2158 textView.setText(ContrastColorUtil.clearColorSpans(textView.getText()));
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 29826 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->LABToColor(DDD)I 29827 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->LABToXYZ(DDD[D)V 29828 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->RGBToXYZ(III[D)V 29829 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->XYZToColor(DDD)I 29830 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->XYZToLAB(DDD[D)V 29831 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->calculateContrast(II)D 29832 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->calculateLuminance(I)D 29833 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->colorToLAB(I[D)V 29834 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->colorToXYZ(I[D)V 29835 HSPLcom/android/internal/util/ContrastColorUtil$ColorUtilsFromCompat;->compositeColors(II)I [all …]
|
D | preloaded-classes | 9298 com.android.internal.util.ContrastColorUtil$ColorUtilsFromCompat 9299 com.android.internal.util.ContrastColorUtil
|