Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2387 int requestedDensity = requested->density; in isBetterThan() local
2390 requestedDensity = ResTable_config::DENSITY_MEDIUM; in isBetterThan()
2408 if (requestedDensity >= h) { in isBetterThan()
2412 if (l >= requestedDensity) { in isBetterThan()
2417 if (((2 * l) - requestedDensity) * h > requestedDensity * requestedDensity) { in isBetterThan()