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

/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp26 SkScalar* blend = NULL; local
43 blend = blendStorage;
46 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/base/libs/hwui/
H A DSkiaColorFilter.cpp26 SkiaColorFilter::SkiaColorFilter(SkColorFilter *skFilter, Type type, bool blend): argument
27 mType(type), mBlend(blend), mSkFilter(skFilter) {
H A DSkiaColorFilter.h50 ANDROID_API SkiaColorFilter(SkColorFilter *skFilter, Type type, bool blend);
56 inline bool blend() const { function in struct:android::uirenderer::SkiaColorFilter
H A DTexture.h70 bool blend; member in class:android::uirenderer::Texture
H A DSkiaShader.h60 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
74 inline bool blend() const { function in struct:android::uirenderer::SkiaShader
140 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
162 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
186 int count, SkShader* key, SkMatrix* matrix, bool blend);
196 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
212 SkMatrix* matrix, bool blend);
H A DLayer.h120 inline void setBlend(bool blend) { argument
121 texture.blend = blend;
125 return texture.blend;
H A DSkiaShader.cpp76 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
77 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend),
108 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
109 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
187 SkMatrix* matrix, bool blend):
188 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend),
266 SkMatrix* matrix, bool blend):
268 tileMode, matrix, blend) {
304 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend):
306 SkShader::kClamp_TileMode, matrix, blend),
75 SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument
107 SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument
185 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
264 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
303 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument
317 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
[all...]
H A DCaches.h300 bool blend; member in class:android::uirenderer::Caches
H A DOpenGLRenderer.cpp279 if (mCaches.blend) {
387 mCaches.blend = true;
901 * changing the GL blend functions for the GL_FUNC_ADD blend equation to
1155 bool blend = layer->isBlend() || alpha < 1.0f; local
1157 layer->getTexture(), alpha, layer->getMode(), blend, local
1844 bool blend = (mColorSet && mColorA < 1.0f) || local
1845 (mDrawModifiers.mShader && mDrawModifiers.mShader->blend());
1846 chooseBlending(blend, mode, mDescription, swapSrcDst);
1849 void OpenGLRenderer::setupDrawBlending(bool blend, SkXfermod argument
3455 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument
3461 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument
3486 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument
3540 chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst) argument
[all...]
/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(int native_instance, int index, int msec, float[] values, float[] blend); argument
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend
60 blend(0, ain, aout);
80 blend(1, ain, aout);
120 blend(3, ain, aout);
139 blend(4, ain, aout);
158 blend(5, ain, aout);
177 blend(6, ain, aout);
196 blend(7, ain, aout);
215 blend(8, ain, aout);
235 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*/);
/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 \
147 blend(defaultBlend), color(defaultColor),
154 int32_t blend; member in class:Rectangle
321 layer->blending = it->blend;
440 } else if (attrName == "blend:") { // Blend
445 rect.blend = HWC_BLENDING_NONE;
447 rect.blend = HWC_BLENDING_PREMULT;
449 rect.blend = HWC_BLENDING_COVERAGE;
451 testPrintE("Unknown blend o
[all...]
H A DhwcCommit.cpp173 int32_t blend; member in class:Rectangle
562 // TODO: make measurments with background blend other than
564 // background blend of HWC_BLENDING_NONE, with the
565 // blend type of the foregound being varied.
592 testPrintI("overlapping blend: none");
601 testPrintI("overlapping blend: premult");
610 testPrintI("overlapping blend: coverage");
705 // For each of the blend types
709 rect.blend = id;
1288 background.blend
[all...]
/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...]

Completed in 310 milliseconds