/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/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/ |
D | SplitTaskUnfoldAnimator.java | 333 int margin = (int) (maxSize * CROPPING_START_MARGIN_FRACTION); in update() local 339 margins = getLandscapeMargins(margin, taskbarExpanded); in update() 341 margins = getPortraitMargins(margin, taskbarExpanded); in update() 346 private Insets getLandscapeMargins(int margin, boolean taskbarExpanded) { in getLandscapeMargins() argument 347 int left = margin; in getLandscapeMargins() 348 int right = margin; in getLandscapeMargins() 349 int bottom = taskbarExpanded ? 0 : margin; // Taskbar margin. in getLandscapeMargins() 357 return Insets.of(left, /* top= */ margin, right, bottom); in getLandscapeMargins() 360 private Insets getPortraitMargins(int margin, boolean taskbarExpanded) { in getPortraitMargins() argument 361 int bottom = margin; in getPortraitMargins() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsDrawable.kt | 65 val margin = sensorRect.height().toInt() / 8 in <lambda>() constant 67 sensorRect.left.toInt() + margin, in <lambda>() 68 sensorRect.top.toInt() + margin, in <lambda>() 69 sensorRect.right.toInt() - margin, in <lambda>() 70 sensorRect.bottom.toInt() - margin in <lambda>()
|
D | AuthPanelController.java | 159 final int margin = mUseFullScreen ? 0 : (int) mContext.getResources() in updateForContentDimensions() local 166 ValueAnimator marginAnimator = ValueAnimator.ofInt(mMargin, margin); in updateForContentDimensions() 198 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/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | ReachabilityEduLayout.java | 157 (layoutParams, margin) -> layoutParams.leftMargin = margin, in handleLetterboxHorizontalPosition() 176 (layoutParams, margin) -> layoutParams.rightMargin = margin, in handleLetterboxHorizontalPosition() 208 (layoutParams, margin) -> layoutParams.topMargin = margin, in handleLetterboxVerticalPosition() 227 (layoutParams, margin) -> layoutParams.bottomMargin = margin, in handleLetterboxVerticalPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuMessageView.java | 146 final int margin = res.getDimensionPixelSize( in updateResources() local 150 containerParams.setMargins(margin, margin, margin, margin); in updateResources()
|
D | MenuViewAppearance.java | 154 final int margin = getMenuMargin(); in getMenuDraggableBoundsWith() local 157 draggableBounds.top += margin; in getMenuDraggableBoundsWith() 164 draggableBounds.bottom -= (calculateActualMenuHeight() + margin); in getMenuDraggableBoundsWith()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | StructureAdapter.kt | 63 val margin = itemView.context.resources in setUpRecyclerView() constant 65 val itemDecorator = MarginItemDecorator(margin, margin) in setUpRecyclerView()
|
D | ControlsEditingActivity.kt | 260 val margin = resources in setUpList() constant 262 val itemDecorator = MarginItemDecorator(margin, margin) in setUpList()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCodeGenerator.kt | 60 margin: Int = DEFAULT_MARGIN, in encodeQrCode() 67 if (margin != DEFAULT_MARGIN) { in encodeQrCode() 68 hints[EncodeHintType.MARGIN] = margin in encodeQrCode()
|
/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()
|
/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()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 927 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() local 928 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() 939 matchWidthLocally ? margin : measuredWidth); in measureVertical() 942 matchWidthLocally ? margin : measuredWidth); in measureVertical() 1038 final int margin = lp.leftMargin + lp.rightMargin; in measureVertical() local 1039 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() 1046 matchWidthLocally ? margin : measuredWidth); in measureVertical() 1275 final int margin = lp.topMargin + lp.bottomMargin; in measureHorizontal() local 1276 final int childHeight = child.getMeasuredHeight() + margin; in measureHorizontal() 1303 matchHeightLocally ? margin : childHeight); in measureHorizontal() [all …]
|
/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() 967 private static void startBlockElement(Editable text, Attributes attributes, int margin) { in startBlockElement() argument 969 if (margin > 0) { in startBlockElement() 970 appendNewlines(text, margin); in startBlockElement() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | DefaultStatusViewSection.kt | 111 val margin = in applyConstraints() constant 118 setMargin(statusViewId, TOP, margin) in applyConstraints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationsQuickSettingsContainer.java | 118 public void setNotificationsMarginBottom(int margin) { in setNotificationsMarginBottom() argument 120 params.bottomMargin = margin; in setNotificationsMarginBottom()
|