Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java38 int color = cam.viewed(Frame.DEFAULT); in camFromIntToInt() local
116 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRedFromGamutMap() local
124 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getGreenFromGamutMap() local
132 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlueFromGamutMap() local
140 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getWhiteFromGamutMap() local
148 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getBlackFromGamutMap() local
156 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getMidgrayFromGamutMap() local
164 int color = Cam.getInt(cam.getHue(), cam.getChroma(), CamUtils.lstarFromInt(colorToTest)); in getRandomGreenFromGamutMap() local
170 int color = Cam.getInt(309.0f, 40.0f, 70.0f); in gamutMapArbitraryHCL() local
/frameworks/base/libs/hwui/
DCanvasTransform.cpp34 SkColor makeLight(SkColor color) { in makeLight()
45 SkColor makeDark(SkColor color) { in makeDark()
56 SkColor transformColor(ColorTransform transform, SkColor color) { in transformColor()
67 SkColor transformColorInverse(ColorTransform transform, SkColor color) { in transformColorInverse()
111 SkColor color; in applyColorTransform() local
120 static BitmapPalette paletteForColorHSV(SkColor color) { in paletteForColorHSV()
131 SkColor color = palette == BitmapPalette::Light ? SK_ColorWHITE : SK_ColorBLACK; in filterPalette() local
/frameworks/base/graphics/java/android/graphics/
DColor.java452 float[] color = new float[] { in convert() local
475 float[] color = new float[] { in toArgb() local
702 public static ColorSpace colorSpace(@ColorLong long color) { in colorSpace()
721 public static float red(@ColorLong long color) { in red()
741 public static float green(@ColorLong long color) { in green()
761 public static float blue(@ColorLong long color) { in blue()
778 public static float alpha(@ColorLong long color) { in alpha()
794 public static boolean isSrgb(@ColorLong long color) { in isSrgb()
811 public static boolean isWideGamut(@ColorLong long color) { in isWideGamut()
825 public static boolean isInColorSpace(@ColorLong long color, @NonNull ColorSpace colorSpace) { in isInColorSpace()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java50 final int color = mTileColorPicker.getColor(Tile.STATE_UNAVAILABLE); in testGetColor_StateUnavailable_ReturnUnavailableColor() local
59 final int color = mTileColorPicker.getColor(Tile.STATE_INACTIVE); in testGetColor_StateInactive_ReturnInactiveColor() local
68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor() local
/frameworks/libs/systemui/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()
/frameworks/base/core/java/android/widget/
DCalendarView.java170 public void setSelectedWeekBackgroundColor(@ColorInt int color) { in setSelectedWeekBackgroundColor()
198 public void setFocusedMonthDateColor(@ColorInt int color) { in setFocusedMonthDateColor()
226 public void setUnfocusedMonthDateColor(@ColorInt int color) { in setUnfocusedMonthDateColor()
254 public void setWeekNumberColor(@ColorInt int color) { in setWeekNumberColor()
282 public void setWeekSeparatorLineColor(@ColorInt int color) { in setWeekSeparatorLineColor()
601 void setSelectedWeekBackgroundColor(@ColorInt int color); in setSelectedWeekBackgroundColor()
604 void setFocusedMonthDateColor(@ColorInt int color); in setFocusedMonthDateColor()
607 void setUnfocusedMonthDateColor(@ColorInt int color); in setUnfocusedMonthDateColor()
610 void setWeekNumberColor(@ColorInt int color); in setWeekNumberColor()
613 void setWeekSeparatorLineColor(@ColorInt int color); in setWeekSeparatorLineColor()
[all …]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerSwatch.java43 public void onColorSelected(int color); in onColorSelected()
46 public ColorPickerSwatch(Context context, int color, boolean checked, in ColorPickerSwatch()
60 protected void setColor(int color) { in setColor()
DColorStateDrawable.java34 public ColorStateDrawable(Drawable[] layers, int color) { in ColorStateDrawable()
61 private static int getPressedColor(int color) { in getPressedColor()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java264 final int color = colors[i]; in fitBox() local
388 final int color = colors[i]; in getAverageColor() local
420 final int color = a[i]; in modifySignificantOctet() local
429 final int color = a[i]; in modifySignificantOctet() local
451 private static int quantizeFromRgb888(int color) { in quantizeFromRgb888()
467 private static int approximateToRgb888(int color) { in approximateToRgb888()
475 static int quantizedRed(int color) { in quantizedRed()
482 static int quantizedGreen(int color) { in quantizedGreen()
489 static int quantizedBlue(int color) { in quantizedBlue()
DLABPointProvider.java42 public float[] fromInt(int color) { in fromInt()
54 int color = Color.rgb(rgb[0], rgb[1], rgb[2]); in toInt() local
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp30 static inline int32_t getAlpha(int32_t color) { in getAlpha()
34 static inline int32_t getRed(int32_t color) { in getRed()
38 static inline int32_t getGreen(int32_t color) { in getGreen()
42 static inline int32_t getBlue(int32_t color) { in getBlue()
107 bool PeripheralController::MonoLight::setLightColor(int32_t color) { in setLightColor()
114 bool PeripheralController::RgbLight::setLightColor(int32_t color) { in setLightColor()
140 bool PeripheralController::MultiColorLight::setLightColor(int32_t color) { in setLightColor()
202 int32_t color = toArgb(0 /* brightness */, intensities.at(LightColor::RED) /* red */, in getLightColor() local
482 bool PeripheralController::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
501 std::optional<int32_t> color = light->getLightColor(); in getLightColor() local
/frameworks/base/services/core/java/com/android/server/lights/
DLogicalLight.java70 public abstract void setColor(int color); in setColor()
75 public abstract void setFlashing(int color, int mode, int onMS, int offMS); in setFlashing()
85 public abstract void pulse(int color, int onMS); in pulse()
/frameworks/base/core/java/android/hardware/lights/
DLightState.java51 public LightState(@ColorInt int color) { in LightState()
63 public LightState(@ColorInt int color, int playerId) { in LightState()
90 public Builder setColor(@ColorInt int color) { in setColor()
/frameworks/wilhelm/src/itf/
DILEDArray.cpp63 SLHSL color = *pColor; in ILEDArray_SetColor() local
92 SLHSL color = thiz->mColors[index]; in ILEDArray_GetColor() local
114 SLHSL *color = thiz->mColors; in ILEDArray_init() local
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java283 private int processColor(int color) { in processColor()
300 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor()
336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
370 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, in findContrastColorAgainstDark()
399 public static int ensureTextContrastOnBlack(int color) { in ensureTextContrastOnBlack()
409 public static int ensureLargeTextContrast(int color, int bg, boolean isBgDarker) { in ensureLargeTextContrast()
421 public static int ensureTextContrast(int color, int bg, boolean isBgDarker) { in ensureTextContrast()
434 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast()
443 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor()
457 public static int resolveColor(Context context, int color, boolean defaultBackgroundIsDark) { in resolveColor()
[all …]
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp35 void RefreshRateOverlay::SevenSegmentDrawer::drawRect(const Rect& r, const half4& color, in drawRect()
58 const half4& color, in drawSegment()
86 void RefreshRateOverlay::SevenSegmentDrawer::drawDigit(int digit, int left, const half4& color, in drawDigit()
113 int number, const half4& color, bool showSpinner) { in drawNumber()
222 half4 color; in getOrCreateBuffers() local
/frameworks/base/libs/hwui/hwui/
DBlurDrawLooper.cpp22 BlurDrawLooper::BlurDrawLooper(SkColor4f color, float blurSigma, SkPoint offset) in BlurDrawLooper()
35 sk_sp<BlurDrawLooper> BlurDrawLooper::Make(SkColor4f color, SkColorSpace* cs, float blurSigma, in Make()
/frameworks/native/cmds/surfacereplayer/replayer/
DBufferQueueScheduler.cpp26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id) in BufferQueueScheduler()
68 const sp<SurfaceControl>& surfaceControl, const HSV& color) { in setSurfaceControl()
91 auto color = mColor.getRGB(); in fillSurface() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusIconDisplayable.java23 void setStaticDrawableColor(int color); in setStaticDrawableColor()
24 void setDecorColor(int color); in setDecorColor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenshotTests.java157 int color = bitmap.getPixel(x, y); in getNumMatchingPixels() local
166 static boolean matchesColor(PixelColor expectedColor, int color) { in matchesColor()
206 public PixelColor(int color) { in PixelColor()
226 private int getMinValue(short color) { in getMinValue()
230 private int getMaxValue(short color) { in getMaxValue()
/frameworks/native/services/surfaceflinger/tests/utils/
DColorUtils.h54 static void DegammaColor(half3& color) { in DegammaColor()
68 static void GammaColor(half3& color) { in GammaColor()
74 static void applyMatrix(half3& color, const mat3& mat) { in applyMatrix()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationExpandButton.java184 public void setDefaultTextColor(int color) { in setDefaultTextColor()
193 public void setDefaultPillColor(@ColorInt int color) { in setDefaultPillColor()
202 public void setHighlightTextColor(int color) { in setHighlightTextColor()
211 public void setHighlightPillColor(@ColorInt int color) { in setHighlightPillColor()
/frameworks/base/libs/hwui/tests/common/scenes/
DPartialDamageAnimation.cpp40 SkColor color = COLORS[static_cast<int>((y / dp(116))) % 4]; in createContent() local
58 SkColor color = TestUtils::interpolateColor(curFrame / 150.0f, 0xFFF44336, 0xFFF8BBD0); in doFrame() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java34 @Nullable private ColorStateList color; field in ProgressBarMixin
100 public void setColor(@Nullable ColorStateList color) { in setColor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextAttribute.java34 public TextColor color; field in TextAttribute
38 boolean strikeThrough, TextColor color) { in TextAttribute()

12345678910>>...14