Add methods for dp to px conversion