Searched refs:PixelsFromDp (Results 1 – 3 of 3) sorted by relevance
232 return (ScreenHeight() - progress_height) / 2 + PixelsFromDp(kProgressBarVerticalOffsetDp); in GetProgressBaseline()237 return GetProgressBaseline() - PixelsFromDp(kProgressBarVerticalOffsetDp) - in GetTextBaseline()
376 int ScreenRecoveryUI::PixelsFromDp(int dp) const { in PixelsFromDp() function in ScreenRecoveryUI405 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()
316 int PixelsFromDp(int dp) const;