Searched refs:CollisionResult (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 175 static ResourceTable::CollisionResult ResolveMergeCollision(Value* existing, Value* incoming, in ResolveMergeCollision() 181 return ResourceTable::CollisionResult::kKeepOriginal; in ResolveMergeCollision() 187 return ResourceTable::CollisionResult::kKeepOriginal; in ResolveMergeCollision() 194 static ResourceTable::CollisionResult MergeConfigValue(IAaptContext* context, in MergeConfigValue() 200 using CollisionResult = ResourceTable::CollisionResult; in MergeConfigValue() typedef 205 CollisionResult collision_result; in MergeConfigValue() 213 if (collision_result == CollisionResult::kConflict) { in MergeConfigValue() 219 return CollisionResult::kConflict; in MergeConfigValue() 266 using CollisionResult = ResourceTable::CollisionResult; in DoMerge() typedef 271 CollisionResult collision_result = in DoMerge() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.cpp | 269 ResourceTable::CollisionResult ResourceTable::ResolveValueCollision(Value* existing, in ResolveValueCollision() 278 return CollisionResult::kKeepOriginal; in ResolveValueCollision() 281 return CollisionResult::kTakeNew; in ResolveValueCollision() 285 return overlay ? CollisionResult::kTakeNew : CollisionResult::kConflict; in ResolveValueCollision() 292 return CollisionResult::kTakeNew; in ResolveValueCollision() 296 return overlay ? CollisionResult::kTakeNew : CollisionResult::kConflict; in ResolveValueCollision() 310 return existing_attr->IsWeak() ? CollisionResult::kTakeNew : CollisionResult::kKeepOriginal; in ResolveValueCollision() 315 return CollisionResult::kTakeNew; in ResolveValueCollision() 321 return CollisionResult::kKeepOriginal; in ResolveValueCollision() 324 return CollisionResult::kConflict; in ResolveValueCollision() [all …]
|
D | ResourceTable.h | 229 enum class CollisionResult { kKeepBoth, kKeepOriginal, kConflict, kTakeNew }; enum 231 using CollisionResolverFunc = std::function<CollisionResult(Value*, Value*, bool)>; 234 static CollisionResult ResolveValueCollision(Value* existing, Value* incoming, bool overlay); 237 static CollisionResult IgnoreCollision(Value* existing, Value* incoming, bool overlay);
|