Home
last modified time | relevance | path

Searched refs:paddingTop (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadLayout.java62 final int paddingTop = getPaddingTop(); in onLayout() local
69 Math.round((float) (bottom - top - paddingTop - paddingBottom)) / mRowCount; in onLayout()
80 final int childTop = paddingTop + lp.topMargin + rowIndex * rowHeight; in onLayout()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/layout/
DScaledLayout.java242 int paddingTop = getPaddingTop(); in onLayout() local
248 int childTop = paddingTop + mRectArray[i].top; in onLayout()
250 int childRight = paddingTop + mRectArray[i].right; in onLayout()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java149 int paddingTop = v.getPaddingTop(); in fixGravityAndPadding() local
152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
/packages/apps/Launcher3/src/com/android/launcher3/
DPendingAppWidgetHostView.java199 int paddingTop = getPaddingTop(); in updateDrawableBounds() local
208 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds()
266 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
DDeviceProfile.java343 int paddingTop = searchBarBounds.bottom; in getWorkspacePadding() local
356 int availablePaddingY = Math.max(0, height - paddingTop - paddingBottom in getWorkspacePadding()
358 padding.set(availablePaddingX / 2, paddingTop + availablePaddingY / 2, in getWorkspacePadding()
363 paddingTop, in getWorkspacePadding()
DWidgetPreviewLoader.java456 int paddingTop = res.getDimensionPixelOffset(R.dimen.shortcut_preview_padding_top); in generateShortcutPreview() local
460 icon.setBounds(paddingLeft, paddingTop, in generateShortcutPreview()
461 paddingLeft + scaledIconWidth, paddingTop + scaledIconWidth); in generateShortcutPreview()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java208 int paddingTop = getPaddingTop(); in onDraw() local
214 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
232 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
255 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java32 public int paddingTop; field in Config.AlbumSetPage
54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage()
DAlbumSetPage.java135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop;
/packages/apps/Dialer/src/com/android/dialer/widget/
DSearchEditTextLayout.java225 int paddingTop = this.getPaddingTop(); in expand() local
231 setPaddingRelative(paddingStart, paddingTop, paddingEnd, paddingBottom); in expand()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1217 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1227 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1290 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1308 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1320 childTop = paddingTop; in layoutHorizontal()
/packages/apps/Dialer/src/com/android/dialer/list/
DSearchFragment.java337 int paddingTop = mActivity.isDialpadShown() ? 0 : mPaddingTop; in updatePosition() local
341 paddingTop, in updatePosition() local
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java636 int paddingTop = mContext. in generateShortcutPreview() local
646 icon, tempBitmap, paddingLeft, paddingTop, scaledIconWidth, scaledIconWidth); in generateShortcutPreview()
DCellLayout.java939 int paddingTop; in getMetrics() local
950 paddingTop = res.getDimensionPixelSize(R.dimen.cell_layout_top_padding_land); in getMetrics()
960 paddingTop = res.getDimensionPixelSize(R.dimen.cell_layout_top_padding_port); in getMetrics()
966 int vSpace = measureHeight - paddingTop - paddingBottom; in getMetrics()
DWorkspace.java2415 int paddingTop = res.getDimensionPixelSize(R.dimen.workspace_top_padding_land);
2418 int height = smallestSize.y - paddingTop - paddingBottom;
2429 int paddingTop = res.getDimensionPixelSize(R.dimen.workspace_top_padding_land);
2432 int height = largestSize.y - paddingTop - paddingBottom;