Searched refs:displayDensity (Results 1 – 5 of 5) sorted by relevance
483 public void applyToConfiguration(int displayDensity, Configuration inoutConfig) { in applyToConfiguration() argument495 inoutConfig.densityDpi = displayDensity; in applyToConfiguration()
480 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local481 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()482 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
2243 float displayDensity = mStatusBar.getDisplayDensity(); in onAnimationToSideStarted() local2244 int lengthDp = Math.abs((int) (translation / displayDensity)); in onAnimationToSideStarted()2245 int velocityDp = Math.abs((int) (vel / displayDensity)); in onAnimationToSideStarted()
245 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument248 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
2146 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument2154 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()5541 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument5547 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()