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 * @return The margins or <code>null</code> if not set.
116 * Sets the minimal margins. If the content does not fit
117 * these margins it will be clipped.
119 * @param The margins.
123 public void setMinMargins(Margins margins) { argument
124 mMinMargins = margins;
1035 * This class specifies content margins. Margins define the white space
1212 * Sets the minimal margins
1218 setMinMargins(Margins margins) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFastScroller.java127 * Padding in pixels around the preview text. Applied as layout margins to
558 // Apply the preview image's padding as layout margins.
559 final Rect margins = mTempMargins;
560 margins.left = mPreviewImage.getPaddingLeft();
561 margins.top = mPreviewImage.getPaddingTop();
562 margins.right = mPreviewImage.getPaddingRight();
563 margins.bottom = mPreviewImage.getPaddingBottom();
566 measureViewToSide(v, mThumbImage, margins, out);
568 measureFloating(v, margins, out);
580 * @param margins Layou
583 measureViewToSide(View view, View adjacent, Rect margins, Rect out) argument
631 measureFloating(View preview, Rect margins, Rect out) argument
[all...]

Completed in 315 milliseconds