/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 40 private int mPadding; field in DragShadowBuilder 47 mPadding = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_padding); in DragShadowBuilder() 80 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow() 81 r.bottom - mPadding, paint); in onDrawShadow() 85 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow() 86 r.bottom - mPadding, paint); in onDrawShadow()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.kt | 49 @JvmField protected var mPadding = 0 variable 289 if (mShowWeekNum) (mWidth - mPadding * 2) / mNumCells + mPadding else mPadding in getDayFromLocation() 290 if (x < dayStart || x > mWidth - mPadding) { in getDayFromLocation() 294 val dayPosition = ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)).toInt() in getDayFromLocation() 333 r.left = mPadding in drawBackground() 337 r.right = mWidth - mPadding in drawBackground() 358 val x = (mWidth - mPadding * 2) / divisor + mPadding in drawWeekNums() 374 val x = (2 * i + 1) * (mWidth - mPadding * 2) / divisor + mPadding in drawWeekNums() 405 val x = (mWidth - mPadding * 2) / mNumCells + mPadding in drawDaySeparators() 428 mSelectedLeft = (selectedPosition * (mWidth - mPadding * 2) / mNumCells + in updateSelectionPositions() [all …]
|
D | MonthWeekEventsView.kt | 213 var effectiveWidth: Int = mWidth - mPadding * 2 in createDna() 321 mPadding = DEFAULT_EDGE_SPACING in initView() 495 xOffset = SPACING_WEEK_NUMBER + mPadding in computeDayLeftPosition() 510 val xOffset: Int = SPACING_WEEK_NUMBER + mPadding in drawDaySeparators() 595 x = SIDE_PADDING_WEEK_NUMBER + mPadding in drawWeekNums() 915 var effectiveWidth: Int = mWidth - mPadding * 2 in updateSelectionPositions() 917 mSelectedLeft = selectedPosition * effectiveWidth / mNumDays + mPadding in updateSelectionPositions() 918 mSelectedRight = (selectedPosition + 1) * effectiveWidth / mNumDays + mPadding in updateSelectionPositions() 925 val dayStart: Int = if (mShowWeekNum) SPACING_WEEK_NUMBER + mPadding else mPadding in getDayIndexFromLocation() 926 return if (x < dayStart || x > mWidth - mPadding) { in getDayIndexFromLocation() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeEncryptedPayloadBodyTest.java | 179 private byte[] mPadding; field in IkeEncryptedPayloadBodyTest 215 mPadding = TestUtils.hexStringToByteArray(IKE_AUTH_INIT_REQUEST_PADDING); in setUp() 309 mDataToPadAndEncrypt, mAesCbcCipher, mAesCbcKey, mIv, mPadding); in testEncrypt() 338 mPadding); in testBuildAndEncodeOutboundIkeEncryptedPayloadBody()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | ActivityAllAppsContainerView.java | 750 adapterHolder.mPadding.top = padding; in setupHeader() 1224 adapterHolder.mPadding.bottom = bottomPadding; in applyAdapterSideAndBottomPaddings() 1225 adapterHolder.mPadding.left = grid.allAppsPadding.left; in applyAdapterSideAndBottomPaddings() 1226 adapterHolder.mPadding.right = grid.allAppsPadding.right; in applyAdapterSideAndBottomPaddings() 1539 final Rect mPadding = new Rect(); field in ActivityAllAppsContainerView.AdapterHolder 1591 mRecyclerView.setPadding(mPadding.left, mPadding.top, mPadding.right, in applyPadding() 1592 mPadding.bottom + bottomOffset); in applyPadding()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 69 public final int mPadding; field in SuggestionStripLayoutHelper 116 mPadding = wordView.getCompoundPaddingLeft() + wordView.getCompoundPaddingRight(); in SuggestionStripLayoutHelper() 370 layoutWord(context, mCenterPositionInStrip, stripWidth - mPadding); in layoutAndReturnStartIndexOfMoreSuggestions() 471 final int paddings = mPadding * mSuggestionsCountInStrip; in getSuggestionWidth()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackKeyboardView.java | 95 private Rect mPadding; field in LeanbackKeyboardView 129 mPadding = new Rect(0, 0, 0, 0); in LeanbackKeyboardView() 263 final Rect padding = mPadding; in createKeyImageView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategorySelectorFragment.java | 917 private final int mPadding; field in CategorySelectorFragment.GridPaddingDecoration 920 mPadding = padding; in GridPaddingDecoration() 928 outRect.left = mPadding; in getItemOffsets() 929 outRect.right = mPadding; in getItemOffsets()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 215 private final Rect mPadding; field in KeyboardView 378 mPadding = new Rect(0, 0, 0, 0); in KeyboardView() 380 mKeyBackground.getPadding(mPadding); in KeyboardView() 742 final Rect padding = mPadding; in onBufferDraw()
|