Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dwear_ui.cpp232 return (ScreenHeight() - progress_height) / 2 + PixelsFromDp(kProgressBarVerticalOffsetDp); in GetProgressBaseline()
237 return GetProgressBaseline() - PixelsFromDp(kProgressBarVerticalOffsetDp) - in GetTextBaseline()
Dscreen_ui.cpp376 int ScreenRecoveryUI::PixelsFromDp(int dp) const { in PixelsFromDp() function in ScreenRecoveryUI
405 return GetTextBaseline() - PixelsFromDp(kLayouts[layout_][ICON]) - in GetAnimationBaseline()
410 return GetProgressBaseline() - PixelsFromDp(kLayouts[layout_][TEXT]) - in GetTextBaseline()
415 int elements_sum = gr_get_height(loop_frames_[0].get()) + PixelsFromDp(kLayouts[layout_][ICON]) + in GetProgressBaseline()
416 gr_get_height(installing_text_.get()) + PixelsFromDp(kLayouts[layout_][TEXT]) + in GetProgressBaseline()
924 if (gr_fb_height() > PixelsFromDp(800)) ++layout_; in Init()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h316 int PixelsFromDp(int dp) const;