boolean function ( Context arg0 ) { if ( isRTLForced ( arg0 ) ) { return true ; } return isRTLAllowed ( arg0 ) && isDevicePreferredLanguageRTL ( ) ; }
check if the device is currently running on an rtl locale . this only happens when the app : - is forcing rtl layout , regardless of the active language for development purpose - allows rtl layout when using rtl locale concode_field_sep String KEY_FOR_PREFS_FORCERTL concode_elem_sep I18nUtil sharedI18nUtilInstance concode_elem_sep String KEY_FOR_PREFS_ALLOWRTL concode_elem_sep String SHARED_PREFS_NAME concode_field_sep void allowRTL concode_elem_sep boolean isPrefSet concode_elem_sep void forceRTL concode_elem_sep I18nUtil getInstance concode_elem_sep boolean isRTLAllowed concode_elem_sep void setPref concode_elem_sep boolean isDevicePreferredLanguageRTL concode_elem_sep boolean isRTLForced