/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBody.java | 158 byte[] padding) { in IkeEncryptedPayloadBody() argument 172 padding); in IkeEncryptedPayloadBody() 189 padding); in IkeEncryptedPayloadBody() 267 byte[] padding) { in normalModeEncrypt() argument 268 byte[] paddedData = getPaddedData(dataToEncrypt, padding); in normalModeEncrypt() 297 byte[] padding) { in combinedModeEncrypt() argument 304 byte[] paddedData = getPaddedData(dataToEncrypt, padding); in combinedModeEncrypt() 349 byte[] padding = new byte[padLength]; in calculatePadding() 352 new SecureRandom().nextBytes(padding); in calculatePadding() 354 return padding; in calculatePadding() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 95 public int getWidthMeasureSpec(final int cellWidth, final int padding) { in getWidthMeasureSpec() argument 96 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec() 100 public int getHeightMeasureSpec(final int cellHeight, final int padding) { in getHeightMeasureSpec() argument 101 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec() 310 final int padding = getResources().getDimensionPixelOffset( in onMeasure() local 315 view.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure() 316 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 330 mPlusTextView.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure() 331 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 342 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/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackKeyboardView.java | 263 final Rect padding = mPadding; in createKeyImageView() local 298 final int drawableX = (key.width - padding.left - padding.right in createKeyImageView() 299 - key.icon.getIntrinsicWidth()) / 2 + padding.left; in createKeyImageView() 300 final int drawableY = (key.height - padding.top - padding.bottom in createKeyImageView() 301 - key.icon.getIntrinsicHeight()) / 2 + padding.top; in createKeyImageView() 319 (key.width - padding.left - padding.right) / 2 in createKeyImageView() 320 + padding.left, in createKeyImageView() 321 (key.height - padding.top - padding.bottom) / 2 in createKeyImageView() 322 + (paint.getTextSize() - paint.descent()) / 2 + padding.top, in createKeyImageView()
|
/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/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/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 458 Point padding = getTotalWorkspacePadding(); in getCellSize() local 459 result.x = calculateCellWidth(availableWidthPx - padding.x in getCellSize() 461 result.y = calculateCellHeight(availableHeightPx - padding.y in getCellSize() 477 Rect padding = workspacePadding; in updateWorkspacePadding() local 479 padding.top = 0; in updateWorkspacePadding() 480 padding.bottom = edgeMarginPx; in updateWorkspacePadding() 482 padding.left = hotseatBarSizePx; in updateWorkspacePadding() 483 padding.right = verticalDragHandleSizePx; in updateWorkspacePadding() 485 padding.left = verticalDragHandleSizePx; in updateWorkspacePadding() 486 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/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 | 326 mAH[i].padding.bottom = insets.bottom; in setInsets() 327 mAH[i].padding.left = mAH[i].padding.right = leftRightPadding; in setInsets() 488 int padding = mHeader.getMaxTranslation(); in setupHeader() local 490 mAH[i].padding.top = padding; in setupHeader() 589 final Rect padding = new Rect(); field in AllAppsContainerView.AdapterHolder 619 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 | 742 final Rect padding = mPadding; in onBufferDraw() local 846 (key.width - padding.left - padding.right) / 2 in onBufferDraw() 847 + padding.left, in onBufferDraw() 848 (key.height - padding.top - padding.bottom) / 2 in onBufferDraw() 849 + (paint.getTextSize() - paint.descent()) / 2 + padding.top, in onBufferDraw() 854 final int drawableX = (key.width - padding.left - padding.right in onBufferDraw() 855 - key.icon.getIntrinsicWidth()) / 2 + padding.left; in onBufferDraw() 856 final int drawableY = (key.height - padding.top - padding.bottom in onBufferDraw() 857 - key.icon.getIntrinsicHeight()) / 2 + padding.top; in onBufferDraw()
|
/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/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/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()
|