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

/frameworks/base/core/java/android/print/
H A DPrinterCapabilitiesInfo.java36 * minimal margins of the printer based on its technical design,
135 * Gets the minimal margins. These are the minimal margins
138 * @return The minimal margins.
336 private void writeMargins(Margins margins, Parcel parcel) { argument
337 if (margins == null) {
341 margins.writeToParcel(parcel);
447 * Sets the minimal margins. These are the minimal margins
454 * @param margins Th
461 setMinMargins(Margins margins) argument
[all...]
H A DPrintAttributes.java106 * Gets the minimal margins. If the content does not fit
107 * these margins it will be clipped.
109 * <strong>These margins are physically imposed by the printer and they
116 * @return The margins or <code>null</code> if not set.
123 * Sets the minimal margins. If the content does not fit
124 * these margins it will be clipped.
126 * <strong>These margins are physically imposed by the printer and they
133 * @param The margins.
137 public void setMinMargins(Margins margins) { argument
138 mMinMargins = margins;
1319 setMinMargins(Margins margins) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFastScroller.java113 * Padding in pixels around the preview text. Applied as layout margins to
601 // Apply the preview image's padding as layout margins.
602 final Rect margins = mTempMargins;
603 margins.left = mPreviewImage.getPaddingLeft();
604 margins.top = mPreviewImage.getPaddingTop();
605 margins.right = mPreviewImage.getPaddingRight();
606 margins.bottom = mPreviewImage.getPaddingBottom();
609 measureFloating(v, margins, out);
611 measureViewToSide(v, mThumbImage, margins, out);
623 * @param margins Layou
626 measureViewToSide(View view, View adjacent, Rect margins, Rect out) argument
674 measureFloating(View preview, Rect margins, Rect out) argument
[all...]

Completed in 580 milliseconds