/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardIndication.java | 48 ColorStateList textColor, in KeyguardIndication() argument 54 mTextColor = textColor; in KeyguardIndication() 140 public Builder setTextColor(@NonNull ColorStateList textColor) { in setTextColor() argument 141 this.mTextColor = textColor; in setTextColor()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | StackEducationView.kt | 107 var textColor = ta.getColor(1 /* index */, Color.WHITE) regex 109 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, true) 110 titleTextView.setTextColor(textColor) 111 descTextView.setTextColor(textColor)
|
H A D | BubbleOverflowContainerView.java | 226 int textColor = typedArray.getColor(1, isNightMode ? Color.WHITE : Color.BLACK); in updateTheme() local 227 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, isNightMode); in updateTheme() 230 mEmptyStateTitle.setTextColor(textColor); in updateTheme() 231 mEmptyStateSubtitle.setTextColor(textColor); in updateTheme() 316 int textColor = ta.getColor(1, Color.BLACK); in onCreateViewHolder() local 317 textColor = ContrastColorUtil.ensureTextContrast(textColor, bgColor, true); in onCreateViewHolder() 321 viewName.setTextColor(textColor); in onCreateViewHolder()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | HybridNotificationView.java | 92 protected void applyTextColor(TextView textView, @ColorInt int textColor) { in applyTextColor() argument 93 if (textColor != COLOR_INVALID) { in applyTextColor() 94 textView.setTextColor(textColor); in applyTextColor()
|
H A D | FooterView.java | 164 final @ColorInt int textColor = getResources().getColor(R.color.notif_pill_text, theme); in updateColors() local 176 mClearAllButton.setTextColor(textColor); in updateColors() 178 mManageButton.setTextColor(textColor); in updateColors()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | TapAgainView.java | 52 int textColor = getResources().getColor(R.color.notif_pill_text, mContext.getTheme()); in updateColor() local 53 setTextColor(textColor); in updateColor()
|
H A D | KeyguardStatusBarView.java | 430 @ColorInt int textColor = Utils.getColorAttrDefaultColor(mContext, in updateIconsAndTextColors() local 433 Color.luminance(textColor) < 0.5 ? R.color.dark_mode_icon_color_single_tone : in updateIconsAndTextColors() 435 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 312 ColorStateList textColor = originalSpan.getTextColor(); in ensureColorSpanContrast() local 313 if (textColor != null) { in ensureColorSpanContrast() 316 textColor = null; in ensureColorSpanContrast() 318 int[] colors = textColor.getColors(); in ensureColorSpanContrast() 325 textColor = new ColorStateList(textColor.getStates().clone(), in ensureColorSpanContrast() 332 textColor, in ensureColorSpanContrast() 532 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor() argument 534 return findContrastColor(color, textColor, false, 4.5); in ensureTextBackgroundColor()
|
/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 103 ColorStateList textColor; in TextAppearanceSpan() local 109 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 198 textColor = a.getColorStateList(colorList); in TextAppearanceSpan() 202 mTextColor = textColor; in TextAppearanceSpan()
|
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 41 final int textColor; field in AssistVisualizer.TextEntry 56 this.textColor = node.getTextColor(); in TextEntry() 121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor) in logText()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuMessageView.java | 159 final int textColor = res.getColor(R.color.accessibility_floating_menu_message_text); in updateResources() local 164 mTextView.setTextColor(textColor); in updateResources()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | SimpleMonthView.java | 228 final ColorStateList textColor = ta.getColorStateList(R.styleable.TextAppearance_textColor); in applyTextAppearance() local 229 if (textColor != null) { in applyTextAppearance() 230 final int enabledColor = textColor.getColorForState(ENABLED_STATE_SET, 0); in applyTextAppearance() 236 return textColor; in applyTextAppearance() 259 final ColorStateList textColor = applyTextAppearance(mDayPaint, resId); in setDayTextAppearance() local 260 if (textColor != null) { in setDayTextAppearance() 261 mDayTextColor = textColor; in setDayTextAppearance()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/ |
H A D | BarChart.kt | 145 this.xAxis.textColor = labelTextColor 152 this.axisRight.textColor = labelTextColor
|
H A D | LineChart.kt | 153 this.xAxis.textColor = labelTextColor 161 this.axisRight.textColor = labelTextColor
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | NumPadKey.java | 155 int textColor = Utils.getColorAttr(getContext(), NUM_PAD_KEY) in reloadColors() local 159 mDigitText.setTextColor(textColor); in reloadColors()
|
H A D | BouncerKeyguardMessageArea.kt | 49 context.obtainStyledAttributes(styleResId, intArrayOf(android.R.attr.textColor))
|
H A D | KeyguardSliceView.java | 256 void setTextColor(@ColorInt int textColor) { in setTextColor() argument 257 mTextColor = textColor; in setTextColor()
|
H A D | KeyguardSimPinViewController.java | 319 new int[] { android.R.attr.textColor }); in setLockedSimMessage()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingMessage.java | 150 default void setColor(int textColor) {} in setColor() argument
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
H A D | LockscreenSmartspaceController.kt | 537 val textColor = region.currentForegroundColor() regex 538 if (textColor != null) { 539 view.setPrimaryTextColor(textColor)
|
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/ |
H A D | PaintChipsWidget.kt | 237 val textColor = if (SHADE_NUMBERS[j] > 500) regex 240 cell.setTextColor(R.id.chip, context.getColor(textColor))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 220 final ColorStateList textColor; in setBackgroundTintColor() local 232 textColor = colorStateListWithDisabledAlpha(foregroundColor, 0x99); // 60% in setBackgroundTintColor() 236 textColor = mContext.getColorStateList(R.color.remote_input_text); in setBackgroundTintColor() 238 deleteFgColor = textColor.getDefaultColor(); in setBackgroundTintColor() 248 mEditText.setTextColor(textColor); in setBackgroundTintColor()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | TextAppearanceInfo.java | 832 public Builder setTextColor(@ColorInt int textColor) { in setTextColor() argument 833 mTextColor = textColor; in setTextColor()
|
/aosp14/frameworks/base/tools/aapt2/cmd/ |
H A D | Link_test.cpp | 193 <item name="android:textColor">#123</item> in TEST_F() 236 <item name="android:textColor">#123</item> in TEST_F()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
H A D | NotificationShadeWindowView.java | 362 public void setTitleColor(@ColorInt int textColor) {
|