/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | image_and_kernel.rsh | 6 // width-by-height is the dimension of a padded image with a margin. 10 // (width-2*margin)-by-(height-2*margin). 11 int margin; 17 image_size->margin = m;
|
D | ImageBuffersForRenderScript.java | 32 public ImageBuffersForRenderScript(Bitmap inImage, int margin, in ImageBuffersForRenderScript() argument 41 paddedMargin = margin; in ImageBuffersForRenderScript() 42 imageWidthPadded = inputImage.getWidth() + 2 * margin; in ImageBuffersForRenderScript() 43 imageHeightPadded = inputImage.getHeight() + 2 * margin; in ImageBuffersForRenderScript()
|
D | layered_filter_fast_f32.rscript | 95 // padded with margin. Initialize other fields. 99 x += g_image_size.margin; 100 y += g_image_size.margin; 135 x += g_image_size.margin; 136 y += g_image_size.margin; 207 x += g_image_size.margin; 208 y += g_image_size.margin; 231 x += g_image_size.margin; 232 y += g_image_size.margin; 257 y += g_image_size.margin; [all …]
|
D | layered_filter_fast_d1new.rscript | 35 // Float4 that stores the image size info: 1. width, 2. height, 3. margin 84 // padded with margin. Initialize other fields. 88 x += g_image_size_i4.s2; // margin 89 y += g_image_size_i4.s2; // margin 117 x += g_image_size_i4.s2; // margin 118 y += g_image_size_i4.s2; // margin 242 x += g_image_size_i4.s2; // margin 243 y += g_image_size_i4.s2; // margin 288 x += g_image_size_i4.s2; // margin 289 y += g_image_size_i4.s2; // margin [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsDrawable.java | 69 final int margin = (int) sensorRect.height() / 8; in onSensorRectUpdated() local 71 final Rect bounds = new Rect((int) sensorRect.left + margin, in onSensorRectUpdated() 72 (int) sensorRect.top + margin, in onSensorRectUpdated() 73 (int) sensorRect.right - margin, in onSensorRectUpdated() 74 (int) sensorRect.bottom - margin); in onSensorRectUpdated()
|
D | AuthPanelController.java | 151 final int margin = mUseFullScreen ? 0 : (int) mContext.getResources() in updateForContentDimensions() local 158 ValueAnimator marginAnimator = ValueAnimator.ofInt(mMargin, margin); in updateForContentDimensions() 190 mMargin = margin; in updateForContentDimensions()
|
/frameworks/base/test-runner/src/android/test/ |
D | ViewAsserts.java | 161 static public void assertRightAligned(View first, View second, int margin) { in assertRightAligned() argument 169 assertEquals("views are not right aligned", Math.abs(firstRight - secondRight), margin); in assertRightAligned() 198 static public void assertLeftAligned(View first, View second, int margin) { in assertLeftAligned() argument 206 assertEquals("views are not left aligned", Math.abs(firstLeft - secondLeft), margin); in assertLeftAligned() 235 static public void assertBottomAligned(View first, View second, int margin) { in assertBottomAligned() argument 243 assertEquals("views are not bottom aligned", Math.abs(firstBottom - secondBottom), margin); in assertBottomAligned() 272 static public void assertTopAligned(View first, View second, int margin) { in assertTopAligned() argument 280 assertEquals("views are not top aligned", Math.abs(firstTop - secondTop), margin); in assertTopAligned()
|
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/ |
D | stylesheet-jdiff.css | 5 table.diffspectable {border:1px;padding:0px;margin:0px;} 27 margin-top:.25em; 28 margin-bottom:0; 40 margin:1em 0 0 0;} 43 margin:0 0 0em 0;
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | stylesheet-jdiff.css | 5 table.diffspectable {border:1px;padding:0px;margin:0px;} 27 margin-top:.25em; 28 margin-bottom:0; 40 margin:1em 0 0 0;} 43 margin:0 0 0em 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | StructureAdapter.kt | 60 val margin = itemView.context.resources in setUpRecyclerView() constant 62 val itemDecorator = MarginItemDecorator(margin, margin) in setUpRecyclerView()
|
D | ControlsEditingActivity.kt | 195 val margin = resources in setUpList() constant 197 val itemDecorator = MarginItemDecorator(margin, margin) in setUpList()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
D | ImageBuffersForRenderScriptF32.java | 41 public ImageBuffersForRenderScriptF32(Bitmap image, int margin, in ImageBuffersForRenderScriptF32() argument 43 super(image, margin, renderScript); in ImageBuffersForRenderScriptF32()
|
D | RefocusFilterF32.java | 52 int margin = KernelDataForRenderScript.getMaxKernelRadius() + 1; in initializeScriptAndBuffers() local 53 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin, in initializeScriptAndBuffers()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | ReplacementDrawableSpan.java | 24 public void setExtraMargin(float margin) { in setExtraMargin() argument 25 mExtraMargin = margin; in setExtraMargin()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
D | ImageBuffersForRenderScriptd1new.java | 48 public ImageBuffersForRenderScriptd1new(Bitmap image, int margin, in ImageBuffersForRenderScriptd1new() argument 50 super(image, margin, renderScript); in ImageBuffersForRenderScriptd1new()
|
D | RefocusFilterd1new.java | 53 int margin = KernelDataForRenderScript.getMaxKernelRadius() + 1; in initializeScriptAndBuffers() local 54 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin, in initializeScriptAndBuffers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UserAvatarView.java | 111 public void setBadgeMargin(float margin) { in setBadgeMargin() argument 112 mDrawable.setBadgeMargin(margin); in setBadgeMargin()
|
D | KeyguardStatusBarView.java | 517 private int calculateMargin(int margin, int padding) { in calculateMargin() argument 518 if (padding >= margin) { in calculateMargin() 521 return margin - padding; in calculateMargin()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 356 String margin = null; in getTextStyles() local 360 margin = "margin-top:0; margin-bottom:0;"; in getTextStyles() 382 if (margin == null && textAlign == null) { in getTextStyles() 387 if (margin != null && textAlign != null) { in getTextStyles() 388 style.append(margin).append(" ").append(textAlign); in getTextStyles() 389 } else if (margin != null) { in getTextStyles() 390 style.append(margin); in getTextStyles() 959 private static void startBlockElement(Editable text, Attributes attributes, int margin) { in startBlockElement() argument 961 if (margin > 0) { in startBlockElement() 962 appendNewlines(text, margin); in startBlockElement() [all …]
|
D | Layout.java | 376 LeadingMarginSpan margin = (LeadingMarginSpan) spans[n]; in getJustifyWidth() local 378 right -= margin.getLeadingMargin(useFirstLineMargin); in getJustifyWidth() 380 left += margin.getLeadingMargin(useFirstLineMargin); in getJustifyWidth() 502 LeadingMarginSpan margin = (LeadingMarginSpan) spans[n]; in drawText() local 504 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, in drawText() 507 right -= margin.getLeadingMargin(useFirstLineMargin); in drawText() 509 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, in drawText() 512 left += margin.getLeadingMargin(useFirstLineMargin); in drawText() 1389 float margin = getParagraphLeadingMargin(line); in getLineMax() local 1391 return margin + (signedExtent >= 0 ? signedExtent : -signedExtent); in getLineMax() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 891 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() local 892 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() 903 matchWidthLocally ? margin : measuredWidth); in measureVertical() 906 matchWidthLocally ? margin : measuredWidth); in measureVertical() 1002 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() local 1003 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() 1010 matchWidthLocally ? margin : measuredWidth); in measureVertical() 1239 final int margin = lp.topMargin + lp.bottomMargin; in measureHorizontal() local 1240 final int childHeight = child.getMeasuredHeight() + margin; in measureHorizontal() 1267 matchHeightLocally ? margin : childHeight); in measureHorizontal() [all …]
|
D | Toolbar.java | 433 public void setTitleMarginStart(int margin) { in setTitleMarginStart() argument 434 mTitleMarginStart = margin; in setTitleMarginStart() 456 public void setTitleMarginTop(int margin) { in setTitleMarginTop() argument 457 mTitleMarginTop = margin; in setTitleMarginTop() 479 public void setTitleMarginEnd(int margin) { in setTitleMarginEnd() argument 480 mTitleMarginEnd = margin; in setTitleMarginEnd() 502 public void setTitleMarginBottom(int margin) { in setTitleMarginBottom() argument 503 mTitleMarginBottom = margin; in setTitleMarginBottom()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FloatingToolbar.java | 694 final int margin = 2 * mMarginVertical; in refreshCoordinatesAndOverflowDirection() local 695 final int toolbarHeightWithVerticalMargin = mLineHeight + margin; in refreshCoordinatesAndOverflowDirection() 716 calculateOverflowHeight(MIN_OVERFLOW_SIZE) + margin; in refreshCoordinatesAndOverflowDirection() 725 updateOverflowHeight(availableHeightAboveContent - margin); in refreshCoordinatesAndOverflowDirection() 733 updateOverflowHeight(availableHeightThroughContentDown - margin); in refreshCoordinatesAndOverflowDirection() 739 updateOverflowHeight(availableHeightBelowContent - margin); in refreshCoordinatesAndOverflowDirection() 747 updateOverflowHeight(availableHeightThroughContentUp - margin); in refreshCoordinatesAndOverflowDirection() 754 updateOverflowHeight(mViewPortOnScreen.height() - margin); in refreshCoordinatesAndOverflowDirection()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuViewTest.java | 123 final int margin = in setUpMatrices() local 137 mMaxWindowX = screenWidth - margin - menuWidth; in setUpMatrices() 138 mMenuWindowHeight = menuHeight + margin * 2; in setUpMatrices()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 164 public final void setMarginAbove(int col, int margin) { in setMarginAbove() argument 165 if (mMargins == null && margin == 0) { in setMarginAbove() 169 mMargins[col * 2] = margin; in setMarginAbove() 172 public final void setMarginBelow(int col, int margin) { in setMarginBelow() argument 173 if (mMargins == null && margin == 0) { in setMarginBelow() 177 mMargins[col * 2 + 1] = margin; in setMarginBelow()
|