Class DeviceTweaks


  • public class DeviceTweaks
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceTweaks()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int[] confirmPlausibleWidgetSize​(Context context, int width, int height, int desiredWidgetWidth, int desiredWidgetHeight)  
      static int[] confirmPlausibleWidgetSize​(Context context, AppWidgetManager awm, int widgetInstance, int desiredWidgetWidth, int desiredWidgetHeight)  
      static boolean isDarkTextOnOverflowMenuDevice()  
      • Methods inherited from class java.lang.Object

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

      • DeviceTweaks

        public DeviceTweaks()
    • Method Detail

      • isDarkTextOnOverflowMenuDevice

        public static boolean isDarkTextOnOverflowMenuDevice()
      • confirmPlausibleWidgetSize

        public static int[] confirmPlausibleWidgetSize​(Context context,
                                                       AppWidgetManager awm,
                                                       int widgetInstance,
                                                       int desiredWidgetWidth,
                                                       int desiredWidgetHeight)
      • confirmPlausibleWidgetSize

        public static int[] confirmPlausibleWidgetSize​(Context context,
                                                       int width,
                                                       int height,
                                                       int desiredWidgetWidth,
                                                       int desiredWidgetHeight)