Searched refs:thisDistance (Results 1 – 3 of 3) sorted by relevance
605 int thisDistance; in IsDensityMoreSuitable() local610 thisDistance = this->screenDensityDpi_ - requestDensity; in IsDensityMoreSuitable()612 if (IsDensityMoreSuitable(thisDistance, otherDistance)) { in IsDensityMoreSuitable()622 thisDistance = static_cast<int>(this->screenDensityDpi_ - density); in IsDensityMoreSuitable()624 if (IsDensityMoreSuitable(thisDistance, otherDistance)) { in IsDensityMoreSuitable()638 if (thisDistance >= 0 && otherDistance >= 0) { in IsDensityMoreSuitable()639 return (thisDistance <= otherDistance); in IsDensityMoreSuitable()641 if (thisDistance > 0) { in IsDensityMoreSuitable()647 return (thisDistance >= otherDistance); in IsDensityMoreSuitable()755 int thisDistance = static_cast<int>(this->screenDensityDpi_ - density); in IsDensityMoreSpecificThan() local[all …]
240 int thisDistance = this->screenDensity_ - request->screenDensity_; in IsMoreSuitable() local242 if (thisDistance >= 0 && otherDistance >= 0) { in IsMoreSuitable()243 return (thisDistance <= otherDistance); in IsMoreSuitable()245 if (thisDistance > 0) { in IsMoreSuitable()251 return (thisDistance >= otherDistance); in IsMoreSuitable()
239 bool IsDensityMoreSuitable(int thisDistance, int otherDistance) const;