/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 46 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/Launcher3/src/com/android/launcher3/responsive/ |
D | ResponsiveSpec.kt | 56 val startPadding: SizeSpec, constant in com.android.launcher3.responsive.ResponsiveSpec 79 startPadding = specs.getOrError(SizeSpec.XmlTags.START_PADDING), 88 (startPadding.matchWorkspace || in isValid() 127 return startPadding.isValid() && in allSpecsAreValid() 135 startPadding.ofRemainderSpace + in isValidRemainderSpace() 143 return startPadding.ofAvailableSpace + in isValidAvailableSpace() 150 return startPadding.fixedSize + in isValidFixedSize() 221 spec.startPadding.getCalculatedValue( 241 startPaddingPx = spec.startPadding.getCalculatedValue(availableSpace) 256 startPaddingPx = spec.startPadding.getRemainderSpaceValue(remainderSpace, startPaddingPx) in isResponsiveSpecType()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/ |
D | ResponsiveSpecsProviderTest.kt | 83 startPadding = SizeSpec(1f.dpToPx()), in <lambda>() 96 startPadding = SizeSpec(2f.dpToPx()), in <lambda>() 181 startPadding = SizeSpec(22f.dpToPx()), in <lambda>() 194 startPadding = SizeSpec(0f), in <lambda>() 203 startPadding = SizeSpec(0f), in <lambda>() 212 startPadding = SizeSpec(8f.dpToPx()), in <lambda>() 230 startPadding = SizeSpec(0f.dpToPx()), in <lambda>() 239 startPadding = SizeSpec(16f.dpToPx()), in <lambda>() 248 startPadding = SizeSpec(36f.dpToPx()), in <lambda>() 261 startPadding = SizeSpec(0f), in <lambda>() [all …]
|
D | FolderSpecTest.kt | 57 startPadding = sizeSpec16, in parseValidFile() 66 startPadding = sizeSpec16, in parseValidFile() 78 startPadding = SizeSpec(24f.dpToPx()), in parseValidFile() 126 startPadding = SizeSpec(fixedSize = 10f), in parseInvalidFile_missingWidthBreakpoint_throwsError() 155 startPadding = SizeSpec(fixedSize = 10f), in parseInvalidFile_missingHeightBreakpoint_throwsError() 184 startPadding = SizeSpec(fixedSize = 10f), in retrievesCalculatedWidthSpec() 221 startPadding = SizeSpec(fixedSize = 10f), in retrievesCalculatedWidthSpec_invalidCalculatedResponsiveSpecType_throwsError() 250 startPadding = SizeSpec(fixedSize = 10f), in retrievesCalculatedHeightSpec() 287 startPadding = SizeSpec(fixedSize = 10f), in retrievesCalculatedHeightSpec_invalidCalculatedResponsiveSpecType_throwsError()
|
/packages/apps/Settings/src/com/android/settings/dream/ |
D | GridSpacingItemDecoration.java | 54 final int startPadding = column * mSpacing / spanCount; in getItemOffsets() local 57 outRect.left = mRtl ? endPadding : startPadding; in getItemOffsets() 58 outRect.right = mRtl ? startPadding : endPadding; in getItemOffsets()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/view/ |
D | RecentsRecyclerViewTest.java | 162 int startPadding = mRecentsRecyclerView.calculateFirstItemPadding(WINDOW_WIDTH); in resetPadding_setsStartPadding_toStart_noReverseLayout_noRTL() local 165 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toStart_noReverseLayout_noRTL() 186 int startPadding = mRecentsRecyclerView.calculateFirstItemPadding(WINDOW_WIDTH); in resetPadding_setsStartPadding_toEnd_noReverseLayout_RTL() local 189 assertThat(mRecentsRecyclerView.getPaddingEnd()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toEnd_noReverseLayout_RTL() 210 int startPadding = mRecentsRecyclerView.calculateFirstItemPadding(WINDOW_WIDTH); in resetPadding_setsStartPadding_toEnd_reverseLayout_noRTL() local 213 assertThat(mRecentsRecyclerView.getPaddingEnd()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toEnd_reverseLayout_noRTL() 234 int startPadding = mRecentsRecyclerView.calculateFirstItemPadding(WINDOW_WIDTH); in resetPadding_setsStartPadding_toStart_reverseLayout_RTL() local 237 assertThat(mRecentsRecyclerView.getPaddingStart()).isEqualTo(startPadding); in resetPadding_setsStartPadding_toStart_reverseLayout_RTL()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 505 int startPadding; 508 startPadding = mLogoPaddingStart; 512 startPadding = mLogoPaddingStart; 517 startPadding = mLogoPaddingStart + marginStart; 522 rect.left = startPadding; 523 rect.right = startPadding + scaledLogo.getWidth(); 525 rect.right = result.getWidth() - startPadding;
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramItemView.java | 492 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()
|
D | ProgramGuide.java | 751 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/ |
D | ActionPresenterSelector.java | 107 final int startPadding = in onBindViewHolder() local 115 vh.view.setPaddingRelative(startPadding, 0, endPadding, 0); in onBindViewHolder()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment2.kt | 900 var startPadding = view.paddingStart in <lambda>() variable 902 startPadding += edgePadding in <lambda>() 906 startPadding, in <lambda>() 913 startPadding, in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 636 int startPadding = getResources() 644 int textButtonWidth = textSize.width() + startPadding + endPadding + drawableWidth 657 mWidgetAddButton.setPaddingRelative(/* start= */ startPadding, /* top= */ 0,
|