Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2375 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2377 myDelta += requested->screenWidthDp - screenWidthDp; in isBetterThan()
2381 myDelta += requested->screenHeightDp - 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
2566 myDelta += requested->screenWidth - screenWidth; in isBetterThan()
2570 myDelta += requested->screenHeight - screenHeight; in isBetterThan()
2573 if (myDelta != otherDelta) { in isBetterThan()
[all …]