Removed Methods |
int dpToPixels(int, DisplayMetrics)
|
Converts a size in display independent pixels to real pixels. |
ScreenSize getScreenSize(Context )
|
Gets the size of the screen. |
int internalDpToPixels(int, DisplayMetrics)
|
|
boolean internalIsTablet(Context )
|
|
ScreenSize internalSetScreenSize(Context )
|
|
void internalSetThemeIfAttributesAreMissing(Activity, int[])
|
|
void internalSizeDialogWidthForTablets(Dialog, float)
|
|
int internalSpToPixels(int, DisplayMetrics)
|
|
boolean isTablet(Context )
|
Checks if the current device is a tablet. |
void setThemeIfAttributesAreMissing(Activity, int[])
|
Sets a Theme on an activity if one or more required attributes do not have a value. |
void sizeDialogWidthForTablets(Dialog, float)
|
Dialogs on tablets can be a bit narrow, so this method can be used to resize them to be
larger. |
int spToPixels(int, DisplayMetrics)
|
Converts a size in scaled pixels to real pixels. |
int themeAttributeToPixels(int, Context, int, float)
|
Converts a themed attribute id to the corresponding number of real pixels. |