Searched refs:PixelsFromDp (Results 1 – 2 of 2) sorted by relevance
102 int ScreenRecoveryUI::PixelsFromDp(int dp) { in PixelsFromDp() function in ScreenRecoveryUI122 return GetTextBaseline() - PixelsFromDp(68) - gr_get_height(loopFrames[0]); in GetAnimationBaseline()126 return GetProgressBaseline() - PixelsFromDp(32) - gr_get_height(installing_text); in GetTextBaseline()130 return gr_fb_height() - PixelsFromDp(is_large_ ? 340 : 194) - gr_get_height(progressBarFill); in GetProgressBaseline()442 is_large_ = gr_fb_height() > PixelsFromDp(800); in Init()
160 int PixelsFromDp(int dp);