Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2351 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2354 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
2358 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
2363 requested->screenWidthDp, requested->screenHeightDp, myDelta, otherDelta); in isBetterThan()
2365 if (myDelta != otherDelta) { in isBetterThan()
2366 return myDelta < otherDelta; in isBetterThan()
2540 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2543 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
2547 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
2549 if (myDelta != otherDelta) { in isBetterThan()
[all …]