Home
last modified time | relevance | path

Searched refs:endMargin (Results 1 – 2 of 2) 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/TV/src/com/android/tv/ui/
DTvViewUiManager.java191 int endMargin = (int) (mTvViewPapEndMargin * factor + sidePanelWidth); in startShrunkenTvView() local
192 setTvViewMargin(startMargin, endMargin); in startShrunkenTvView()
548 int endMargin; in updatePipView() local
567 endMargin = 0; in updatePipView()
605 endMargin = tvEndMargin + (int) (mPipViewHorizontalMargin * horizontalScaleFactor); in updatePipView()
629 || lp.getMarginEnd() != endMargin || lp.topMargin != topMargin in updatePipView()
634 lp.setMarginEnd(endMargin); in updatePipView()
819 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument
822 lp.setMarginEnd(endMargin); in createMarginLayoutParams()
825 lp.width = mWindowWidth - startMargin - endMargin; in createMarginLayoutParams()