Home | History | Annotate | Download | only in widgets

Lines Matching refs:clamp

1521             x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());
1522 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight());
1579 private static int clamp(int n, int my, int child) {