Home | History | Annotate | Download | only in imageshow

Lines Matching defs:screenPos

820         RectF screenPos = new RectF(originalBounds);
821 originalToScreen.mapRect(screenPos);
823 boolean rightConstraint = screenPos
824 boolean leftConstraint = screenPos.left > mShadowMargin;
825 boolean topConstraint = screenPos.top > mShadowMargin;
826 boolean bottomConstraint = screenPos.bottom < getHeight() - mShadowMargin;
828 if (screenPos.width() > getWidth()) {
830 float tx = screenPos.right - translation.x * scale;
834 float tx = screenPos.left - translation.x * scale;
839 float tx = screenPos.right - translation.x * scale;
840 float dx = (getWidth() - 2 * mShadowMargin - screenPos.width()) / 2f;
844 if (screenPos.height() > getHeight()) {
846 float ty = screenPos.bottom - translation.y * scale;
850 float ty = screenPos.top - translation.y * scale;
855 float ty = screenPos.bottom - translation.y * scale;
856 float dy = (getHeight()- 2 * mShadowMargin - screenPos.height()) / 2f;