Lines Matching refs:Math
338 coord[0] = (int) Math.round(pt[0]);
339 coord[1] = (int) Math.round(pt[1]);
503 toY += Math.round(scale * tv.getPaddingTop());
505 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
511 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2;
513 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2;
514 toX -= (Math.round(scale * (dragView.getMeasuredWidth()
572 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) +
573 Math.pow(to.top - from.top, 2));
583 duration = Math.max(duration, res.getInteger(R.integer.config_dropAnimMinDuration));
616 int x = (int) (fromLeft + Math.round(((to.left - fromLeft) * motionPercent)));
617 int y = (int) (fromTop + Math.round(((to.top - fromTop) * motionPercent)));