Home
last modified time | relevance | path

Searched refs:mNumAppsPerRow (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java76 private int mNumAppsPerRow; field in AllAppsContainerView
252 if (mNumAppsPerRow != grid.inv.numColumns || in onMeasure()
254 mNumAppsPerRow = grid.inv.numColumns; in onMeasure()
257 mAppsRecyclerView.setNumAppsPerRow(grid, mNumAppsPerRow); in onMeasure()
258 mAdapter.setNumAppsPerRow(mNumAppsPerRow); in onMeasure()
259 mApps.setNumAppsPerRow(mNumAppsPerRow, mNumPredictedAppsPerRow); in onMeasure()
DAllAppsRecyclerView.java53 private int mNumAppsPerRow; field in AllAppsRecyclerView
138 mNumAppsPerRow = numAppsPerRow; in setNumAppsPerRow()
145 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ICON, approxRows * mNumAppsPerRow); in setNumAppsPerRow()
146 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_PREDICTION_ICON, mNumAppsPerRow); in setNumAppsPerRow()
366 if (items.isEmpty() || mNumAppsPerRow == 0) { in onUpdateScrollbar()
438 if (items.isEmpty() || mNumAppsPerRow == 0 || getChildCount() == 0) { in getCurrentScrollY()
DAlphabeticalAppsList.java188 private int mNumAppsPerRow; field in AlphabeticalAppsList
202 mNumAppsPerRow = numAppsPerRow; in setNumAppsPerRow()
562 if (mNumAppsPerRow != 0) { in refillAdapterItems()
573 if (numAppsInSection % mNumAppsPerRow == 0) { in refillAdapterItems()
596 float subRowFraction = item.rowAppIndex * (rowFraction / mNumAppsPerRow); in refillAdapterItems()