Searched refs:mDensity (Results 1 – 6 of 6) sorted by relevance
56 private final float mDensity; field in ButteryProgressBar86 mDensity = c.getResources().getDisplayMetrics().density; in ButteryProgressBar()94 Math.round(DEFAULT_BAR_HEIGHT_DP * mDensity)); in ButteryProgressBar()97 Math.round(DEFAULT_DETENT_WIDTH_DP * mDensity)); in ButteryProgressBar()128 final float widthMultiplier = w / mDensity / BASE_WIDTH_DP; in onLayout()
121 final ChildDrawable layer = new ChildDrawable(mLayerState.mDensity); in createChildDrawable()375 final ChildDrawable layer = new ChildDrawable(state.mDensity); in inflateLayers()724 public int mDensity = DisplayMetrics.DENSITY_DEFAULT; field in DynamicAdaptiveIconDrawable.ChildDrawable727 mDensity = density; in ChildDrawable()761 if (mDensity != targetDensity) { in setDensity()762 mDensity = targetDensity; in setDensity()774 int mDensity; field in DynamicAdaptiveIconDrawable.LayerState816 mChildren[i] = new ChildDrawable(mDensity); in LayerState()822 if (mDensity != targetDensity) { in setDensity()823 mDensity = targetDensity; in setDensity()
141 private final float mDensity; field in ConversationWebView165 mDensity = r.getDisplayMetrics().density; in ConversationWebView()228 return (int) ((getWidth() - sideMarginPx * 2) / mDensity); in getWidthInDp()244 scale = mDensity; in getInitialScale()
38 private final float mDensity; field in InputSmoother46 mDensity = context.getResources().getDisplayMetrics().density; in InputSmoother()95 final float distanceDp = totalDistancePx / mDensity; in getSmoothedVelocity()
35 private final float mDensity; field in TouchTargetEnforcer56 mDensity = density; in TouchTargetEnforcer()124 return dp * mDensity; in dpToPx()
49 private final int mDensity; field in ConfigMonitor62 mDensity = config.densityDpi; in ConfigMonitor()87 if (mFontScale != config.fontScale || mDensity != config.densityDpi) { in onReceive()