Home
last modified time | relevance | path

Searched refs:startMargin (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java68 int startMargin = layoutParams.getStartMargin(); in onMeasure() local
71 int childMeasuredWidth = currChild.getMeasuredWidth() + startMargin + endMargin; in onMeasure()
81 startMargin = 0; in onMeasure()
118 int startMargin = layoutParams.getStartMargin(); in onLayout() local
121 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout()
126 startMargin = 0; in onLayout()
130 x += childWidth + startMargin + endMargin; in onLayout()
147 int startMargin = layoutParams.getStartMargin(); in onLayout() local
150 if ((x + childWidth + startMargin + endMargin) > width) { in onLayout()
155 startMargin = 0; in onLayout()
[all …]
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java190 int startMargin = (int) (mTvViewPapStartMargin * factor); in startShrunkenTvView() local
192 setTvViewMargin(startMargin, endMargin); in startShrunkenTvView()
547 int startMargin; in updatePipView() local
565 startMargin = mResources.getDimensionPixelOffset(R.dimen.papview_margin_horizontal) in updatePipView()
604 startMargin = tvStartMargin + (int) (mPipViewHorizontalMargin * horizontalScaleFactor); in updatePipView()
628 if (lp.width != width || lp.height != height || lp.getMarginStart() != startMargin in updatePipView()
633 lp.setMarginStart(startMargin); in updatePipView()
819 int startMargin, int endMargin, int topMargin, int bottomMargin) { in createMarginLayoutParams() argument
821 lp.setMarginStart(startMargin); in createMarginLayoutParams()
825 lp.width = mWindowWidth - startMargin - endMargin; in createMarginLayoutParams()