Home
last modified time | relevance | path

Searched refs:topPadding (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/design/src/android/support/design/internal/
DSnackbarContentLayout.java121 private static void updateTopBottomPadding(View view, int topPadding, int bottomPadding) { in updateTopBottomPadding() argument
124 ViewCompat.getPaddingStart(view), topPadding, in updateTopBottomPadding()
127 view.setPadding(view.getPaddingLeft(), topPadding, in updateTopBottomPadding() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DAmbientState.java193 public void setTopPadding(int topPadding) { in setTopPadding() argument
194 mTopPadding = topPadding; in setTopPadding()
DNotificationStackScrollLayout.java710 private void setTopPadding(int topPadding, boolean animate) { in setTopPadding() argument
711 if (mTopPadding != topPadding) { in setTopPadding()
712 mTopPadding = topPadding; in setTopPadding()
2375 int topPadding = (int) qsHeight; in updateTopPadding() local
2377 if (topPadding + minStackHeight > getHeight()) { in updateTopPadding()
2378 mTopPaddingOverflow = topPadding + minStackHeight - getHeight(); in updateTopPadding()
2382 setTopPadding(ignoreIntrinsicPadding ? topPadding : clampPadding(topPadding), in updateTopPadding()
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java194 public Params addPaddingToScrollView(int topPadding, int bottomPadding) { in addPaddingToScrollView() argument
195 mTopPadding = topPadding; in addPaddingToScrollView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java1107 int topPadding = 0;
1109 topPadding += view.getTop();
1112 return topPadding;
1115 return topPadding;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java1431 final int topPadding = 2; in testScrollSecondaryCannotScroll() local
1435 final int rowHeight = (height - topPadding - bottomPadding) / 4 - spacing; in testScrollSecondaryCannotScroll()
1442 horizontalGridView.setPadding(0, topPadding, 0, bottomPadding); in testScrollSecondaryCannotScroll()
1452 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(0).itemView in testScrollSecondaryCannotScroll()
1458 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(300).itemView in testScrollSecondaryCannotScroll()
1474 final int topPadding = 2; in testScrollSecondaryNeedScroll() local
1478 final int rowHeight = (height - topPadding - bottomPadding) / 4 - spacing; in testScrollSecondaryNeedScroll()
1485 horizontalGridView.setPadding(0, topPadding, 0, bottomPadding); in testScrollSecondaryNeedScroll()
1495 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(0).itemView.getTop()); in testScrollSecondaryNeedScroll()
1513 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(0).itemView.getTop()); in testScrollSecondaryNeedScroll()
/frameworks/base/core/java/android/view/
DView.java4680 int topPadding = -1;
4755 topPadding = a.getDimensionPixelSize(attr, -1);
5210 topPadding = padding;
5223 topPadding = paddingVertical;
5262 topPadding >= 0 ? topPadding : mPaddingTop,