Home | History | Annotate | Download | only in widget

Lines Matching refs:clamp

1536             x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());
1537 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight());
1594 private static int clamp(int n, int my, int child) {