/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 94 public int getWidthMeasureSpec(final int cellWidth, final int padding) { in getWidthMeasureSpec() argument 95 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec() 99 public int getHeightMeasureSpec(final int cellHeight, final int padding) { in getHeightMeasureSpec() argument 100 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec() 305 final int padding = getResources().getDimensionPixelOffset( in onMeasure() local 310 view.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure() 311 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 325 mPlusTextView.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure() 326 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 337 final int padding = getResources().getDimensionPixelOffset( in onLayout() local [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlBar.java | 94 int padding = getPaddingLeft(); in onLayout() local 101 mSecondLevelIcon.layout(padding, 0, padding + size, size); in onLayout() 105 mZoomControl.layout(padding + size, 0, width - padding - size, size); in onLayout() 109 mCameraPicker.layout(width - padding - size, 0, width - padding, size); in onLayout()
|
D | SecondLevelIndicatorControlBar.java | 179 int padding = getPaddingLeft(); in onLayout() local 182 int offsetX = padding; in onLayout() 190 offsetX = width - iconWidth - 2 * padding; in onLayout() 191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), in onLayout() 192 (height - padding)); in onLayout() 194 offsetX = width - iconWidth - padding; in onLayout()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/ |
D | doxygenextra.css | 6 padding: 0; 41 padding: 0px; 80 padding-top: 10px; 81 padding-right: 10px !important; 94 padding: 0; 102 padding: 0; 156 padding: 6px 10px; 173 padding: 2px 0px; 182 padding: 2px; 189 padding: 10px 0px 20px 20px;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 100 int padding = (previewBitmapWidth - previewSizeBeforeScale[0]) / 2; in startDrag() local 102 padding = padding * previewViewWidth / previewBitmapWidth; in startDrag() 105 previewBounds.left += padding; in startDrag() 106 previewBounds.right -= padding; in startDrag() 128 int padding = launcher.getResources() in startDrag() local 130 previewBounds.left += padding; in startDrag() 131 previewBounds.top += padding; in startDrag()
|
D | WidgetHostViewLoader.java | 158 Rect padding = AppWidgetHostView.getDefaultPaddingForWidget(context, in getDefaultOptionsForWidget() local 162 int xPaddingDips = (int) ((padding.left + padding.right) / density); in getDefaultOptionsForWidget() 163 int yPaddingDips = (int) ((padding.top + padding.bottom) / density); in getDefaultOptionsForWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 425 Point padding = getTotalWorkspacePadding(); in getCellSize() local 426 result.x = calculateCellWidth(availableWidthPx - padding.x in getCellSize() 428 result.y = calculateCellHeight(availableHeightPx - padding.y in getCellSize() 444 Rect padding = workspacePadding; in updateWorkspacePadding() local 446 padding.top = 0; in updateWorkspacePadding() 447 padding.bottom = edgeMarginPx; in updateWorkspacePadding() 449 padding.left = hotseatBarSizePx; in updateWorkspacePadding() 450 padding.right = verticalDragHandleSizePx; in updateWorkspacePadding() 452 padding.left = verticalDragHandleSizePx; in updateWorkspacePadding() 453 padding.right = hotseatBarSizePx; in updateWorkspacePadding() [all …]
|
D | Hotseat.java | 99 Rect padding = grid.getHotseatLayoutPadding(); in setInsets() local 100 setPadding(padding.left, padding.top, padding.right, padding.bottom); in setInsets()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AbstractSlotRenderer.java | 114 protected static void drawFrame(GLCanvas canvas, Rect padding, Texture frame, in drawFrame() argument 116 frame.draw(canvas, x - padding.left, y - padding.top, width + padding.left + padding.right, in drawFrame() 117 height + padding.top + padding.bottom); in drawFrame()
|
D | SlotView.java | 474 int[] padding) { in initLayoutParameters() argument 483 padding[0] = (minorLength - usedMinorLength) / 2; in initLayoutParameters() 491 padding[1] = Math.max(0, (majorLength - mContentLength) / 2); in initLayoutParameters() 511 int[] padding = new int[2]; in initLayoutParameters() local 513 initLayoutParameters(mWidth, mHeight, mSlotWidth, mSlotHeight, padding); in initLayoutParameters() 514 mVerticalPadding.startAnimateTo(padding[0]); in initLayoutParameters() 515 mHorizontalPadding.startAnimateTo(padding[1]); in initLayoutParameters() 517 initLayoutParameters(mHeight, mWidth, mSlotHeight, mSlotWidth, padding); in initLayoutParameters() 518 mVerticalPadding.startAnimateTo(padding[1]); in initLayoutParameters() 519 mHorizontalPadding.startAnimateTo(padding[0]); in initLayoutParameters()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UserRestrictionAdapter.java | 68 int padding = resources.getDimensionPixelSize(R.dimen.users_checkbox_padding); in createCheckBox() local 69 checkBox.setPadding(padding, padding, padding, padding); in createCheckBox()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 310 mAH[i].padding.bottom = insets.bottom; in setInsets() 311 mAH[i].padding.left = mAH[i].padding.right = leftRightPadding; in setInsets() 472 int padding = mHeader.getMaxTranslation(); in setupHeader() local 474 mAH[i].padding.top = padding; in setupHeader() 573 final Rect padding = new Rect(); field in AllAppsContainerView.AdapterHolder 603 recyclerView.setPadding(padding.left, padding.top, padding.right, padding.bottom); in applyPadding()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | Snackbar.java | 69 int padding = res.getDimensionPixelSize(R.dimen.snackbar_padding); in show() local 70 snackbar.setPadding(padding, padding, padding, padding); in show() 97 + padding * 2; in show()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | MultiTargetSwitchPreference.java | 57 final int padding = (int) ((holder.itemView.getMeasuredHeight() in onBindViewHolder() local 59 switchView.setPaddingRelative(padding, padding, 0, padding); in onBindViewHolder()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SmsBottomSheetFragment.java | 103 int padding = (int) DpUtil.dpToPx(context, 16); in newTextViewItem() local 104 textView.setPadding(padding, padding, padding, padding); in newTextViewItem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 66 final int padding = res.getDimensionPixelSize(com.android.internal.R.dimen.default_gap); in onCreate() local 67 view.setPadding(padding, padding, padding, padding); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PublicVolumeSettings.java | 141 final int padding = resources.getDimensionPixelSize( in onActivityCreated() local 145 buttonBar.setPadding(padding, padding, padding, padding); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PublicVolumeSettings.java | 141 final int padding = resources.getDimensionPixelSize( in onActivityCreated() local 145 buttonBar.setPadding(padding, padding, padding, padding); in onActivityCreated()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 367 final Rect padding = mKeyBackgroundPadding; in onDrawKeyBackground() local 368 bgWidth = keyWidth + padding.left + padding.right; in onDrawKeyBackground() 369 bgHeight = keyHeight + padding.top + padding.bottom; in onDrawKeyBackground() 370 bgX = -padding.left; in onDrawKeyBackground() 371 bgY = -padding.top; in onDrawKeyBackground()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 739 final Rect padding = mPadding; in onBufferDraw() local 843 (key.width - padding.left - padding.right) / 2 in onBufferDraw() 844 + padding.left, in onBufferDraw() 845 (key.height - padding.top - padding.bottom) / 2 in onBufferDraw() 846 + (paint.getTextSize() - paint.descent()) / 2 + padding.top, in onBufferDraw() 851 final int drawableX = (key.width - padding.left - padding.right in onBufferDraw() 852 - key.icon.getIntrinsicWidth()) / 2 + padding.left; in onBufferDraw() 853 final int drawableY = (key.height - padding.top - padding.bottom in onBufferDraw() 854 - key.icon.getIntrinsicHeight()) / 2 + padding.top; in onBufferDraw()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationPagerController.java | 282 final int padding = c.getResources().getDimensionPixelOffset( in setupPageMargin() local 284 final Drawable gutterDrawable = new PageMarginDrawable(divider, padding, 0, padding, 0, in setupPageMargin() 286 mPager.setPageMargin(gutterDrawable.getIntrinsicWidth() + 2 * padding); in setupPageMargin()
|
D | ConversationItemViewCoordinates.java | 409 final int padding = res.getDimensionPixelSize(useFullPadding ? in setFramePadding() local 415 frame.setPaddingRelative(frame.getPaddingStart(), padding, in setFramePadding() local 416 frame.getPaddingEnd(), padding); in setFramePadding() local 418 frame.setPadding(frame.getPaddingLeft(), padding, frame.getPaddingRight(), padding); in setFramePadding() local
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartGridView.java | 138 final int padding = mLabelStart != null ? mLabelStart.getHeight() / 8 : 0; in onDraw() local 143 canvas.translate(0, height + padding); in onDraw() 151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() local 159 canvas.translate(width - end.getWidth(), height + padding); in onDraw()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartGridView.java | 138 final int padding = mLabelStart != null ? mLabelStart.getHeight() / 8 : 0; in onDraw() local 143 canvas.translate(0, height + padding); in onDraw() 151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() local 159 canvas.translate(width - end.getWidth(), height + padding); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | WorkspacePageIndicator.java | 264 Rect padding = grid.workspacePadding; in setInsets() local 265 lp.leftMargin = padding.left + grid.workspaceCellPaddingXPx; in setInsets() 266 lp.rightMargin = padding.right + grid.workspaceCellPaddingXPx; in setInsets() 267 lp.bottomMargin = padding.bottom; in setInsets()
|