Home
last modified time | relevance | path

Searched refs:colorPrimary (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperColorThemePreview.java46 int colorPrimary = MaterialColors.getColor(context, android.R.attr.colorPrimary, in updateSystemBarColor() local
49 window.setStatusBarColor(colorPrimary); in updateSystemBarColor()
50 window.setNavigationBarColor(colorPrimary); in updateSystemBarColor()
55 int colorPrimary = MaterialColors.getColor(context, android.R.attr.colorPrimary, in updateBackgroundColor() local
57 fragmentView.setBackgroundColor(colorPrimary); in updateBackgroundColor()
/packages/apps/Dialer/java/com/android/dialer/theme/base/impl/
DAospThemeImpl.java37 private int colorPrimary = -1; field in AospThemeImpl
59 android.R.attr.colorPrimary, in AospThemeImpl()
73 colorPrimary = array.getColor(/* index= */ 0, /* defValue= */ -1); in AospThemeImpl()
136 Assert.checkArgument(colorPrimary != -1); in getColorPrimary()
137 return colorPrimary; in getColorPrimary()
/packages/apps/Dialer/java/com/android/dialer/theme/
DREADME.md16 * Legacy Android attributes (android:colorPrimary). These are defined by the
20 * Appcompat Android attributes (colorPrimary). There are also defined by the
/packages/apps/Settings/src/com/android/settings/accessibility/
DAutoBrightnessPreferenceFragmentForSetupWizard.java53 icon.setTintList(Utils.getColorAttr(getContext(), android.R.attr.colorPrimary)); in onViewCreated()
DTextReadingPreferenceFragmentForSetupWizard.java72 icon.setTintList(Utils.getColorAttr(getContext(), android.R.attr.colorPrimary)); in onViewCreated()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt411 val colorPrimary = Color.valueOf(colorStrings[0].toInt()) in getWallpaperColors() constant
421 colorPrimary, in getWallpaperColors()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterQsFragment.java692 int colorPrimary = getTextColor(true, useEnabledBackground, sensorBlockedByAdmin);
700 icon = KotlinUtils.INSTANCE.getPermGroupIcon(mContext, groupName, colorPrimary);
703 icon.setTint(colorPrimary);
707 groupLabel.setTextColor(colorPrimary);
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DUtilsTest.kt300 assertThat(Utils.getColorResId(context, android.R.attr.colorPrimary)) in getColorResId_validId_returnsNonZero()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt829 val colorPrimary = Color.valueOf(colorStrings[0].toInt()) in <lambda>() constant
839 colorPrimary, in <lambda>()