Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPageContentView.java41 private MediaSize mMediaSize; field in PageContentView
85 final boolean mediaSizeChanged = (mMediaSize == null) in init()
86 ? mediaSize != null : !mMediaSize.equals(mediaSize); in init()
97 mMediaSize = mediaSize; in init()
120 mMediaSize, mMinMargins), this); in requestPageContentIfNeeded()
/frameworks/base/core/java/android/print/
DPrintAttributes.java85 private @Nullable MediaSize mMediaSize; field in PrintAttributes
97 mMediaSize = (parcel.readInt() == 1) ? MediaSize.createFromParcel(parcel) : null; in PrintAttributes()
116 return mMediaSize; in getMediaSize()
127 mMediaSize = mediaSize; in setMediaSize()
223 return mMediaSize.isPortrait(); in isPortrait()
333 if (mMediaSize != null) { in writeToParcel()
335 mMediaSize.writeToParcel(parcel); in writeToParcel()
367 result = prime * result + ((mMediaSize == null) ? 0 : mMediaSize.hashCode()); in hashCode()
397 if (mMediaSize == null) { in equals()
398 if (other.mMediaSize != null) { in equals()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java111 private MediaSize mMediaSize; field in PageAdapter
238 if (mMediaSize == null || !mMediaSize.equals(mediaSize)) { in update()
239 mMediaSize = mediaSize; in update()
355 content.init(provider, mEmptyState, mErrorState, mMediaSize, mMinMargins); in onBindViewHolder()
417 if (mMediaSize != null) { in onPreviewAreaSizeChanged()
424 if (mMediaSize == null) { in updatePreviewAreaPageSizeAndEmptyState()
432 final float pageAspectRatio = (float) mMediaSize.getWidthMils() in updatePreviewAreaPageSizeAndEmptyState()
433 / mMediaSize.getHeightMils(); in updatePreviewAreaPageSizeAndEmptyState()
802 page.init(null, mEmptyState, mErrorState, mMediaSize, mMinMargins); in recyclePageView()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt44317 Landroid/print/PrintAttributes;->mMediaSize:Landroid/print/PrintAttributes$MediaSize;