Adjacent Files

Project Info

. > library > src > main > java > james > adaptiveicon > utils > ConversionUtils.java

dpToPx

Type: public static int

Converts density pixels to regular pixels.

Parameter Name Description
dp density pixels

Returned Value: regular pixels

pxToDp

Type: public static float

Converts regular pixels to density pixels.

Parameter Name Description
pixels regular pixels

Returned Value: density pixels

This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close