Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addContentView(View, ViewGroup.LayoutParams) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- AndroidMissingPolicy - Class in com.transifex.txnative.missingpolicy
-
Returns a translated string using Android's localization system.
- AndroidMissingPolicy() - Constructor for class com.transifex.txnative.missingpolicy.AndroidMissingPolicy
- AndroidMissingPolicy(Context) - Constructor for class com.transifex.txnative.missingpolicy.AndroidMissingPolicy
-
Deprecated.
- androidx.appcompat.app - package androidx.appcompat.app
- appendTags(Set<String>) - Method in class com.transifex.common.LocaleData.StringInfo
- applyDayNight() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- attachBaseContext2(Context) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
B
- Builder() - Constructor for class com.transifex.common.Plurals.Builder
- BuildProperties - Class in com.transifex.common
- BuildProperties() - Constructor for class com.transifex.common.BuildProperties
- buildString() - Method in class com.transifex.common.Plurals.Builder
-
Builds a
Plurals
object with the current configuration.
C
- CDS_HOST - Static variable in class com.transifex.common.CDSHandler
- CDSHandler - Class in com.transifex.common
-
CDSHandler enables pushing and pulling strings to/from the CDS.
- CDSHandler(String[], String, String, String) - Constructor for class com.transifex.common.CDSHandler
-
Creates a CDSHandler instance.
- CDSHandler.FetchCallback - Interface in com.transifex.common
-
The callback to get the results of
CDSHandler.fetchTranslations(String, Set, FetchCallback)
- CDSHandlerAndroid - Class in com.transifex.txnative
-
A class that extends
CDSHandler
by adding a method that can fetch translations asynchronously. - CDSHandlerAndroid(String[], String, String, String) - Constructor for class com.transifex.txnative.CDSHandlerAndroid
-
Creates a CDSHandler instance.
- code - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- com.transifex.common - package com.transifex.common
- com.transifex.txnative - package com.transifex.txnative
- com.transifex.txnative.activity - package com.transifex.txnative.activity
- com.transifex.txnative.cache - package com.transifex.txnative.cache
- com.transifex.txnative.missingpolicy - package com.transifex.txnative.missingpolicy
- com.transifex.txnative.transformers - package com.transifex.txnative.transformers
- com.transifex.txnative.wrappers - package com.transifex.txnative.wrappers
- CompositeMissingPolicy - Class in com.transifex.txnative.missingpolicy
-
Combines multiple policies to create a complex result.
- CompositeMissingPolicy(MissingPolicy[]) - Constructor for class com.transifex.txnative.missingpolicy.CompositeMissingPolicy
-
Creates a new instance with the provided missing policies.
- created - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- createView(View, String, Context, AttributeSet) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
D
- data - Variable in class com.transifex.common.LocaleData.TxJobStatus
- data - Variable in class com.transifex.common.LocaleData.TxPostResponseData
- data - Variable in class com.transifex.common.LocaleData.TxPullResponseData
- Data() - Constructor for class com.transifex.common.LocaleData.TxJobStatus.Data
- Data() - Constructor for class com.transifex.common.LocaleData.TxPostResponseData.Data
- DEFAULT_TRANSLATION_FILENAME - Static variable in class com.transifex.common.TranslationMapStorage
-
The default name for the translations files.
- DEFAULT_TRANSLATIONS_DIR_NAME - Static variable in class com.transifex.common.TranslationMapStorage
-
The default directory that contains the translation files.
- deleted - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- deleteDirectory(File) - Static method in class com.transifex.common.Utils
-
Deletes a directory including its contents
- deleteDirectoryContents(File) - Static method in class com.transifex.common.Utils
-
Deletes the directory's contents
- detail - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- details - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data
- Details() - Constructor for class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- downloadTranslations(String, Set<String>, File, String) - Method in class com.transifex.common.TranslationsDownloader
-
Fetches translations from CDS and saves them to files.
E
- equals(Object) - Method in class com.transifex.common.LocaleData.LocaleStrings
- equals(Object) - Method in class com.transifex.common.LocaleData.StringInfo
- equals(Object) - Method in class com.transifex.common.LocaleData.StringInfo.Meta
- equals(Object) - Method in class com.transifex.common.LocaleData.TranslationMap
- equals(Object, Object) - Static method in class com.transifex.txnative.Utils
- Error() - Constructor for class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- errors - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data
F
- failed - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- fetchTranslations(String) - Static method in class com.transifex.txnative.TxNative
-
Fetches the translations from CDS and updates the cache.
- fetchTranslations(String, Set<String>) - Method in class com.transifex.common.CDSHandler
-
Fetches translations from CDS.
- fetchTranslations(String, Set<String>) - Static method in class com.transifex.txnative.TxNative
-
Fetches the translations from CDS and updates the cache.
- fetchTranslations(String, Set<String>, CDSHandler.FetchCallback) - Method in class com.transifex.common.CDSHandler
-
Fetches translations from CDS and supplies the raw input stream to the provided
CDSHandler.FetchCallback
. - fetchTranslationsAsync(String, Set<String>, CDSHandlerAndroid.FetchTranslationsCallback) - Method in class com.transifex.txnative.CDSHandlerAndroid
-
Fetch translations from CDS.
- few - Variable in class com.transifex.common.Plurals
- FEW - Static variable in annotation type com.transifex.common.Plurals.PluralType
- findViewById(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- fromAssetsDirectory(String) - Method in class com.transifex.txnative.TranslationMapStorageAndroid
-
Loads a
LocaleData.TranslationMap
from an application's Assets folder under the provided path. - fromDisk(TranslationMapStorage.AbstractFileProvider, TranslationMapStorage.AbstractFile) - Method in class com.transifex.common.TranslationMapStorage
-
Loads a
LocaleData.TranslationMap
from the provided source directory. - fromDisk(File) - Method in class com.transifex.common.TranslationMapStorage
-
Loads a
LocaleData.TranslationMap
from the provided source directory. - fromHtml(String, int) - Static method in class com.transifex.txnative.Utils
-
Invokes
Html.fromHtml(String, int)
on API 24 and newer, otherwiseflags
are ignored andHtml.fromHtml(String)
is used. - fromICUString(String) - Static method in class com.transifex.common.Plurals
-
Parses the provided ICU string and creates a new Plurals object.
G
- generalWrap(Context) - Static method in class com.transifex.txnative.TxNative
-
Deprecated.
- get() - Method in interface com.transifex.txnative.cache.TxCache
-
Gets all translations from the cache in the form of a
TranslationMap
object. - get() - Method in class com.transifex.txnative.cache.TxDecoratorCache
- get() - Method in class com.transifex.txnative.cache.TxMemoryCache
- get(Resources, CharSequence, int, String, String) - Method in class com.transifex.txnative.missingpolicy.AndroidMissingPolicy
-
Returns a translated string using Android's localization system.
- get(Resources, CharSequence, int, String, String) - Method in class com.transifex.txnative.missingpolicy.CompositeMissingPolicy
-
Returns a string after it has been fed to all of the provided policies from first to last.
- get(Resources, CharSequence, int, String, String) - Method in interface com.transifex.txnative.missingpolicy.MissingPolicy
-
Return a string as a translation based on the given source string.
- get(Resources, CharSequence, int, String, String) - Method in class com.transifex.txnative.missingpolicy.PseudoTranslationPolicy
-
Returns a string that looks somewhat like the source string.
- get(Resources, CharSequence, int, String, String) - Method in class com.transifex.txnative.missingpolicy.SourceStringPolicy
-
Return the source string as the translation string.
- get(Resources, CharSequence, int, String, String) - Method in class com.transifex.txnative.missingpolicy.WrappedStringPolicy
-
Returns a wrapped string.
- get(String) - Method in class com.transifex.common.LocaleData.LocaleStrings
-
Return the string value associated with the provided key, or
null
if it isn't found. - get(String) - Method in class com.transifex.common.LocaleData.TranslationMap
-
Return the
LocaleStrings
object associated with the provided locale, ornull
if it isn't found. - get(String, String) - Method in interface com.transifex.txnative.cache.TxCache
-
Get the translation for a certain key and locale pair.
- get(String, String) - Method in class com.transifex.txnative.cache.TxDecoratorCache
- get(String, String) - Method in class com.transifex.txnative.cache.TxMemoryCache
- getAbsolutePath() - Method in interface com.transifex.common.TranslationMapStorage.AbstractFile
- getAnimation(int) - Method in class com.transifex.txnative.TxResources
- getAnimation(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getAnimation(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getAppLocales() - Method in class com.transifex.txnative.LocaleState
-
The app's supported locales, including the source locale.
- getBaseResources() - Method in class com.transifex.txnative.TxResources
-
Returns the
Resources
object that is being wrapped. - getBoolean(int) - Method in class com.transifex.txnative.TxResources
- getBoolean(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getBoolean(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getCache(Context, Integer, File) - Static method in class com.transifex.txnative.cache.TxStandardCache
-
Creates a cache with the configuration explained in
TxStandardCache
. - getCLIVersion() - Static method in class com.transifex.common.BuildProperties
- getColor(int) - Method in class com.transifex.txnative.TxResources
- getColor(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getColor(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getColor(int, Resources.Theme) - Method in class com.transifex.txnative.TxResources
- getColorStateList(int) - Method in class com.transifex.txnative.TxResources
- getColorStateList(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getColorStateList(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getColorStateList(int, Resources.Theme) - Method in class com.transifex.txnative.TxResources
- getConfiguration() - Method in class com.transifex.txnative.TxResources
- getConfiguration() - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getConfiguration() - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getCurrentLocale() - Method in class com.transifex.txnative.LocaleState
-
The current locale as provided by Android or the the locale set using
LocaleState.setCurrentLocale(Locale)
. - getCurrentLocale(Context) - Static method in class com.transifex.txnative.Utils
-
Utility method to get the current locale as set in Android.
- getDefaultLocaleResources(Context) - Static method in class com.transifex.txnative.Utils
-
Returns a
Resources
object configured for the default (non localized) resources. - getDelegate() - Method in class com.transifex.txnative.activity.TxBaseAppCompatActivity
- getDimension(int) - Method in class com.transifex.txnative.TxResources
- getDimension(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDimension(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDimensionPixelOffset(int) - Method in class com.transifex.txnative.TxResources
- getDimensionPixelOffset(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDimensionPixelOffset(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDimensionPixelSize(int) - Method in class com.transifex.txnative.TxResources
- getDimensionPixelSize(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDimensionPixelSize(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDisplayMetrics() - Method in class com.transifex.txnative.TxResources
- getDisplayMetrics() - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDisplayMetrics() - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDrawable(int) - Method in class com.transifex.txnative.TxResources
- getDrawable(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDrawable(int, Resources.Theme) - Method in class com.transifex.txnative.TxResources
- getDrawable(int, Resources.Theme) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDrawable(int, Resources.Theme) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDrawableForDensity(int, int) - Method in class com.transifex.txnative.TxResources
- getDrawableForDensity(int, int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDrawableForDensity(int, int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDrawableForDensity(int, int, Resources.Theme) - Method in class com.transifex.txnative.TxResources
- getDrawableForDensity(int, int, Resources.Theme) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getDrawableForDensity(int, int, Resources.Theme) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getDrawerToggleDelegate() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- getFile(String) - Method in interface com.transifex.common.TranslationMapStorage.AbstractFileProvider
- getFile(String) - Method in class com.transifex.common.TranslationMapStorage.IOFileProvider
- getFloat(int) - Method in class com.transifex.txnative.TxResources
- getFont(int) - Method in class com.transifex.txnative.TxResources
- getFraction(int, int, int) - Method in class com.transifex.txnative.TxResources
- getFraction(int, int, int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getFraction(int, int, int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getIdentifier(String, String, String) - Method in class com.transifex.txnative.TxResources
- getIdentifier(String, String, String) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getIdentifier(String, String, String) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getIntArray(int) - Method in class com.transifex.txnative.TxResources
- getIntArray(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getIntArray(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getInteger(int) - Method in class com.transifex.txnative.TxResources
- getInteger(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getInteger(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getLayout(int) - Method in class com.transifex.txnative.TxResources
- getLayout(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getLayout(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getLocales() - Method in class com.transifex.common.LocaleData.TranslationMap
-
Returns a
Set
with the locales supported by theTranslationMap
. - getLocalizedResources(Context, Locale) - Static method in class com.transifex.txnative.Utils
-
Returns a Resources object, derived from the one in the provided context, which uses the desired locale.
- getLocalNightMode() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- getMap() - Method in class com.transifex.common.LocaleData.LocaleStrings
-
Returns the underlying data structure.
- getMenuInflater() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- getMovie(int) - Method in class com.transifex.txnative.TxResources
- getMovie(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getMovie(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getPath() - Method in interface com.transifex.common.TranslationMapStorage.AbstractFile
- getPlural(String) - Method in class com.transifex.common.Plurals
-
Returns the plural string for the provided plural type.
- getQuantityString(int, int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getQuantityString(int, int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getQuantityString(int, int, Object...) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getQuantityString(int, int, Object...) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in class com.transifex.txnative.missingpolicy.AndroidMissingPolicy
-
Returns a translated quantity string using Android's localization system.
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in class com.transifex.txnative.missingpolicy.CompositeMissingPolicy
-
Returns a quantity string after it has been fed to all of the provided policies from first to last.
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in interface com.transifex.txnative.missingpolicy.MissingPolicy
-
Return a quantity string as a translation based on the given source quantity string and quantity.
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in class com.transifex.txnative.missingpolicy.PseudoTranslationPolicy
-
Returns a quantity string that looks somewhat like the source string.
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in class com.transifex.txnative.missingpolicy.SourceStringPolicy
-
Returns the source quantity string as the translation quantity string.
- getQuantityString(Resources, CharSequence, int, int, String, String) - Method in class com.transifex.txnative.missingpolicy.WrappedStringPolicy
-
Returns a wrapped quantity string.
- getQuantityText(int, int) - Method in class com.transifex.txnative.TxResources
- getQuantityText(int, int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getQuantityText(int, int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getResolvedLocale() - Method in class com.transifex.txnative.LocaleState
-
The resolved locale is one of the app locales that best matches the current locale.
- getResourceEntryName(int) - Method in class com.transifex.txnative.TxResources
- getResourceEntryName(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getResourceEntryName(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getResourceName(int) - Method in class com.transifex.txnative.TxResources
- getResourceName(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getResourceName(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getResourcePackageName(int) - Method in class com.transifex.txnative.TxResources
- getResourcePackageName(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getResourcePackageName(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getResources() - Method in class com.transifex.txnative.wrappers.TxContextWrapper
- getResourceTypeName(int) - Method in class com.transifex.txnative.TxResources
- getResourceTypeName(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getResourceTypeName(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getSDKVersion() - Static method in class com.transifex.common.BuildProperties
- getSourceLocale() - Method in class com.transifex.txnative.LocaleState
-
The source locale.
- getString(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getString(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getString(int, Object...) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getString(int, Object...) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getStringArray(int) - Method in class com.transifex.txnative.TxResources
- getStringArray(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getStringArray(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getStringResourceId(Context, AttributeSet, int) - Static method in class com.transifex.txnative.Utils
-
Returns the string resource id that this attributeId is resolving to under the provided attribute set and the current theme.
- getSupportActionBar() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- getText(int) - Method in class com.transifex.txnative.TxResources
- getText(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getText(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getText(int, CharSequence) - Method in class com.transifex.txnative.TxResources
- getText(int, CharSequence) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getText(int, CharSequence) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getTextArray(int) - Method in class com.transifex.txnative.TxResources
- getTextArray(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getTextArray(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getTranslatedLocales() - Method in class com.transifex.txnative.LocaleState
-
The app's supported locales without the source locale.
- getTranslations() - Method in class com.transifex.txnative.cache.TxDiskTranslationsProvider
- getTranslations() - Method in interface com.transifex.txnative.cache.TxTranslationsProvider
-
Returns the translations from the provider.
- getValue(int, TypedValue, boolean) - Method in class com.transifex.txnative.TxResources
- getValue(int, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getValue(int, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getValue(String, TypedValue, boolean) - Method in class com.transifex.txnative.TxResources
- getValue(String, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getValue(String, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getValueForDensity(int, int, TypedValue, boolean) - Method in class com.transifex.txnative.TxResources
- getValueForDensity(int, int, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getValueForDensity(int, int, TypedValue, boolean) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- getXml(int) - Method in class com.transifex.txnative.TxResources
- getXml(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- getXml(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
H
- hasErrors() - Method in class com.transifex.common.LocaleData.TxJobStatus
- hashCode() - Method in class com.transifex.common.LocaleData.LocaleStrings
- hashCode() - Method in class com.transifex.common.LocaleData.StringInfo
- hashCode() - Method in class com.transifex.common.LocaleData.StringInfo.Meta
- hashCode() - Method in class com.transifex.common.LocaleData.TranslationMap
- hasWindowFeature(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
I
- id - Variable in class com.transifex.common.LocaleData.TxPostResponseData.Data
- init(Context, LocaleState, String, String, TxCache, MissingPolicy) - Static method in class com.transifex.txnative.TxNative
-
Initialize the SDK.
- installViewFactory() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- invalidateOptionsMenu() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- InvalidPluralsConfiguration(String) - Constructor for exception com.transifex.common.Plurals.InvalidPluralsConfiguration
- IOFileProvider() - Constructor for class com.transifex.common.TranslationMapStorage.IOFileProvider
- isAppcompatPresent() - Static method in class com.transifex.txnative.Utils
-
Checks if
Androidx.appcompat
classes are available at runtime. - isClassPresent(String) - Static method in class com.transifex.txnative.Utils
-
Checks, using reflection, if the provided class is available at runtime.
- isCompleted() - Method in class com.transifex.common.LocaleData.TxJobStatus
- isDirectory() - Method in interface com.transifex.common.TranslationMapStorage.AbstractFile
- isEmpty() - Method in class com.transifex.common.LocaleData.TranslationMap
-
Returns
true
if the object contains no locale to LocaleStrings mappings. - isHandleNativeActionModesEnabled() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- isMaterialComponentsPresent() - Static method in class com.transifex.txnative.Utils
-
Checks if
Material Components
classes are available at runtime. - isSourceLocale() - Method in class com.transifex.txnative.LocaleState
-
Returns
true
if the source locale matchesthe resolved locale
.
J
- job - Variable in class com.transifex.common.LocaleData.TxPostResponseData.Data.Links
L
- links - Variable in class com.transifex.common.LocaleData.TxPostResponseData.Data
- Links() - Constructor for class com.transifex.common.LocaleData.TxPostResponseData.Data.Links
- list() - Method in interface com.transifex.common.TranslationMapStorage.AbstractFile
- LocaleData - Class in com.transifex.common
-
Classes that hold the localization data.
- LocaleData() - Constructor for class com.transifex.common.LocaleData
- LocaleData.LocaleStrings - Class in com.transifex.common
-
A class holding some locale's strings.
- LocaleData.StringInfo - Class in com.transifex.common
-
A class that holds a
String
value. - LocaleData.StringInfo.Meta - Class in com.transifex.common
- LocaleData.TranslationMap - Class in com.transifex.common
-
A class that holds translations for multiple locales.
- LocaleData.TxJobStatus - Class in com.transifex.common
-
The data structure that CDS responds with when getting the job status after pushing the source strings.
- LocaleData.TxJobStatus.Data - Class in com.transifex.common
- LocaleData.TxJobStatus.Data.Details - Class in com.transifex.common
- LocaleData.TxJobStatus.Data.Error - Class in com.transifex.common
- LocaleData.TxPostData - Class in com.transifex.common
-
The data structure the CDS accepts when pushing the source strings.
- LocaleData.TxPostData.Meta - Class in com.transifex.common
- LocaleData.TxPostResponseData - Class in com.transifex.common
-
The data structure that CDS responds with when pushing the source strings.
- LocaleData.TxPostResponseData.Data - Class in com.transifex.common
- LocaleData.TxPostResponseData.Data.Links - Class in com.transifex.common
- LocaleData.TxPullResponseData - Class in com.transifex.common
-
The data structure the CDS responds with for a locale request:
- LocaleState - Class in com.transifex.txnative
-
Keeps track of the locale-related information for the application, such as supported locales, source, current and resolved locale.
- LocaleState(Context, String, String[], Locale) - Constructor for class com.transifex.txnative.LocaleState
-
Creates a LocaleState instance.
- LocaleStrings(int) - Constructor for class com.transifex.common.LocaleData.LocaleStrings
-
Creates an empty LocaleStrings object with the specified initial capacity.
- LocaleStrings(LocaleData.LocaleStrings) - Constructor for class com.transifex.common.LocaleData.LocaleStrings
-
Creates a new LocaleStrings object by making a copy of the provided one.
- LocaleStrings(HashMap<String, LocaleData.StringInfo>) - Constructor for class com.transifex.common.LocaleData.LocaleStrings
-
Creates a LocaleStrings object which uses the provided
HashMap
.
M
- many - Variable in class com.transifex.common.Plurals
- MANY - Static variable in annotation type com.transifex.common.Plurals.PluralType
- meta - Variable in class com.transifex.common.LocaleData.StringInfo
- meta - Variable in class com.transifex.common.LocaleData.TxPostData
- Meta() - Constructor for class com.transifex.common.LocaleData.StringInfo.Meta
- Meta() - Constructor for class com.transifex.common.LocaleData.TxPostData.Meta
- mInternalCache - Variable in class com.transifex.txnative.cache.TxDecoratorCache
- MissingPolicy - Interface in com.transifex.txnative.missingpolicy
-
An interface for classes that determine what translation is returned when the requested translation is not available.
N
- NativeCore - Class in com.transifex.txnative
-
The main class of the framework, responsible for orchestrating all functionality.
- NativeCore(Context, LocaleState, String, String, TxCache, MissingPolicy) - Constructor for class com.transifex.txnative.NativeCore
-
Create an instance of the core SDK class.
- NonSupportedPluralTypeException() - Constructor for exception com.transifex.common.Plurals.NonSupportedPluralTypeException
- NonSupportedPluralTypeException(String) - Constructor for exception com.transifex.common.Plurals.NonSupportedPluralTypeException
O
- obtainAttributes(AttributeSet, int[]) - Method in class com.transifex.txnative.TxResources
- obtainAttributes(AttributeSet, int[]) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- obtainAttributes(AttributeSet, int[]) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- obtainTypedArray(int) - Method in class com.transifex.txnative.TxResources
- obtainTypedArray(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- obtainTypedArray(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- onConfigurationChanged(Configuration) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onCreate(Bundle) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onDestroy() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- one - Variable in class com.transifex.common.Plurals
- ONE - Static variable in annotation type com.transifex.common.Plurals.PluralType
- onFailure(Exception) - Method in interface com.transifex.common.CDSHandler.FetchCallback
-
Called once if an exception occurs during setup.
- onFetchingTranslations(String[]) - Method in interface com.transifex.common.CDSHandler.FetchCallback
-
Called once before initiating the connection to CDS.
- onPostCreate(Bundle) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onPostResume() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onSaveInstanceState(Bundle) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onStart() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onStop() - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- onTranslationFetched(InputStream, String, Exception) - Method in interface com.transifex.common.CDSHandler.FetchCallback
-
Called for each locale when a connection with the CDS is established.
- open() - Method in interface com.transifex.common.TranslationMapStorage.AbstractFile
- openRawResource(int) - Method in class com.transifex.txnative.TxResources
- openRawResource(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- openRawResource(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- openRawResource(int, TypedValue) - Method in class com.transifex.txnative.TxResources
- openRawResource(int, TypedValue) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- openRawResource(int, TypedValue) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- openRawResourceFd(int) - Method in class com.transifex.txnative.TxResources
- openRawResourceFd(int) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- openRawResourceFd(int) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- other - Variable in class com.transifex.common.Plurals
- OTHER - Static variable in annotation type com.transifex.common.Plurals.PluralType
P
- parseBundleExtra(String, AttributeSet, Bundle) - Method in class com.transifex.txnative.TxResources
- parseBundleExtra(String, AttributeSet, Bundle) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- parseBundleExtra(String, AttributeSet, Bundle) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- parseBundleExtras(XmlResourceParser, Bundle) - Method in class com.transifex.txnative.TxResources
- parseBundleExtras(XmlResourceParser, Bundle) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- parseBundleExtras(XmlResourceParser, Bundle) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- Plurals - Class in com.transifex.common
-
An object representation of Android's plurals.
- Plurals(String, String, String, String, String, String) - Constructor for class com.transifex.common.Plurals
-
Creates a new instance.
- Plurals.Builder - Class in com.transifex.common
-
A class for building a
Plurals
object. - Plurals.InvalidPluralsConfiguration - Exception in com.transifex.common
- Plurals.NonSupportedPluralTypeException - Exception in com.transifex.common
- Plurals.PluralType - Annotation Type in com.transifex.common
-
A tag that represents the plural type.
- printAttributeSet(Context, AttributeSet) - Static method in class com.transifex.txnative.Utils
- PseudoTranslationPolicy - Class in com.transifex.txnative.missingpolicy
-
Returns a string that looks like the source string but contains accented characters.
- PseudoTranslationPolicy() - Constructor for class com.transifex.txnative.missingpolicy.PseudoTranslationPolicy
- purge - Variable in class com.transifex.common.LocaleData.TxPostData.Meta
- pushSourceStrings(LocaleData.TxPostData) - Method in class com.transifex.common.CDSHandler
-
Pushes the provided source strings to CDS and waits until the server completes the processing of the pushed strings.
- put(String, LocaleData.LocaleStrings) - Method in class com.transifex.common.LocaleData.TranslationMap
-
Associates the specified locale with the specified
LocaleData.LocaleStrings
object. - put(String, LocaleData.StringInfo) - Method in class com.transifex.common.LocaleData.LocaleStrings
-
Associates the specified key with the specified
LocaleData.StringInfo
object.
R
- readInputStream(InputStream) - Static method in class com.transifex.common.Utils
-
Reads an input stream to a string.
- REPLACE_ALL - Static variable in annotation type com.transifex.txnative.cache.TxUpdateFilterCache.TxCacheUpdatePolicy
-
Discards the existing cache entries completely and populates the cache with the new entries, even if they contain empty translations.
- requestWindowFeature(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- ResourcesWrapper - Class in com.transifex.txnative.wrappers
-
This extends Resources but delegates the calls to another Resources object.
- ResourcesWrapper(Resources) - Constructor for class com.transifex.txnative.wrappers.ResourcesWrapper
S
- setContentView(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setContentView(View) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setContentView(View, ViewGroup.LayoutParams) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setCurrentLocale(Locale) - Method in class com.transifex.txnative.LocaleState
-
Set the locale used in the app.
- setFew(String) - Method in class com.transifex.common.Plurals.Builder
- setHandleNativeActionModesEnabled(boolean) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setLocalNightMode(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setMany(String) - Method in class com.transifex.common.Plurals.Builder
- setOne(String) - Method in class com.transifex.common.Plurals.Builder
- setOther(String) - Method in class com.transifex.common.Plurals.Builder
- setPlural(String, String) - Method in class com.transifex.common.Plurals.Builder
-
Assigns the given string to the given plural type.
- setSupportActionBar(Toolbar) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setSupportSpannable(boolean) - Static method in class com.transifex.txnative.TxNative
-
If enabled, the
getText()
method can return aSpannedString
where all tags are parsed into spans. - setTestMode(boolean) - Static method in class com.transifex.txnative.TxNative
-
When test mode is enabled, TransifexNative functionality is disabled: the translations provided by the SDK are not used.
- setTheme(int) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setTitle(CharSequence) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- setTwo(String) - Method in class com.transifex.common.Plurals.Builder
- setZero(String) - Method in class com.transifex.common.Plurals.Builder
- skipped - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- SourceStringPolicy - Class in com.transifex.txnative.missingpolicy
-
Returns the source string when the translation string is missing.
- SourceStringPolicy() - Constructor for class com.transifex.txnative.missingpolicy.SourceStringPolicy
- startSupportActionMode(ActionMode.Callback) - Method in class androidx.appcompat.app.TxContextWrappingDelegateJava2
- status - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- status - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data
- string - Variable in class com.transifex.common.LocaleData.StringInfo
- StringInfo(String) - Constructor for class com.transifex.common.LocaleData.StringInfo
- StringInfo(String, LocaleData.StringInfo.Meta) - Constructor for class com.transifex.common.LocaleData.StringInfo
- SupportToolbarTransformer - Class in com.transifex.txnative.transformers
- SupportToolbarTransformer() - Constructor for class com.transifex.txnative.transformers.SupportToolbarTransformer
T
- TAG - Static variable in class com.transifex.common.TranslationMapStorage
- TAG - Static variable in class com.transifex.txnative.cache.TxDiskTranslationsProvider
- TAG - Static variable in class com.transifex.txnative.cache.TxFileOutputCacheDecorator
- TAG - Static variable in class com.transifex.txnative.NativeCore
- TAG - Static variable in class com.transifex.txnative.TranslationMapStorageAndroid
- TAG - Static variable in class com.transifex.txnative.TxNative
- tags - Variable in class com.transifex.common.LocaleData.StringInfo.Meta
- TextInputLayoutTransformer - Class in com.transifex.txnative.transformers
- TextInputLayoutTransformer() - Constructor for class com.transifex.txnative.transformers.TextInputLayoutTransformer
- TextViewTransformer - Class in com.transifex.txnative.transformers
- TextViewTransformer() - Constructor for class com.transifex.txnative.transformers.TextViewTransformer
- title - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- toDisk(LocaleData.TranslationMap, File) - Method in class com.transifex.common.TranslationMapStorage
-
Saves the provided translation map to the provided destination directory.
- toICUString() - Method in class com.transifex.common.Plurals
-
Returns the object as a string in ICU format.
- ToolbarTransformer - Class in com.transifex.txnative.transformers
- ToolbarTransformer() - Constructor for class com.transifex.txnative.transformers.ToolbarTransformer
- toString() - Method in class com.transifex.common.LocaleData.LocaleStrings
- toString() - Method in class com.transifex.common.LocaleData.StringInfo.Meta
- toString() - Method in class com.transifex.common.LocaleData.StringInfo
- toString() - Method in class com.transifex.common.LocaleData.TranslationMap
- toString() - Method in class com.transifex.common.LocaleData.TxJobStatus.Data.Error
- toString() - Method in class com.transifex.common.LocaleData.TxPostData.Meta
- toString() - Method in class com.transifex.common.LocaleData.TxPostData
- toString() - Method in class com.transifex.common.LocaleData.TxPullResponseData
- toString() - Method in class com.transifex.common.Plurals
- transform(Context, View, AttributeSet) - Method in class com.transifex.txnative.transformers.SupportToolbarTransformer
- transform(Context, View, AttributeSet) - Method in class com.transifex.txnative.transformers.TextInputLayoutTransformer
- transform(Context, View, AttributeSet) - Method in class com.transifex.txnative.transformers.TextViewTransformer
- transform(Context, View, AttributeSet) - Method in class com.transifex.txnative.transformers.ToolbarTransformer
- transform(Context, View, AttributeSet) - Method in class com.transifex.txnative.transformers.ViewTransformer
- TranslationMap(int) - Constructor for class com.transifex.common.LocaleData.TranslationMap
-
Constructs an empty
TranslationMap
with the specified initial capacity. - TranslationMap(LocaleData.TranslationMap) - Constructor for class com.transifex.common.LocaleData.TranslationMap
-
Creates a new TranslationMap object by making a copy of the provided one.
- TranslationMap(HashMap<String, LocaleData.LocaleStrings>) - Constructor for class com.transifex.common.LocaleData.TranslationMap
-
Creates a TranslationMap object which uses the provided
HashMap
. - TranslationMapStorage - Class in com.transifex.common
-
A class that allows storing and loading a
LocaleData.TranslationMap
to/from disk. - TranslationMapStorage(String) - Constructor for class com.transifex.common.TranslationMapStorage
-
Creates a new instance that can be used to write or read a
LocaleData.TranslationMap
. - TranslationMapStorage.AbstractFile - Interface in com.transifex.common
-
A file interface that abstracts the underlying implementation.
- TranslationMapStorage.AbstractFileProvider - Interface in com.transifex.common
-
An interface that can return an
TranslationMapStorage.AbstractFile
given a file path. - TranslationMapStorage.IOFileProvider - Class in com.transifex.common
-
A provider that returns an
TranslationMapStorage.IOFile
. - TranslationMapStorageAndroid - Class in com.transifex.txnative
-
A class that extends
TranslationMapStorage
so that translations can be read from the application's Assets folder. - TranslationMapStorageAndroid(AssetManager, String) - Constructor for class com.transifex.txnative.TranslationMapStorageAndroid
-
Creates a new instance.
- TranslationsDownloader - Class in com.transifex.common
-
A class that makes use of
CDSHandler
to fetch translations from the CDS and save them to files. - TranslationsDownloader(CDSHandler) - Constructor for class com.transifex.common.TranslationsDownloader
- two - Variable in class com.transifex.common.Plurals
- TWO - Static variable in annotation type com.transifex.common.Plurals.PluralType
- TxBaseAppCompatActivity - Class in com.transifex.txnative.activity
-
A base activity that extends AppCompatActivity and implements context wrapping so that the TxNative functionality is enabled.
- TxBaseAppCompatActivity() - Constructor for class com.transifex.txnative.activity.TxBaseAppCompatActivity
- TxCache - Interface in com.transifex.txnative.cache
-
An interface for classes that act as cache for translations.
- TxContextWrapper - Class in com.transifex.txnative.wrappers
-
Context wrapper that enables TxNative functionality by wrapping the base resources with
TxResources
. - TxContextWrapper(Context, NativeCore) - Constructor for class com.transifex.txnative.wrappers.TxContextWrapper
- TxContextWrappingDelegateJava2 - Class in androidx.appcompat.app
-
Wrapper of AppcompatDelegate that enables TxNative functionality by wrapping the base context.
- TxContextWrappingDelegateJava2(AppCompatDelegate) - Constructor for class androidx.appcompat.app.TxContextWrappingDelegateJava2
- TxDecoratorCache - Class in com.transifex.txnative.cache
-
Decorator class managing an internal cache and propagating the get() and update() protocol method calls to said cache.
- TxDecoratorCache(TxCache) - Constructor for class com.transifex.txnative.cache.TxDecoratorCache
-
Creates a decorator with the provided cache.
- TxDiskTranslationsProvider - Class in com.transifex.txnative.cache
-
Translations provider that loads translations from disk or the application's raw asset files depending on the constructor used.
- TxDiskTranslationsProvider(AssetManager, String) - Constructor for class com.transifex.txnative.cache.TxDiskTranslationsProvider
-
Initializes the provider with a directory under the application's raw asset files and loads the translations synchronously.
- TxDiskTranslationsProvider(File) - Constructor for class com.transifex.txnative.cache.TxDiskTranslationsProvider
-
Initializes the provider with a file directory containing translations and loads them synchronously.
- TxFileOutputCacheDecorator - Class in com.transifex.txnative.cache
-
Decorator class responsible for storing any updates of the translations to a directory specified in the constructor.
- TxFileOutputCacheDecorator(File, TxCache) - Constructor for class com.transifex.txnative.cache.TxFileOutputCacheDecorator
-
Creates a new instance with a specific directory for storing the translations to the disk and an internal cache.
- TxFileOutputCacheDecorator(Executor, File, TxCache) - Constructor for class com.transifex.txnative.cache.TxFileOutputCacheDecorator
-
Creates a new instance with a specific directory for storing the translations to the disk and an internal cache.
- TxJobStatus() - Constructor for class com.transifex.common.LocaleData.TxJobStatus
- TxMemoryCache - Class in com.transifex.txnative.cache
-
A cache that holds translations in memory.
- TxMemoryCache() - Constructor for class com.transifex.txnative.cache.TxMemoryCache
- TxNative - Class in com.transifex.txnative
-
The entry point of TransifexNative SDK.
- TxNative() - Constructor for class com.transifex.txnative.TxNative
- TxPostData(LinkedHashMap<String, LocaleData.StringInfo>, LocaleData.TxPostData.Meta) - Constructor for class com.transifex.common.LocaleData.TxPostData
- TxPostResponseData() - Constructor for class com.transifex.common.LocaleData.TxPostResponseData
- TxProviderBasedCache - Class in com.transifex.txnative.cache
-
Composite class that accepts a number of translations providers and an internal cache.
- TxProviderBasedCache(TxTranslationsProvider[], TxCache) - Constructor for class com.transifex.txnative.cache.TxProviderBasedCache
-
Creates a provider-based cache with the given internal cache and updates it with with the contents of the given translations providers.
- TxPullResponseData() - Constructor for class com.transifex.common.LocaleData.TxPullResponseData
- TxPullResponseData(HashMap<String, LocaleData.StringInfo>) - Constructor for class com.transifex.common.LocaleData.TxPullResponseData
- TxReadonlyCacheDecorator - Class in com.transifex.txnative.cache
-
Decorator class that makes the internal cache read-only so that no update operations are allowed.
- TxReadonlyCacheDecorator(TxCache) - Constructor for class com.transifex.txnative.cache.TxReadonlyCacheDecorator
- TxResources - Class in com.transifex.txnative
-
Resources wrapper that enables TxNative functionality by overriding specific String related methods.
- TxResources(Resources, NativeCore) - Constructor for class com.transifex.txnative.TxResources
-
Creates a new instance.
- TxStandardCache - Class in com.transifex.txnative.cache
-
The standard cache configuration that the TxNative SDK is initialized with, if no other cache is provided.
- TxStandardCache() - Constructor for class com.transifex.txnative.cache.TxStandardCache
- TxTranslationsProvider - Interface in com.transifex.txnative.cache
-
An interface for classes that act as providers of translations (e.g.
- TxUpdateFilterCache - Class in com.transifex.txnative.cache
-
Decorator class that updates the internal cache using a certain update policy when the
TxUpdateFilterCache.update(LocaleData.TranslationMap)
method is called. - TxUpdateFilterCache(int, TxCache) - Constructor for class com.transifex.txnative.cache.TxUpdateFilterCache
-
Creates a new instance having the provided
TxCacheUpdatePolicy
and internal cache. - TxUpdateFilterCache.TxCacheUpdatePolicy - Annotation Type in com.transifex.txnative.cache
-
Update policy that specifies the way that the internal cache is updated with new translations.
U
- unescapeHTMLEntities(String) - Static method in class com.transifex.txnative.Utils
-
Converts HTML entities to the final character similarly to what
HtmlCompat.fromHTML()
or the Android XML parser would do. - update(LocaleData.TranslationMap) - Method in interface com.transifex.txnative.cache.TxCache
-
Update the cache with the provided
TranslationMap
. - update(LocaleData.TranslationMap) - Method in class com.transifex.txnative.cache.TxDecoratorCache
- update(LocaleData.TranslationMap) - Method in class com.transifex.txnative.cache.TxFileOutputCacheDecorator
-
Updates the cache with the provided translations and writes them to the specified directory after clearing its content, if any.
- update(LocaleData.TranslationMap) - Method in class com.transifex.txnative.cache.TxMemoryCache
- update(LocaleData.TranslationMap) - Method in class com.transifex.txnative.cache.TxReadonlyCacheDecorator
-
This method is a no-op as this cache decorator is read-only.
- update(LocaleData.TranslationMap) - Method in class com.transifex.txnative.cache.TxUpdateFilterCache
-
Updates the internal cache with the provided translations using the update policy specified in the constructor.
- UPDATE_USING_TRANSLATED - Static variable in annotation type com.transifex.txnative.cache.TxUpdateFilterCache.TxCacheUpdatePolicy
-
Updates the existing cache with the new entries that have a non-empty translation.
- updateConfiguration(Configuration, DisplayMetrics) - Method in class com.transifex.txnative.TxResources
- updateConfiguration(Configuration, DisplayMetrics) - Method in class com.transifex.txnative.wrappers.ResourcesWrapper
- updateConfiguration(Configuration, DisplayMetrics) - Method in class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- updated - Variable in class com.transifex.common.LocaleData.TxJobStatus.Data.Details
- urlEncode(String) - Static method in class com.transifex.common.Utils
-
URL encodes the provided string.
- Utils - Class in com.transifex.common
- Utils - Class in com.transifex.txnative
- Utils() - Constructor for class com.transifex.common.Utils
- Utils() - Constructor for class com.transifex.txnative.Utils
V
- VectorEnabledTintResourcesWrapper - Class in com.transifex.txnative.wrappers
-
This extends VectorEnabledTintResources but delegates all calls, except for the ones implemented in VectorEnabledTintResources, to the base Resources object.
- VectorEnabledTintResourcesWrapper(Context, Resources) - Constructor for class com.transifex.txnative.wrappers.VectorEnabledTintResourcesWrapper
- ViewTransformer - Class in com.transifex.txnative.transformers
- ViewTransformer() - Constructor for class com.transifex.txnative.transformers.ViewTransformer
W
- wrap(Context) - Static method in class com.transifex.txnative.TxNative
-
Wraps a context to enable TransifexNative functionality inside activities, services or other scopes.
- wrapAppCompatDelegate(AppCompatDelegate, Context) - Static method in class com.transifex.txnative.TxNative
-
Wraps the
AppCompatDelegate
to enable TransifexNative functionality in an activity that extendsAppCompatActivity
. - WrappedStringPolicy - Class in com.transifex.txnative.missingpolicy
-
Wraps the source string with a custom format.
- WrappedStringPolicy(String, String) - Constructor for class com.transifex.txnative.missingpolicy.WrappedStringPolicy
-
Creates a new instance with the provided strings.
Z
- zero - Variable in class com.transifex.common.Plurals
- ZERO - Static variable in annotation type com.transifex.common.Plurals.PluralType
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form