Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2375 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2378 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
2382 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
2387 requested->screenWidthDp, requested->screenHeightDp, myDelta, otherDelta); in isBetterThan()
2389 if (myDelta != otherDelta) { in isBetterThan()
2390 return myDelta < otherDelta; in isBetterThan()
2564 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2567 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
2571 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
2573 if (myDelta != otherDelta) { in isBetterThan()
[all …]