Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtils.java351 public static BufferedImage createDropShadow(BufferedImage source, int shadowSize, in createDropShadow() argument
357 BufferedImage image = new BufferedImage(source.getWidth() + shadowSize * 2, in createDropShadow()
358 source.getHeight() + shadowSize * 2, in createDropShadow()
362 g2.drawImage(source, null, shadowSize, shadowSize); in createDropShadow()
367 int left = (shadowSize - 1) >> 1; in createDropShadow()
368 int right = shadowSize - left; in createDropShadow()
376 int[] aHistory = new int[shadowSize]; in createDropShadow()
383 float sumDivider = shadowOpacity / shadowSize; in createDropShadow()
389 for (int x = 0; x < shadowSize; x++, bufferOffset++) { in createDropShadow()
409 if (++historyIdx >= shadowSize) { in createDropShadow()
[all …]
DRenderPreview.java674 int shadowSize; in createThumbnail() local
676 shadowSize = drawShadows ? SHADOW_SIZE : 0; in createThumbnail()
678 shadowSize = drawShadows ? SMALL_SHADOW_SIZE : 0; in createThumbnail()
683 shadowSize, shadowSize); in createThumbnail()
686 image.getWidth() - shadowSize, in createThumbnail()
687 image.getHeight() - shadowSize); in createThumbnail()
691 shadowSize, shadowSize); in createThumbnail()
694 image.getWidth() - shadowSize, in createThumbnail()
695 image.getHeight() - shadowSize); in createThumbnail()
705 int shadowSize = LARGE_SHADOWS ? SHADOW_SIZE : SMALL_SHADOW_SIZE; in createErrorThumbnail() local
[all …]