Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java114 private int mPageContentHeight; field in PageAdapter
327 params.height = mPageContentHeight; in onBindViewHolder()
436 mPageContentHeight = Math.min(pageContentDesiredHeight, pageContentMaxHeight); in updatePreviewAreaPageSizeAndEmptyState()
437 mPageContentWidth = (int) ((mPageContentHeight * pageAspectRatio) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
444 final int totalContentHeight = rowCount * (mPageContentHeight + mFooterHeight + 2 in updatePreviewAreaPageSizeAndEmptyState()
448 if (mPageContentHeight + mFooterHeight + mPreviewListPadding in updatePreviewAreaPageSizeAndEmptyState()
451 (availableHeight - mPageContentHeight - mFooterHeight) / 2 in updatePreviewAreaPageSizeAndEmptyState()
466 MeasureSpec.makeMeasureSpec(mPageContentHeight, MeasureSpec.EXACTLY)); in updatePreviewAreaPageSizeAndEmptyState()
470 Bitmap loadingBitmap = Bitmap.createBitmap(mPageContentWidth, mPageContentHeight, in updatePreviewAreaPageSizeAndEmptyState()
482 MeasureSpec.makeMeasureSpec(mPageContentHeight, MeasureSpec.EXACTLY)); in updatePreviewAreaPageSizeAndEmptyState()
[all …]