/frameworks/base/core/jni/android/graphics/ |
H A D | Interpolator.cpp | 26 SkScalar* blend = NULL; local 43 blend = blendStorage; 46 interp->setKeyFrame(index, msec, scalars, blend);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaColorFilter.cpp | 26 SkiaColorFilter::SkiaColorFilter(SkColorFilter *skFilter, Type type, bool blend): argument 27 mType(type), mBlend(blend), mSkFilter(skFilter) {
|
H A D | SkiaColorFilter.h | 50 ANDROID_API SkiaColorFilter(SkColorFilter *skFilter, Type type, bool blend); 56 inline bool blend() const { function in struct:android::uirenderer::SkiaColorFilter
|
H A D | Texture.h | 106 bool blend; member in struct:android::uirenderer::Texture
|
H A D | SkiaShader.h | 58 SkShader::TileMode tileY, SkMatrix* matrix, bool blend); 72 inline bool blend() const { function in struct:android::uirenderer::SkiaShader 141 SkShader::TileMode tileY, SkMatrix* matrix, bool blend); 163 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend); 187 int count, SkShader* key, SkMatrix* matrix, bool blend); 197 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend); 213 SkMatrix* matrix, bool blend);
|
H A D | Layer.h | 96 inline void setBlend(bool blend) { argument 97 texture.blend = blend; 101 return texture.blend;
|
H A D | SkiaShader.cpp | 73 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 74 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) { 104 SkShader::TileMode tileY, SkMatrix* matrix, bool blend): 105 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { 183 SkMatrix* matrix, bool blend): 184 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), 262 SkMatrix* matrix, bool blend): 264 tileMode, matrix, blend) { 300 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend): 302 SkShader::kClamp_TileMode, matrix, blend), 72 SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument 103 SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument 181 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 260 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument 299 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument 313 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 D | Caches.h | 233 bool blend; member in class:android::uirenderer::Caches
|
H A D | OpenGLRenderer.cpp | 225 if (mCaches.blend) { 313 mCaches.blend = true; 673 * changing the GL blend functions for the GL_FUNC_ADD blend equation to 1404 chooseBlending((mColorSet && mColorA < 1.0f) || (mShader && mShader->blend()), mode, 1408 void OpenGLRenderer::setupDrawBlending(bool blend, SkXfermode::Mode mode, bool swapSrcDst) { argument 1412 chooseBlending(blend || (mColorSet && mColorA < 1.0f) || (mShader && mShader->blend()) || 1413 (mColorFilter && mColorFilter->blend()), mode, mDescription, swapSrcDst); 1799 mode, texture->blend, 3078 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument 3084 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 3113 chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 65 * 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 D | ScriptIntrinsicBlend.java | 21 * Intrinsic kernels for blending two buffers. Each blend function is a separate 22 * kernel to make it easy to change between blend modes. 45 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend 62 blend(0, ain, aout); 82 blend(1, ain, aout); 121 blend(3, ain, aout); 140 blend(4, ain, aout); 159 blend(5, ain, aout); 178 blend(6, ain, aout); 197 blend( [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | FillTest.java | 63 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/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 41 * 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 D | hwcCommit.cpp | 173 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/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 21 * Intrinsic kernels for blending two buffers. Each blend function is a separate 22 * kernel to make it easy to change between blend modes. 45 private void blend(int id, Allocation ain, Allocation aout) { method in class:ScriptIntrinsicBlend 62 blend(0, ain, aout); 82 blend(1, ain, aout); 121 blend(3, ain, aout); 140 blend(4, ain, aout); 159 blend(5, ain, aout); 178 blend(6, ain, aout); 197 blend( [all...] |