/third_party/skia/src/effects/imagefilters/ |
H A D | SkArithmeticImageFilter.cpp | 50 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 D | SkBlendImageFilter.cpp | 53 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 D | Text.java | 22 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 D | ImageFilter.java | 79 @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 D | TextActivity.java | 21 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 D | Text.cpp | 30 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 D | ImageFilter.cpp | 51 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 D | SkSVGFeComposite.cpp | 52 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 D | SkSVGFeBlend.cpp | 44 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 D | helper.c | 39 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 D | Editor.cpp | 22 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 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
|
H A D | Paint.h | 78 SkPaint foreground, SkPaint background, 83 SkPaint foreground, SkPaint background,
|
/third_party/skia/tests/ |
H A D | ImageFilterTest.cpp | 1818 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 D | fuse_common.h | 181 * '-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 D | xfermodeimagefilter.cpp | 122 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 D | SkImageFilters.h | 76 * 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 D | pngenc.c | 653 // 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 D | pngdec.c | 1116 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 D | sidebar.py | 324 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 D | query.py | 106 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 D | timeout.c | 7 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 D | plotmpl.py | 600 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 D | unittestgui.py | 341 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 D | test_images.py | 73 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')
|