Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2693 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2696 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
2700 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
2705 requested->screenWidthDp, requested->screenHeightDp, myDelta, otherDelta); in isBetterThan()
2707 if (myDelta != otherDelta) { in isBetterThan()
2708 return myDelta < otherDelta; in isBetterThan()
2879 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2882 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
2886 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
2888 if (myDelta != otherDelta) { in isBetterThan()
[all …]