Searched refs:dpToPx (Results 1 – 3 of 3) sorted by relevance
64 static int dpToPx(int dp, float density) { in dpToPx() function80 mVerticalUnit = dpToPx(PROFILE_DRAW_DP_PER_MS, density); in setDensity()81 mThresholdStroke = dpToPx(PROFILE_DRAW_THRESHOLD_STROKE_WIDTH, density); in setDensity()
1005 private int dpToPx(int dps) { in dpToPx() method in TabLayout1013 final int idealHeight = dpToPx(getDefaultHeight()) + getPaddingTop() + getPaddingBottom(); in onMeasure()1031 : specWidth - dpToPx(TAB_MIN_WIDTH_MARGIN); in onMeasure()1740 bottomMargin = dpToPx(DEFAULT_GAP_TEXT_ICON); in updateTextAndIcon()1882 final int gutter = dpToPx(FIXED_WRAP_GUTTER_MIN); in onMeasure()1987 final int offset = dpToPx(MOTION_NON_ADJACENT_OFFSET); in animateIndicatorToPosition()
276 public static float dpToPx(Resources res, float dp) { in dpToPx() method in Utilities