Searched refs:ResTable_config (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/native/android/
H A Dconfiguration.cpp83 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
[all...]
/frameworks/base/include/android_runtime/
H A Dandroid_content_res_Configuration.h25 struct AConfiguration : android::ResTable_config {
/frameworks/base/tools/aapt/
H A DResourceFilter.h23 bool match(int axis, const ResTable_config& config) const;
24 bool match(const ResTable_config& config) const;
H A DAaptAssets.cpp155 ResTable_config config;
189 *value = (config.screenLayout&ResTable_config::MASK_LAYOUTDIR);
217 *value = (config.screenLayout&ResTable_config::MASK_SCREENSIZE);
224 *value = (config.screenLayout&ResTable_config::MASK_SCREENLONG);
238 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
245 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
309 AaptGroupEntry::getConfigValueForAxis(const ResTable_config& config, int axis)
320 return config.screenLayout&ResTable_config::MASK_LAYOUTDIR;
322 return config.screenLayout&ResTable_config::MASK_SCREENSIZE;
326 return (config.uiMode&ResTable_config
[all...]
H A DAaptAssets.h76 static uint32_t getConfigValueForAxis(const ResTable_config& config, int axis);
78 static bool configSameExcept(const ResTable_config& config,
79 const ResTable_config& otherConfig, int axis);
81 static bool getMccName(const char* name, ResTable_config* out = NULL);
82 static bool getMncName(const char* name, ResTable_config* out = NULL);
83 static bool getLocaleName(const char* name, ResTable_config* out = NULL);
84 static bool getScreenLayoutSizeName(const char* name, ResTable_config* out = NULL);
85 static bool getScreenLayoutLongName(const char* name, ResTable_config* out = NULL);
86 static bool getOrientationName(const char* name, ResTable_config* out = NULL);
87 static bool getUiModeTypeName(const char* name, ResTable_config* ou
[all...]
H A DResourceTable.h54 const ResTable_config& defParams,
79 struct ConfigDescription : public ResTable_config {
82 size = sizeof(ResTable_config);
84 ConfigDescription(const ResTable_config&o) { argument
85 *static_cast<ResTable_config*>(this) = o;
86 size = sizeof(ResTable_config);
89 *static_cast<ResTable_config*>(this) = o;
92 ConfigDescription& operator=(const ResTable_config& o) {
93 *static_cast<ResTable_config*>(this) = o;
94 size = sizeof(ResTable_config);
[all...]
H A DResourceFilter.cpp89 ResourceFilter::match(int axis, const ResTable_config& config) const
95 ResourceFilter::match(const ResTable_config& config) const
H A DStringPool.h54 Vector<ResTable_config> configs;
97 const String8* configTypeName = NULL, const ResTable_config* config = NULL);
100 const String8* configTypeName = NULL, const ResTable_config* config = NULL);
H A DCommand.cpp461 ResTable_config config;
466 config.orientation = ResTable_config::ORIENTATION_PORT;
467 config.density = ResTable_config::DENSITY_MEDIUM;
601 Vector<ResTable_config> configs;
808 ResTable_config tmpConfig = config;
1486 Vector<ResTable_config> configs;
H A DResourceTable.cpp563 bool localeIsDefined(const ResTable_config& config)
571 const ResTable_config& config,
642 const ResTable_config& config,
724 const ResTable_config& defParams,
817 ResTable_config curParams(defParams);
819 ResTable_config pseudoParams(curParams);
1703 const ResTable_config* params,
1743 const ResTable_config* params,
1810 const ResTable_config* params,
1875 const ResTable_config
[all...]
H A DStringPool.cpp110 const String8* configTypeName, const ResTable_config* config)
120 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)
H A DResource.cpp91 inline const ResTable_config& getParams() const { return mParams; }
165 ResTable_config mParams;
/frameworks/base/include/androidfw/
H A DResourceTypes.h810 struct ResTable_config struct in namespace:android
1004 void copyFromDeviceNoSwap(const ResTable_config& o);
1006 void copyFromDtoH(const ResTable_config& o);
1010 int compare(const ResTable_config& o) const;
1011 int compareLogical(const ResTable_config& o) const;
1036 int diff(const ResTable_config& o) const;
1039 bool isMoreSpecificThan(const ResTable_config& o) const;
1051 bool isBetterThan(const ResTable_config& o, const ResTable_config* requested) const;
1059 bool match(const ResTable_config
[all...]
H A DAssetManager.h55 struct ResTable_config;
131 void setConfiguration(const ResTable_config& config, const char* locale = NULL);
133 void getConfiguration(ResTable_config* outConfig) const;
356 ResTable_config* mConfig;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1392 void ResTable_config::copyFromDeviceNoSwap(const ResTable_config& o) {
1394 if (size >= sizeof(ResTable_config)) {
1398 memset(((uint8_t*)this)+size, 0, sizeof(ResTable_config)-size);
1402 void ResTable_config::copyFromDtoH(const ResTable_config& o) {
1404 size = sizeof(ResTable_config);
1417 void ResTable_config::swapHtoD() {
1431 int ResTable_config::compare(const ResTable_config
[all...]
H A DAssetManager.cpp134 mResources(NULL), mConfig(new ResTable_config),
139 memset(mConfig, 0, sizeof(ResTable_config));
445 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale)
469 void AssetManager::getConfiguration(ResTable_config* outConfig) const
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp62 << ResTable_config::SHIFT_NAVHIDDEN;
H A Dandroid_util_AssetManager.cpp83 uint32_t typeSpecFlags, ResTable_config* config = NULL);
87 uint32_t typeSpecFlags, ResTable_config* config)
523 ResTable_config config;
695 ResTable_config config;
894 ResTable_config config;
1136 ResTable_config config;
1286 ResTable_config config;

Completed in 2308 milliseconds