Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2457 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2460 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
2464 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
2469 requested->screenWidthDp, requested->screenHeightDp, myDelta, otherDelta); in isBetterThan()
2471 if (myDelta != otherDelta) { in isBetterThan()
2472 return myDelta < otherDelta; in isBetterThan()
2646 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2649 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
2653 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
2655 if (myDelta != otherDelta) { in isBetterThan()
[all …]