Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addContentView(View, ViewGroup.LayoutParams) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- androidx.appcompat.app - package androidx.appcompat.app
- applyDayNight() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- attachBaseContext2(Context) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
C
- com.pranavpandey.android.dynamic.locale - package com.pranavpandey.android.dynamic.locale
- createView(View, String, Context, AttributeSet) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
D
- DynamicLocale - Interface in com.pranavpandey.android.dynamic.locale
-
An interface to implement the dynamic locale throughout the app.
- DynamicLocaleDelegate - Class in androidx.appcompat.app
-
An
AppCompatDelegate
to properly apply the locale configurations. - DynamicLocaleDelegate(AppCompatDelegate, DynamicLocale) - Constructor for class androidx.appcompat.app.DynamicLocaleDelegate
-
Constructor to initialize an object of this class.
- DynamicLocaleUtils - Class in com.pranavpandey.android.dynamic.locale
-
Helper class to perform various locale operations.
- DynamicLocaleUtils() - Constructor for class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
F
- findViewById(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
G
- getCurrentLocale(Context) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Returns the current locale for the supplied context.
- getDefaultLocale(Context) - Method in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Returns the default locale to be used if no dynamic locale support is provided.
- getDefaultLocale(Context, String[]) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Get the default locale language from the supported locales.
- getDrawerToggleDelegate() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- getDynamicLocale() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
-
Get the dynamic locale used by this delegate.
- getFontScale() - Method in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Returns the font scale to be applied.
- getLayoutDirection(Context) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Returns the layout direction for the selected locale.
- getLocale() - Method in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Returns the locale to be applied.
- getLocale(Locale, Locale) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Returns the locale after performing safety checks.
- getLocaleManager(Context) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Returns the locale manager on API 33.
- getLocalNightMode() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- getMenuInflater() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- getSuperDelegate() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
-
Get the super delegate used by this delegate.
- getSupportActionBar() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- getSupportedLocales() - Method in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Returns an array of supported locales.
H
- hasWindowFeature(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- HINDI - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Hindi locale.
I
- INDONESIA - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Indonesian locale.
- installViewFactory() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- invalidateOptionsMenu() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- isHandleNativeActionModesEnabled() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- isLayoutRtl() - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Checks whether the layout direction is RTL (right-to-left).
- isLayoutRtl(Context) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Checks whether the layout direction is RTL (right-to-left).
O
- onConfigurationChanged(Configuration) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onCreate(Bundle) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onDestroy() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onPostCreate(Bundle) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onPostResume() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onSaveInstanceState(Bundle) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onStart() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- onStop() - Method in class androidx.appcompat.app.DynamicLocaleDelegate
P
- PORTUGUESE - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Portuguese locale.
R
- requestWindowFeature(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- RUSSIAN - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Russian locale.
S
- setContentView(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setContentView(View) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setContentView(View, ViewGroup.LayoutParams) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setHandleNativeActionModesEnabled(boolean) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setLocale(Context) - Method in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Apply the locale according to the configuration.
- setLocale(Context, boolean, Locale, float) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Set the locale for a given context.
- setLocale(Context, boolean, Locale, float, boolean) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Set the locale for a given context.
- setLocale(Context, Locale, float) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Set the locale for a given context.
- setLocale(Context, Locale, float, boolean) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Set the locale for a given context.
- setLocale(Configuration, Locale, float) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Set the locale for a given configuration.
- setLocalNightMode(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setSupportActionBar(Toolbar) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setTheme(int) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- setTitle(CharSequence) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- SPANISH - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Spanish locale.
- SPLIT - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Dynamic locale splitter to separate language, country, etc.
- startSupportActionMode(ActionMode.Callback) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
- SYSTEM - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the system locale.
T
- toLocale(String) - Static method in class com.pranavpandey.android.dynamic.locale.DynamicLocaleUtils
-
Get locale from the locale string in the format:
language,region
. - TURKISH - Static variable in interface com.pranavpandey.android.dynamic.locale.DynamicLocale
-
Constant value for the Turkish locale.
W
- wrapBaseContext(Context) - Method in class androidx.appcompat.app.DynamicLocaleDelegate
-
Wrap the base context if required.
All Classes and Interfaces|All Packages|Constant Field Values