Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2145 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2148 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
2152 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
2157 if (myDelta != otherDelta) { in isBetterThan()
2158 return myDelta < otherDelta; in isBetterThan()
2314 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2317 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
2321 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
2323 if (myDelta != otherDelta) { in isBetterThan()
2324 return myDelta < otherDelta; in isBetterThan()