Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp56 int OptimalShortenedLength(int num_resources) { in OptimalShortenedLength() argument
59 double max_collisions = num_resources * 0.1; in OptimalShortenedLength()
60 while (num_resources - N + N * pow((N - 1) / N, num_resources) > max_collisions) { in OptimalShortenedLength()