/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | ImageBuffersForRenderScript.java | 32 public ImageBuffersForRenderScript(Bitmap inImage, int margin, argument 41 paddedMargin = margin; 42 imageWidthPadded = inputImage.getWidth() + 2 * margin; 43 imageHeightPadded = inputImage.getHeight() + 2 * margin;
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 17 margin: 10px 2px; 25 margin-top: 1.75em; 41 margin-right: 15px; 60 margin-top: 2px; 64 margin-top: 0px; 68 margin-bottom: 0px; 72 margin-bottom: 4px; 76 margin-bottom: 2px; 107 margin-right: 15px; 159 margin [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 155 * are on the same x location, with respect to the specified margin. 159 * @param margin The margin between the first view and the second view 161 static public void assertRightAligned(View first, View second, int margin) { argument 169 assertEquals("views are not right aligned", Math.abs(firstRight - secondRight), margin); 192 * are on the same x location, with respect to the specified margin. 196 * @param margin The margin between the first view and the second view 198 static public void assertLeftAligned(View first, View second, int margin) { argument 206 assertEquals("views are not left aligned", Math.abs(firstLeft - secondLeft), margin); 235 assertBottomAligned(View first, View second, int margin) argument 272 assertTopAligned(View first, View second, int margin) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 66 final int margin = mAddMargins ? 11 : 0; 86 layoutParams.leftMargin = margin; 87 layoutParams.rightMargin = margin; 90 layoutParams.topMargin = margin; 91 layoutParams.bottomMargin = margin;
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | ReplacementDrawableSpan.java | 24 public void setExtraMargin(float margin) { argument 25 mExtraMargin = margin;
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
H A D | ImageBuffersForRenderScriptF32.java | 41 public ImageBuffersForRenderScriptF32(Bitmap image, int margin, argument 43 super(image, margin, renderScript);
|
H A D | RefocusFilterF32.java | 52 int margin = KernelDataForRenderScript.getMaxKernelRadius() + 1; 53 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin,
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
H A D | ImageBuffersForRenderScriptd1new.java | 48 public ImageBuffersForRenderScriptd1new(Bitmap image, int margin, argument 50 super(image, margin, renderScript);
|
H A D | RefocusFilterd1new.java | 53 int margin = KernelDataForRenderScript.getMaxKernelRadius() + 1; 54 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsPresenter.java | 131 int margin = getControlIconWidth(context); 133 margin += getChildMarginBiggest(context); 135 margin += getChildMarginBigger(context); 137 margin += getChildMarginDefault(context); 139 return margin;
|
H A D | BaseGridView.java | 429 * Sets the margin in pixels between two child items. 431 public void setItemMargin(int margin) { argument 432 mLayoutManager.setItemMargin(margin); 437 * Sets the margin in pixels between two child items vertically. 439 public void setVerticalMargin(int margin) { argument 440 mLayoutManager.setVerticalMargin(margin); 445 * Returns the margin in pixels between two child items vertically. 452 * Sets the margin in pixels between two child items horizontally. 454 public void setHorizontalMargin(int margin) { argument 455 mLayoutManager.setHorizontalMargin(margin); [all...] |
H A D | Grid.java | 137 * Sets the margin between items in a row 139 public final void setMargin(int margin) { argument 140 mMargin = margin;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 113 public void setBadgeMargin(float margin) { argument 114 mDrawable.setBadgeMargin(margin);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 700 final int margin = lp.leftMargin + lp.rightMargin; 701 final int measuredWidth = child.getMeasuredWidth() + margin; 713 matchWidthLocally ? margin : measuredWidth); 716 matchWidthLocally ? margin : measuredWidth); 819 final int margin = lp.leftMargin + lp.rightMargin; 820 final int measuredWidth = child.getMeasuredWidth() + margin; 827 matchWidthLocally ? margin : measuredWidth); 1049 final int margin = lp.topMargin + lp.bottomMargin; 1050 final int childHeight = child.getMeasuredHeight() + margin; 1078 matchHeightLocally ? margin [all...] |
H A D | Toolbar.java | 374 * Sets the title margin. 376 * @param start the starting title margin in pixels 377 * @param top the top title margin in pixels 378 * @param end the ending title margin in pixels 379 * @param bottom the bottom title margin in pixels 396 * @return the starting title margin in pixels 405 * Sets the starting title margin in pixels. 407 * @param margin the starting title margin in pixels 411 public void setTitleMarginStart(int margin) { argument 433 setTitleMarginTop(int margin) argument 455 setTitleMarginEnd(int margin) argument 477 setTitleMarginBottom(int margin) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 315 // Draw all leading margin spans. Adjust left or right according 333 LeadingMarginSpan margin = (LeadingMarginSpan) spans[n]; 335 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, 338 right -= margin.getLeadingMargin(useFirstLineMargin); 340 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, 343 left += margin.getLeadingMargin(useFirstLineMargin); 515 * @param left the left bounds (0, or leading margin if ltr para) 516 * @param right the right bounds (width, minus leading margin if rtl para) 1019 * leading margin indent, but excluding trailing whitespace. 1022 float margin [all...] |
H A D | Html.java | 364 String margin = null; 368 margin = "margin-top:0; margin-bottom:0;"; 390 if (margin == null && textAlign == null) { 395 if (margin != null && textAlign != null) { 396 style.append(margin).append(" ").append(textAlign); 397 } else if (margin != null) { 398 style.append(margin); 966 private static void startBlockElement(Editable text, Attributes attributes, int margin) { argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 881 * @param start the starting title margin in pixels 882 * @param top the top title margin in pixels 883 * @param end the ending title margin in pixels 884 * @param bottom the bottom title margin in pixels 901 * @return the starting expanded title margin in pixels 911 * Sets the starting expanded title margin in pixels. 913 * @param margin the starting title margin in pixels 917 public void setExpandedTitleMarginStart(int margin) { argument 918 mExpandedMarginStart = margin; 938 setExpandedTitleMarginTop(int margin) argument 959 setExpandedTitleMarginEnd(int margin) argument 980 setExpandedTitleMarginBottom(int margin) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 807 final int margin = lp.leftMargin + lp.rightMargin; 808 final int measuredWidth = child.getMeasuredWidth() + margin; 819 matchWidthLocally ? margin : measuredWidth); 822 matchWidthLocally ? margin : measuredWidth); 918 final int margin = lp.leftMargin + lp.rightMargin; 919 final int measuredWidth = child.getMeasuredWidth() + margin; 926 matchWidthLocally ? margin : measuredWidth); 1152 final int margin = lp.topMargin + lp.bottomMargin; 1153 final int childHeight = child.getMeasuredHeight() + margin; 1180 matchHeightLocally ? margin [all...] |
H A D | Toolbar.java | 361 * Sets the title margin. 363 * @param start the starting title margin in pixels 364 * @param top the top title margin in pixels 365 * @param end the ending title margin in pixels 366 * @param bottom the bottom title margin in pixels 383 * @return the starting title margin in pixels 392 * Sets the starting title margin in pixels. 394 * @param margin the starting title margin in pixels 398 public void setTitleMarginStart(int margin) { argument 420 setTitleMarginTop(int margin) argument 442 setTitleMarginEnd(int margin) argument 464 setTitleMarginBottom(int margin) argument [all...] |
H A D | GridLayout.java | 676 int margin = horizontal ? 679 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 2092 * Copy constructor. Clones the width, height, margin values, row spec, 2133 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); 2135 this.leftMargin = a.getDimensionPixelSize(LEFT_MARGIN, margin); 2136 this.topMargin = a.getDimensionPixelSize(TOP_MARGIN, margin); 2137 this.rightMargin = a.getDimensionPixelSize(RIGHT_MARGIN, margin); 2138 this.bottomMargin = a.getDimensionPixelSize(BOTTOM_MARGIN, margin);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 164 public final void setMarginAbove(int col, int margin) { argument 165 if (mMargins == null && margin == 0) { 169 mMargins[col * 2] = margin; 172 public final void setMarginBelow(int col, int margin) { argument 173 if (mMargins == null && margin == 0) { 177 mMargins[col * 2 + 1] = margin; 222 * among all columns, respecting the item margin between columns. 255 * Set the margin between items in pixels. This margin is applied
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | FloatingToolbar.java | 608 final int margin = 2 * mMarginVertical; 609 final int toolbarHeightWithVerticalMargin = getLineHeight(mContext) + margin; 630 calculateOverflowHeight(MIN_OVERFLOW_SIZE) + margin; 639 updateOverflowHeight(availableHeightAboveContent - margin); 647 updateOverflowHeight(availableHeightThroughContentDown - margin); 653 updateOverflowHeight(availableHeightBelowContent - margin); 661 updateOverflowHeight(availableHeightThroughContentUp - margin); 668 updateOverflowHeight(mViewPortOnScreen.height() - margin);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | UserIconDrawable.java | 176 public void setBadgeMargin(float margin) { argument 177 mBadgeMargin = margin;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 663 int margin = horizontal ? 666 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 1986 * Copy constructor. Clones the width, height, margin values, row spec, 2027 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); 2029 this.leftMargin = a.getDimensionPixelSize(LEFT_MARGIN, margin); 2030 this.topMargin = a.getDimensionPixelSize(TOP_MARGIN, margin); 2031 this.rightMargin = a.getDimensionPixelSize(RIGHT_MARGIN, margin); 2032 this.bottomMargin = a.getDimensionPixelSize(BOTTOM_MARGIN, margin);
|