OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:allDensities
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/tools/split-select/
RuleGenerator.cpp
35
sp<Rule> RuleGenerator::generateDensity(const Vector<int>&
allDensities
, size_t index) {
36
if (
allDensities
[index] != ResTable_config::DENSITY_ANY) {
40
const bool hasAnyDensity = std::find(
allDensities
.begin(),
41
allDensities
.end(), (int) ResTable_config::DENSITY_ANY) !=
allDensities
.end();
55
gt->longArgs.add(findMid(
allDensities
[index - 1],
allDensities
[index]) - 1);
59
if (index + 1 <
allDensities
.size() &&
allDensities
[index + 1] != ResTable_config::DENSITY_ANY) {
63
lt->longArgs.add(findMid(
allDensities
[index], allDensities[index + 1]))
[
all
...]
RuleGenerator.h
34
static android::sp<Rule> generateDensity(const android::Vector<int>&
allDensities
, size_t index);
Completed in 754 milliseconds