Searched refs:blend (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend
65 blend(0, ain, aout);
85 blend(1, ain, aout);
125 blend(3, ain, aout);
144 blend(4, ain, aout);
163 blend(5, ain, aout);
182 blend(6, ain, aout);
201 blend(7, ain, aout);
220 blend(8, ain, aout);
240 blend(
[all...]
H A DScriptIntrinsicBlendThunker.java34 ScriptIntrinsicBlendThunker blend = new ScriptIntrinsicBlendThunker(0, rs);
36 blend.mN = android.renderscript.ScriptIntrinsicBlend.create(rst.mN, et.getNObj());
40 return blend;
/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);
159 private static native void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] 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/base/libs/hwui/
H A DDeferredLayerUpdater.h51 ANDROID_API bool setBlend(bool blend) { argument
52 if (blend != mBlend) {
53 mBlend = blend;
H A DTexture.cpp27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0),
34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0),
H A DLayer.h138 inline void setBlend(bool blend) { argument
139 texture.blend = blend;
143 return texture.blend;
H A DTexture.h70 bool blend; member in class:android::uirenderer::Texture
H A DAssetAtlas.h92 return texture->blend ? &atlas.mBlendKey : &atlas.mOpaqueKey;
H A DRenderState.cpp129 mCaches->blend = true;
H A DTextureCache.cpp296 texture->blend = true;
302 texture->blend = false;
310 texture->blend = !bitmap->isOpaque();
316 texture->blend = !bitmap->isOpaque();
H A DOpenGLRenderer.cpp266 if (mCaches.blend) {
768 * changing the GL blend functions for the GL_FUNC_ADD blend equation to
1040 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f; local
1042 layer->getTexture(), &layerPaint, blend, local
1730 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f || local
1732 chooseBlending(blend, mode, mDescription, swapSrcDst);
1735 void OpenGLRenderer::setupDrawBlending(const SkPaint* paint, bool blend, bool swapSrcDst) {
1740 blend |= (mColorSet && mColorA < 1.0f) ||
1743 chooseBlending(blend, mod
3350 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument
3377 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument
3434 chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst) argument
[all...]
H A DAssetAtlas.cpp135 texture->blend = !bitmap->isOpaque();
H A DOpenGLRenderer.h713 * @param blend True if the texture contains an alpha channel
724 const SkPaint* paint, bool blend,
730 const SkPaint* paint, bool blend,
824 * blend function based on the specified xfermode.
826 inline void chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description,
861 void setupDrawBlending(const SkPaint* paint, bool blend = true, bool swapSrcDst = false);
H A DCaches.h307 bool blend; member in class:android::uirenderer::Caches
H A DTextDropShadowCache.cpp194 texture->blend = true;
H A DGradientCache.cpp179 texture->blend = info.hasAlpha;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java223 result = blender.blend(srcPixel, dstPixel, result);
247 public abstract int[] blend(int[] src, int[] dst, int[] result); method in class:BlendComposite.Blender
361 public int[] blend(int[] src, int[] dst, int[] result) {
369 public int[] blend(int[] src, int[] dst, int[] result) {
379 public int[] blend(int[] src, int[] dst, int[] result) {
390 public int[] blend(int[] src, int[] dst, int[] result) {
399 public int[] blend(int[] src, int[] dst, int[] result) {
414 public int[] blend(int[] src, int[] dst, int[] result) {
426 public int[] blend(int[] src, int[] dst, int[] result) {
438 public int[] blend(in
[all...]
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp33 SkScalar* blend = autoBlend.ptr(); local
38 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/native/cmds/flatland/
H A DFlatland.h58 Composer* blend();
H A DMain.cpp102 0, staticGradient, blend,
128 0, staticGradient, blend,
154 0, staticGradient, blend,
184 0, staticGradient, blend,
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
320 layer->blending = it->blend;
439 } else if (attrName == "blend:") { // Blend
444 rect.blend = HWC_BLENDING_NONE;
446 rect.blend = HWC_BLENDING_PREMULT;
448 rect.blend = HWC_BLENDING_COVERAGE;
450 testPrintE("Unknown blend o
[all...]
H A DhwcCommit.cpp172 int32_t blend; member in class:Rectangle
561 // TODO: make measurments with background blend other than
563 // background blend of HWC_BLENDING_NONE, with the
564 // blend type of the foregound being varied.
591 testPrintI("overlapping blend: none");
600 testPrintI("overlapping blend: premult");
609 testPrintI("overlapping blend: coverage");
704 // For each of the blend types
708 rect.blend = id;
1287 background.blend
[all...]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DFillTest.java63 void addTest(int index, int testId, int blend, int quadCount) { argument
75 dataItem.blend = blend;
91 addTest(index++, 1 /*testId*/, 0 /*blend*/, 10 /*quadCount*/);
92 addTest(index++, 0 /*testId*/, 0 /*blend*/, 10 /*quadCount*/);
93 addTest(index++, 1 /*testId*/, 1 /*blend*/, 10 /*quadCount*/);
94 addTest(index++, 0 /*testId*/, 1 /*blend*/, 10 /*quadCount*/);
95 addTest(index++, 2 /*testId*/, 1 /*blend*/, 3 /*quadCount*/);
96 addTest(index++, 2 /*testId*/, 1 /*blend*/, 1 /*quadCount*/);

Completed in 2557 milliseconds

12