Home
last modified time | relevance | path

Searched refs:myDelta (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
1225 myDelta += requested.screenWidthDp - screenWidthDp; in isBetterThan()
1229 myDelta += requested.screenHeightDp - screenHeightDp; in isBetterThan()
1233 if (myDelta != otherDelta) { in isBetterThan()
1234 return myDelta < otherDelta; in isBetterThan()
1408 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1410 myDelta += requested.screenWidth - screenWidth; in isBetterThan()
1414 myDelta += requested.screenHeight - screenHeight; in isBetterThan()
1417 if (myDelta != otherDelta) { in isBetterThan()
1418 return myDelta < otherDelta; in isBetterThan()