/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/ |
D | AccentColorHelper.kt | 39 private var accentColor = Color.Unspecified variable 58 accentColor = checkColorValidityAndGetColor(inputColor) in <lambda>() 63 if (accentColor != Color.Unspecified) { in <lambda>() 66 if (isAccentColorBright(accentColor.luminance())) in <lambda>() 115 return accentColor in isAccentColorBright()
|
D | AccentColorScheme.kt | 37 private val accentColor = accentColorHelper.getAccentColor() constant 47 return when (accentColor.isUnspecified) { in getAccentColorIfDefinedOrElse() 49 false -> accentColor in getAccentColorIfDefinedOrElse()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryWifiParser.java | 22 public BatteryWifiParser(int accentColor) { in BatteryWifiParser() argument 23 super(accentColor, false, 0); in BatteryWifiParser()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelTest.java | 815 long accentColor = 0xFFFF0000; in testParseValuesFromPickImagesIntent_validAccentColor() local 817 intent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, accentColor); in testParseValuesFromPickImagesIntent_validAccentColor() 823 Color.parseColor(String.format("#%06X", (0xFFFFFF & accentColor)))); in testParseValuesFromPickImagesIntent_validAccentColor() 831 long accentColor = 0xFF6; in testParseValuesFromPickImagesIntent_invalidAccentColor() local 834 intent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, accentColor); in testParseValuesFromPickImagesIntent_invalidAccentColor() 864 for (long accentColor: accentColors) { in testParseValuesFromPickImagesIntent_accentColorsWithUnacceptedBrightness() 866 intent.putExtra(MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR, accentColor); in testParseValuesFromPickImagesIntent_accentColorsWithUnacceptedBrightness() 871 assertWithMessage("Input accent color " + accentColor in testParseValuesFromPickImagesIntent_accentColorsWithUnacceptedBrightness() 876 + accentColor + " should be false but was true.") in testParseValuesFromPickImagesIntent_accentColorsWithUnacceptedBrightness() 884 long accentColor = 0xFFFF0000; in testParseValuesFromGetContentIntent_accentColor() local [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/color/ |
D | ColorProvider.kt | 311 Style.TONAL_SPOT -> intArrayOf(colorScheme.accentColor, colorScheme.accentColor) in getPresetColorPreview() 391 val lightColor = lightColorScheme.accentColor in buildPreset() 392 val darkColor = darkColorScheme.accentColor in buildPreset()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | AllAppsEduView.java | 254 int accentColor = Themes.getColorAccent(launcher); in init() local 258 : new int[]{ColorUtils.setAlphaComponent(accentColor, 127), in init() 259 ColorUtils.setAlphaComponent(accentColor, 0)}); in init()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/controlbar/ |
D | ControlBarMediaController.java | 215 ColorStateList accentColor = colors != null ? ColorStateList.valueOf( in updateViewsWithMediaSourceColors() local 220 mPlayPauseButton.setBackgroundTintList(accentColor); in updateViewsWithMediaSourceColors() 223 mSeekBar.setProgressTintList(accentColor); in updateViewsWithMediaSourceColors()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | AllSetActivity.java | 142 int accentColor = intent.getIntExtra( in onCreate() local 146 ((ImageView) findViewById(R.id.icon)).getDrawable().mutate().setTint(accentColor); in onCreate() 160 settings.setTextColor(accentColor); in onCreate()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/ |
D | MediaCardController.java | 261 ColorStateList accentColor = colors != null ? ColorStateList.valueOf( in updateViewsWithMediaSourceColors() local 266 mPlayPauseButton.setBackgroundTintList(accentColor); in updateViewsWithMediaSourceColors() 269 mSeekBar.setProgressTintList(accentColor); in updateViewsWithMediaSourceColors()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | ThemedIconDrawable.java | 219 Drawable loadMonochromeDrawable(int accentColor) { in loadMonochromeDrawable() argument 221 d.setTint(accentColor); in loadMonochromeDrawable()
|
/packages/providers/MediaProvider/tools/photopicker/src/com/android/providers/media/tools/photopicker/ |
D | PhotoPickerToolActivity.java | 213 long accentColor = Long.decode(mAccentColorText.getText().toString()); in onLaunchButtonClicked() local 214 intent.putExtra(EXTRA_PICK_IMAGES_ACCENT_COLOR, accentColor); in onLaunchButtonClicked()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | TabFragment.java | 409 private void setCustomPickerButtonColors(int accentColor) { in setCustomPickerButtonColors() argument 414 mAddButton.setBackgroundColor(accentColor); in setCustomPickerButtonColors() 416 mViewSelectedButton.setTextColor(accentColor); in setCustomPickerButtonColors() 417 mViewSelectedButton.setIconTint(ColorStateList.valueOf(accentColor)); in setCustomPickerButtonColors()
|