Home
last modified time | relevance | path

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

12345678

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferences.java98 public void writeNavigationBarColor(int color) { in writeNavigationBarColor()
114 public void writeNavigationBarDividerColor(int color) { in writeNavigationBarDividerColor()
130 public void writeTextPrimaryColor(int color) { in writeTextPrimaryColor()
146 public void writeTextSecondaryColor(int color) { in writeTextSecondaryColor()
162 public void writeBackgroundColor(int color) { in writeBackgroundColor()
178 public void writeAccentColor(int color) { in writeAccentColor()
194 public void writeNotificationBackgroundColor(int color) { in writeNotificationBackgroundColor()
/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/DeskClock/src/com/android/deskclock/
DBaseActivity.kt52 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onCreate() constant
60 @ColorInt val color = ThemeUtils.resolveColor(this, R.attr.windowBackground) in onStart() constant
105 @ColorInt val color = valueAnimator.animatedValue as Int in onAnimationUpdate() constant
/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/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.java73 public void setBackgroundColor(int color) { in setBackgroundColor()
80 public void setScrim(int color) { in setScrim()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java104 public void setBackgroundColor(@ColorInt int color) { in setBackgroundColor()
115 private ColorStateList createBackgroundColorStateList(@ColorInt int color) { in createBackgroundColorStateList()
131 private int getDisabledAlphaColor(@ColorInt int color) { in getDisabledAlphaColor()
/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
145 final int color = colorItem.getInt(); in testSettingsSliderSlice() local
184 final int color = colorItem.getInt(); in testSettingsCopyableSlice() local
223 final int color = colorItem.getInt(); in testSettingsUnavailableSlice() local
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DSliceTester.java72 final int color = colorItem.getInt(); in testSettingsIntentSlice() local
101 final int color = colorItem.getInt(); in testSettingsToggleSlice() local
144 final int color = colorItem.getInt(); in testSettingsSliderSlice() local
183 final int color = colorItem.getInt(); in testSettingsCopyableSlice() local
222 final int color = colorItem.getInt(); in testSettingsUnavailableSlice() local
/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/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java169 public void setSmallIconColor(@ColorInt int color) { in setSmallIconColor()
176 public void setHeaderTextColor(@ColorInt int color) { in setHeaderTextColor()
183 public void setTimeTextColor(@ColorInt int color) { in setTimeTextColor()
DCarNotificationBodyView.java143 public void setSecondaryTextColor(@ColorInt int color) { in setSecondaryTextColor()
150 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/Contacts/src/com/android/contacts/drawer/
DScrimDrawable.java40 public ScrimDrawable(int color) { in ScrimDrawable()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBuilderUtils.java239 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildToggleSlice() local
267 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildIntentSlice() local
296 @ColorInt int color = Utils.getColorAccentDefaultColor(context); in buildSliderSlice() local
340 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildCopyableSlice() local
425 @ColorInt final int color = Utils.getColorAccentDefaultColor(context); in buildUnavailableSlice() local
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableRowModel.java47 int color = mIsSelected ? Color.GRAY : Color.parseColor("#303030"); in setColor() local
/packages/apps/Settings/src/com/android/settings/widget/
DUsageView.java62 int color = a.getColor(R.styleable.UsageView_textColor, 0); in UsageView() local
117 public void setAccentColor(int color) { in setAccentColor()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp32 #define ALPHA(color) (((color) >> 24) & 0xff) argument
33 #define RED(color) (((color) >> 16) & 0xff) argument
34 #define GREEN(color) (((color) >> 8) & 0xff) argument
35 #define BLUE(color) (((color) >> 0) & 0xff) argument
417 ColorARGB color) { in fillRect()
505 ColorARGB GifTranscoder::gifColorToColorARGB(const GifColorType& color) { in gifColorToColorARGB()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java103 private void updateBackgroundColor(int color) { in updateBackgroundColor()
118 public void updateBackgroundColor(int color, AnimatorSet animatorSetOut) { in updateBackgroundColor()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java43 public static float hue(int color) { in hue()
82 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java119 int color = (condition ? Color.GREEN : Color.RED); in setColoredText() local
134 private void applyColorAndBoldness(SpannableStringBuilder sb, int color, int start, int end) { in applyColorAndBoldness()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java112 private void setPaintColor(int alpha, int color) { in setPaintColor()
133 private void setCancelBackgroundColor(int alpha, int color) { in setCancelBackgroundColor()
373 public void setBackgroundColor(int color) { in setBackgroundColor()
379 private void setBackgroundPressedColor(int color) { in setBackgroundPressedColor()

12345678