Searched refs:dpToPx (Results 1 – 4 of 4) sorted by relevance
61 static int dpToPx(int dp, float density) { in dpToPx() function77 mVerticalUnit = dpToPx(PROFILE_DRAW_DP_PER_MS, density); in setDensity()78 mThresholdStroke = dpToPx(PROFILE_DRAW_THRESHOLD_STROKE_WIDTH, density); in setDensity()
187 : new Point(dpToPx(screenEdgeInsetsDp.getWidth(), mTmpMetrics), in reloadResources()188 dpToPx(screenEdgeInsetsDp.getHeight(), mTmpMetrics)); in reloadResources()483 private int dpToPx(float dpValue, DisplayMetrics dm) { in dpToPx() method in PinnedStackController
1000 int dpToPx(int dps) { in dpToPx() method in TabLayout1008 final int idealHeight = dpToPx(getDefaultHeight()) + getPaddingTop() + getPaddingBottom(); in onMeasure()1026 : specWidth - dpToPx(TAB_MIN_WIDTH_MARGIN); in onMeasure()1762 bottomMargin = dpToPx(DEFAULT_GAP_TEXT_ICON); in updateTextAndIcon()1884 final int gutter = dpToPx(FIXED_WRAP_GUTTER_MIN); in onMeasure()1989 final int offset = dpToPx(MOTION_NON_ADJACENT_OFFSET); in animateIndicatorToPosition()
276 public static float dpToPx(Resources res, float dp) { in dpToPx() method in Utilities