/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/animation/ |
D | ColorSchemeTransition.kt | 52 private val defaultColor: Int, constant in com.android.systemui.media.controls.ui.animation.AnimatingColorTransition 59 var sourceColor: Int = defaultColor 60 var currentColor: Int = defaultColor 61 var targetColor: Int = defaultColor 70 val newTargetColor = if (scheme == null) defaultColor else extractColor(scheme) in updateColorScheme() 82 applyColor(defaultColor) 232 return Utils.getColorAttr(context, id).defaultColor in loadDefaultColor()
|
/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/util/ |
D | DrawableDump.kt | 37 if (Compile.IS_DEBUG) hexColorString(getSolidColors(drawable)?.defaultColor) in <lambda>() 166 append(hexColorString(colorStateList.defaultColor)) in Appendable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | LocationBasedWifiViewModel.kt | 32 val defaultColor: Int = Color.WHITE constant in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.LocationBasedWifiViewModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/ |
D | WifiViewBinder.kt | 77 val iconTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>() 78 val decorTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | DividerPresenterTest.java | 619 final Color defaultColor = Color.valueOf(Color.RED); in testGetContainerBackgroundColor() local 633 assertEquals(defaultColor, in testGetContainerBackgroundColor() 634 DividerPresenter.getContainerBackgroundColor(container, defaultColor)); in testGetContainerBackgroundColor() 639 DividerPresenter.getContainerBackgroundColor(container, defaultColor)); in testGetContainerBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileViewModel.kt | 43 val defaultColor: Int = Color.WHITE in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.LocationBasedMobileViewModel
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | TransitionAnimationHelper.java | 251 @ColorInt int defaultColor) { in getTransitionBackgroundColorIfSet() argument 253 return defaultColor; in getTransitionBackgroundColorIfSet() 269 return defaultColor; in getTransitionBackgroundColorIfSet()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | BouncerKeyguardMessageArea.kt | 60 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/docking/ui/viewmodel/ |
D | KeyboardDockingIndicationViewModel.kt | 127 color = Utils.getColorAttr(context, android.R.attr.colorAccent).defaultColor, in createEffectConfig()
|
/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/media/controls/ui/drawable/ |
D | IlluminationDrawable.kt | 209 backgroundColor = tint!!.defaultColor in setTintList()
|
D | SquigglyProgress.kt | 251 updateColors(tint.defaultColor, alpha) in <lambda>()
|
/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/controls/ui/ |
D | ControlViewHolder.kt | 363 clipDrawable.color?.defaultColor ?: newClipColor in startBackgroundAnimation() 367 val oldBaseColor = baseLayer.color?.defaultColor ?: newBaseColor in startBackgroundAnimation()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | DividerPresenter.java | 286 @NonNull TaskFragmentContainer container, @NonNull Color defaultColor) { in getContainerBackgroundColor() argument 292 return defaultColor; in getContainerBackgroundColor() 299 return defaultColor; in getContainerBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 93 val decorTint: MutableStateFlow<Int> = MutableStateFlow(viewModel.defaultColor) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 733 chevronView.imageTintList?.defaultColor ?: 0, in <lambda>() 1063 chevronView.imageTintList?.defaultColor ?: 0 in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogDelegate.kt | 393 .defaultColor in <lambda>()
|