Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java626 private boolean crossesHorizontalSizeThreshold(int firstDp, int secondDp) { in crossesHorizontalSizeThreshold() argument
627 return crossesSizeThreshold(mHorizontalSizeConfigurations, firstDp, secondDp); in crossesHorizontalSizeThreshold()
630 private boolean crossesVerticalSizeThreshold(int firstDp, int secondDp) { in crossesVerticalSizeThreshold() argument
631 return crossesSizeThreshold(mVerticalSizeConfigurations, firstDp, secondDp); in crossesVerticalSizeThreshold()
634 private boolean crossesSmallestSizeThreshold(int firstDp, int secondDp) { in crossesSmallestSizeThreshold() argument
635 return crossesSizeThreshold(mSmallestSizeConfigurations, firstDp, secondDp); in crossesSmallestSizeThreshold()
652 private static boolean crossesSizeThreshold(int[] thresholds, int firstDp, in crossesSizeThreshold() argument
659 if ((firstDp < threshold && secondDp >= threshold) in crossesSizeThreshold()
660 || (firstDp >= threshold && secondDp < threshold)) { in crossesSizeThreshold()