Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DPageIndicator.java78 public void onDimensionsUpdated(PageDimensions pageDimens, GridDimensions gridDimens) { in onDimensionsUpdated() argument
80 indicatorContainerParams.width = pageDimens.pageIndicatorWidthPx; in onDimensionsUpdated()
81 indicatorContainerParams.height = pageDimens.pageIndicatorHeightPx; in onDimensionsUpdated()
83 ? (float) gridDimens.gridWidthPx / pageDimens.windowWidthPx in onDimensionsUpdated()
84 : (float) gridDimens.gridHeightPx / pageDimens.windowHeightPx; in onDimensionsUpdated()
DAppGridRecyclerView.java129 public void onDimensionsUpdated(PageDimensions pageDimens, GridDimensions gridDimens) { in onDimensionsUpdated() argument
131 layoutParams.width = pageDimens.recyclerViewWidthPx; in onDimensionsUpdated()
132 layoutParams.height = pageDimens.recyclerViewHeightPx; in onDimensionsUpdated()
143 mPageMarginDecoration = new PageMarginDecoration(pageDimens.marginHorizontalPx, in onDimensionsUpdated()
144 pageDimens.marginVerticalPx, new PageIndexingHelper(mNumOfCols, mNumOfRows, in onDimensionsUpdated()
DAppGridActivity.java442 public void onDimensionsUpdated(PageMeasurementHelper.PageDimensions pageDimens, in onDimensionsUpdated() argument
445 mAppGridMarginHorizontal = pageDimens.marginHorizontalPx; in onDimensionsUpdated()
446 mAppGridMarginVertical = pageDimens.marginVerticalPx; in onDimensionsUpdated()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/
DPaginationController.java76 public void notifyDimensionsUpdated(PageDimensions pageDimens, GridDimensions gridDimens) { in notifyDimensionsUpdated() argument
78 listener.onDimensionsUpdated(pageDimens, gridDimens); in notifyDimensionsUpdated()
93 void onDimensionsUpdated(PageDimensions pageDimens, GridDimensions gridDimens); in onDimensionsUpdated() argument