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/am/
DActivityRecord.java576 private boolean crossesHorizontalSizeThreshold(int firstDp, int secondDp) { in crossesHorizontalSizeThreshold() argument
577 return crossesSizeThreshold(mHorizontalSizeConfigurations, firstDp, secondDp); in crossesHorizontalSizeThreshold()
580 private boolean crossesVerticalSizeThreshold(int firstDp, int secondDp) { in crossesVerticalSizeThreshold() argument
581 return crossesSizeThreshold(mVerticalSizeConfigurations, firstDp, secondDp); in crossesVerticalSizeThreshold()
584 private boolean crossesSmallestSizeThreshold(int firstDp, int secondDp) { in crossesSmallestSizeThreshold() argument
585 return crossesSizeThreshold(mSmallestSizeConfigurations, firstDp, secondDp); in crossesSmallestSizeThreshold()
602 private static boolean crossesSizeThreshold(int[] thresholds, int firstDp, in crossesSizeThreshold() argument
609 if ((firstDp < threshold && secondDp >= threshold) in crossesSizeThreshold()
610 || (firstDp >= threshold && secondDp < threshold)) { in crossesSizeThreshold()