Home
last modified time | relevance | path

Searched defs:color (Results 1 – 25 of 197) sorted by relevance

12345678

/packages/apps/DeskClock/src/com/android/deskclock/
DBaseActivity.java56 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); in onCreate() local
65 final @ColorInt int color = ThemeUtils.resolveColor(this, android.R.attr.windowBackground); in onStart() local
75 protected void adjustAppColor(@ColorInt int color, boolean animate) { in adjustAppColor()
101 private void setAppColor(@ColorInt int color) { in setAppColor()
112 final @ColorInt int color = (int) valueAnimator.getAnimatedValue(); in onAnimationUpdate() local
/packages/apps/Messaging/src/com/android/messaging/util/
DSwitchCompatUtils.java41 public static void updateSwitchCompatColor(SwitchCompat switchCompat, final int color) { in updateSwitchCompatColor()
67 final int color, final TypedValue typedValue) { in getSwitchThumbColorStateList()
87 final int color, final TypedValue typedValue) { in getSwitchTrackColorStateList()
120 final int color = getThemeAttrColor(context, typedValue, attr); in getThemeAttrColor() local
124 private static int getColor(int color, float alpha) { in getColor()
/packages/apps/Gallery2/jni/filters/
Dfilters.h28 #define GetA(color) (((color) >> 24) & 0xFF) argument
29 #define GetB(color) (((color) >> 16) & 0xFF) argument
30 #define GetG(color) (((color) >> 8) & 0xFF) argument
31 #define GetR(color) (((color) >> 0) & 0xFF) argument
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java68 public static int resolveContrastColor(Context context, int color, int background) { in resolveContrastColor()
91 private static int resolveColor(Context context, int color) { in resolveColor()
111 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast()
151 public static int getMutedColor(int color, float whiteScrimAlpha) { in getMutedColor()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java44 public static TextPaint getDefaultPaint(float textSize, int color) { in getDefaultPaint()
54 String text, float textSize, int color) { in newInstance()
59 String text, float textSize, int color, in newInstance()
DGLPaint.java25 public void setColor(int color) { in setColor()
DFadeInTexture.java29 public FadeInTexture(int color, TiledTexture texture) { in FadeInTexture()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsViewBackgroundHelper.java73 public void setBackgroundColor(int color) { in setBackgroundColor()
80 public void setScrim(int color) { in setScrim()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java78 final int color = ta.getColor(i, 0); in onCreatePreferences() local
221 final int color = (int) Long.parseLong(textColor, 16) & 0x00ffffff; in setCaptionsTextColor() local
234 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextOpacity() local
283 final int color = (int) Long.parseLong(backgroundColor, 16) & 0x00ffffff; in setCaptionsBackgroundColor() local
296 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsBackgroundOpacity() local
323 final int color = (int) Long.parseLong(windowColor, 16) & 0x00ffffff; in setCaptionsWindowColor() local
336 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsWindowOpacity() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java73 final int color = colorItem.getInt(); in testSettingsIntentSlice() local
102 final int color = colorItem.getInt(); in testSettingsToggleSlice() local
142 final int color = colorItem.getInt(); in testSettingsSliderSlice() local
181 final int color = colorItem.getInt(); in testSettingsCopyableSlice() local
220 final int color = colorItem.getInt(); in testSettingsUnavailableSlice() local
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java167 public void setSmallIconColor(@ColorInt int color) { in setSmallIconColor()
174 public void setHeaderTextColor(@ColorInt int color) { in setHeaderTextColor()
181 public void setTimeTextColor(@ColorInt int color) { in setTimeTextColor()
DCarNotificationBodyView.java135 public void setSecondaryTextColor(@ColorInt int color) { in setSecondaryTextColor()
142 public void setPrimaryTextColor(@ColorInt int color) { in setPrimaryTextColor()
/packages/apps/Camera2/src/com/android/camera/
DPanoProgressBar.java86 public void setBackgroundColor(int color) { in setBackgroundColor()
91 public void setDoneColor(int color) { in setDoneColor()
96 public void setIndicatorColor(int color) { in setIndicatorColor()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java82 public void setBackgroundColor(int color) { in setBackgroundColor()
87 public void setDoneColor(int color) { in setDoneColor()
92 public void setIndicatorColor(int color) { in setIndicatorColor()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DScrimDrawable.java40 public ScrimDrawable(int color) { in ScrimDrawable()
/packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/
DSwiperThemeGenerator.java43 int color = Color.argb(0xff, r, g, b); in main() local
/packages/apps/Dialer/java/com/android/incallui/
DInCallUIMaterialColorMapUtils.java57 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBitmapInfo.java26 public int color; field in BitmapInfo
DGraphicsUtils.java39 public static int setColorAlphaBound(int color, int alpha) { in setColorAlphaBound()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageView.java59 int color = a.getColor(R.styleable.UsageView_textColor, 0); in UsageView() local
106 public void setAccentColor(int color) { in setAccentColor()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPercentageBarChart.java139 public void setBackgroundColor(int color) { in setBackgroundColor()
150 public static Entry createEntry(int order, float percentage, int color) { in createEntry()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java139 public void setBackgroundColor(int color) { in setBackgroundColor()
150 public static Entry createEntry(int order, float percentage, int color) { in createEntry()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageView.java59 int color = a.getColor(R.styleable.UsageView_textColor, 0); in UsageView() local
106 public void setAccentColor(int color) { in setAccentColor()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceBuilderUtils.java270 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildToggleSlice() local
295 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildIntentSlice() local
317 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildSliderSlice() local
345 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildCopyableSlice() local
426 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildUnavailableSlice() local
/packages/apps/Dialer/java/com/android/dialer/dialercontact/
Ddialer_contact.proto30 optional int32 color = 2; field

12345678