Home
last modified time | relevance | path

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

12345678910

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptionUtilsTest.java34 final int color = CaptionUtils.parseColor(0xFFFF00); in parseColor_defaultPackedColor_shouldReturnUnspecified() local
41 final int color = CaptionUtils.parseColor(0x00); in parseColor_unrecognizedColor_shouldReturnTransparent() local
48 final int color = CaptionUtils.parseColor(0xFFFF0000); in parseColor_redColor_shouldReturnRed() local
55 final int color = CaptionUtils.parseOpacity(0xFFFF00); in parseOpacity_defaultPackedColor_shouldReturnUnspecified() local
62 final int color = CaptionUtils.parseOpacity(0x00); in parseOpacity_unrecognizedColor_shouldReturnTransparent() local
69 final int color = CaptionUtils.parseOpacity(0x80FFFFFF); in parseOpacity_halfTransparentValue_shouldReturnHalfTransparent() local
76 final int color = CaptionUtils.mergeColorOpacity(0xFFFF0000, 0x80FFFFFF); in mergeColorOpacity_halfTransparentRedValue_shouldReturnMergeColorOpacityValue() local
DScreenFlashNotificationColorDialogFragmentTest.java187 private void checkColorButton(ScreenFlashNotificationColor color) { in checkColorButton()
225 private void assertStartPreview(int color) { in assertStartPreview()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DManagedProvisioningSharedPreferences.java101 public void writeNavigationBarColor(int color) { in writeNavigationBarColor()
117 public void writeNavigationBarDividerColor(int color) { in writeNavigationBarDividerColor()
133 public void writeTextPrimaryColor(int color) { in writeTextPrimaryColor()
149 public void writeTextSecondaryColor(int color) { in writeTextSecondaryColor()
165 public void writeBackgroundColor(int color) { in writeBackgroundColor()
181 public void writeAccentColor(int color) { in writeAccentColor()
197 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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBitmapInfo.java50 public final int color; field in BitmapInfo
52 public BitmapInfo(Bitmap icon, int color) { in BitmapInfo()
111 public static BitmapInfo fromByteArray(byte[] data, int color, UserHandle user, in fromByteArray()
138 public static BitmapInfo of(@NonNull Bitmap bitmap, int color) { in of()
150 BitmapInfo getExtendedInfo(Bitmap bitmap, int color, in getExtendedInfo()
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerAccentColorParameters.java40 public PickerAccentColorParameters(int color, Application application) { in PickerAccentColorParameters()
78 public static int checkColorValidityAndGetColor(long color) { in checkColorValidityAndGetColor()
93 private static boolean isColorFeasibleForBothBackgrounds(int color) { in isColorFeasibleForBothBackgrounds()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionHelper.java115 public void setBackgroundColor(int color) { in setBackgroundColor()
131 public void setForegroundColor(int color) { in setForegroundColor()
147 public void setWindowColor(int color) { in setWindowColor()
163 public void setEdgeColor(int color) { in setEdgeColor()
/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/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/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java66 public static int resolveContrastColor(Context context, int color, int background) { in resolveContrastColor()
89 private static int resolveColor(Context context, int color) { in resolveColor()
109 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast()
/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()
/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/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/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java226 public void setSecondaryTextColor(@ColorInt int color) { in setSecondaryTextColor()
244 public void setPrimaryTextColor(@ColorInt int color) { in setPrimaryTextColor()
253 public void setCountTextColor(@ColorInt int color) { in setCountTextColor()
280 public void setTimeTextColor(@ColorInt int color) { in setTimeTextColor()
DCarNotificationHeaderView.java190 public void setSmallIconColor(@ColorInt int color) { in setSmallIconColor()
199 public void setHeaderTextColor(@ColorInt int color) { in setHeaderTextColor()
208 public void setTimeTextColor(@ColorInt int color) { in setTimeTextColor()
DCarNotificationActionButton.java68 int color = attributes.getColor( in CarNotificationActionButton() local
96 public void setTextColor(@ColorInt int color) { in setTextColor()
/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/Launcher3/src/com/android/launcher3/popup/
DRoundedArrowDrawable.java62 int color) { in RoundedArrowDrawable()
92 boolean isLeftOrTop, int color) { in RoundedArrowDrawable()
127 float radius, boolean isPointingLeft, int color) { in createHorizontalRoundedArrow()
141 float radius, boolean isPointingUp, int color) { in createVerticalRoundedArrow()
/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/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/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/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()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DBackgroundSurfaceView.java118 public void setFixedColor(int color) { in setFixedColor()
131 public void setFixedColorAndText(int color, String text) { in setFixedColorAndText()
/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()

12345678910