Home
last modified time | relevance | path

Searched refs:endMargin (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java69 int endMargin = layoutParams.getEndMargin(); in onMeasure() local
71 int childMeasuredWidth = currChild.getMeasuredWidth() + startMargin + endMargin; in onMeasure()
119 int endMargin = layoutParams.getEndMargin(); in onLayout() local
121 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout()
130 x += childWidth + startMargin + endMargin; in onLayout()
148 int endMargin = layoutParams.getEndMargin(); in onLayout() local
150 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout()
184 x += childWidth + startMargin + endMargin; in onLayout()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java614 int endMargin = 0; in setNestedViewLayout() local
619 endMargin = mGutterSize; in setNestedViewLayout()
626 layoutParams.setMarginEnd(endMargin); in setNestedViewLayout()
629 layoutParams.width = super.getLayoutManager().getWidth() - startMargin - endMargin; in setNestedViewLayout()
635 mNestedRecyclerView.setClipToPadding(startMargin == 0 && endMargin == 0); in setNestedViewLayout()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DGridSpacingItemDecoration.java41 public GridSpacingItemDecoration(int spacing, int startMargin, int endMargin) { in GridSpacingItemDecoration() argument
44 this.mEndMargin = endMargin; in GridSpacingItemDecoration()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java608 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument
611 lp.setMarginEnd(endMargin); in createMarginLayoutParams()
614 lp.width = mWindowWidth - startMargin - endMargin; in createMarginLayoutParams()