Searched refs:mWidgetCountX (Results 1 – 2 of 2) sorted by relevance
178 private int mWidgetCountX, mWidgetCountY; field in AppsCustomizePagedView225 mWidgetCountX = a.getInt(R.styleable.AppsCustomizePagedView_widgetCountX, 2); in AppsCustomizePagedView()292 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getMiddleComponentIndexOnCurrentPage()322 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getPageForComponent()335 (float) (mWidgetCountX * mWidgetCountY)); in updatePageCounts()1103 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in syncWidgetPageItems()1110 final int cellWidth = contentWidth / mWidgetCountX; in syncWidgetPageItems()1160 int ix = i % mWidgetCountX; in syncWidgetPageItems()1161 int iy = i / mWidgetCountX; in syncWidgetPageItems()1167 if (ix < mWidgetCountX - 1) { in syncWidgetPageItems()[all …]
191 private int mWidgetCountX, mWidgetCountY; field in AppsCustomizePagedView267 mWidgetCountX = a.getInt(R.styleable.AppsCustomizePagedView_widgetCountX, 2); in AppsCustomizePagedView()311 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getMiddleComponentIndexOnCurrentPage()339 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getPageForComponent()352 (float) (mWidgetCountX * mWidgetCountY)); in updatePageCounts()1167 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in syncWidgetPageItems()1173 - ((mWidgetCountX - 1) * mWidgetWidthGap)) / mWidgetCountX); in syncWidgetPageItems()1224 int ix = i % mWidgetCountX; in syncWidgetPageItems()1225 int iy = i / mWidgetCountX; in syncWidgetPageItems()1264 maxPreviewWidth, maxPreviewHeight, mWidgetCountX); in syncWidgetPageItems()[all …]