Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java54 private Margins mMinMargins = DEFAULT_MARGINS; field in PrinterCapabilitiesInfo
84 mMinMargins = other.mMinMargins; in copyFrom()
141 return mMinMargins; in getMinMargins()
164 builder.setMinMargins(mMinMargins); in getDefaults()
185 mMinMargins = readMargins(parcel); in PrinterCapabilitiesInfo()
201 writeMargins(mMinMargins, parcel); in writeToParcel()
214 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); in hashCode()
234 if (mMinMargins == null) { in equals()
235 if (other.mMinMargins != null) { in equals()
238 } else if (!mMinMargins.equals(other.mMinMargins)) { in equals()
[all …]
DPrintAttributes.java50 private Margins mMinMargins; field in PrintAttributes
61 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in PrintAttributes()
119 return mMinMargins; in getMinMargins()
138 mMinMargins = margins; in setMinMargins()
269 if (mMinMargins != null) { in writeToParcel()
271 mMinMargins.writeToParcel(parcel); in writeToParcel()
288 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); in hashCode()
309 if (mMinMargins == null) { in equals()
310 if (other.mMinMargins != null) { in equals()
313 } else if (!mMinMargins.equals(other.mMinMargins)) { in equals()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPageContentView.java43 private Margins mMinMargins; field in PageContentView
76 final boolean marginsChanged = (mMinMargins == null) in init()
77 ? minMargins != null : !mMinMargins.equals(minMargins); in init()
86 mMinMargins = minMargins; in init()
105 mMediaSize, mMinMargins), this); in requestPageContentIfNeeded()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java106 private Margins mMinMargins; field in PageAdapter
236 if (mMinMargins == null || !mMinMargins.equals(minMargins)) { in update()
237 mMinMargins = minMargins; in update()
321 content.init(provider, mEmptyState, mMediaSize, mMinMargins); in onBindViewHolder()
723 page.init(null, mEmptyState, mMediaSize, mMinMargins); in recyclePageView()