Home
last modified time | relevance | path

Searched refs:bgColor (Results 1 – 25 of 30) sorted by relevance

12

/external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/ui/
DColor.kt15 var bgColor = this ?: "#ffffff" in toColorSafe() variable
16 bgColor = if (bgColor.startsWith("#")) bgColor else "#$bgColor" in toColorSafe()
19 when (bgColor.length) { in toColorSafe()
22 bgColor[1], bgColor[1], in toColorSafe()
23 bgColor[2], bgColor[2], in toColorSafe()
24 bgColor[3], bgColor[3] in toColorSafe()
27 bgColor[1], bgColor[1], in toColorSafe()
28 bgColor[2], bgColor[2], in toColorSafe()
29 bgColor[3], bgColor[3], in toColorSafe()
30 bgColor[4], bgColor[4] in toColorSafe()
[all …]
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/utils/
DTypeExtensions.kt86 var bgColor = this ?: "#ffffff" in String() variable
87 bgColor = if (bgColor.startsWith("#")) bgColor else "#$bgColor" in String()
90 when (bgColor.length) { in String()
93 bgColor[1], bgColor[1], in String()
94 bgColor[2], bgColor[2], in String()
95 bgColor[3], bgColor[3] in String()
98 bgColor[1], bgColor[1], in String()
99 bgColor[2], bgColor[2], in String()
100 bgColor[3], bgColor[3], in String()
101 bgColor[4], bgColor[4] in String()
[all …]
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/views/
DAnimationItemView.kt34 fun setPreviewBackgroundColor(@ColorInt bgColor: Int?) { in setPreviewBackgroundColor()
35 if (bgColor == null) { in setPreviewBackgroundColor()
39 binding.imageView.setBackgroundColor(bgColor) in setPreviewBackgroundColor()
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/model/
DAnimationData.kt12 private val bgColor: String?, constant in com.airbnb.lottie.samples.model.AnimationData
17 val bgColorInt get() = bgColor.toColorIntSafe()
DAnimationDataV2.kt10 @SerializedName("bg_color") val bgColor: String = "", constant in com.airbnb.lottie.samples.model.AnimationDataV2
16 val bgColorInt get() = bgColor.toColorIntSafe()
/external/skia/tests/
DFontHostStreamTest.cpp27 static const SkColor bgColor = SK_ColorWHITE; variable
34 canvas->drawColor(bgColor); in drawBG()
59 refColor = bgColor; in compare()
DDrawTextTest.cpp29 static const SkColor bgColor = SK_ColorWHITE; variable
57 refColor = bgColor; in compare()
DBlurTest.cpp60 static const SkColor bgColor = SK_ColorWHITE; variable
68 canvas->drawColor(bgColor); in drawBG()
118 refColor = bgColor; in compare()
/external/skia/gm/
Dgm.h219 SimpleGM(SkColor bgColor, const SkString& name, const SkISize& size, DrawProc drawProc) in SimpleGM() argument
220 : GM(bgColor), fName(name), fSize(size), fDrawProc(drawProc) {} in SimpleGM()
236 SimpleGpuGM(SkColor bgColor, const SkString& name, const SkISize& size, DrawProc drawProc) in SimpleGpuGM() argument
237 : GpuGM(bgColor), fName(name), fSize(size), fDrawProc(drawProc) {} in SimpleGpuGM()
Dgm.cpp77 GM::GM(SkColor bgColor) { in GM() argument
79 fBGColor = bgColor; in GM()
Ddrawimageset.cpp38 SkCanvas::ImageSetEntry set[], const SkColor bgColor=SK_ColorLTGRAY) { in make_image_tiles() argument
43 surf->getCanvas()->clear(bgColor); in make_image_tiles()
/external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/api/
DAnimationDataV2.kt21 val bgColor get() = bg_color.toColorSafe() constant
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeader.java36 int bgColor; field in GifHeader
DGifDecoder.java279 header.bgColor = 0; in getNextFrame()
440 c = header.bgColor; in setPixels()
DGifHeaderParser.java243 header.bgColor = header.gct[header.bgIndex]; in readHeader()
/external/oss-fuzz/projects/giflib/
Ddgif_fuzz_common.cc116 Color8888 bgColor = 0; in fuzz_dgif_ala_android() local
181 bgColor = gifColorToColor8888(cmap->Colors[GifFile->SBackGroundColor]); in fuzz_dgif_ala_android()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java167 setBackground(DemoUtility.bgColor); in buildGUI()
251 up.setBackground(DemoUtility.bgColor); in buildGUI()
252 down.setBackground(DemoUtility.bgColor); in buildGUI()
DCalendarFrame.java118 setBackground(DemoUtility.bgColor); in init()
/external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/showcase/
DShowcasePage.kt41 previewBackgroundColor = data.bgColor, in <lambda>()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java34 public static final Color bgColor = Color.lightGray; field in DemoUtility
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/
DLauncher.java79 setBackground(DemoUtility.bgColor); in init()
/external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/lottiefiles/
DLottieFilesRecentsAndPopularPage.kt146 previewBackgroundColor = result.bgColor, in LottieFilesRecentAndPopularPage()
DLottieFilesSearchPage.kt159 previewBackgroundColor = result.bgColor, in LottieFilesSearchPage()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java182 setBackground(DemoUtility.bgColor); in buildGUI()
597 g.setColor(DemoUtility.bgColor); in paint()
/external/skia/src/ports/
DSkScalerContext_mac_ct.cpp269 uint32_t bgColor = (!glyph.isColor()) ? 0xFFFFFFFF : 0x00000000; in getCG() local
270 sk_memset_rect32(image, bgColor, glyph.width(), glyph.height(), rowBytes); in getCG()

12