Searched refs:PixelsFromDp (Results 1 – 2 of 2) sorted by relevance
369 int ScreenRecoveryUI::PixelsFromDp(int dp) const { in PixelsFromDp() function in ScreenRecoveryUI398 return GetTextBaseline() - PixelsFromDp(kLayouts[layout_][ICON]) - in GetAnimationBaseline()403 return GetProgressBaseline() - PixelsFromDp(kLayouts[layout_][TEXT]) - in GetTextBaseline()408 int elements_sum = gr_get_height(loop_frames_[0].get()) + PixelsFromDp(kLayouts[layout_][ICON]) + in GetProgressBaseline()409 gr_get_height(installing_text_.get()) + PixelsFromDp(kLayouts[layout_][TEXT]) + in GetProgressBaseline()882 if (gr_fb_height() > PixelsFromDp(800)) ++layout_; in Init()
310 int PixelsFromDp(int dp) const;