Home
last modified time | relevance | path

Searched refs:foreground (Results 1 - 25 of 51) sorted by relevance

123

/third_party/skia/src/effects/imagefilters/
H A DSkArithmeticImageFilter.cpp50 sk_sp<SkSpecialImage> foreground,
75 sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, in Arithmetic()
96 std::move(foreground), cropRect); in Arithmetic()
99 sk_sp<SkImageFilter> inputs[2] = {std::move(background), std::move(foreground)}; in Arithmetic()
194 sk_sp<SkSpecialImage> foreground(this->filterInput(1, ctx, &foregroundOffset)); in onFilterImage()
197 if (foreground) { in onFilterImage()
199 foreground->width(), foreground->height()); in onFilterImage()
223 return this->filterImageGPU(ctx, background, backgroundOffset, foreground, in onFilterImage()
246 this->drawForeground(canvas, foreground 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 DSkBlendImageFilter.cpp53 sk_sp<SkSpecialImage> foreground,
75 sk_sp<SkImageFilter> foreground, in Blend()
77 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) }; in Blend()
83 sk_sp<SkImageFilter> foreground, in Blend()
88 sk_sp<SkImageFilter> inputs[2] = { std::move(background), std::move(foreground) }; in Blend()
135 sk_sp<SkSpecialImage> foreground(this->filterInput(1, ctx, &foregroundOffset)); in onFilterImage()
138 if (foreground) { in onFilterImage()
140 foreground->width(), foreground->height()); in onFilterImage()
165 foreground, foregroundOffse 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/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DText.java22 public void renderText(Canvas canvas, Paint foreground, float x, float y) { in renderText() argument
23 nRenderText(mRawText, canvas.getNativeInstance(), foreground.getNativeInstance(), x, y); in renderText()
26 private static native void nRenderText(String text, long nativeCanvas, long foreground, float x, float y); in nRenderText() argument
H A DImageFilter.java79 @Nullable ImageFilter foreground) { in blend()
85 if (foreground != null) { in blend()
86 nativeForeground = foreground.getNativeInstance(); in blend()
78 blend(BlendMode blendMode, @Nullable ImageFilter background, @Nullable ImageFilter foreground) blend() argument
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
H A DTextActivity.java21 Paint foreground; field in TextRenderer
49 foreground = new Paint().setColor(0, 1, 0, 1); in onSurfaceInitialized()
60 foreground.setShader(builder.makeShader()); in onRenderFrame()
61 mText.renderText(canvas, foreground, 0, 200); in onRenderFrame()
/third_party/skia/modules/androidkit/src/
H A DText.cpp30 auto foreground = reinterpret_cast<SkPaint*>(native_fg_paint); in Text_RenderText() local
32 if (canvas && foreground) { in Text_RenderText()
36 *foreground, background, SkString("arial"), 50, SkFontStyle::Bold(), x, y); in Text_RenderText()
H A DImageFilter.cpp51 static long ImageFilter_Blend(JNIEnv* env, jobject, jint bm, jlong background, jlong foreground) { in ImageFilter_Blend() argument
53 auto fg = sk_ref_sp(reinterpret_cast<SkImageFilter*>(foreground)); in ImageFilter_Blend()
/third_party/skia/modules/svg/src/
H A DSkSVGFeComposite.cpp52 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter() local
56 fK1, fK2, fK3, fK4, enforcePMColor, background, foreground, cropRect); in onMakeImageFilter()
59 BlendModeForOperator(fOperator), background, foreground, cropRect); in onMakeImageFilter()
H A DSkSVGFeBlend.cpp44 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter() local
45 return SkImageFilters::Blend(blendMode, background, foreground, cropRect); in onMakeImageFilter()
/third_party/libfuse/lib/
H A Dhelper.c39 FUSE_HELPER_OPT("-d", foreground),
40 FUSE_HELPER_OPT("debug", foreground),
43 FUSE_HELPER_OPT("-f", foreground),
135 " -f foreground operation\n" in fuse_cmdline_help()
253 int fuse_daemonize(int foreground) in fuse_daemonize() argument
255 if (!foreground) { in fuse_daemonize()
356 if (fuse_daemonize(opts.foreground) != 0) { in fuse_main_real()
/third_party/skia/experimental/sktext/editor/
H A DEditor.cpp22 SkPaint foreground; foreground.setColor(DEFAULT_TEXT_FOREGROUND); in Editor() local
25 static DecoratedBlock textDecor(text.size(), foreground, background); in Editor()
33 SkPaint foreground; foreground.setColor(DEFAULT_STATUS_FOREGROUND); in Editor() local
37 static DecoratedBlock statusDecor(status.size(), foreground, background); in Editor()
/third_party/skia/experimental/sktext/src/
H A DPaint.cpp23 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
H A DPaint.h78 SkPaint foreground, SkPaint background,
83 SkPaint foreground, SkPaint background,
/third_party/skia/tests/
H A DImageFilterTest.cpp1818 sk_sp<SkImageFilter> foreground(new FixedBoundsImageFilter(foreground_rect)); in DEF_TEST()
1842 background, foreground, nullptr)); in DEF_TEST()
1875 sk_sp<SkImageFilter> foreground, in test_arithmetic_bounds()
1878 SkImageFilters::Arithmetic(k1, k2, k3, k4, false, background, foreground, crop)); in test_arithmetic_bounds()
1889 sk_sp<SkImageFilter> foreground(new FixedBoundsImageFilter(fgRect)); 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, foreground, nullpt 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/ntfs-3g/include/fuse-lite/
H A Dfuse_common.h181 * '-f' foreground
182 * '-d' '-odebug' foreground, but keep the debug option
194 * @param foreground set to 1 if one of the relevant options is present
198 int *multithreaded, int *foreground);
203 * @param foreground if true, stay in the foreground
206 int fuse_daemonize(int foreground);
/third_party/skia/gm/
H A Dxfermodeimagefilter.cpp122 sk_sp<SkImageFilter> foreground(SkImageFilters::Image(std::move(bitmapImage)));
123 sk_sp<SkImageFilter> offsetForeground(SkImageFilters::Offset(4, -4, foreground));
166 sk_sp<SkImageFilter> cropped(SkImageFilters::Offset(0, 0, foreground, &cropRect));
184 // the region outside the foreground.
/third_party/skia/include/effects/
H A DSkImageFilters.h76 * combining the corresponding background and foreground pixels using the 4 coefficients:
77 * k1 * foreground * background + k2 * foreground + k3 * background + k4
78 * @param k1, k2, k3, k4 The four coefficients used to combine the foreground and background.
81 * @param foreground The foreground content, using the source bitmap when this is null.
86 sk_sp<SkImageFilter> foreground,
93 * @param foreground The Src pixels used in blending, if null the source bitmap is used.
97 sk_sp<SkImageFilter> foreground = nullptr,
104 * @param foreground Th
[all...]
/third_party/ffmpeg/libavcodec/
H A Dpngenc.c653 // output: background, input: foreground in apng_do_inverse_blend()
654 // output the image such that when blended with the background, will produce the foreground in apng_do_inverse_blend()
726 uint8_t *foreground = input->data[0] + input_linesize * y + bpp * leftmost_x; in apng_do_inverse_blend() local
729 for (x = leftmost_x; x < rightmost_x; ++x, foreground += bpp, background += bpp, output_data += bpp) { in apng_do_inverse_blend()
730 if (!memcmp(foreground, background, bpp)) { in apng_do_inverse_blend()
750 if (((uint16_t*)foreground)[3] == 0xffff || in apng_do_inverse_blend()
756 if (((uint16_t*)foreground)[1] == 0xffff || in apng_do_inverse_blend()
762 if (foreground[3] == 0xff || background[3] == 0) in apng_do_inverse_blend()
767 if (foreground[1] == 0xff || background[1] == 0) in apng_do_inverse_blend()
772 if (palette[*foreground] >> 2 in apng_do_inverse_blend()
[all...]
H A Dpngdec.c1116 uint8_t *foreground = dst + dst_stride * y + bpp * s->x_offset; in handle_p_frame_apng() local
1118 for (x = s->x_offset; x < s->x_offset + s->cur_w; ++x, foreground += bpp, background += bpp) { in handle_p_frame_apng()
1125 // output = (foreground_alpha * foreground + (1 - foreground_alpha) * background_alpha * background) / output_alpha in handle_p_frame_apng()
1129 foreground_alpha = foreground[3]; in handle_p_frame_apng()
1134 foreground_alpha = foreground[1]; in handle_p_frame_apng()
1143 memcpy(foreground, background, bpp); in handle_p_frame_apng()
1155 output[b] = FAST_DIV255(foreground_alpha * foreground[b] + (255 - foreground_alpha) * background[b]); in handle_p_frame_apng()
1157 output[b] = (255 * foreground_alpha * foreground[b] + (255 - foreground_alpha) * background_alpha * background[b]) / (255 * output_alpha); in handle_p_frame_apng()
1161 memcpy(foreground, output, bpp); in handle_p_frame_apng()
/third_party/python/Lib/idlelib/
H A Dsidebar.py324 foreground = colors['foreground']
327 fg=foreground, bg=background,
328 selectforeground=foreground, selectbackground=background,
510 foreground = prompt_colors['foreground']
512 self.colors = (foreground, background)
H A Dquery.py106 self.entry_error = Label(frame, text=' ', foreground='red',
271 self.path_error = Label(frame, text=' ', foreground='red',
363 self.args_error = Label(frame, text=' ', foreground='red',
/third_party/toybox/toys/other/
H A Dtimeout.c7 USE_TIMEOUT(NEWTOY(timeout, "<2^(foreground)(preserve-status)vk:s(signal):", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_ARGFAIL(125)))
24 --foreground Don't create new process group
77 if (!FLAG(foreground)) setpgid(0, 0); in timeout_main()
/third_party/littlefs/scripts/
H A Dplotmpl.py600 foreground=None,
620 if foreground is None:
622 foreground = '#343942'
624 foreground = '#eff1f3'
655 if foreground is not None:
656 foreground_ = foreground
1205 '--foreground',
/third_party/python/Tools/unittestgui/
H A Dunittestgui.py341 foreground="blue").pack(side=tk.LEFT, fill=tk.X,
348 self.errorListbox = tk.Listbox(listFrame, foreground='red',
422 foreground="red", justify=tk.LEFT).pack(anchor=tk.W)
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_images.py73 foreground='yellow', background='blue',
88 foreground='yellow', background='blue',
141 self.assertEqual(image['foreground'],
142 '-foreground {} {} #000000 #000000')
143 image.configure(foreground='yellow')
144 self.assertEqual(image['foreground'],
145 '-foreground {} {} #000000 yellow')

Completed in 18 milliseconds

123