Searched refs:shadow (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/util/
H A DLauncherIcons.java31 * Utility class to handle icon treatments (e.g., shadow generation) for the Launcher icons.
57 Bitmap shadow = getShadowBitmap((AdaptiveIconDrawable) drawable);
58 return new ShadowDrawable(shadow, drawable);
64 Bitmap shadow = mShadowCache.get(shadowSize);
65 if (shadow != null) {
66 return shadow;
76 Bitmap shadow = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888);
78 Canvas canvas = new Canvas(shadow);
84 // Draw ambient shadow
88 // Draw key shadow
130 ShadowDrawable(Bitmap shadow, Drawable dr) argument
168 MyConstantState(Bitmap shadow, ConstantState childState) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp156 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, local
159 if (!shadow.image) {
166 texture->left = shadow.penX;
167 texture->top = shadow.penY;
171 const uint32_t size = shadow.width * shadow.height;
183 texture->upload(GL_ALPHA, shadow.width, shadow.height,
184 GL_ALPHA, GL_UNSIGNED_BYTE, shadow.image);
201 // Cleanup shadow
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackageInfo.java48 private static final String ATTR_SHADOW = "shadow";
81 public void setShadow(boolean shadow) { argument
82 mIsShadow = shadow;
133 BackupUtils.hashSignatureArray(pi.signatures), /* shadow=*/ false);
140 s.wtf("Attempted to refresh package info for shadow package " + pkg.getPackageName()
179 // When restoring from backup, it's always shadow.
180 final boolean shadow =
213 mIsShadow = shadow;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java43 * Overrides the original drawChild call in ViewGroup to draw the shadow.
71 BufferedImage shadow = null;
73 shadow = getPathShadow(outline, canvas, elevation);
75 if (shadow == null) {
78 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false,
106 // which were never taken. Ideally, we should hook up the shadow code in the same method so
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridActivity.java432 View shadow = new View(viewGroup.getContext());
433 shadow.setBackgroundResource(mNinePatchShadow);
434 viewGroup.addView(shadow);
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp1860 // creates a 100x100 shadow casting node with provided translationZ
1872 RENDERTHREAD_OPENGL_PIPELINE_TEST(FrameBuilder, shadow) {
2050 // Apply a clip before the reorder barrier/shadow casting child is drawn.
2051 // This clip must be applied to the shadow cast by the child.

Completed in 458 milliseconds