Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp61 static int dpToPx(int dp, float density) { in dpToPx() function
77 mVerticalUnit = dpToPx(PROFILE_DRAW_DP_PER_MS, density); in setDensity()
78 mThresholdStroke = dpToPx(PROFILE_DRAW_THRESHOLD_STROKE_WIDTH, density); in setDensity()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackController.java187 : 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
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java1000 int dpToPx(int dps) { in dpToPx() method in TabLayout
1008 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()
/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