Searched refs:displayDensity (Results 1 – 6 of 6) sorted by relevance
451 public void applyToConfiguration(int displayDensity, Configuration inoutConfig) { in applyToConfiguration() argument463 inoutConfig.densityDpi = displayDensity; in applyToConfiguration()
76 int displayDensity = context.getResources().getDisplayMetrics().densityDpi; in getManagedUserBadgeDrawable() local79 displayDensity, context.getTheme()); in getManagedUserBadgeDrawable()
396 float displayDensity = mStatusBar.getDisplayDensity(); in endMotionEvent() local397 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent()398 int velocityDp = (int) Math.abs(vel / displayDensity); in endMotionEvent()
1798 float displayDensity = mStatusBar.getDisplayDensity(); in onAnimationToSideStarted() local1799 int lengthDp = Math.abs((int) (translation / displayDensity)); in onAnimationToSideStarted()1800 int velocityDp = Math.abs((int) (vel / displayDensity)); in onAnimationToSideStarted()
193 public boolean applyCompatConfigurationLocked(int displayDensity, in applyCompatConfigurationLocked() argument196 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfigurationLocked()
1830 Configuration applyConfigCompatMainThread(int displayDensity, Configuration config, in applyConfigCompatMainThread() argument1838 compat.applyToConfiguration(displayDensity, config); in applyConfigCompatMainThread()4698 final Configuration applyCompatConfiguration(int displayDensity) { in applyCompatConfiguration() argument4704 if (mResourcesManager.applyCompatConfigurationLocked(displayDensity, in applyCompatConfiguration()