/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | ColorStateListTest.java | 55 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState() local 56 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testEmptyState() local 61 int defaultColor = mResources.getColor(R.color.color1); in testGetColor() local 62 assertEquals(mResources.getColor(R.color.testcolor2), defaultColor); in testGetColor() local 67 int defaultColor = mResources.getColor(R.color.color_no_default); in testGetColorWhenListHasNoDefault() local 68 assertEquals(mResources.getColor(R.color.testcolor1), defaultColor); in testGetColorWhenListHasNoDefault() local 73 int defaultColor = mResources.getColor(R.color.color_with_lstar); in testLstar() local 74 assertEquals(mResources.getColor(R.color.testcolor3), defaultColor); in testLstar() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileColorPicker.java | 48 final int defaultColor = 0; in getColor() local 52 return mColorStateList.getColorForState(DISABLE_STATE_SET, defaultColor); in getColor() 54 return mColorStateList.getColorForState(INACTIVE_STATE_SET, defaultColor); in getColor() 56 return mColorStateList.getColorForState(ENABLE_STATE_SET, defaultColor); in getColor() 58 return mColorStateList.getColorForState(ENABLE_STATE_SET, defaultColor); in getColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | ColorSchemeTransition.kt | 51 private val defaultColor: Int, constant in com.android.systemui.media.controls.ui.AnimatingColorTransition 58 var sourceColor: Int = defaultColor 59 var currentColor: Int = defaultColor 60 var targetColor: Int = defaultColor 69 val newTargetColor = if (scheme == null) defaultColor else extractColor(scheme) in updateColorScheme() 81 applyColor(defaultColor) 230 return Utils.getColorAttr(context, id).defaultColor in loadDefaultColor()
|
D | IlluminationDrawable.kt | 209 backgroundColor = tint!!.defaultColor in setTintList()
|
D | SquigglyProgress.kt | 246 updateColors(tint.defaultColor, alpha) in <lambda>()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 347 int defaultColor = DEFAULT_COLOR; in inflate() local 402 defaultColor = color; in inflate() 416 mDefaultColor = defaultColor; in inflate() 610 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState() argument 618 return defaultColor; in getColorForState() 697 int defaultColor = DEFAULT_COLOR; in onColorsChanged() local 704 defaultColor = colors[0]; in onColorsChanged() 708 defaultColor = colors[i]; in onColorsChanged() 721 mDefaultColor = defaultColor; in onColorsChanged()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 54 defaultColor = getColor(R.color.none_received); in onCreate() 78 int defaultColor; field in MainActivity 105 mShowStartView.setBackgroundColor(defaultColor); 108 mShowStopView.setBackgroundColor(defaultColor);
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 200 final int defaultColor; in applyLegacyColorFixes() local 204 defaultColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes() 213 defaultColor = multiplyAlphaComponent(activatedColor, disabledAlpha); in applyLegacyColorFixes() 216 if (activatedColor == 0 || defaultColor == 0) { in applyLegacyColorFixes() 222 final int[] colors = new int[] { activatedColor, defaultColor }; in applyLegacyColorFixes()
|
D | TimePickerClockDelegate.java | 364 final int defaultColor; in applyLegacyColorFixes() local 368 defaultColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes() 377 defaultColor = multiplyAlphaComponent(activatedColor, disabledAlpha); in applyLegacyColorFixes() 380 if (activatedColor == 0 || defaultColor == 0) { in applyLegacyColorFixes() 386 final int[] colors = new int[] { activatedColor, defaultColor }; in applyLegacyColorFixes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | LocationBasedWifiViewModel.kt | 52 val defaultColor: Int = constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/ |
D | WifiViewBinder.kt | 75 val iconTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>() 76 val decorTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | TransitionAnimationHelper.java | 185 @ColorInt int defaultColor) { in getTransitionBackgroundColorIfSet() argument 187 return defaultColor; in getTransitionBackgroundColorIfSet() 203 return defaultColor; in getTransitionBackgroundColorIfSet()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileViewModel.kt | 42 val defaultColor: Int = constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 73 val iconTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>() 74 val decorTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | BouncerKeyguardMessageArea.kt | 45 mNextMessageColorState?.defaultColor?.let { color -> in <lambda>()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcRects.cpp | 128 const ColorFract defaultColor(0.5, 0.5, 0.5); variable 146 blend(defaultBlend), color(defaultColor), in Rectangle()
|
D | hwcCommit.cpp | 121 const ColorFract defaultColor(0.5, 0.5, 0.5); variable 1311 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha), in Rectangle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | MediaTttReceiverRippleController.kt | 138 return colorStateList.withLStar(TONE_PERCENT).defaultColor in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlViewHolder.kt | 361 clipDrawable.color?.defaultColor ?: newClipColor in startBackgroundAnimation() 365 val oldBaseColor = baseLayer.color?.defaultColor ?: newBaseColor in startBackgroundAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WiredChargingRippleController.kt | 200 rippleView.setColor(Utils.getColorAttr(context, android.R.attr.colorAccent).defaultColor) in updateRippleColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 519 chevronView.imageTintList?.defaultColor ?: 0, in <lambda>() 651 chevronView.imageTintList?.defaultColor ?: 0 in <lambda>()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | DialogLaunchAnimator.kt | 721 ?.defaultColor in start()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 986 float color[3], float defaultColor[3]) { in parseColorDecimalString() 988 memcpy(color, defaultColor, sizeof(float) * 3); in parseColorDecimalString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/ |
D | MediaDataManager.kt | 203 .defaultColor
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1162 int defaultColor = paint.getColor(); in constructChipSpan() local 1181 paint.setColor(defaultColor); in constructChipSpan()
|