Home
last modified time | relevance | path

Searched refs:desiredPadding (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java73 int desiredPadding = 0; in testCase1() local
75 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() local
125 desiredPadding = boxInset; in testCase2()
164 .check(screenLeft(is(equalTo(parentLeft + desiredPadding)))) in testCase2()
165 .check(screenTop(is(equalTo(parentTop + desiredPadding)))) in testCase2()
[all …]
/frameworks/support/wear/src/android/support/wear/widget/
DWearableRecyclerView.java114 int desiredPadding = (int) ((getHeight() * 0.5f) - (height * 0.5f)); in setupCenteredPadding() local
116 if (getPaddingTop() != desiredPadding) { in setupCenteredPadding()
121 setPadding(getPaddingLeft(), desiredPadding, getPaddingRight(), desiredPadding); in setupCenteredPadding() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java2419 private int clampPadding(int desiredPadding) { in clampPadding() argument
2420 return Math.max(desiredPadding, mIntrinsicPadding); in clampPadding()