Searched refs:extraSpacePx (Results 1 – 2 of 2) sorted by relevance
126 public DevicePadding getDevicePadding(int extraSpacePx) { in getDevicePadding() argument128 if (extraSpacePx <= limit.maxEmptySpacePx) { in getDevicePadding()164 public int getWorkspaceTopPadding(int extraSpacePx) { in getWorkspaceTopPadding() argument165 return workspaceTopPadding.calculate(extraSpacePx); in getWorkspaceTopPadding()168 public int getWorkspaceBottomPadding(int extraSpacePx) { in getWorkspaceBottomPadding() argument169 return workspaceBottomPadding.calculate(extraSpacePx); in getWorkspaceBottomPadding()172 public int getHotseatBottomPadding(int extraSpacePx) { in getHotseatBottomPadding() argument173 return hotseatBottomPadding.calculate(extraSpacePx); in getHotseatBottomPadding()215 public int calculate(int extraSpacePx) { in calculate() argument217 Log.d(TAG, "a=" + a + " * (" + extraSpacePx + " - " + c + ") + b=" + b); in calculate()[all …]
122 @Px int extraSpacePx = (int) (getHeight() * EXTRA_BOTTOM_SPACE_BY_HEIGHT_PERCENT); in calculateExtraLayoutSpace() local123 extraLayoutSpace[1] = Math.max(extraLayoutSpace[1], extraSpacePx); in calculateExtraLayoutSpace()