Package 

Object Constants.AdaptiveTileSize


  • 
    public class Constants.AdaptiveTileSize
    
                        

    Adaptive 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.

    • Method Summary

      Modifier and Type Method Description
      final Integer getOptimalSize(Context context) Get the optimal tile size for this device.
      final Integer getOptimalCacheSize(Context context) Get optimal cache size based on device memory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getOptimalSize

         final Integer getOptimalSize(Context context)

        Get the optimal tile size for this device.

        Parameters:
        context - Application context