Lines Matching defs:clamp
1831 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());1832 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight());1839 private int clamp(int n, int my, int child) {