Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp1864 int myDelta = 0, otherDelta = 0; in isBetterThan() local
1866 myDelta += requested->screenWidthDp - screenWidthDp; in isBetterThan()
1870 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
1876 if (myDelta != otherDelta) { in isBetterThan()
1877 return myDelta < otherDelta; in isBetterThan()
2017 int myDelta = 0, otherDelta = 0; in isBetterThan() local
2019 myDelta += requested->screenWidth - screenWidth; in isBetterThan()
2023 myDelta += requested->screenHeight - screenHeight; in isBetterThan()
2026 if (myDelta != otherDelta) { in isBetterThan()
2027 return myDelta < otherDelta; in isBetterThan()