Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java60 private @NonNull Margins mMinMargins = DEFAULT_MARGINS; field in PrinterCapabilitiesInfo
91 mMinMargins = other.mMinMargins; in copyFrom()
149 return mMinMargins; in getMinMargins()
185 builder.setMinMargins(mMinMargins); in getDefaults()
226 mMinMargins = Preconditions.checkNotNull(readMargins(parcel)); in PrinterCapabilitiesInfo()
250 writeMargins(mMinMargins, parcel); in writeToParcel()
264 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); in hashCode()
285 if (mMinMargins == null) { in equals()
286 if (other.mMinMargins != null) { in equals()
289 } else if (!mMinMargins.equals(other.mMinMargins)) { in equals()
[all …]
DPrintAttributes.java83 private @Nullable Margins mMinMargins; field in PrintAttributes
95 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in PrintAttributes()
160 return mMinMargins; in getMinMargins()
179 mMinMargins = margins; in setMinMargins()
341 if (mMinMargins != null) { in writeToParcel()
343 mMinMargins.writeToParcel(parcel); in writeToParcel()
362 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); in hashCode()
386 if (mMinMargins == null) { in equals()
387 if (other.mMinMargins != null) { in equals()
390 } 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
87 final boolean marginsChanged = (mMinMargins == null) in init()
88 ? minMargins != null : !mMinMargins.equals(minMargins); in init()
98 mMinMargins = minMargins; in init()
120 mMediaSize, mMinMargins), this); in requestPageContentIfNeeded()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java109 private Margins mMinMargins; field in PageAdapter
243 if (mMinMargins == null || !mMinMargins.equals(minMargins)) { in update()
244 mMinMargins = minMargins; in update()
345 content.init(provider, mEmptyState, mErrorState, mMediaSize, mMinMargins); in onBindViewHolder()
774 page.init(null, mEmptyState, mErrorState, mMediaSize, mMinMargins); in recyclePageView()