Lines Matching defs:AConfiguration
37 struct AConfiguration;
39 * {@link AConfiguration} is an opaque type used to get and set
42 * A {@link AConfiguration} pointer can be obtained using:
46 typedef struct AConfiguration AConfiguration;
477 * Create a new AConfiguration, initialized with no values set.
479 AConfiguration* AConfiguration_new();
482 * Free an AConfiguration that was previously created with
485 void AConfiguration_delete(AConfiguration* config);
488 * Create and return a new AConfiguration based on the current configuration in
491 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
496 void AConfiguration_copy(AConfiguration* dest, AConfiguration* src);
501 int32_t AConfiguration_getMcc(AConfiguration* config);
506 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
511 int32_t AConfiguration_getMnc(AConfiguration* config);
516 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
523 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage);
529 void AConfiguration_setLanguage(AConfiguration* config, const char* language);
536 void AConfiguration_getCountry(AConfiguration* config, char* outCountry);
542 void AConfiguration_setCountry(AConfiguration* config, const char* country);
547 int32_t AConfiguration_getOrientation(AConfiguration* config);
552 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
557 int32_t AConfiguration_getTouchscreen(AConfiguration* config);
562 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
567 int32_t AConfiguration_getDensity(AConfiguration* config);
572 void AConfiguration_setDensity(AConfiguration* config, int32_t density);
577 int32_t AConfiguration_getKeyboard(AConfiguration* config);
582 void AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard);
587 int32_t AConfiguration_getNavigation(AConfiguration* config);
592 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation);
597 int32_t AConfiguration_getKeysHidden(AConfiguration* config);
602 void AConfiguration_setKeysHidden(AConfiguration* config, int32_t keysHidden);
607 int32_t AConfiguration_getNavHidden(AConfiguration* config);
612 void AConfiguration_setNavHidden(AConfiguration* config, int32_t navHidden);
617 int32_t AConfiguration_getSdkVersion(AConfiguration* config);
622 void AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion);
627 int32_t AConfiguration_getScreenSize(AConfiguration* config);
632 void AConfiguration_setScreenSize(AConfiguration* config, int32_t screenSize);
637 int32_t AConfiguration_getScreenLong(AConfiguration* config);
642 void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);
647 int32_t AConfiguration_getScreenRound(AConfiguration* config);
652 void AConfiguration_setScreenRound(AConfiguration* config, int32_t screenRound);
657 int32_t AConfiguration_getUiModeType(AConfiguration* config);
662 void AConfiguration_setUiModeType(AConfiguration* config, int32_t uiModeType);
667 int32_t AConfiguration_getUiModeNight(AConfiguration* config);
672 void AConfiguration_setUiModeNight(AConfiguration* config, int32_t uiModeNight);
679 int32_t AConfiguration_getScreenWidthDp(AConfiguration* config);
684 void AConfiguration_setScreenWidthDp(AConfiguration* config, int32_t value);
690 int32_t AConfiguration_getScreenHeightDp(AConfiguration* config);
695 void AConfiguration_setScreenHeightDp(AConfiguration* config, int32_t value);
701 int32_t AConfiguration_getSmallestScreenWidthDp(AConfiguration* config);
706 void AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value);
714 int32_t AConfiguration_getLayoutDirection(AConfiguration* config);
719 void AConfiguration_setLayoutDirection(AConfiguration* config, int32_t value);
727 int32_t AConfiguration_diff(AConfiguration* config1, AConfiguration* config2);
734 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested);
746 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test,
747 AConfiguration* requested);