Searched refs:shadow (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 57 Bitmap shadow = getShadowBitmap((AdaptiveIconDrawable) drawable); in wrapIconDrawableWithShadow() local 58 return new ShadowDrawable(shadow, drawable); in wrapIconDrawableWithShadow() 64 Bitmap shadow = mShadowCache.get(shadowSize); in getShadowBitmap() local 65 if (shadow != null) { in getShadowBitmap() 66 return shadow; in getShadowBitmap() 76 Bitmap shadow = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in getShadowBitmap() local 78 Canvas canvas = new Canvas(shadow); in getShadowBitmap() 95 mShadowCache.put(shadowSize, shadow); in getShadowBitmap() 97 return shadow; in getShadowBitmap() 130 public ShadowDrawable(Bitmap shadow, Drawable dr) { in ShadowDrawable() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.cpp | 156 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, in get() local 159 if (!shadow.image) { in get() 166 texture->left = shadow.penX; in get() 167 texture->top = shadow.penY; in get() 171 const uint32_t size = shadow.width * shadow.height; in get() 183 texture->upload(GL_ALPHA, shadow.width, shadow.height, in get() 184 GL_ALPHA, GL_UNSIGNED_BYTE, shadow.image); in get() 202 free(shadow.image); in get()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 71 BufferedImage shadow = null; in drawShadow() local 73 shadow = getPathShadow(outline, canvas, elevation); in drawShadow() 75 if (shadow == null) { in drawShadow() 78 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, in drawShadow()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 81 public void setShadow(boolean shadow) { in setShadow() argument 82 mIsShadow = shadow; in setShadow() 180 final boolean shadow = in loadFromXml() 213 mIsShadow = shadow; in loadFromXml()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | GridActivity.java | 432 View shadow = new View(viewGroup.getContext()); 433 shadow.setBackgroundResource(mNinePatchShadow); 434 viewGroup.addView(shadow);
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameBuilderTests.cpp | 1872 RENDERTHREAD_OPENGL_PIPELINE_TEST(FrameBuilder, shadow) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
|