package Ġcom . example . gallery app . extensions Ċ Ċ import Ġandroid . content . res . Resources Ċ Ċ internal Ġfun ĠFloat . from Dp To Px (): ĠInt Ġ{ ĊĠĠĠ Ġreturn Ġ( this Ġ* ĠResources . getSystem (). display Metrics . density ). toInt () Ċ }