public class FixedResolutionStrategy extends Object implements ResolutionStrategy
ResolutionStrategy will place the GLSurfaceView with the given height and width in the center the screen.ResolutionStrategy.MeasuredDimension| Constructor and Description |
|---|
FixedResolutionStrategy(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
ResolutionStrategy.MeasuredDimension |
calcMeasures(int widthMeasureSpec,
int heightMeasureSpec) |
public ResolutionStrategy.MeasuredDimension calcMeasures(int widthMeasureSpec, int heightMeasureSpec)
calcMeasures in interface ResolutionStrategyCopyright © 2016. All rights reserved.