/frameworks/base/tools/aapt/ |
AaptConfig.h | 32 * given ResTable_config with resulting configuration parameters. 55 bool parseMcc(const char* str, android::ResTable_config* out = NULL); 56 bool parseMnc(const char* str, android::ResTable_config* out = NULL); 57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL); 58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL); 61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL); 62 bool parseScreenLayoutLong(const char* str, android::ResTable_config* out = NULL); 63 bool parseOrientation(const char* str, android::ResTable_config* out = NULL) [all...] |
ConfigDescription.h | 23 * Subclass of ResTable_config that adds convenient 26 struct ConfigDescription : public android::ResTable_config { 29 size = sizeof(android::ResTable_config); 31 ConfigDescription(const android::ResTable_config&o) { 32 *static_cast<android::ResTable_config*>(this) = o; 33 size = sizeof(android::ResTable_config); 36 *static_cast<android::ResTable_config*>(this) = o; 39 ConfigDescription& operator=(const android::ResTable_config& o) { 40 *static_cast<android::ResTable_config*>(this) = o; 41 size = sizeof(android::ResTable_config); [all...] |
AaptConfig.cpp | 27 using android::ResTable_config; 243 if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY 244 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY 245 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { 247 } else if ((config->uiMode & ResTable_config::MASK_UI_MODE_TYPE) 248 != ResTable_config::UI_MODE_TYPE_ANY 249 || (config->uiMode & ResTable_config::MASK_UI_MODE_NIGHT) 250 != ResTable_config::UI_MODE_NIGHT_ANY) { 252 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE) 253 != ResTable_config::SCREENSIZE_AN [all...] |
ResourceFilter.h | 23 virtual bool match(const android::ResTable_config& config) const = 0; 37 bool match(const android::ResTable_config& config) const; 86 bool match(const android::ResTable_config& config) const { 112 bool match(const android::ResTable_config& config) const { 129 bool match(const android::ResTable_config& config) const {
|
ResourceFilter.cpp | 42 entry.second &= ~ResTable_config::CONFIG_VERSION; 51 WeakResourceFilter::match(const ResTable_config& config) const 67 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { 74 matchedAxis |= ResTable_config::CONFIG_LOCALE; 77 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) { 82 matchedAxis |= ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE;
|
StringPool.h | 53 Vector<ResTable_config> configs; 96 const String8* configTypeName = NULL, const ResTable_config* config = NULL); 99 const String8* configTypeName = NULL, const ResTable_config* config = NULL);
|
ResourceTable.h | 63 const ResTable_config& defParams, 136 const ResTable_config* params = NULL, 146 const ResTable_config* params = NULL, 159 const ResTable_config* params = NULL, 171 const ResTable_config& config) const; 411 void addEntry(const ResTable_config& config, const sp<Entry>& entry) { 467 const ResTable_config* config = NULL, 558 const ResTable_config* config = NULL, 561 const ResTable_config* config = NULL) const;
|
AaptAssets.cpp | 397 void AaptLocaleValue::initFromResTable(const ResTable_config& config) { 409 void AaptLocaleValue::writeTo(ResTable_config* out) const { [all...] |
AaptAssets.h | 76 // Initialize this AaptLocaleValue from a ResTable_config. 77 void initFromResTable(const ResTable_config& config); 79 void writeTo(ResTable_config* out) const;
|
Command.cpp | 608 ResTable_config config; 609 memset(&config, 0, sizeof(ResTable_config)); 614 config.orientation = ResTable_config::ORIENTATION_PORT; 615 config.density = ResTable_config::DENSITY_MEDIUM; 620 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL; 766 Vector<ResTable_config> configs; [all...] |
StringPool.cpp | 118 const String8* configTypeName, const ResTable_config* config) 128 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)
|
ResourceTable.cpp | 565 bool localeIsDefined(const ResTable_config& config) 573 const ResTable_config& config, 668 const ResTable_config& config, 758 const ResTable_config& defParams, 856 ResTable_config curParams(defParams); 858 ResTable_config pseudoParams(curParams); 864 ResTable_config pseudoBidiParams(curParams); [all...] |
/frameworks/base/libs/androidfw/tests/ |
Config_test.cpp | 27 static ResTable_config selectBest(const ResTable_config& target, 28 const Vector<ResTable_config>& configs) { 29 ResTable_config bestConfig; 33 const ResTable_config& thisConfig = configs[i]; 45 static ResTable_config buildDensityConfig(int density) { 46 ResTable_config config; 54 ResTable_config deviceConfig; 56 deviceConfig.density = ResTable_config::DENSITY_XHIGH; 59 Vector<ResTable_config> configs [all...] |
TestHelpers.h | 20 static inline bool operator==(const android::ResTable_config& a, const android::ResTable_config& b) { 24 static inline ::std::ostream& operator<<(::std::ostream& out, const android::ResTable_config& c) {
|
ConfigLocale_test.cpp | 25 ResTable_config config; 48 ResTable_config config; 63 ResTable_config config; 79 ResTable_config config; 103 ResTable_config config; 115 const char* script, const char* variant, ResTable_config* out) { 116 memset(out, 0, sizeof(ResTable_config)); 135 ResTable_config l; 136 ResTable_config r; 174 ResTable_config test [all...] |
Split_test.cpp | 56 void makeConfigFrench(ResTable_config* config) { 68 ResTable_config frenchConfig; 76 ResTable_config expectedConfig; 80 ResTable_config config; 93 ResTable_config expectedConfig; 103 ResTable_config config; 114 ResTable_config expectedConfig; 144 ResTable_config defaultConfig; 163 EXPECT_EQ(ResTable_config::CONFIG_LOCALE, frSpecFlags);
|
ResTable_test.cpp | 160 ResTable_config param; 184 ResTable_config param;
|
/frameworks/base/native/android/ |
configuration.cpp | 83 return config->inputFlags&ResTable_config::MASK_KEYSHIDDEN; 87 return (config->inputFlags&ResTable_config::MASK_NAVHIDDEN) 88 >> ResTable_config::SHIFT_NAVHIDDEN; 96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE; 100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG) 101 >> ResTable_config::SHIFT_SCREENLONG; 105 return config->uiMode&ResTable_config::MASK_UI_MODE_TYPE; 109 return (config->uiMode&ResTable_config::MASK_UI_MODE_NIGHT) 110 >> ResTable_config::SHIFT_UI_MODE_NIGHT; 127 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR [all...] |
/frameworks/base/include/android_runtime/ |
android_content_res_Configuration.h | 25 struct AConfiguration : android::ResTable_config {
|
/frameworks/base/include/androidfw/ |
ResourceTypes.h | 876 struct ResTable_config [all...] |
AssetManager.h | 55 struct ResTable_config; 139 void setConfiguration(const ResTable_config& config, const char* locale = NULL); 141 void getConfiguration(ResTable_config* outConfig) const; 375 ResTable_config* mConfig;
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
AssetManager.cpp | 152 mResources(NULL), mConfig(new ResTable_config), 157 memset(mConfig, 0, sizeof(ResTable_config)); 444 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale) 459 void AssetManager::getConfiguration(ResTable_config* outConfig) const [all...] |
/frameworks/base/core/jni/ |
android_content_res_Configuration.cpp | 62 << ResTable_config::SHIFT_NAVHIDDEN;
|
android_util_AssetManager.cpp | 99 uint32_t typeSpecFlags, ResTable_config* config = NULL); 103 uint32_t typeSpecFlags, ResTable_config* config) 611 ResTable_config config; 803 ResTable_config config; 1029 ResTable_config config; [all...] |