Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp64 static int dpToPx(int dp, float density) { in dpToPx() function
80 mVerticalUnit = dpToPx(PROFILE_DRAW_DP_PER_MS, density); in setDensity()
81 mThresholdStroke = dpToPx(PROFILE_DRAW_THRESHOLD_STROKE_WIDTH, density); in setDensity()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java1005 private int dpToPx(int dps) { in dpToPx() method in TabLayout
1013 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java276 public static float dpToPx(Resources res, float dp) { in dpToPx() method in Utilities