Home
last modified time | relevance | path

Searched refs:shadow (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/
DLauncherIcons.java57 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/
DTextDropShadowCache.cpp156 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/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java73 BufferedImage shadow = null; in drawShadow() local
75 shadow = getPathShadow(outline, canvas, elevation); in drawShadow()
77 if (shadow == null) { in drawShadow()
80 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, in drawShadow()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java68 public ListRowPresenterBuilder configShadow(boolean shadow) { in configShadow() argument
69 mShadow = shadow; in configShadow()
199 boolean shadow = activity.getIntent().getBooleanExtra(EXTRA_CARD_SHADOW, in initRowsAdapterBuilder()
217 .configShadow(shadow); in initRowsAdapterBuilder()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java81 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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DSettingsLibShadowResources.java17 package com.android.settingslib.testutils.shadow;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridActivity.java435 View shadow = new View(viewGroup.getContext());
436 shadow.setBackgroundResource(mNinePatchShadow);
437 viewGroup.addView(shadow);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java28 import com.android.settingslib.testutils.shadow.SettingsLibShadowResources;
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp1872 RENDERTHREAD_OPENGL_PIPELINE_TEST(FrameBuilder, shadow) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument