/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.java | 111 protected int mPadding = 0; field in SimpleWeekView 369 int dayStart = mShowWeekNum ? (mWidth - mPadding * 2) / mNumCells + mPadding : mPadding; in getDayFromLocation() 370 if (x < dayStart || x > mWidth - mPadding) { in getDayFromLocation() 374 int dayPosition = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding)); in getDayFromLocation() 415 r.left = mPadding; in drawBackground() 419 r.right = mWidth - mPadding; in drawBackground() 441 int x = (mWidth - mPadding * 2) / divisor + mPadding; in drawWeekNums() 458 int x = (2 * i + 1) * (mWidth - mPadding * 2) / (divisor) + mPadding; in drawWeekNums() 488 int x = (mWidth - mPadding * 2) / mNumCells + mPadding; in drawDaySeparators() 511 mSelectedLeft = selectedPosition * (mWidth - mPadding * 2) / mNumCells in updateSelectionPositions() [all …]
|
D | MonthWeekEventsView.java | 283 int effectiveWidth = mWidth - mPadding * 2; in createDna() 394 mPadding = DEFAULT_EDGE_SPACING; in initView() 580 xOffset = SPACING_WEEK_NUMBER + mPadding; in computeDayLeftPosition() 595 int xOffset = SPACING_WEEK_NUMBER + mPadding; in drawDaySeparators() 684 x = SIDE_PADDING_WEEK_NUMBER + mPadding; in drawWeekNums() 1012 int effectiveWidth = mWidth - mPadding * 2; in updateSelectionPositions() 1014 mSelectedLeft = selectedPosition * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions() 1015 mSelectedRight = (selectedPosition + 1) * effectiveWidth / mNumDays + mPadding; in updateSelectionPositions() 1022 int dayStart = mShowWeekNum ? SPACING_WEEK_NUMBER + mPadding : mPadding; in getDayIndexFromLocation() 1023 if (x < dayStart || x > mWidth - mPadding) { in getDayIndexFromLocation() [all …]
|
/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/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategorySelectorFragment.java | 403 private int mPadding; field in CategorySelectorFragment.GridPaddingDecoration 406 mPadding = padding; in GridPaddingDecoration() 414 outRect.left = mPadding; in getItemOffsets() 415 outRect.right = mPadding; in getItemOffsets()
|
/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/individual/ |
D | IndividualPickerFragment.java | 1266 private int mPadding; 1269 mPadding = padding; 1277 outRect.left = mPadding; 1278 outRect.right = mPadding;
|
/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()
|