Searched refs:firstDp (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 552 private boolean crossesHorizontalSizeThreshold(int firstDp, int secondDp) { in crossesHorizontalSizeThreshold() argument 553 return crossesSizeThreshold(mHorizontalSizeConfigurations, firstDp, secondDp); in crossesHorizontalSizeThreshold() 556 private boolean crossesVerticalSizeThreshold(int firstDp, int secondDp) { in crossesVerticalSizeThreshold() argument 557 return crossesSizeThreshold(mVerticalSizeConfigurations, firstDp, secondDp); in crossesVerticalSizeThreshold() 560 private boolean crossesSmallestSizeThreshold(int firstDp, int secondDp) { in crossesSmallestSizeThreshold() argument 561 return crossesSizeThreshold(mSmallestSizeConfigurations, firstDp, secondDp); in crossesSmallestSizeThreshold() 578 private static boolean crossesSizeThreshold(int[] thresholds, int firstDp, in crossesSizeThreshold() argument 585 if ((firstDp < threshold && secondDp >= threshold) in crossesSizeThreshold() 586 || (firstDp >= threshold && secondDp < threshold)) { in crossesSizeThreshold()
|