Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DLauncherIcons.java58 Bitmap shadow = getShadowBitmap((AdaptiveIconDrawable) drawable); in wrapIconDrawableWithShadow() local
59 return new ShadowDrawable(shadow, drawable); in wrapIconDrawableWithShadow()
65 Bitmap shadow = mShadowCache.get(shadowSize); in getShadowBitmap() local
66 if (shadow != null) { in getShadowBitmap()
67 return shadow; in getShadowBitmap()
77 Bitmap shadow = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888); in getShadowBitmap() local
79 Canvas canvas = new Canvas(shadow); in getShadowBitmap()
96 mShadowCache.put(shadowSize, shadow); in getShadowBitmap()
98 return shadow; in getShadowBitmap()
132 public ShadowDrawable(Bitmap shadow, Drawable dr) { in ShadowDrawable() argument
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java33 import android.view.shadow.HighQualityShadowPainter;
98 BufferedImage shadow = null; in drawShadow() local
100 shadow = getPathShadow(outline, canvas, elevation, child.getAlpha()); in drawShadow()
102 if (shadow == null) { in drawShadow()
105 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, in drawShadow()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/
DDrawableTestHelper.java27 final ShadowDrawable shadow = Shadows.shadowOf(drawable); in assertDrawableResId() local
28 assertThat(shadow.getCreatedFromResId()).isEqualTo(resId); in assertDrawableResId()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DShadowActivityManager.java17 package com.android.settingslib.testutils.shadow;
25 import org.robolectric.shadow.api.Shadow;
DShadowDefaultDialerManager.java17 package com.android.settingslib.testutils.shadow;
DShadowSmsApplication.java17 package com.android.settingslib.testutils.shadow;
DShadowBluetoothAdapter.java17 package com.android.settingslib.testutils.shadow;
DShadowUserManager.java17 package com.android.settingslib.testutils.shadow;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java70 public ListRowPresenterBuilder configShadow(boolean shadow) { in configShadow() argument
71 mShadow = shadow; in configShadow()
201 boolean shadow = activity.getIntent().getBooleanExtra(EXTRA_CARD_SHADOW, in initRowsAdapterBuilder()
219 .configShadow(shadow); in initRowsAdapterBuilder()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DSapProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DPbapClientProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DMapClientProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DHfpClientProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DHidDeviceProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DA2dpSinkProfileTest.java29 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
39 import org.robolectric.shadow.api.Shadow;
DHeadsetProfileTest.java14 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
24 import org.robolectric.shadow.api.Shadow;
DA2dpProfileTest.java35 import com.android.settingslib.testutils.shadow.ShadowBluetoothAdapter;
44 import org.robolectric.shadow.api.Shadow;
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java100 public void setShadow(boolean shadow) { in setShadow() argument
101 mIsShadow = shadow; in setShadow()
249 final boolean shadow = in loadFromXml()
304 mIsShadow = shadow; in loadFromXml()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackendTest.java34 import com.android.settingslib.testutils.shadow.ShadowDefaultDialerManager;
35 import com.android.settingslib.testutils.shadow.ShadowSmsApplication;
45 import org.robolectric.shadow.api.Shadow;
/frameworks/layoutlib/bridge/src/android/view/shadow/
DShadowConstants.java17 package android.view.shadow;
DHighQualityShadowPainter.java17 package android.view.shadow;
27 import static android.view.shadow.ShadowConstants.MIN_ALPHA;
28 import static android.view.shadow.ShadowConstants.SCALE_DOWN;
DAmbientShadowConfig.java17 package android.view.shadow;
DAmbientShadowBitmapGenerator.java17 package android.view.shadow;
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$drawable.class ... ninepatch public static final int radial_gradient public static final int shadow public static final int vector_drawable_with_tint public static final int vector_drawable_without_tint ...
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DDevelopmentSettingsEnablerTest.java30 import org.robolectric.shadow.api.Shadow;

12