Home
last modified time | relevance | path

Searched refs:blend (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/rs/support/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java54 private void blend(int id, Allocation ain, Allocation aout) {
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(9, ain, aout);
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend() method in ScriptIntrinsicBlend
71 blend(0, ain, aout, opt); in forEachClear()
102 blend(1, ain, aout, null); in forEachSrc()
166 blend(3, ain, aout, opt); in forEachSrcOver()
196 blend(4, ain, aout, opt); in forEachDstOver()
226 blend(5, ain, aout, opt); in forEachSrcIn()
256 blend(6, ain, aout, opt); in forEachDstIn()
286 blend(7, ain, aout, opt); in forEachSrcOut()
316 blend(8, ain, aout, opt); in forEachDstOut()
348 blend(9, ain, aout, opt); in forEachSrcAtop()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DConvolve5x5.java36 private float blend(float v1, float v2, float p) { in blend() method in Convolve5x5
43 float cf1 = blend(f125, -1.f, str); in updateMatrix()
44 float cf2 = blend(f125, -3.f, str); in updateMatrix()
45 float cf3 = blend(f125, -4.f, str); in updateMatrix()
46 float cf4 = blend(f125, 6.f, str); in updateMatrix()
47 float cf5 = blend(f125, 20.f, str); in updateMatrix()
48 float cf6 = blend(f125, 0.f, str); in updateMatrix()
DConvolve3x3.java36 private float blend(float v1, float v2, float p) { in blend() method in Convolve3x3
42 float cf1 = blend(1.f / 9.f, 0.f, str); in updateMatrix()
43 float cf2 = blend(1.f / 9.f, -1.f, str); in updateMatrix()
44 float cf3 = blend(1.f / 9.f, 5.f, str); in updateMatrix()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DConvolve5x5.java43 private float blend(float v1, float v2, float p) { in blend() method in Convolve5x5
50 float cf1 = blend(f125, -1.f, str); in updateMatrix()
51 float cf2 = blend(f125, -3.f, str); in updateMatrix()
52 float cf3 = blend(f125, -4.f, str); in updateMatrix()
53 float cf4 = blend(f125, 6.f, str); in updateMatrix()
54 float cf5 = blend(f125, 20.f, str); in updateMatrix()
55 float cf6 = blend(f125, 0.f, str); in updateMatrix()
DConvolve3x3.java43 private float blend(float v1, float v2, float p) { in blend() method in Convolve3x3
49 float cf1 = blend(1.f / 9.f, 0.f, str); in updateMatrix()
50 float cf2 = blend(1.f / 9.f, -1.f, str); in updateMatrix()
51 float cf3 = blend(1.f / 9.f, 5.f, str); in updateMatrix()
/frameworks/base/libs/hwui/
DGlLayer.h35 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend);
51 void setBlend(bool blend) override { in setBlend() argument
52 texture.blend = blend; in setBlend()
56 return texture.blend; in isBlend()
DVkLayer.h31 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) in VkLayer() argument
35 , mBlend(blend) {} in VkLayer()
52 void setBlend(bool blend) override { in setBlend() argument
53 mBlend = blend; in setBlend()
DDeferredLayerUpdater.h45 SkBlendMode mode, bool blend)> CreateLayerFn;
63 ANDROID_API bool setBlend(bool blend) { in setBlend() argument
64 if (blend != mBlend) { in setBlend()
65 mBlend = blend; in setBlend()
DGlLayer.cpp36 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) in GlLayer() argument
42 texture.blend = blend; in GlLayer()
DGlopBuilder.cpp244 mOutGlop->blend = { GL_ZERO, GL_ZERO }; in setFill()
247 || (mOutGlop->fill.texture.texture && mOutGlop->fill.texture.texture->blend) in setFill()
254 &mOutGlop->blend.src, &mOutGlop->blend.dst); in setFill()
268 &mOutGlop->blend.src, &mOutGlop->blend.dst); in setFill()
332 || texture.blend in setFillTexturePaint()
335 &mOutGlop->blend.src, &mOutGlop->blend.dst); in setFillTexturePaint()
337 mOutGlop->blend = { GL_ZERO, GL_ZERO }; in setFillTexturePaint()
615 mDescription.hasTranslucentConversion = texture->blend; in build()
696 ALOGD("Glop blend %d %d", glop.blend.src, glop.blend.dst); in dump()
DLayer.h58 virtual void setBlend(bool blend) = 0;
DGlop.h167 } blend; member
DBakedOpRenderer.cpp169 mRenderState.blend().syncEnabled(); in setViewport()
356 && glop.blend.src == GL_ONE in renderGlopImpl()
357 && glop.blend.dst == GL_ONE_MINUS_SRC_ALPHA; in renderGlopImpl()
/frameworks/layoutlib/bridge/src/android/graphics/
DBlendComposite.java176 result = blender.blend(srcPixel, dstPixel, result); in compose()
200 public abstract int[] blend(int[] src, int[] dst, int[] result); in blend() method in BlendComposite.Blender
207 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
217 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
228 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
239 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
250 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
262 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
276 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
/frameworks/base/graphics/java/android/graphics/
DInterpolator.java87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { in setKeyFrame() argument
94 if (blend != null && blend.length < 4) { in setKeyFrame()
97 nativeSetKeyFrame(native_instance, index, msec, values, blend); in setKeyFrame()
160 …e void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend); in nativeSetKeyFrame() argument
/frameworks/base/libs/hwui/tests/unit/
DBakedOpRendererTests.cpp80 EXPECT_TRUE(renderState.blend().getEnabled()); in verifyBlend()
83 renderState.blend().getFactors(&src, &dst); in verifyBlend()
89 EXPECT_FALSE(renderState.blend().getEnabled()); in verifyBlendDisabled()
94 renderThread.renderState().blend().setFactors(GL_ONE, GL_ONE); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
102 renderThread.renderState().blend().setFactors(GL_ONE, GL_ONE); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DGlopBuilderTests.cpp92 expectBlendEq(expectedGlop.blend, builtGlop.blend); in expectGlopEq()
100 glop->blend = { GL_ZERO, GL_ZERO }; in blackUnitQuadGlop()
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp146 blend(defaultBlend), color(defaultColor), in Rectangle()
153 int32_t blend; member in Rectangle
319 layer->blending = it->blend; in main()
442 rect.blend = HWC_BLENDING_NONE; in parseRect()
444 rect.blend = HWC_BLENDING_PREMULT; in parseRect()
446 rect.blend = HWC_BLENDING_COVERAGE; in parseRect()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp211 blend().invalidate(); in resumeFromFunctorInvoke()
422 blend().setFactors(GL_ZERO, GL_ZERO); in render()
424 blend().setFactors(glop.blend.src, glop.blend.dst); in render()
481 blend().dump(); in dump()
DRenderState.h111 Blend& blend() { return *mBlend; } in blend() function
/frameworks/base/core/jni/android/graphics/
DInterpolator.cpp32 SkScalar* blend = autoBlend.ptr(); in Interpolator_setKeyFrame() local
37 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp122 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) { in createLayer() argument
123 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); in createLayer()
/frameworks/native/cmds/flatland/
DMain.cpp101 0, staticGradient, blend,
127 0, staticGradient, blend,
153 0, staticGradient, blend,
183 0, staticGradient, blend,
DFlatland.h58 Composer* blend();

12