/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 85 int[] margins = null; in makeSingleLayout() local 87 margins = new int[mIndentLines + 1]; in makeSingleLayout() 89 margins[i] = endMargin; in makeSingleLayout() 93 builder.setIndents(margins, null); in makeSingleLayout() 95 builder.setIndents(null, margins); in makeSingleLayout()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | widget_design.jd | 17 <li>As of Android 4.0, app widgets have margins automatically applied</li> 84 margins between the edges of the bounding box and the frame, and padding between the inner edges of 89 alt="Widgets generally have margins and padding between bounding box, frame, and controls" 92 <p class="img-caption"><strong>Figure 2.</strong> Widgets generally have margins between the 97 margins between the widget frame and the app widget's bounding box to provide better alignment with 122 <p>While the width and height of a cell—as well as the amount of automatic margins applied to 176 some text margins. Your minimum width should be the minimum usable widths of the 178 of 10 characters), plus any horizontal text margins.</p> 182 alt="Example sizes and margins for minimum width/height calculations" id="music_example_redline"> 184 <p class="img-caption"><strong>Figure 4.</strong> Example sizes and margins for [all …]
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 615 final Rect margins = mTempMargins; in measurePreview() local 616 margins.left = mPreviewImage.getPaddingLeft(); in measurePreview() 617 margins.top = mPreviewImage.getPaddingTop(); in measurePreview() 618 margins.right = mPreviewImage.getPaddingRight(); in measurePreview() 619 margins.bottom = mPreviewImage.getPaddingBottom(); in measurePreview() 622 measureFloating(v, margins, out); in measurePreview() 624 measureViewToSide(v, mThumbImage, margins, out); in measurePreview() 639 private void measureViewToSide(View view, View adjacent, Rect margins, Rect out) { in measureViewToSide() argument 643 if (margins == null) { in measureViewToSide() 648 marginLeft = margins.left; in measureViewToSide() [all …]
|
D | GridLayout.java | 687 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins(); in getMargin() local 691 return margins[index]; in getMargin() 1656 int[] margins = leading ? leadingMargins : trailingMargins; 1664 margins[index] = max(margins[index], getMargin1(c, horizontal, leading));
|
/frameworks/base/docs/html-intl/intl/zh-cn/design/style/ |
D | writing.jd | 21 <div class="layout-content-col span-6 layout-with-list-item-margins"> 44 <div class="layout-content-col span-6 layout-with-list-item-margins"> 104 <div class="layout-content-col span-6 layout-with-list-item-margins"> 127 <div class="layout-content-col span-6 layout-with-list-item-margins"> 150 <div class="layout-content-col span-6 layout-with-list-item-margins"> 182 <div class="layout-content-col span-6 layout-with-list-item-margins">
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 407 private void writeMargins(Margins margins, Parcel parcel) { in writeMargins() argument 408 if (margins == null) { in writeMargins() 412 margins.writeToParcel(parcel); in writeMargins() 532 public @NonNull Builder setMinMargins(@NonNull Margins margins) { in setMinMargins() argument 533 if (margins == null) { in setMinMargins() 536 mPrototype.mMinMargins = margins; in setMinMargins()
|
D | PrintAttributes.java | 178 public void setMinMargins(Margins margins) { in setMinMargins() argument 179 mMinMargins = margins; in setMinMargins() 1420 public @NonNull Builder setMinMargins(@NonNull Margins margins) { in setMinMargins() argument 1421 mAttributes.setMinMargins(margins); in setMinMargins()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 993 Margins margins = attributes.getMinMargins(); in doWriteStateLocked() local 994 if (margins != null) { in doWriteStateLocked() 997 margins.getLeftMils())); in doWriteStateLocked() 999 margins.getTopMils())); in doWriteStateLocked() 1001 margins.getRightMils())); in doWriteStateLocked() 1003 margins.getBottomMils())); in doWriteStateLocked() 1266 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); in parsePrintJob() local 1267 builder.setMinMargins(margins); in parsePrintJob()
|
/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/docs/html/training/tv/start/ |
D | layouts.jd | 108 <li>Add sufficient margins between layout controls to avoid a cluttered UI.</li> 160 <strong>Caution:</strong> Do not apply overscan margins to your layout if you are using the 162 widgets, as those layouts already incorporate overscan-safe margins.
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 678 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins(); in getMargin() local 682 return margins[index]; in getMargin() 1550 int[] margins = leading ? leadingMargins : trailingMargins; 1558 margins[index] = max(margins[index], getMargin1(c, horizontal, leading));
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | index.jd | 341 <h3 id="AddingMargins">Adding margins to App Widgets</h3> 343 …s and should not visually be flush with other widgets, so you should add margins on all sides arou… 347 …rite a single layout that has custom margins applied for earlier versions of the platform, and has… 351 …cRoot}guide/topics/resources/more-resources.html#Dimension">dimension resource</a> for its margins: 371 …s, one in <code>res/values/</code> to provide the pre-Android 4.0 custom margins, and one in <code… 381 …margins into your <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">nine-patch…
|
/frameworks/base/docs/html-intl/intl/ja/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html/design/tv/ |
D | style.jd | 42 <li>Avoid a cluttered interface by adding sufficient margins between layout controls.</li>
|
/frameworks/base/docs/html-intl/intl/ko/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/ru/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | cards.jd | 198 on round and square devices, using wider side margins on round screens. However,
|
/frameworks/base/docs/html-intl/intl/id/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/in/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/es/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html-intl/intl/pt-br/training/material/ |
D | lists-cards.jd | 170 // set the view's size, margins, paddings and layout parameters
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | declaring-layout.jd | 205 LayoutParams also include optional margins and borders. <p> 291 margins. However, view groups provide such a support. Refer to
|