Searched refs:desiredPadding (Results 1 – 3 of 3) sorted by relevance
73 int desiredPadding = 0; in testCase1() local75 desiredPadding = boxInset; in testCase1()101 .check(screenRight(equalTo(parentRight - desiredPadding))) in testCase1()102 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()110 .check(screenRight(equalTo(parentRight - desiredPadding))) in testCase1()111 .check(screenBottom(equalTo(parentBottom - desiredPadding))); in testCase1()123 int desiredPadding = 0; in testCase2() local125 desiredPadding = boxInset; in testCase2()164 .check(screenLeft(is(equalTo(parentLeft + desiredPadding)))) in testCase2()165 .check(screenTop(is(equalTo(parentTop + desiredPadding)))) in testCase2()[all …]
114 int desiredPadding = (int) ((getHeight() * 0.5f) - (height * 0.5f)); in setupCenteredPadding() local116 if (getPaddingTop() != desiredPadding) { in setupCenteredPadding()121 setPadding(getPaddingLeft(), desiredPadding, getPaddingRight(), desiredPadding); in setupCenteredPadding() local
2419 private int clampPadding(int desiredPadding) { in clampPadding() argument2420 return Math.max(desiredPadding, mIntrinsicPadding); in clampPadding()