Searched defs:shadow (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp102 INIT_LOGD(" Setting drop shadow cache size to %sMB", property);
105 INIT_LOGD(" Using default drop shadow cache size of %.2fMB",
179 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, text, 0, local
182 if (!shadow.image) {
189 texture->left = shadow.penX;
190 texture->top = shadow.penY;
191 texture->width = shadow.width;
192 texture->height = shadow.height;
196 const uint32_t size = shadow.width * shadow
[all...]
H A DOpenGLRenderer.cpp2803 // NOTE: The drop shadow will not perform gamma correction
2806 const ShadowTexture* shadow = mCaches.dropShadowCache.get( local
2808 // If the drop shadow exceeds the max texture size or couldn't be
2810 if (!shadow) return;
2811 const AutoTexture autoCleanup(shadow);
2813 const float sx = x - shadow->left + mDrawModifiers.mShadowDx;
2814 const float sy = y - shadow->top + mDrawModifiers.mShadowDy;
2829 setupDrawModelView(sx, sy, sx + shadow->width, sy + shadow->height);
2830 setupDrawTexture(shadow
[all...]

Completed in 67 milliseconds