Lines Matching defs:AConfiguration
26 struct AConfiguration;
27 typedef struct AConfiguration AConfiguration;
110 * Create a new AConfiguration, initialized with no values set.
112 AConfiguration* AConfiguration_new();
115 * Free an AConfiguration that was previously created with
118 void AConfiguration_delete(AConfiguration* config);
121 * Create and return a new AConfiguration based on the current configuration in
124 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
129 void AConfiguration_copy(AConfiguration* dest, AConfiguration* src);
134 int32_t AConfiguration_getMcc(AConfiguration* config);
139 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
144 int32_t AConfiguration_getMnc(AConfiguration* config);
149 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
156 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage);
162 void AConfiguration_setLanguage(AConfiguration* config, const char* language);
169 void AConfiguration_getCountry(AConfiguration* config, char* outCountry);
175 void AConfiguration_setCountry(AConfiguration* config, const char* country);
180 int32_t AConfiguration_getOrientation(AConfiguration* config);
185 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
190 int32_t AConfiguration_getTouchscreen(AConfiguration* config);
195 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
200 int32_t AConfiguration_getDensity(AConfiguration* config);
205 void AConfiguration_setDensity(AConfiguration* config, int32_t density);
210 int32_t AConfiguration_getKeyboard(AConfiguration* config);
215 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
220 int32_t AConfiguration_getNavigation(AConfiguration* config);
225 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation);
230 int32_t AConfiguration_getKeysHidden(AConfiguration* config);
235 void AConfiguration_setKeysHidden(AConfiguration* config, int32_t keysHidden);
240 int32_t AConfiguration_getNavHidden(AConfiguration* config);
245 void AConfiguration_setNavHidden(AConfiguration* config, int32_t navHidden);
250 int32_t AConfiguration_getSdkVersion(AConfiguration* config);
255 void AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion);
260 int32_t AConfiguration_getScreenSize(AConfiguration* config);
265 void AConfiguration_setScreenSize(AConfiguration* config, int32_t screenSize);
270 int32_t AConfiguration_getScreenLong(AConfiguration* config);
275 void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);
280 int32_t AConfiguration_getUiModeType(AConfiguration* config);
285 void AConfiguration_setUiModeType(AConfiguration* config, int32_t uiModeType);
290 int32_t AConfiguration_getUiModeNight(AConfiguration* config);
295 void AConfiguration_setUiModeNight(AConfiguration* config, int32_t uiModeNight);
301 int32_t AConfiguration_getScreenWidthDp(AConfiguration* config);
306 void AConfiguration_setScreenWidthDp(AConfiguration* config, int32_t value);
312 int32_t AConfiguration_getScreenHeightDp(AConfiguration* config);
317 void AConfiguration_setScreenHeightDp(AConfiguration* config, int32_t value);
323 int32_t AConfiguration_getSmallestScreenWidthDp(AConfiguration* config);
328 void AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value);
335 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
342 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested);
354 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test,
355 AConfiguration* requested);