Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java451 public void applyToConfiguration(int displayDensity, Configuration inoutConfig) { in applyToConfiguration() argument
463 inoutConfig.densityDpi = displayDensity; in applyToConfiguration()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java76 int displayDensity = context.getResources().getDisplayMetrics().densityDpi; in getManagedUserBadgeDrawable() local
79 displayDensity, context.getTheme()); in getManagedUserBadgeDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java396 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local
397 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()
398 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
DNotificationPanelView.java1798 float displayDensity = mStatusBar.getDisplayDensity(); in onAnimationToSideStarted() local
1799 int lengthDp = Math.abs((int) (translation / displayDensity)); in onAnimationToSideStarted()
1800 int velocityDp = Math.abs((int) (vel / displayDensity)); in onAnimationToSideStarted()
/frameworks/base/core/java/android/app/
DResourcesManager.java193 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument
196 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
DActivityThread.java1830 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument
1838 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()
4698 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument
4704 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()