/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | CaptionUtilsTest.java | 34 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
|
D | ScreenFlashNotificationColorDialogFragmentTest.java | 187 private void checkColorButton(ScreenFlashNotificationColor color) { in checkColorButton() 225 private void assertStartPreview(int color) { in assertStartPreview()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 101 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/ |
D | SwitchCompatUtils.java | 41 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/ |
D | BitmapInfo.java | 50 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/ |
D | filters.h | 28 #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/ |
D | PickerAccentColorParameters.java | 40 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/ |
D | CaptionHelper.java | 115 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/ |
D | CaptionCustomFragment.java | 78 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/ |
D | BaseActivity.kt | 52 @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/ |
D | IconPalette.java | 66 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/ |
D | StringTexture.java | 44 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/ |
D | SliceTester.java | 73 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/ |
D | TopLevelIcon.java | 104 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/ |
D | CarNotificationBodyView.java | 226 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()
|
D | CarNotificationHeaderView.java | 190 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()
|
D | CarNotificationActionButton.java | 68 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/ |
D | DetailsViewBackgroundHelper.java | 73 public void setBackgroundColor(int color) { in setBackgroundColor() 80 public void setScrim(int color) { in setScrim()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | RoundedArrowDrawable.java | 62 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/ |
D | PanoProgressBar.java | 82 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/ |
D | PanoProgressBar.java | 86 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/ |
D | GifTranscoder.cpp | 32 #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/ |
D | BottomBar.java | 112 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/ |
D | BackgroundSurfaceView.java | 118 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/ |
D | UsageView.java | 62 int color = a.getColor(R.styleable.UsageView_textColor, 0); in UsageView() local 117 public void setAccentColor(int color) { in setAccentColor()
|