Searched refs:paddingLeft (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PendingAppWidgetHostView.java | 201 int paddingLeft = getPaddingLeft(); in updateDrawableBounds() local 207 int availableWidth = getWidth() - paddingLeft - paddingRight - 2 * minPadding; in updateDrawableBounds() 260 mRect.left = paddingLeft + minPadding; in updateDrawableBounds() 268 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
|
D | WidgetPreviewLoader.java | 472 int paddingLeft = res.getDimensionPixelOffset(R.dimen.shortcut_preview_padding_left); in generateShortcutPreview() local 474 int scaledIconWidth = (maxWidth - paddingLeft - paddingRight); in generateShortcutPreview() 475 icon.setBounds(paddingLeft, paddingTop, in generateShortcutPreview() 476 paddingLeft + scaledIconWidth, paddingTop + scaledIconWidth); in generateShortcutPreview()
|
/packages/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmVisualizerView.java | 152 int paddingLeft = getPaddingLeft(); in onDraw() local 156 float colWidth = ((float) (viewWidth - paddingLeft - paddingRight - COLUME_PADDING_COUNTS in onDraw() 168 float left = paddingLeft + i * (mColumnPadding + colWidth); in onDraw()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | CalculatorPadLayout.java | 60 final int paddingLeft = getPaddingLeft(); in onLayout() local 67 Math.round((float) (right - left - paddingLeft - paddingRight)) / mColumnCount; in onLayout() 82 final int childLeft = paddingLeft + lp.leftMargin + in onLayout()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 2222 final int paddingLeft = getPaddingLeft(); 2225 final int availableWidth = (getWidth() - paddingLeft - paddingRight - itemMargin 2400 childLeft = paddingLeft + col * (colWidth + itemMargin); 2517 final int paddingLeft = getPaddingLeft(); 2520 final int availableWidth = (getWidth() - paddingLeft - paddingRight - itemMargin 2625 childLeft = paddingLeft + nextCol * (colWidth + itemMargin); 2669 final int paddingLeft = getPaddingLeft(); 2672 final int availableWidth = (getWidth() - paddingLeft - paddingRight - itemMargin 2770 childLeft = paddingLeft + nextCol * (colWidth + itemMargin);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 148 int paddingLeft = v.getPaddingLeft(); in fixGravityAndPadding() local 152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 1111 final int paddingLeft = mPaddingLeft; in layoutVertical() local 1121 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical() 1164 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical() 1174 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | WidgetPreviewLoader.java | 638 int paddingLeft = mContext. in generateShortcutPreview() local 643 int scaledIconWidth = (maxWidth - paddingLeft - paddingRight); in generateShortcutPreview() 646 icon, tempBitmap, paddingLeft, paddingTop, scaledIconWidth, scaledIconWidth); in generateShortcutPreview()
|
D | CellLayout.java | 937 int paddingLeft; in getMetrics() local 948 paddingLeft = res.getDimensionPixelSize(R.dimen.cell_layout_left_padding_land); in getMetrics() 958 paddingLeft = res.getDimensionPixelSize(R.dimen.cell_layout_left_padding_port); in getMetrics() 965 int hSpace = measureWidth - paddingLeft - paddingRight; in getMetrics()
|
D | Workspace.java | 2413 int paddingLeft = res.getDimensionPixelSize(R.dimen.workspace_left_padding_land); 2417 int width = largestSize.x - paddingLeft - paddingRight; 2427 int paddingLeft = res.getDimensionPixelSize(R.dimen.workspace_left_padding_land); 2431 int width = smallestSize.x - paddingLeft - paddingRight;
|