Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java116 private int mPageContentWidth; field in PageAdapter
336 params.width = mPageContentWidth; in onBindViewHolder()
456 mPageContentWidth = (int) ((mPageContentHeight * pageAspectRatio) + 0.5f); in updatePreviewAreaPageSizeAndEmptyState()
458 final int totalContentWidth = columnCount * mPageContentWidth + horizontalMargins; in updatePreviewAreaPageSizeAndEmptyState()
484 loadingContent.measure(MeasureSpec.makeMeasureSpec(mPageContentWidth, MeasureSpec.EXACTLY), in updatePreviewAreaPageSizeAndEmptyState()
490 if (mPageContentHeight <= 0 || mPageContentWidth <= 0) { in updatePreviewAreaPageSizeAndEmptyState()
495 Bitmap loadingBitmap = Bitmap.createBitmap(mPageContentWidth, mPageContentHeight, in updatePreviewAreaPageSizeAndEmptyState()
506 errorContent.measure(MeasureSpec.makeMeasureSpec(mPageContentWidth, MeasureSpec.EXACTLY), in updatePreviewAreaPageSizeAndEmptyState()
511 Bitmap errorBitmap = Bitmap.createBitmap(mPageContentWidth, mPageContentHeight, in updatePreviewAreaPageSizeAndEmptyState()