Searched refs:isBetterThan (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tools/split-select/
H A DSplitDescription.h40 bool isBetterThan(const SplitDescription& o, const SplitDescription& target) const;
H A DSplitDescription.cpp40 bool SplitDescription::isBetterThan(const SplitDescription& o, const SplitDescription& target) const { function in class:split::SplitDescription
52 return config.isBetterThan(o.config, &target.config);
H A DSplitSelector.cpp48 if (!isSet || thisSplit.isBetterThan(bestSplit, target)) {
/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp39 if (thisConfig.isBetterThan(bestConfig, &target)) {
181 EXPECT_TRUE(targetConfigB.isBetterThan(targetConfigA, &deviceConfig));
182 EXPECT_TRUE(targetConfigC.isBetterThan(targetConfigB, &deviceConfig));
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java202 private static boolean isBetterThan(Location locationA, Location locationB) { method in class:FusionEngine
230 if (isBetterThan(mGpsLocation, mNetworkLocation)) {
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp95 if (!best_value || this_value->config.isBetterThan(best_value->config, &target_density)) {
138 if (!best_value || this_value->config.isBetterThan(best_value->config, &target_density)) {
/frameworks/base/native/android/
H A Dconfiguration.cpp249 return base->isBetterThan(*test, requested);
/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp389 if ((best_config == nullptr || this_config.isBetterThan(*best_config, desired_config)) ||
418 if ((best_config == nullptr || this_config.isBetterThan(*best_config, desired_config)) ||
H A DResourceTypes.cpp2400 bool ResTable_config::isBetterThan(const ResTable_config& o, function in class:android::ResTable_config
2798 // density always matches - we can scale it. See isBetterThan
6492 if (!thisConfig.isBetterThan(bestConfig, config)) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1249 bool isBetterThan(const ResTable_config& o, const ResTable_config* requested) const;
1319 // 'requested' configuration. Similar to isBetterThan(), this assumes that

Completed in 613 milliseconds