| Constructor and Description |
|---|
AtMostResizer(int atMost)
Checks just the minor dimension.
|
AtMostResizer(int atMostMinor,
int atMostMajor)
Checks both dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
Size |
getOutputSize(Size inputSize)
Parses the input size and returns the output.
|
public AtMostResizer(int atMost)
atMost - the dimension constraintpublic AtMostResizer(int atMostMinor,
int atMostMajor)
atMostMinor - the minor dimension constraintatMostMajor - the major dimension constraint@NonNull public Size getOutputSize(@NonNull Size inputSize)
ResizergetOutputSize in interface ResizerinputSize - the input video size