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
261 getWidth() - 2*mShadowMargin, in onDraw()
262 getHeight() - 2*mShadowMargin); in onDraw()
501 return new Rect((int) tx + mShadowMargin, in computeImageBounds()
502 (int) ty + mShadowMargin, in computeImageBounds()
503 (int) (w + tx) - mShadowMargin, in computeImageBounds()
504 (int) (h + ty) - mShadowMargin); in computeImageBounds()
509 mShadowBounds.set(d.left - mShadowMargin, d.top - mShadowMargin, in drawShadow()
510 d.right + mShadowMargin, d.bottom + mShadowMargin); in drawShadow()
825 boolean rightConstraint = screenPos.right < getWidth() - mShadowMargin; in constrainTranslation()
[all …]
DPrimaryImage.java86 private int mShadowMargin = 15; // not scaled, fixed in the asset field in PrimaryImage
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()