Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DDividerPresenterTest.java655 final float displayDensity = 600F; in testDividerPositionWithDraggingToFullscreenAllowed() local
656 final float dismissVelocity = MIN_DISMISS_VELOCITY_DP_PER_SECOND * displayDensity + 10f; in testDividerPositionWithDraggingToFullscreenAllowed()
657 final float nonFlingVelocity = MIN_FLING_VELOCITY_DP_PER_SECOND * displayDensity - 10f; in testDividerPositionWithDraggingToFullscreenAllowed()
658 final float flingVelocity = MIN_FLING_VELOCITY_DP_PER_SECOND * displayDensity + 10f; in testDividerPositionWithDraggingToFullscreenAllowed()
669 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
681 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
694 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
707 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
720 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
733 displayDensity, in testDividerPositionWithDraggingToFullscreenAllowed()
[all …]
/frameworks/base/core/java/android/app/
DConfigurationController.java102 final int displayDensity = config.densityDpi; in applyCompatConfiguration() local
107 if (mResourcesManager.applyCompatConfiguration(displayDensity, mCompatConfiguration)) { in applyCompatConfiguration()
DResourcesManager.java483 public boolean applyCompatConfiguration(int displayDensity, in applyCompatConfiguration() argument
487 mResCompatibilityInfo.applyToConfiguration(displayDensity, compatConfiguration); in applyCompatConfiguration()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java688 final float displayDensity = getDisplayDensity(); in dividerPositionForSnapPoints() local
697 displayDensity, in dividerPositionForSnapPoints()
709 int maxPosition, int fullyExpandedPosition, float velocity, float displayDensity, in dividerPositionWithPositionOptions() argument
713 MIN_DISMISS_VELOCITY_DP_PER_SECOND * displayDensity; in dividerPositionWithPositionOptions()
722 MIN_FLING_VELOCITY_DP_PER_SECOND * displayDensity; in dividerPositionWithPositionOptions()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java618 public void applyToConfiguration(int displayDensity, Configuration inoutConfig) { in applyToConfiguration() argument
631 inoutConfig.densityDpi = displayDensity; in applyToConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java2029 float displayDensity = mPanelViewControllerLazy.get().getDisplayDensity(); in logQsSwipeDown() local
2031 (int) ((y - getInitialTouchY()) / displayDensity), (int) (vel / displayDensity)); in logQsSwipeDown()
DNotificationPanelViewController.java3863 float displayDensity = mCentralSurfaces.getDisplayDensity();
3864 int heightDp = (int) Math.abs((y - mInitialExpandY) / displayDensity);
3865 int velocityDp = (int) Math.abs(vel / displayDensity);