Searched defs:blend (Results 1 - 12 of 12) 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 DTexture.h90 bool blend; member in struct:android::uirenderer::Texture
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 DCaches.h175 bool blend; member in class:android::uirenderer::Caches
H A DSkiaShader.h58 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
72 inline bool blend() const { function in struct:android::uirenderer::SkiaShader
145 SkShader::TileMode tileY, SkMatrix* matrix, bool blend);
175 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
199 int count, SkShader* key, SkMatrix* matrix, bool blend);
210 int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend);
225 SkMatrix* matrix, bool blend);
H A DLayer.h93 inline void setBlend(bool blend) { argument
94 texture.blend = blend;
98 return texture.blend;
H A DSkiaShader.cpp62 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
63 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) {
93 SkShader::TileMode tileY, SkMatrix* matrix, bool blend):
94 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
184 SkMatrix* matrix, bool blend):
185 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend),
259 SkMatrix* matrix, bool blend):
261 tileMode, matrix, blend) {
295 float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend):
297 SkShader::kClamp_TileMode, matrix, blend),
61 SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument
92 SkiaBitmapShader(SkBitmap* bitmap, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, SkMatrix* matrix, bool blend) argument
182 SkiaLinearGradientShader(float* bounds, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
257 SkiaCircularGradientShader(float x, float y, float radius, uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, SkMatrix* matrix, bool blend) argument
294 SkiaSweepGradientShader(float x, float y, uint32_t* colors, float* positions, int count, SkShader* key, SkMatrix* matrix, bool blend) argument
306 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 DOpenGLRenderer.cpp216 mCaches.blend = true;
401 * changing the GL blend functions for the GL_FUNC_ADD blend equation to
1102 chooseBlending((mColorSet && mColorA < 1.0f) || (mShader && mShader->blend()), mode,
1106 void OpenGLRenderer::setupDrawBlending(bool blend, SkXfermode::Mode mode, bool swapSrcDst) { argument
1110 chooseBlending(blend || (mColorSet && mColorA < 1.0f) || (mShader && mShader->blend()), mode,
1468 mode, texture->blend, &mesh[0].position[0], &mesh[0].texture[0],
1513 texture->id, alpha / 255.0f, mode, texture->blend,
1520 mode, texture->blend,
2461 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument
2467 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
2496 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/opengl/tests/hwc/
H A DhwcRects.cpp41 * blend: none | premult | coverage
53 * RGBA8888 [100, 150, 300, 400] blend: coverage \
148 blend(defaultBlend), color(defaultColor),
155 int32_t blend; member in class:Rectangle
322 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.cpp174 int32_t blend; member in class:Rectangle
563 // TODO: make measurments with background blend other than
565 // background blend of HWC_BLENDING_NONE, with the
566 // blend type of the foregound being varied.
593 testPrintI("overlapping blend: none");
602 testPrintI("overlapping blend: premult");
611 testPrintI("overlapping blend: coverage");
706 // For each of the blend types
710 rect.blend = id;
1289 background.blend
[all...]

Completed in 1926 milliseconds