Home
last modified time | relevance | path

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

12

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout) { in blend() method in ScriptIntrinsicBlend
65 blend(0, ain, aout); in forEachClear()
85 blend(1, ain, aout); in forEachSrc()
125 blend(3, ain, aout); in forEachSrcOver()
144 blend(4, ain, aout); in forEachDstOver()
163 blend(5, ain, aout); in forEachSrcIn()
182 blend(6, ain, aout); in forEachDstIn()
201 blend(7, ain, aout); in forEachSrcOut()
220 blend(8, ain, aout); in forEachDstOut()
240 blend(9, ain, aout); in forEachSrcAtop()
[all …]
DScriptIntrinsicBlendThunker.java34 ScriptIntrinsicBlendThunker blend = new ScriptIntrinsicBlendThunker(0, rs); in create() local
36 blend.mN = android.renderscript.ScriptIntrinsicBlend.create(rst.mN, et.getNObj()); in create()
40 return blend; in create()
/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/base/tools/layoutlib/bridge/src/android/graphics/
DBlendComposite.java223 result = blender.blend(srcPixel, dstPixel, result); in compose()
247 public abstract int[] blend(int[] src, int[] dst, int[] result); in blend() method in BlendComposite.Blender
361 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
369 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
379 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
390 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
399 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
414 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
426 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
438 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
[all …]
/frameworks/rs/java/tests/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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dfill_test.rs40 int blend;
67 static void displaySingletexFill(bool blend, int quadCount, bool modulate) {
74 if (!blend) {
105 static void displayMultitextureSample(bool blend, int quadCount) {
112 if (!blend) {
146 displayMultitextureSample(gData->blend == 1 ? true : false, gData->quadCount);
149 displaySingletexFill(gData->blend == 1 ? true : false, gData->quadCount, false);
152 displaySingletexFill(gData->blend == 1 ? true : false, gData->quadCount, true);
DFillTest.java63 void addTest(int index, int testId, int blend, int quadCount) { in addTest() argument
75 dataItem.blend = blend; in addTest()
/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()
159 …e void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend); in nativeSetKeyFrame() argument
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.h51 ANDROID_API bool setBlend(bool blend) { in setBlend() argument
52 if (blend != mBlend) { in setBlend()
53 mBlend = blend; in setBlend()
DLayer.h138 inline void setBlend(bool blend) { in setBlend() argument
139 texture.blend = blend; in setBlend()
143 return texture.blend; in isBlend()
DTexture.cpp27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0), in Texture()
34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), in Texture()
DTextureCache.cpp307 texture->blend = true; in generateTexture()
313 texture->blend = false; in generateTexture()
321 texture->blend = !bitmap->isOpaque(); in generateTexture()
327 texture->blend = !bitmap->isOpaque(); in generateTexture()
DOpenGLRenderer.cpp266 if (mCaches.blend) { in syncState()
1000 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f; in composeLayerRect() local
1002 layer->getTexture(), &layerPaint, blend, in composeLayerRect()
1675 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f ||
1677 chooseBlending(blend, mode, mDescription, swapSrcDst);
1680 void OpenGLRenderer::setupDrawBlending(const SkPaint* paint, bool blend, bool swapSrcDst) {
1685 blend |= (mColorSet && mColorA < 1.0f) ||
1688 chooseBlending(blend, mode, mDescription, swapSrcDst);
1985 texture->id, paint, texture->blend, &vertices[0].x, &vertices[0].u,
2223 texture->id, paint, texture->blend,
[all …]
DTexture.h70 bool blend; variable
DAssetAtlas.h92 return texture->blend ? &atlas.mBlendKey : &atlas.mOpaqueKey; in getMergeId()
DOpenGLRenderer.h721 const SkPaint* paint, bool blend,
727 const SkPaint* paint, bool blend,
823 inline void chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description,
858 void setupDrawBlending(const SkPaint* paint, bool blend = true, bool swapSrcDst = false);
DRenderState.cpp138 mCaches->blend = true; in resumeFromFunctorInvoke()
DAssetAtlas.cpp140 texture->blend = !bitmap->isOpaque(); in createEntries()
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp146 blend(defaultBlend), color(defaultColor), in Rectangle()
153 int32_t blend; member in Rectangle
320 layer->blending = it->blend; in main()
444 rect.blend = HWC_BLENDING_NONE; in parseRect()
446 rect.blend = HWC_BLENDING_PREMULT; in parseRect()
448 rect.blend = HWC_BLENDING_COVERAGE; in parseRect()
DhwcCommit.cpp172 int32_t blend; member in Rectangle
708 rect.blend = id; in supportedBlends()
1287 background.blend = backgroundBlend; in numOverlapping()
1300 background.blend = foregroundBlend; in numOverlapping()
1311 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha), in Rectangle()
1421 layer->blending = it->blend; in numOverlays()
/frameworks/base/core/jni/android/graphics/
DInterpolator.cpp33 SkScalar* blend = autoBlend.ptr(); in Interpolator_setKeyFrame() local
38 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame()
/frameworks/native/cmds/flatland/
DMain.cpp102 0, staticGradient, blend,
128 0, staticGradient, blend,
154 0, staticGradient, blend,
184 0, staticGradient, blend,
DFlatland.h58 Composer* blend();
/frameworks/rs/scriptc/
Drs_program.rsh76 * Get program store blend source function
84 * Get program store blend destination function

12