Home
last modified time | relevance | path

Searched refs:PixelsFromDp (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/
Dscreen_ui.cpp102 int ScreenRecoveryUI::PixelsFromDp(int dp) { in PixelsFromDp() function in ScreenRecoveryUI
122 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()
Dscreen_ui.h160 int PixelsFromDp(int dp);