(width, height int)
| 127 | } |
| 128 | |
| 129 | func desktopSizeFitsDeclaredLimits(width, height int) bool { |
| 130 | return max(width, height) <= desktopDeclaredMaxLongEdge && |
| 131 | width*height <= desktopDeclaredMaxTotalPixels |
| 132 | } |
| 133 | |
| 134 | func computeGenericDeclaredDesktopSize(width, height int) (scaledWidth, scaledHeight int) { |
| 135 | longEdge := max(width, height) |
no outgoing calls
no test coverage detected