/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 100 int[] margins = null; in makeSingleLayout() local 102 margins = new int[mIndentLines + 1]; in makeSingleLayout() 104 margins[i] = mImageEndMargin; in makeSingleLayout() 108 builder.setIndents(margins, null); in makeSingleLayout() 110 builder.setIndents(null, margins); in makeSingleLayout()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 628 final Rect margins = mTempMargins; in measurePreview() local 629 margins.left = mPreviewImage.getPaddingLeft(); in measurePreview() 630 margins.top = mPreviewImage.getPaddingTop(); in measurePreview() 631 margins.right = mPreviewImage.getPaddingRight(); in measurePreview() 632 margins.bottom = mPreviewImage.getPaddingBottom(); in measurePreview() 635 measureFloating(v, margins, out); in measurePreview() 637 measureViewToSide(v, mThumbImage, margins, out); in measurePreview() 652 private void measureViewToSide(View view, View adjacent, Rect margins, Rect out) { in measureViewToSide() argument 656 if (margins == null) { in measureViewToSide() 661 marginLeft = margins.left; in measureViewToSide() [all …]
|
D | GridLayout.java | 725 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins(); in getMargin() local 729 return margins[index]; in getMargin() 1694 int[] margins = leading ? leadingMargins : trailingMargins; 1702 margins[index] = max(margins[index], getMargin1(c, horizontal, leading));
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 409 private void writeMargins(Margins margins, Parcel parcel) { in writeMargins() argument 410 if (margins == null) { in writeMargins() 414 margins.writeToParcel(parcel); in writeMargins() 534 public @NonNull Builder setMinMargins(@NonNull Margins margins) { in setMinMargins() argument 535 if (margins == null) { in setMinMargins() 538 mPrototype.mMinMargins = margins; in setMinMargins()
|
D | PrintAttributes.java | 182 public void setMinMargins(Margins margins) { in setMinMargins() argument 183 mMinMargins = margins; in setMinMargins() 1472 public @NonNull Builder setMinMargins(@NonNull Margins margins) { in setMinMargins() argument 1473 mAttributes.setMinMargins(margins); in setMinMargins()
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 190 @NonNull PrintAttributes.Margins margins) { in writeMargins() argument 192 proto.write("top_mils", MarginsProto.TOP_MILS, margins.getTopMils()); in writeMargins() 193 proto.write("left_mils", MarginsProto.LEFT_MILS, margins.getLeftMils()); in writeMargins() 194 proto.write("right_mils", MarginsProto.RIGHT_MILS, margins.getRightMils()); in writeMargins() 195 proto.write("bottom_mils", MarginsProto.BOTTOM_MILS, margins.getBottomMils()); in writeMargins()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintPreviewController.java | 300 Margins margins = (Margins) args.arg4; in handleMessage() local 305 mediaSize, margins); in handleMessage()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 1038 Margins margins = attributes.getMinMargins(); in doWriteStateLocked() local 1039 if (margins != null) { in doWriteStateLocked() 1042 margins.getLeftMils())); in doWriteStateLocked() 1044 margins.getTopMils())); in doWriteStateLocked() 1046 margins.getRightMils())); in doWriteStateLocked() 1048 margins.getBottomMils())); in doWriteStateLocked() 1311 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); in parsePrintJobLocked() local 1312 builder.setMinMargins(margins); in parsePrintJobLocked()
|
/frameworks/base/core/proto/android/service/ |
D | print.proto | 88 // Minimum margins of the printer
|