HomeSort by relevance Sort by last modified time
    Searched refs:ResourceConfigValue (Results 1 - 15 of 15) sorted by null

  /frameworks/base/tools/aapt2/split/
TableSplitter.cpp 29 using ConfigClaimedMap = std::unordered_map<ResourceConfigValue*, bool>;
30 using ConfigDensityGroups = std::map<ConfigDescription, std::vector<ResourceConfigValue*>>;
53 std::vector<ResourceConfigValue*> selectValues(const ConfigDensityGroups& densityGroups,
55 std::vector<ResourceConfigValue*> selected;
60 ResourceConfigValue* configValue = entry.first;
78 const std::vector<ResourceConfigValue*>& relatedValues = entry.second;
86 ResourceConfigValue* bestValue = nullptr;
87 for (ResourceConfigValue* thisValue : relatedValues) {
118 const std::vector<ResourceConfigValue*>& relatedValues = entry.second;
122 ResourceConfigValue* bestValue = nullptr
    [all...]
  /frameworks/base/tools/aapt2/
ResourceTable.h 54 class ResourceConfigValue {
71 ResourceConfigValue(const ConfigDescription& config, const StringPiece& product) :
75 DISALLOW_COPY_AND_ASSIGN(ResourceConfigValue);
104 std::vector<std::unique_ptr<ResourceConfigValue>> values;
108 ResourceConfigValue* findValue(const ConfigDescription& config);
109 ResourceConfigValue* findValue(const ConfigDescription& config, const StringPiece& product);
110 ResourceConfigValue* findOrCreateValue(const ConfigDescription& config,
112 std::vector<ResourceConfigValue*> findAllValues(const ConfigDescription& config);
113 std::vector<ResourceConfigValue*> findValuesIf(
114 const std::function<bool(ResourceConfigValue*)>& f)
    [all...]
ResourceTable.cpp 125 ResourceConfigValue* ResourceEntry::findValue(const ConfigDescription& config) {
134 bool ltConfigKeyRef(const std::unique_ptr<ResourceConfigValue>& lhs, const ConfigKey& rhs) {
142 ResourceConfigValue* ResourceEntry::findValue(const ConfigDescription& config,
147 ResourceConfigValue* value = iter->get();
155 ResourceConfigValue* ResourceEntry::findOrCreateValue(const ConfigDescription& config,
160 ResourceConfigValue* value = iter->get();
165 ResourceConfigValue* newValue = values.insert(
166 iter, util::make_unique<ResourceConfigValue>(config, product))->get();
170 std::vector<ResourceConfigValue*> ResourceEntry::findAllValues(const ConfigDescription& config) {
171 std::vector<ResourceConfigValue*> results
    [all...]
ResourceTable_test.cpp 146 std::vector<ResourceConfigValue*> values = sr.value().entry->findAllValues(
  /frameworks/base/tools/aapt2/link/
ProductFilter.cpp 30 ResourceConfigValue* configValue = iter->get();
38 ResourceConfigValue* previouslySelectedConfigValue = selectedProductIter->get();
55 ResourceConfigValue* previouslyDefaultConfigValue = defaultProductIter->get();
82 std::vector<std::unique_ptr<ResourceConfigValue>> newValues;
ProductFilter.h 30 using ResourceConfigValueIter = std::vector<std::unique_ptr<ResourceConfigValue>>::iterator;
AutoVersioner_test.cpp 32 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, ""));
33 entry.values.push_back(util::make_unique<ResourceConfigValue>(landConfig, ""));
34 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpLandConfig, ""));
46 entry.values.push_back(util::make_unique<ResourceConfigValue>(defaultConfig, ""));
47 entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dpV13Config, ""));
48 entry.values.push_back(util::make_unique<ResourceConfigValue>(v21Config, ""));
AutoVersioner.cpp 71 ResourceConfigValue* configValue = entry->values[i].get();
TableMerger.cpp 219 ResourceConfigValue* dstValue = dstEntry->findValue(srcValue->config,
Link.cpp 440 ResourceConfigValue* configValue = entry->values[i].get();
    [all...]
  /frameworks/base/tools/aapt2/compile/
PseudolocaleGenerator.cpp 188 ResourceConfigValue* originalValue,
208 ResourceConfigValue* newConfigValue = entry->findOrCreateValue(
220 static bool isPseudolocalizable(ResourceConfigValue* configValue) {
234 std::vector<ResourceConfigValue*> values = entry->findValuesIf(isPseudolocalizable);
236 for (ResourceConfigValue* value : values) {
  /frameworks/base/tools/aapt2/diff/
Diff.cpp 140 ResourceConfigValue* configValueA,
145 ResourceConfigValue* configValueB) {
171 for (std::unique_ptr<ResourceConfigValue>& configValueA : entryA->values) {
172 ResourceConfigValue* configValueB = entryB->findValue(configValueA->config);
187 for (std::unique_ptr<ResourceConfigValue>& configValueB : entryB->values) {
188 ResourceConfigValue* configValueA = entryA->findValue(configValueB->config);
  /frameworks/base/tools/aapt2/test/
Common.h 85 ResourceConfigValue* configValue = result.value().entry->findValue(config, product);
  /frameworks/base/tools/aapt2/process/
SymbolTable.cpp 125 ResourceConfigValue* configValue = sr.entry->findValue(kDefaultConfig);
  /frameworks/base/tools/aapt2/proto/
TableProtoDeserializer.cpp 136 ResourceConfigValue* configValue = entry->findOrCreateValue(config,

Completed in 144 milliseconds