Searched defs:blend (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/
H A DGlLayer.cpp36 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend)
42 texture.blend = blend;
35 GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DVkLayer.h31 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend)
35 , mBlend(blend) {}
52 void setBlend(bool blend) override {
53 mBlend = blend;
30 VkLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DDeferredLayerUpdater.h45 SkBlendMode mode, bool blend)> CreateLayerFn;
63 ANDROID_API bool setBlend(bool blend) { argument
64 if (blend != mBlend) {
65 mBlend = blend;
H A DGlop.h167 } blend; member in struct:android::uirenderer::Glop
H A DTexture.h169 bool blend = false; member in class:android::uirenderer::Texture
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp32 SkScalar* blend = autoBlend.ptr(); local
37 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DConvolve3x3.java36 private float blend(float v1, float v2, float p) { method in class:Convolve3x3
42 float cf1 = blend(1.f / 9.f, 0.f, str);
43 float cf2 = blend(1.f / 9.f, -1.f, str);
44 float cf3 = blend(1.f / 9.f, 5.f, str);
H A DConvolve5x5.java36 private float blend(float v1, float v2, float p) { method in class:Convolve5x5
43 float cf1 = blend(f125, -1.f, str);
44 float cf2 = blend(f125, -3.f, str);
45 float cf3 = blend(f125, -4.f, str);
46 float cf4 = blend(f125, 6.f, str);
47 float cf5 = blend(f125, 20.f, str);
48 float cf6 = blend(f125, 0.f, str);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java43 private float blend(float v1, float v2, float p) { method in class:Convolve3x3
49 float cf1 = blend(1.f / 9.f, 0.f, str);
50 float cf2 = blend(1.f / 9.f, -1.f, str);
51 float cf3 = blend(1.f / 9.f, 5.f, str);
H A DConvolve5x5.java43 private float blend(float v1, float v2, float p) { method in class:Convolve5x5
50 float cf1 = blend(f125, -1.f, str);
51 float cf2 = blend(f125, -3.f, str);
52 float cf3 = blend(f125, -4.f, str);
53 float cf4 = blend(f125, 6.f, str);
54 float cf5 = blend(f125, 20.f, str);
55 float cf6 = blend(f125, 0.f, str);
/frameworks/base/graphics/java/android/graphics/
H A DInterpolator.java65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear
79 * values and blend array.
85 * @param blend (may be null) Optional array of 4 blend values
87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument
94 if (blend != null && blend.length < 4) {
97 nativeSetKeyFrame(native_instance, index, msec, values, blend);
160 private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend); argument
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h111 Blend& blend() { return *mBlend; } function in class:android::uirenderer::RenderState
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java176 result = blender.blend(srcPixel, dstPixel, result);
200 public abstract int[] blend(int[] src, int[] dst, int[] result); method in class:BlendComposite.Blender
207 public int[] blend(int[] src, int[] dst, int[] result) {
217 public int[] blend(int[] src, int[] dst, int[] result) {
228 public int[] blend(int[] src, int[] dst, int[] result) {
239 public int[] blend(int[] src, int[] dst, int[] result) {
250 public int[] blend(int[] src, int[] dst, int[] result) {
262 public int[] blend(int[] src, int[] dst, int[] result) {
273 // Ignore the blend
276 public int[] blend(in
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaVulkanPipeline.cpp122 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) {
123 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend);
121 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DSkiaOpenGLPipeline.cpp141 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) {
143 mode, blend);
140 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { method in class:ScriptIntrinsicBlend
71 blend(0, ain, aout, opt);
102 blend(1, ain, aout, null);
166 blend(3, ain, aout, opt);
196 blend(4, ain, aout, opt);
226 blend(5, ain, aout, opt);
256 blend(6, ain, aout, opt);
286 blend(7, ain, aout, opt);
316 blend(8, ain, aout, opt);
348 blend(
[all...]
/frameworks/native/cmds/flatland/
H A DComposers.cpp199 Composer* blend() { function in namespace:android
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp41 * 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;
448 testPrintE("Unknown blend o
[all...]
H A DhwcCommit.cpp171 int32_t blend; member in class:Rectangle
559 // TODO: make measurments with background blend other than
561 // background blend of HWC_BLENDING_NONE, with the
562 // blend type of the foregound being varied.
589 testPrintI("overlapping blend: none");
598 testPrintI("overlapping blend: premult");
607 testPrintI("overlapping blend: coverage");
702 // For each of the blend types
706 rect.blend = id;
1285 background.blend
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlend.java54 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend
71 blend(0, ain, aout);
91 blend(1, ain, aout);
131 blend(3, ain, aout);
150 blend(4, ain, aout);
169 blend(5, ain, aout);
188 blend(6, ain, aout);
207 blend(7, ain, aout);
226 blend(8, ain, aout);
246 blend(
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp130 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) {
132 mode, blend);
129 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument

Completed in 418 milliseconds