Home
last modified time | relevance | path

Searched refs:startPadding (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java46 final int startPadding = UiUtils.getPaddingStart(this); in onMeasure() local
49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec) - startPadding - endPadding; in onMeasure()
57 int x = startPadding; in onMeasure()
79 x = startPadding; in onMeasure()
93 setMeasuredDimension(width + startPadding + endPadding, in onMeasure()
99 final int startPadding = UiUtils.getPaddingStart(this); in onLayout() local
101 int width = getWidth() - startPadding - endPadding; in onLayout()
103 int x = startPadding; in onLayout()
125 x = startPadding; in onLayout()
136 x = startPadding; in onLayout()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java504 int startPadding;
507 startPadding = mLogoPaddingStart;
511 startPadding = mLogoPaddingStart;
516 startPadding = mLogoPaddingStart + marginStart;
521 rect.left = startPadding;
522 rect.right = startPadding + scaledLogo.getWidth();
524 rect.right = result.getWidth() - startPadding;
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java492 int startPadding = Math.max(0, startOffset); in layoutVisibleArea() local
495 if (startPadding > 0 && width - startPadding < minWidth) { in layoutVisibleArea()
496 startPadding = Math.max(0, width - minWidth); in layoutVisibleArea()
502 if (startPadding + sItemPadding != getPaddingStart() in layoutVisibleArea()
505 setPaddingRelative(startPadding + sItemPadding, 0, endPadding + sItemPadding, 0); in layoutVisibleArea()
DProgramGuide.java751 int startPadding = res.getDimensionPixelOffset(R.dimen.program_guide_table_margin_start); in updateGuidePosition() local
762 mTable.setPaddingRelative(startPadding, topPadding, 0, 0); in updateGuidePosition()
767 mTable.setPaddingRelative(startPadding, topPadding, 0, bottomPadding); in updateGuidePosition()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DActionPresenterSelector.java107 final int startPadding = in onBindViewHolder() local
115 vh.view.setPaddingRelative(startPadding, 0, endPadding, 0); in onBindViewHolder()