Home | History | Annotate | Download | only in widget

Lines Matching defs:clamp

1499             x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());
1500 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight());
1555 private int clamp(int n, int my, int child) {