Lines Matching refs:padding
182 float padding = res.getInteger(R.integer.config_allAppsButtonPaddingPercent) / 100f; in computeAllAppsButtonSize() local
183 allAppsButtonVisualSize = (int) (hotseatIconSizePx * (1 - padding)) - context.getResources() in computeAllAppsButtonSize()
332 Rect padding = new Rect(); in getWorkspacePadding() local
336 padding.set(normalHotseatBarHeightPx, edgeMarginPx, in getWorkspacePadding()
339 padding.set(searchBarBounds.width(), edgeMarginPx, in getWorkspacePadding()
358 padding.set(availablePaddingX / 2, paddingTop + availablePaddingY / 2, in getWorkspacePadding()
362 padding.set(desiredWorkspaceLeftRightMarginPx - defaultWidgetPadding.left, in getWorkspacePadding()
368 return padding; in getWorkspacePadding()
480 Rect padding = getWorkspacePadding(isLayoutRtl); in layout() local
482 workspace.setPadding(padding.left, padding.top, padding.right, padding.bottom); in layout()
508 hotseatAdjustment + padding.left, 0, in layout()
509 hotseatAdjustment + padding.right, 2 * edgeMarginPx); in layout()
517 hotseatAdjustment + padding.left, 0, in layout()
518 hotseatAdjustment + padding.right, 0); in layout()