/third_party/skia/third_party/externals/libpng/ |
H A D | pngrtran.c | 135 /* Handle alpha and tRNS via a background color */ 148 png_warning(png_ptr, "Application must supply a known background gamma"); in png_set_background_fixed() 156 png_ptr->background = *background_color; in png_set_background_fixed() 379 /* Finally, if pre-multiplying, set the background fields to achieve the in png_set_alpha_mode_fixed() 385 memset(&png_ptr->background, 0, (sizeof png_ptr->background)); in png_set_alpha_mode_fixed() 392 "conflicting calls to set alpha mode and background"); in png_set_alpha_mode_fixed() 833 * disabled in background handling. There is no evidence (so far) that this in png_set_gamma_fixed() 1153 /* Any alpha means background and associative alpha processing is in png_init_palette_transformations() 1166 * background colo in png_init_palette_transformations() [all...] |
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
H A D | readme_preview.rs | 110 background: #1d1f21; in main() 138 pre .bg.black {{ background-color: #1d1f21; }} in main() 139 pre .bg.red {{ background-color: #cc6666; }} in main() 140 pre .bg.green {{ background-color: #b5bd68; }} in main() 141 pre .bg.yellow {{ background-color: #f0c674; }} in main() 142 pre .bg.blue {{ background-color: #81a2be; }} in main() 143 pre .bg.magenta {{ background-color: #b294bb; }} in main() 144 pre .bg.cyan {{ background-color: #8abeb7; }} in main() 145 pre .bg.white {{ background-color: #c5c8c6; }} in main() 147 pre .bg.black.bright {{ background in main() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBlending.cpp | 126 // Clear background color in iterate() 127 tcu::Vec4 background(0.5f, 0.5f, 0.5f, 0.5f); in iterate() 130 gl.clearBufferfv(GL_COLOR, i, &background[0]); in iterate() 140 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate() 143 static_cast<unsigned int>((numComponents == 4 ? background.w() : 1.0f) * 255)), in iterate() 145 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate() 146 static_cast<unsigned int>((numComponents >= 2 ? background.y() : 0.0f) * 255), in iterate() 147 static_cast<unsigned int>((numComponents >= 3 ? background.z() : 0.0f) * 255), in iterate() 152 background.x() * (numComponents == 4 ? background in iterate() [all...] |
/third_party/skia/src/effects/imagefilters/ |
H A D | SkArithmeticImageFilter.cpp | 48 sk_sp<SkSpecialImage> background, 75 sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, in Arithmetic() 95 return SkImageFilters::Blend((SkBlendMode)mode, std::move(background), in Arithmetic() 99 sk_sp<SkImageFilter> inputs[2] = {std::move(background), std::move(foreground)}; in Arithmetic() 191 sk_sp<SkSpecialImage> background(this->filterInput(0, ctx, &backgroundOffset)); in onFilterImage() 203 if (background) { in onFilterImage() 205 background->width(), background->height()); in onFilterImage() 223 return this->filterImageGPU(ctx, background, backgroundOffset, foreground, in onFilterImage() 236 canvas->clear(0x0); // can't count on background t in onFilterImage() 73 Arithmetic( SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, bool enforcePMColor, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const CropRect& cropRect) Arithmetic() argument 335 filterImageGPU( const Context& ctx, sk_sp<SkSpecialImage> background, const SkIPoint& backgroundOffset, sk_sp<SkSpecialImage> foreground, const SkIPoint& foregroundOffset, const SkIRect& bounds) const filterImageGPU() argument [all...] |
H A D | SkBlendImageFilter.cpp | 51 sk_sp<SkSpecialImage> background, 74 sk_sp<SkImageFilter> background, in Blend() 77 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) }; in Blend() 82 sk_sp<SkImageFilter> background, in Blend() 88 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) }; in Blend() 132 sk_sp<SkSpecialImage> background(this->filterInput(0, ctx, &backgroundOffset)); in onFilterImage() 144 if (background) { in onFilterImage() 146 background->width(), background->height()); in onFilterImage() 164 return this->filterImageGPU(ctx, background, backgroundOffse in onFilterImage() 73 Blend(SkBlendMode mode, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const CropRect& cropRect) Blend() argument 81 Blend(sk_sp<SkBlender> blender, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const CropRect& cropRect) Blend() argument 257 filterImageGPU(const Context& ctx, sk_sp<SkSpecialImage> background, const SkIPoint& backgroundOffset, sk_sp<SkSpecialImage> foreground, const SkIPoint& foregroundOffset, const SkIRect& bounds) const filterImageGPU() argument [all...] |
/third_party/skia/tests/ |
H A D | PDFOpaqueSrcModeToSrcOverTest.cpp | 17 SkPaint background; in run_test() local 18 background.setColor(SK_ColorWHITE); in run_test() 19 background.setAlpha(alpha); in run_test() 20 background.setBlendMode(mode); in run_test() 21 c->drawRect(SkRect::MakeWH(612.0f, 792.0f), background); in run_test() 23 c->drawRect(SkRect::MakeXYWH(72.0f, 72.0f, 468.0f, 648.0f), background); in run_test()
|
H A D | ImageFilterTest.cpp | 1817 sk_sp<SkImageFilter> background(new FixedBoundsImageFilter(background_rect)); in DEF_TEST() 1842 background, foreground, nullptr)); in DEF_TEST() 1874 float k4, sk_sp<SkImageFilter> background, in test_arithmetic_bounds() 1878 SkImageFilters::Arithmetic(k1, k2, k3, k4, false, background, foreground, crop)); in test_arithmetic_bounds() 1888 sk_sp<SkImageFilter> background(new FixedBoundsImageFilter(bgRect)); in test_arithmetic_combinations() 1896 test_arithmetic_bounds(reporter, 0, 0, 0, 0, background, foreground, nullptr, in test_arithmetic_combinations() 1898 test_arithmetic_bounds(reporter, 0, 0, 0, v, background, foreground, nullptr, unionRect); in test_arithmetic_combinations() 1899 test_arithmetic_bounds(reporter, 0, 0, v, 0, background, foreground, nullptr, bgRect); in test_arithmetic_combinations() 1900 test_arithmetic_bounds(reporter, 0, 0, v, v, background, foreground, nullptr, unionRect); in test_arithmetic_combinations() 1901 test_arithmetic_bounds(reporter, 0, v, 0, 0, background, foregroun in test_arithmetic_combinations() 1873 test_arithmetic_bounds(skiatest::Reporter* reporter, float k1, float k2, float k3, float k4, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const SkIRect* crop, const SkIRect& expected) test_arithmetic_bounds() argument [all...] |
/third_party/ltp/testcases/kernel/power_management/ |
H A D | pm_cpu_consolidation.py | 59 #Generate arguments for trigger workload, run workload in background 61 background="yes" 65 trigger_ebizzy (options.smt_value, "partial", duration, background, pinned) 74 trigger_kernbench (options.smt_value, "partial", background, pinned, "no") 102 if background == "yes": 122 background="no" 131 trigger_workld( options.smt_value, options.work_ld, options.stress, duration, background, pinned, perf_test)
|
H A D | pm_ilb_test.py | 40 background="no" 44 trigger_workld(options.smt_level,options.work_ld, "single_job", duration, background, pinned, "no")
|
/third_party/skia/experimental/sktext/editor/ |
H A D | Editor.cpp | 23 SkPaint background; background.setColor(DEFAULT_TEXT_BACKGROUND); in Editor() local 25 static DecoratedBlock textDecor(text.size(), foreground, background); in Editor() 34 SkPaint background; background.setColor(DEFAULT_STATUS_BACKGROUND); in Editor() local 37 static DecoratedBlock statusDecor(status.size(), foreground, background); in Editor() 269 SkPaint background; background.setColor(DEFAULT_STATUS_BACKGROUND); in paint() local 270 canvas->drawRect(SkRect::MakeXYWH(0, fHeight - DEFAULT_STATUS_HEIGHT, fWidth, DEFAULT_STATUS_HEIGHT), background); in paint()
|
/third_party/skia/gm/ |
H A D | xfermodeimagefilter.cpp | 92 sk_sp<SkImageFilter> background(SkImageFilters::Image(fCheckerboard)); 94 paint.setImageFilter(SkImageFilters::Blend(gModes[i], background)); 103 paint.setImageFilter(SkImageFilters::Arithmetic(0, 1, 1, 0, true, background, nullptr)); 111 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, background)); 124 sk_sp<SkImageFilter> offsetBackground(SkImageFilters::Offset(4, 4, background)); 167 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, cropped, background)); 175 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kScreen, background, cropped)); 186 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcIn, background, cropped,
|
/third_party/python/Tools/demo/ |
H A D | redemo.py | 53 self.stringdisplay.tag_configure("hit", background="yellow") 105 bg = self.promptdisplay['background'] 106 self.statusdisplay.config(text="", background=bg) 111 background="red") 126 self.stringdisplay.tag_configure("hit", background="yellow") 127 self.stringdisplay.tag_configure("hit0", background="orange") 157 background="yellow")
|
/third_party/python/Lib/tkinter/test/test_ttk/ |
H A D | test_style.py | 30 style.configure('TButton', background='yellow') 31 self.assertEqual(style.configure('TButton', 'background'), 42 style.map('TButton', background=[(*states, 'white')]) 44 self.assertEqual(style.map('TButton', 'background'), expected) 47 self.assertEqual(m['background'], expected) 52 style.map('TButton', background=[(*states, 'black')]) 54 self.assertEqual(style.map('TButton', 'background'), expected) 57 self.assertEqual(m['background'], expected) 62 style.map('TButton', background=[(*states, 'grey')]) 64 self.assertEqual(style.map('TButton', 'background'), expecte [all...] |
/third_party/python/Lib/ |
H A D | webbrowser.py | 189 background.""" 210 background = False variable in UnixBrowser 233 if remote or self.background: 250 elif self.background: 292 background = True variable in Mozilla 303 background = True variable in Netscape 313 background = True variable in Galeon 323 background = True variable in Chrome 335 background = True variable in Opera 345 background variable in Elinks [all...] |
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | writepng.c | 164 png_color_16 background; in writepng_init() local 166 background.red = mainprog_ptr->bg_red; in writepng_init() 167 background.green = mainprog_ptr->bg_green; in writepng_init() 168 background.blue = mainprog_ptr->bg_blue; in writepng_init() 169 png_set_bKGD(png_ptr, info_ptr, &background); in writepng_init()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeComposite.cpp | 51 const sk_sp<SkImageFilter> background = fctx.resolveInput(ctx, fIn2, colorspace); in onMakeImageFilter() local 56 fK1, fK2, fK3, fK4, enforcePMColor, background, foreground, cropRect); in onMakeImageFilter() 59 BlendModeForOperator(fOperator), background, foreground, cropRect); in onMakeImageFilter()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngstest.c | 774 "libpng does not support gamma+background+rgb_to_gray") == 0 ? in checkopaque() 797 /* The background as the original sRGB 8-bit value converted to the final 1149 * background color. (Adding an alpha channel is a no-op.) 1170 * bckg: composite on gray background 1171 * bckc: composite on color background 1173 * g8b: convert sRGB components to grayscale and composite on gray background 1187 * b16g: composite linear onto gray background and convert the result to sRGB 1188 * b16c: composite linear onto color background and convert the result to sRGB 1192 * gb16: composite linear onto background and convert to sRGB grayscale 1194 * cb16: composite linear onto background an 2034 const Background* background; global() member 2063 transform_from_formats(Transform *result, Image *in_image, const Image *out_image, png_const_colorp background, int via_linear) transform_from_formats() argument 2598 compare_two_images(Image *a, Image *b, int via_linear, png_const_colorp background) compare_two_images() argument 2950 read_file(Image *image, png_uint_32 format, png_const_colorp background) read_file() argument 3344 png_colorp background = NULL; testimage() local [all...] |
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | ImageFilter.java | 78 public static ImageFilter blend(BlendMode blendMode, @Nullable ImageFilter background, in blend() argument 82 if (background != null) { in blend() 83 nativeBackground = background.getNativeInstance(); in blend()
|
/third_party/skia/bench/ |
H A D | PDFBench.cpp | 317 void big_pdf_test(SkDocument* doc, const SkBitmap& background) { in big_pdf_test() argument 385 background.notifyPixelsChanged(); in big_pdf_test() 386 canvas->drawBitmap(background, 0, 0); in big_pdf_test() 394 SkBitmap background; in make_background() local 407 background.allocN32Pixels(612, 792); in make_background() 408 SkCanvas tmp2(background); in make_background() 410 return background; in make_background()
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | sriharness.js | 202 var background = window.getComputedStyle(div, null).getPropertyValue("background-color"); 203 assert_equals(background, that.passValue); 216 var background = window.getComputedStyle(div, null).getPropertyValue("background-color"); 217 assert_not_equals(background, that.passValue);
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/ |
H A D | SkottieView.java | 99 public SkottieView(Context context, int resID, Color background) { in SkottieView() argument 104 mRenderer = new SkottieRenderer(makeAnimation(inputStream), background); in SkottieView() 128 // set backing view and background color in SkottieView() 165 public void setSource(int resID, Context context, Color background) { in setSource() argument 167 mRenderer = new SkottieRenderer(makeAnimation(inputStream), background); in setSource()
|
/third_party/skia/experimental/sktext/src/ |
H A D | Paint.cpp | 23 SkPaint foreground, SkPaint background, in drawText() 26 textDirection, textAlign, foreground, background, in drawText() 32 SkPaint foreground, SkPaint background, in drawText() 47 DecoratedBlock decoratedBlock(textSize, foreground, background); in drawText() 21 drawText(std::u16string text, SkCanvas* canvas, TextDirection textDirection, TextAlign textAlign, SkPaint foreground, SkPaint background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkScalar x, SkScalar y) drawText() argument 30 drawText(std::u16string text, SkCanvas* canvas, TextDirection textDirection, TextAlign textAlign, SkPaint foreground, SkPaint background, const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkSize reqSize, SkScalar x, SkScalar y) drawText() argument
|
/third_party/ffmpeg/tests/fate/ |
H A D | apng.mak | 10 FATE_APNG += fate-apng-dispose-background 11 fate-apng-dispose-background: CMD = framecrc -i $(TARGET_SAMPLES)/apng/015.png
|
/third_party/python/Lib/idlelib/ |
H A D | sidebar.py | 325 background = colors['background'] 327 fg=foreground, bg=background, 328 selectforeground=foreground, selectbackground=background, 329 inactiveselectbackground=background, 511 background = linenumbers_colors['background'] 512 self.colors = (foreground, background) 513 self.canvas.configure(background=background) [all...] |
/third_party/skia/docs/examples/ |
H A D | SKIA_LOGO_svg.cpp | 7 const SkColor background = SK_ColorWHITE; // SK_ColorTRANSPARENT; in REG_FIDDLE() local 15 canvas->clear(background); in REG_FIDDLE()
|