Home
last modified time | relevance | path

Searched refs:shadowSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DLauncherIcons.java65 int shadowSize = Math.max(mIconSize, d.getIntrinsicHeight()); in getShadowBitmap() local
67 Bitmap shadow = mShadowCache.get(shadowSize); in getShadowBitmap()
73 d.setBounds(0, 0, shadowSize, shadowSize); in getShadowBitmap()
75 float blur = ICON_SIZE_BLUR_FACTOR * shadowSize; in getShadowBitmap()
76 float keyShadowDistance = ICON_SIZE_KEY_SHADOW_DELTA_FACTOR * shadowSize; in getShadowBitmap()
78 int bitmapSize = (int) (shadowSize + 2 * blur + keyShadowDistance); in getShadowBitmap()
98 mShadowCache.put(shadowSize, shadow); in getShadowBitmap()
/frameworks/base/core/java/android/view/
DView.java29078 Point shadowSize = new Point(); in startDragAndDrop() local
29080 shadowBuilder.onProvideShadowMetrics(shadowSize, shadowTouchPoint); in startDragAndDrop()
29082 if ((shadowSize.x < 0) || (shadowSize.y < 0) in startDragAndDrop()
29094 if (shadowSize.x == 0 || shadowSize.y == 0) { in startDragAndDrop()
29098 shadowSize.x = 1; in startDragAndDrop()
29099 shadowSize.y = 1; in startDragAndDrop()
29103 Log.d(VIEW_LOG_TAG, "drag shadow: width=" + shadowSize.x + " height=" + shadowSize.y in startDragAndDrop()
29111 .setBufferSize(shadowSize.x, shadowSize.y) in startDragAndDrop()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java3400 public void onProvideShadowMetrics(@NonNull Point shadowSize, in onProvideShadowMetrics() argument
3403 shadowSize.set(rect.width(), rect.height()); in onProvideShadowMetrics()