Searched refs:mDensity (Results 1 – 4 of 4) sorted by relevance
32 private final DisplayDensityUtils mDensity; field in DisplaySizeData37 mDensity = new DisplayDensityUtils(getContext()); in DisplaySizeData()38 final int initialIndex = mDensity.getCurrentIndexForDefaultDisplay(); in DisplaySizeData()49 setDefaultValue(mDensity.getDefaultDensityForDefaultDisplay()); in DisplaySizeData()51 setValues(Arrays.stream(mDensity.getDefaultDisplayDensityValues()).boxed() in DisplaySizeData()60 mDensity.clearForcedDisplayDensity(); in commit()62 mDensity.setForcedDisplayDensity(currentProgress); in commit()
35 private final float mDensity; field in TouchTargetEnforcer56 mDensity = density; in TouchTargetEnforcer()124 return dp * mDensity; in dpToPx()
118 final ChildDrawable layer = new ChildDrawable(mLayerState.mDensity); in createChildDrawable()372 final ChildDrawable layer = new ChildDrawable(state.mDensity); in inflateLayers()721 public int mDensity = DisplayMetrics.DENSITY_DEFAULT; field in DynamicAdaptiveIconDrawable.ChildDrawable724 mDensity = density; in ChildDrawable()758 if (mDensity != targetDensity) { in setDensity()759 mDensity = targetDensity; in setDensity()773 int mDensity; field in DynamicAdaptiveIconDrawable.LayerState816 mChildren[i] = new ChildDrawable(mDensity); in LayerState()822 if (mDensity != targetDensity) { in setDensity()823 mDensity = targetDensity; in setDensity()
120 private final float mDensity; field in EdgeBackGesturePanel236 mDensity = context.getResources().getDisplayMetrics().density; in EdgeBackGesturePanel()684 return mDensity * dp; in dp()