Searched refs:minTargetPx (Results 1 – 1 of 1) sorted by relevance
71 int minTargetPx = (int) Math.ceil(dpToPx(MIN_TARGET_DP)); in enforce() local72 int deltaHeight = Math.max(0, minTargetPx - target.getHeight()); in enforce()73 int deltaWidth = Math.max(0, minTargetPx - target.getWidth()); in enforce()79 Rect bounds = createNewBounds(target, minTargetPx, deltaWidth, deltaHeight); in enforce()100 private Rect createNewBounds(View target, int minTargetPx, int deltaWidth, int deltaHeight) { in createNewBounds() argument112 int deltaHeightRemaining = minTargetPx - (result.bottom - result.top); in createNewBounds()116 int deltaWidthRemaining = minTargetPx - (result.right - result.left); in createNewBounds()