Lines Matching full:padding
168 * and internal padding of the drawable.
172 float padding = res.getInteger(R.integer.config_allAppsButtonPaddingPercent) / 100f;
173 allAppsButtonVisualSize = (int) (hotseatIconSizePx * (1 - padding));
184 // We only care about the top and bottom workspace padding, which is not affected by RTL.
286 /** Returns the workspace padding in the specified orientation */
289 Rect padding = new Rect();
293 padding.set(hotseatBarHeightPx, edgeMarginPx,
296 padding.set(searchBarBounds.width(), edgeMarginPx,
312 padding.set(availableWidth / 2, paddingTop + availableHeight / 2,
316 padding.set(desiredWorkspaceLeftRightMarginPx - defaultWidgetPadding.left,
322 return padding;
332 // We assume symmetrical padding in portrait mode.
425 Rect padding = getWorkspacePadding(isLayoutRtl);
427 workspace.setPadding(padding.left, padding.top, padding.right, padding.bottom);
441 // Pad the hotseat with the workspace padding calculated above
445 hotseat.setPadding(edgeMarginPx + padding.left, 0,
446 edgeMarginPx + padding.right,