Home
last modified time | relevance | path

Searched defs:color (Results 1 – 25 of 190) 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/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java54 private IconPalette(int color, boolean desaturateBackground) { in IconPalette()
128 public static int resolveContrastColor(Context context, int color, int background) { in resolveContrastColor()
151 private static int resolveColor(Context context, int color) { in resolveColor()
171 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast()
211 private static int getMutedColor(int color, float whiteScrimAlpha) { in getMutedColor()
220 private static int getLowContrastColor(int color) { in getLowContrastColor()
224 private static int getLighterOrDarkerVersionOfColor(int color, float contrastRatio) { in getLighterOrDarkerVersionOfColor()
/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/Launcher2/src/com/android/launcher2/
DHolographicOutlineHelper.java96 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExpensiveOutlineWithBlur()
101 void applyExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExpensiveOutlineWithBlur()
200 void applyExtraThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyExtraThickExpensiveOutlineWithBlur()
205 void applyThickExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyThickExpensiveOutlineWithBlur()
210 void applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyMediumExpensiveOutlineWithBlur()
216 void applyMediumExpensiveOutlineWithBlur(Bitmap srcDst, Canvas srcDstCanvas, int color, in applyMediumExpensiveOutlineWithBlur()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DFabDrawable.java96 public void setFabColor(int color) { in setFabColor()
104 public void setStrokeColor(int color) { in setStrokeColor()
112 public void setFabAndStrokeColor(int color) { in setFabAndStrokeColor()
120 public void setFabAndStrokeColor(int color, float valueMultiplier) { in setFabAndStrokeColor()
/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()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsViewBackgroundHelper.java78 public void setBackgroundColor(int color) { in setBackgroundColor()
87 public void setScrim(int color) { in setScrim()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java77 final int color = ta.getColor(i, 0); in onCreatePreferences() local
220 final int color = (int) Long.parseLong(textColor, 16) & 0x00ffffff; in setCaptionsTextColor() local
233 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextOpacity() local
282 final int color = (int) Long.parseLong(backgroundColor, 16) & 0x00ffffff; in setCaptionsBackgroundColor() local
295 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsBackgroundOpacity() local
322 final int color = (int) Long.parseLong(windowColor, 16) & 0x00ffffff; in setCaptionsWindowColor() local
335 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsWindowOpacity() local
/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/Email/tests/src/com/android/email/
DResourceHelperTest.java39 Integer color = mResourceHelper.getAccountColor(accountId); in brokentestGetAccountColor() local
/packages/apps/Contacts/src/com/android/contacts/drawer/
DScrimDrawable.java40 public ScrimDrawable(int color) { in ScrimDrawable()
/packages/experimental/Bummer/src/com/android/dreams/bummer/
DBummer.java31 public int color = Color.WHITE; field in Bummer
/packages/apps/Settings/src/com/android/settings/
DTintablePreference.java39 public void setTint(int color) { in setTint()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DPagedScrollBarView.java155 int color = getResources().getColor(R.color.car_tint); in setAutoDayNightMode() local
166 int color = getResources().getColor(R.color.car_tint_light); in setLightMode() local
177 int color = getResources().getColor(R.color.car_tint_dark); in setDarkMode() local
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DCalendarColorSquare.java42 public void setBackgroundColor(int color) { in setBackgroundColor()
/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.java53 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/
DPageMarginDrawable.java35 int insetRight, int insetBottom, int color) { in PageMarginDrawable()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DColorPicker.java63 final int color = Math.abs(email.hashCode()) % sColorCount; in pickColor() local
/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/graph/
DUsageView.java56 int color = a.getColor(R.styleable.UsageView_textColor, 0); in UsageView() local
103 public void setAccentColor(int color) { in setAccentColor()
/packages/apps/Dialer/java/com/android/dialer/dialercontact/
Ddialer_contact.proto26 optional int32 color = 2; field

12345678