Home
last modified time | relevance | path

Searched refs:displayDensity (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java483 public void applyToConfiguration(int displayDensity, Configuration inoutConfig) { in applyToConfiguration() argument
495 inoutConfig.densityDpi = displayDensity; in applyToConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java394 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local
395 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()
396 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
DNotificationPanelViewController.java3305 float displayDensity = mStatusBar.getDisplayDensity();
3306 int lengthDp = Math.abs((int) (translation / displayDensity));
3307 int velocityDp = Math.abs((int) (vel / displayDensity));
/frameworks/base/core/java/android/app/
DResourcesManager.java274 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument
277 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
DActivityThread.java2206 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument
2214 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()
5722 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument
5728 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()