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.java117 private int mPageContentHeight; field in PageAdapter
337 params.height = mPageContentHeight; in onBindViewHolder()
455 mPageContentHeight = Math.min(pageContentDesiredHeight, pageContentMaxHeight); in updatePreviewAreaPageSizeAndEmptyState()
456 mPageContentWidth = (int) ((mPageContentHeight * pageAspectRatio) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
463 final int totalContentHeight = rowCount * (mPageContentHeight + mFooterHeight + 2 in updatePreviewAreaPageSizeAndEmptyState()
467 if (mPageContentHeight + mFooterHeight + mPreviewListPadding in updatePreviewAreaPageSizeAndEmptyState()
470 (availableHeight - mPageContentHeight - mFooterHeight) / 2 in updatePreviewAreaPageSizeAndEmptyState()
485 MeasureSpec.makeMeasureSpec(mPageContentHeight, MeasureSpec.EXACTLY)); in updatePreviewAreaPageSizeAndEmptyState()
490 if (mPageContentHeight <= 0 || mPageContentWidth <= 0) { in updatePreviewAreaPageSizeAndEmptyState()
495 Bitmap loadingBitmap = Bitmap.createBitmap(mPageContentWidth, mPageContentHeight, in updatePreviewAreaPageSizeAndEmptyState()
[all …]