/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
DrawableTintingFragment.java | 43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be 96 * Selector for blend type for color tinting. 111 * Identifier for state of blend mod spinner in state bundle. 188 // Set up the spinner for blend mode selection from a string array resource 193 // Set a listener to update the tinted image when a blend mode is selected 208 // Apply the default blend mode and color 249 * Update the tint of the image with the color set in the seekbars and selected blend mode. 252 * {@link Color#argb(int, int, int, int)}, it is set togethe with the blend mode on the background 279 * Listener that updates the tint when a blend mode is selected [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_debug.c | 84 return variant->key.blend.rt[0].blend_enable; 117 boolean blend) 139 boolean blend; local 145 blend = tile->state->variant->key.blend.rt[0].blend_enable; 152 plot(tile, i, j, val, blend); 187 boolean blend = tile->state->variant->key.blend.rt[0].blend_enable; local 210 plot(tile, x, y, val, blend); 248 boolean blend = is_blend(tile->state, block, k) local [all...] |
lp_bld_blend_aos.c | 31 * Blend LLVM IR generation -- AoS layout. 245 * @param blend the blend state of the shader variant 249 * @param src blend src 250 * @param dst blend dst 252 * @param const_ const blend color 259 const struct pipe_blend_state *blend, 269 const struct pipe_rt_blend_state * state = &blend->rt[rt];
|
lp_state_fs.c | 686 * \param rt the render target index (to index blend, colormask state) 695 const struct pipe_blend_state *blend, 726 /* load constant blend color and colors from the dest color buffer */ 737 /* do blend */ 738 lp_build_blend_soa(gallivm, blend, type, rt, src, dst, con, res); 742 if(blend->rt[rt].colormask & (1 << chan)) { [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
renderer.c | 382 * Set renderer blend state. Blending is disabled. 384 * This function modifies blend state. 389 struct pipe_blend_state blend; local 391 memset(&blend, 0, sizeof(blend)); 393 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 394 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; 395 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; 396 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; 399 blend.rt[0].colormask |= PIPE_MASK_R 1265 struct pipe_blend_state blend; local [all...] |
/developers/samples/android/ui/DrawableTinting/ |
template-params.xml | 31 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BlendComposite.java | 175 result = blender.blend(srcPixel, dstPixel, result); 199 public abstract int[] blend(int[] src, int[] dst, int[] result); method in class:BlendComposite.Blender 206 public int[] blend(int[] src, int[] dst, int[] result) { 216 public int[] blend(int[] src, int[] dst, int[] result) { 227 public int[] blend(int[] src, int[] dst, int[] result) { 238 public int[] blend(int[] src, int[] dst, int[] result) { 249 public int[] blend(int[] src, int[] dst, int[] result) { 261 public int[] blend(int[] src, int[] dst, int[] result) {
|
/external/llvm/test/CodeGen/ARM/ |
vselect_imax.ll | 17 %T1_10* %blend, %T0_10* %storeaddr) { 33 %T1_14* %blend, %T0_14* %storeaddr) { 49 %T1_15* %blend, %T0_15* %storeaddr) { 68 %T1_18* %blend, %T0_18* %storeaddr) { 84 %T1_19* %blend, %T0_19* %storeaddr) { 102 %T1_20* %blend, %T0_20* %storeaddr) {
|
/external/skia/include/utils/ |
SkInterpolator.h | 71 SkMSec nextTime, const SkScalar blend[4] = NULL); 99 @param blend A positive scalar specifying how to blend between this 101 blend (slow to change at the beginning and end) 102 1 is a linear blend (default) 105 const SkScalar blend[4] = NULL);
|
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 35 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) { 52 static void expectBlendEq(Glop::Blend& expectedBlend, Glop::Blend& builtBlend) { 91 expectBlendEq(expectedGlop.blend, builtGlop.blend); 99 glop->blend = { GL_ZERO, GL_ZERO };
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_surface.h | 299 * \brief Set the blend mode used for blit operations. 312 * \brief Get the blend mode used for blit operations. 315 * \param blendMode A pointer filled in with the current blend mode. 406 Source surface blend mode set to SDL_BLENDMODE_BLEND: 407 alpha-blend (using the source alpha-channel and per-surface alpha) 409 Source surface blend mode set to SDL_BLENDMODE_NONE: 416 Source surface blend mode set to SDL_BLENDMODE_BLEND: 417 alpha-blend (using the source per-surface alpha) 418 Source surface blend mode set to SDL_BLENDMODE_NONE: 425 Source surface blend mode set to SDL_BLENDMODE_BLEND [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_surface.h | 299 * \brief Set the blend mode used for blit operations. 312 * \brief Get the blend mode used for blit operations. 315 * \param blendMode A pointer filled in with the current blend mode. 406 Source surface blend mode set to SDL_BLENDMODE_BLEND: 407 alpha-blend (using the source alpha-channel and per-surface alpha) 409 Source surface blend mode set to SDL_BLENDMODE_NONE: 416 Source surface blend mode set to SDL_BLENDMODE_BLEND: 417 alpha-blend (using the source per-surface alpha) 418 Source surface blend mode set to SDL_BLENDMODE_NONE: 425 Source surface blend mode set to SDL_BLENDMODE_BLEND [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_surface.h | 299 * \brief Set the blend mode used for blit operations. 312 * \brief Get the blend mode used for blit operations. 315 * \param blendMode A pointer filled in with the current blend mode. 406 Source surface blend mode set to SDL_BLENDMODE_BLEND: 407 alpha-blend (using the source alpha-channel and per-surface alpha) 409 Source surface blend mode set to SDL_BLENDMODE_NONE: 416 Source surface blend mode set to SDL_BLENDMODE_BLEND: 417 alpha-blend (using the source per-surface alpha) 418 Source surface blend mode set to SDL_BLENDMODE_NONE: 425 Source surface blend mode set to SDL_BLENDMODE_BLEND [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_surface.h | 299 * \brief Set the blend mode used for blit operations. 312 * \brief Get the blend mode used for blit operations. 315 * \param blendMode A pointer filled in with the current blend mode. 406 Source surface blend mode set to SDL_BLENDMODE_BLEND: 407 alpha-blend (using the source alpha-channel and per-surface alpha) 409 Source surface blend mode set to SDL_BLENDMODE_NONE: 416 Source surface blend mode set to SDL_BLENDMODE_BLEND: 417 alpha-blend (using the source per-surface alpha) 418 Source surface blend mode set to SDL_BLENDMODE_NONE: 425 Source surface blend mode set to SDL_BLENDMODE_BLEND [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_clear.c | 229 /* blend state: RGBA masking */ 231 struct pipe_blend_state blend; local 232 memset(&blend, 0, sizeof(blend)); 233 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 234 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; 235 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; 236 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; 239 blend.rt[0].colormask |= PIPE_MASK_R; 241 blend.rt[0].colormask |= PIPE_MASK_G [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_idct.c | 510 struct pipe_blend_state blend; local 525 memset(&blend, 0, sizeof blend); 527 blend.independent_blend_enable = 0; 528 blend.rt[0].blend_enable = 0; 529 blend.rt[0].rgb_func = PIPE_BLEND_ADD; 530 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 531 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; 532 blend.rt[0].alpha_func = PIPE_BLEND_ADD; 533 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE [all...] |
vl_compositor.c | 399 struct pipe_blend_state blend; local 425 memset(&blend, 0, sizeof blend); 426 blend.independent_blend_enable = 0; 427 blend.rt[0].blend_enable = 0; 428 blend.logicop_enable = 0; 429 blend.logicop_func = PIPE_LOGICOP_CLEAR; 430 blend.rt[0].colormask = PIPE_MASK_RGBA; 431 blend.dither = 0; 432 c->blend_clear = c->pipe->create_blend_state(c->pipe, &blend); 720 void *blend = layer->blend ? layer->blend : i ? c->blend_add : c->blend_clear; local [all...] |
/external/skia/tools/ |
buildbot_spec.json | 51 "blend", 119 "blend", 123 "blend", 127 "blend", 314 "blend", 382 "blend", 386 "blend", 390 "blend", 575 "blend", 643 "blend", [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 41 * blend: none | premult | coverage 53 * RGBA8888 [100, 150, 300, 400] blend: coverage \ 146 blend(defaultBlend), color(defaultColor), 153 int32_t blend; member in class:Rectangle 319 layer->blending = it->blend; 437 } else if (attrName == "blend:") { // Blend 442 rect.blend = HWC_BLENDING_NONE; 444 rect.blend = HWC_BLENDING_PREMULT; 446 rect.blend = HWC_BLENDING_COVERAGE [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_context.c | 268 struct pipe_blend_state blend; local 270 memset(&blend, 0, sizeof(struct pipe_blend_state)); 271 blend.rt[0].blend_enable = 0; 272 blend.rt[0].colormask = PIPE_MASK_RGBA; 274 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 275 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; 276 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; 277 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; 279 cso_set_blend(ctx->cso, &blend);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ImageProcessingTest.java | 278 // Base class for Java blend implementation supporting float and int implementations 348 return blend(); 373 blend(); method 377 abstract int blend(); method in class:ImageProcessingTest.BlendFunc 388 int blend() { 404 int blend() { 420 int blend() { 438 int blend() { 450 int blend() { 462 int blend() { [all...] |
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.c | 87 p->blend.rt[0].colormask = PIPE_MASK_RGBA; 88 p->blend.rt[0].rgb_src_factor = p->blend.rt[0].alpha_src_factor = 90 p->blend.rt[0].rgb_dst_factor = p->blend.rt[0].alpha_dst_factor =
|
/external/mesa3d/src/gallium/tests/graw/ |
shader-leak.c | 232 struct pipe_blend_state blend; local 234 memset(&blend, 0, sizeof blend); 235 blend.rt[0].colormask = PIPE_MASK_RGBA; 236 handle = ctx->create_blend_state(ctx, &blend);
|
/external/skia/include/gpu/ |
GrBlend.h | 19 // Basic blend equations. 24 // Advanced blend equations. These are described in the SVG and PDF specs. 77 * Given a known blend equation in the form of srcCoeff * srcColor + dstCoeff * dstColor where 193 * Advanced blend equations can always tweak alpha for coverage. (See GrCustomXfermode.cpp) 195 * For "add" and "reverse subtract" the blend equation with f=coverage is:
|
/external/skia/src/effects/ |
SkArithmeticMode.cpp | 85 static int blend(int src, int dst, int scale) { function 116 a = blend(a, SkGetPackedA32(sc), scale); 117 r = blend(r, SkGetPackedR32(sc), scale); 118 g = blend(g, SkGetPackedG32(sc), scale); 119 b = blend(b, SkGetPackedB32(sc), scale);
|