Searched defs:margins (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/print/
H A DPrinterCapabilitiesInfo.java41 * minimal margins of the printer based on its technical design,
143 * Gets the minimal margins. These are the minimal margins
146 * @return The minimal margins.
407 private void writeMargins(Margins margins, Parcel parcel) { argument
408 if (margins == null) {
412 margins.writeToParcel(parcel);
518 * Sets the minimal margins. These are the minimal margins
525 * @param margins Th
532 setMinMargins(@onNull Margins margins) argument
[all...]
H A DPrintAttributes.java147 * Gets the minimal margins. If the content does not fit
148 * these margins it will be clipped.
150 * <strong>These margins are physically imposed by the printer and they
157 * @return The margins or <code>null</code> if not set.
164 * Sets the minimal margins. If the content does not fit
165 * these margins it will be clipped.
167 * <strong>These margins are physically imposed by the printer and they
174 * @param margins The margins.
178 public void setMinMargins(Margins margins) { argument
1420 setMinMargins(@onNull Margins margins) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFastScroller.java119 * Padding in pixels around the preview text. Applied as layout margins to
614 // Apply the preview image's padding as layout margins.
615 final Rect margins = mTempMargins;
616 margins.left = mPreviewImage.getPaddingLeft();
617 margins.top = mPreviewImage.getPaddingTop();
618 margins.right = mPreviewImage.getPaddingRight();
619 margins.bottom = mPreviewImage.getPaddingBottom();
622 measureFloating(v, margins, out);
624 measureViewToSide(v, mThumbImage, margins, out);
636 * @param margins Layou
639 measureViewToSide(View view, View adjacent, Rect margins, Rect out) argument
689 measureFloating(View preview, Rect margins, Rect out) argument
[all...]

Completed in 204 milliseconds