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()
484 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local485 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()486 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
2547 float displayDensity = mStatusBar.getDisplayDensity(); in onAnimationToSideStarted() local2548 int lengthDp = Math.abs((int) (translation / displayDensity)); in onAnimationToSideStarted()2549 int velocityDp = Math.abs((int) (vel / displayDensity)); in onAnimationToSideStarted()
252 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument255 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
2165 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument2173 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()5581 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument5587 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()