Home
last modified time | relevance | path

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

/packages/apps/FMRadio/src/com/android/fmradio/views/
DFmVisualizerView.java154 int paddingTop = getPaddingTop(); in onDraw() local
159 float colHeight = (float) (viewHeight - paddingBottom - paddingTop); in onDraw()
170 float startY = paddingTop + colHeight / 2; in onDraw()
172 if (startY < paddingTop) { in onDraw()
173 startY = paddingTop; in onDraw()
/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/Launcher3/src/com/android/launcher3/
DPendingAppWidgetHostView.java199 int paddingTop = getPaddingTop(); in updateDrawableBounds() local
208 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds()
262 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
DDeviceProfile.java303 int paddingTop = searchBarBounds.bottom; in getWorkspacePadding() local
307 int availableHeight = Math.max(0, height - paddingTop - paddingBottom in getWorkspacePadding()
309 padding.set(availableWidth / 2, paddingTop + availableHeight / 2, in getWorkspacePadding()
DWidgetPreviewLoader.java471 int paddingTop = res.getDimensionPixelOffset(R.dimen.shortcut_preview_padding_top); in generateShortcutPreview() local
475 icon.setBounds(paddingLeft, paddingTop, in generateShortcutPreview()
476 paddingLeft + scaledIconWidth, paddingTop + scaledIconWidth); in generateShortcutPreview()
/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/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/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/Dialer/src/com/android/dialer/list/
DSearchFragment.java332 int paddingTop = mActivity.isDialpadShown() ? 0 : mPaddingTop; in updatePosition() local
336 paddingTop, in updatePosition() local
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksPage.java562 int paddingTop = (int) res.getDimension(R.dimen.combo_paddingTop); in onConfigurationChanged() local
563 mRoot.setPadding(0, paddingTop, 0, 0); in onConfigurationChanged()
/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;
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java3468 final int paddingTop = getPaddingTop();
3508 if (firstPosition == 0 && paddingTop > 0) {
3509 val += paddingTop - top + mItemMargin;
3527 return paddingTop;