-
public class Constants.AdaptiveTileSizeAdaptive tile size based on device memory class. Higher memory devices can handle larger tiles for better quality. Lower memory devices use smaller tiles to prevent OOM.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Constants.AdaptiveTileSizeINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetOptimalSize(Context context)Get the optimal tile size for this device. final IntegergetOptimalCacheSize(Context context)Get optimal cache size based on device memory. -
-
Method Detail
-
getOptimalSize
final Integer getOptimalSize(Context context)
Get the optimal tile size for this device.
- Parameters:
context- Application context
-
getOptimalCacheSize
final Integer getOptimalCacheSize(Context context)
Get optimal cache size based on device memory.
- Parameters:
context- Application context
-
-
-
-