Home
last modified time | relevance | path

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

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java1223 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1226 otherDelta += requested.screenWidthDp - o.screenWidthDp; in isBetterThan()
1230 otherDelta += requested.screenHeightDp - o.screenHeightDp; in isBetterThan()
1233 if (myDelta != otherDelta) { in isBetterThan()
1234 return myDelta < otherDelta; in isBetterThan()
1408 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1411 otherDelta += requested.screenWidth - o.screenWidth; in isBetterThan()
1415 otherDelta += requested.screenHeight - o.screenHeight; in isBetterThan()
1417 if (myDelta != otherDelta) { in isBetterThan()
1418 return myDelta < otherDelta; in isBetterThan()