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()
394 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local395 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()396 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
3305 float displayDensity = mStatusBar.getDisplayDensity();3306 int lengthDp = Math.abs((int) (translation / displayDensity));3307 int velocityDp = Math.abs((int) (vel / displayDensity));
274 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument277 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
2206 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument2214 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()5722 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument5728 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()