Lines Matching full:clamp
1382 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());1383 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight());1439 private int clamp(int n, int my, int child) {