/packages/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmVisualizerView.java | 154 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/ |
D | CalculatorPadLayout.java | 62 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/ |
D | PendingAppWidgetHostView.java | 199 int paddingTop = getPaddingTop(); in updateDrawableBounds() local 208 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds() 262 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
|
D | DeviceProfile.java | 303 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()
|
D | WidgetPreviewLoader.java | 471 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/ |
D | MatchParentShrinkingLinearLayout.java | 1217 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/ |
D | TopRightWeightedLayout.java | 149 int paddingTop = v.getPaddingTop(); in fixGravityAndPadding() local 152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 32 public int paddingTop; field in Config.AlbumSetPage 54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage()
|
D | AlbumSetPage.java | 135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop;
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | SearchEditTextLayout.java | 225 int paddingTop = this.getPaddingTop(); in expand() local 231 setPaddingRelative(paddingStart, paddingTop, paddingEnd, paddingBottom); in expand()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | SearchFragment.java | 332 int paddingTop = mActivity.isDialpadShown() ? 0 : mPaddingTop; in updatePosition() local 336 paddingTop, in updatePosition() local
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserBookmarksPage.java | 562 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/ |
D | WidgetPreviewLoader.java | 636 int paddingTop = mContext. in generateShortcutPreview() local 646 icon, tempBitmap, paddingLeft, paddingTop, scaledIconWidth, scaledIconWidth); in generateShortcutPreview()
|
D | CellLayout.java | 939 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()
|
D | Workspace.java | 2415 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/ |
D | StaggeredGridView.java | 3468 final int paddingTop = getPaddingTop(); 3508 if (firstPosition == 0 && paddingTop > 0) { 3509 val += paddingTop - top + mItemMargin; 3527 return paddingTop;
|