Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java84 private int mShadowMargin = 15; // not scaled, fixed in the asset field in ImageShow
260 getWidth() - 2*mShadowMargin, in onDraw()
261 getHeight() - 2*mShadowMargin); in onDraw()
500 return new Rect((int) tx + mShadowMargin, in computeImageBounds()
501 (int) ty + mShadowMargin, in computeImageBounds()
502 (int) (w + tx) - mShadowMargin, in computeImageBounds()
503 (int) (h + ty) - mShadowMargin); in computeImageBounds()
508 mShadowBounds.set(d.left - mShadowMargin, d.top - mShadowMargin, in drawShadow()
509 d.right + mShadowMargin, d.bottom + mShadowMargin); in drawShadow()
823 boolean rightConstraint = screenPos.right < getWidth() - mShadowMargin; in constrainTranslation()
[all …]
DMasterImage.java86 private int mShadowMargin = 15; // not scaled, fixed in the asset field in MasterImage
610 m.postTranslate(mShadowMargin, mShadowMargin); in computeImageToScreen()
674 mImageShowSize.x + 2 * mShadowMargin, in needsUpdatePartialPreview()
675 mImageShowSize.y + 2 * mShadowMargin); in needsUpdatePartialPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java66 private int mShadowMargin = 15; field in CropView
102 mShadowMargin = (int) rsc.getDimension(R.dimen.shadow_margin); in setup()
335 int margin = (int) mDisplayMatrix.mapRadius(mShadowMargin); in onDraw()