Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp1704 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1707 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan()
1711 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
1716 if (myDelta != otherDelta) { in isBetterThan()
1717 return myDelta < otherDelta; in isBetterThan()
1857 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1860 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
1864 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
1866 if (myDelta != otherDelta) { in isBetterThan()
1867 return myDelta < otherDelta; in isBetterThan()