Class DynamicAppTheme
java.lang.Object
com.pranavpandey.android.dynamic.theme.AppTheme<DynamicAppTheme>
com.pranavpandey.android.dynamic.support.model.DynamicAppTheme
- All Implemented Interfaces:
Parcelable,AccentTheme<DynamicAppTheme>,AutoTheme<DynamicAppTheme>,BackgroundAware<DynamicAppTheme>,BackgroundTheme<DynamicAppTheme>,BaseTheme<DynamicAppTheme>,CodeTheme<DynamicAppTheme>,CornerTheme<DynamicAppTheme>,DynamicColor<DynamicAppTheme>,ElevationTheme<DynamicAppTheme>,ErrorTheme<DynamicAppTheme>,FallbackTheme<DynamicAppTheme>,PrimaryTheme<DynamicAppTheme>,ResourceTheme<DynamicAppTheme>,StringTheme<DynamicAppTheme>,StrokeTheme<DynamicAppTheme>,StyleTheme<DynamicAppTheme>,SurfaceTheme<DynamicAppTheme>,TextTheme<DynamicAppTheme>,TranslucentTheme<DynamicAppTheme>,TypeTheme<DynamicAppTheme>
- Direct Known Subclasses:
DynamicWidgetTheme
An app theme to store various colors and attributes which can be modified at runtime.
-
Nested Class Summary
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Parcelable.Creator<DynamicAppTheme>Parcelable creator to create from parcel.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor to initialize an object of this class.DynamicAppTheme(int primaryColor, int primaryColorDark, int accentColor, int fontScale, int cornerRadius, int backgroundAware) Constructor to initialize an object of this class.DynamicAppTheme(int primaryColor, int primaryColorDark, int accentColor, int errorColor, int fontScale, int cornerRadius, int backgroundAware) Constructor to initialize an object of this class.DynamicAppTheme(int backgroundColor, int primaryColor, int accentColor, int tintBackgroundColor, int tintPrimaryColor, int tintAccentColor, int textPrimaryColor, int textSecondaryColor, int textPrimaryColorInverse, int textSecondaryColorInverse, int backgroundAware) Constructor to initialize an object of this class.DynamicAppTheme(int backgroundColor, int surfaceColor, int primaryColor, int primaryColorDark, int accentColor, int accentColorDark, int errorColor, int tintBackgroundColor, int tintSurfaceColor, int tintPrimaryColor, int tintPrimaryColorDark, int tintAccentColor, int tintAccentColorDark, int tintErrorColor, int textPrimaryColor, int textSecondaryColor, int textPrimaryColorInverse, int textSecondaryColorInverse, int fontScale, int cornerRadius, int backgroundAware, int contrast, int opacity, int elevation, int style, int type) Constructor to initialize an object of this class.Read an object of this class from the parcel.DynamicAppTheme(AppTheme<?> theme) Constructor to initialize an object of this class.DynamicAppTheme(String theme) Constructor to initialize an object of this class from the theme string. -
Method Summary
Modifier and TypeMethodDescriptionautoGenerateColors(boolean tint, boolean inverse) intintintgetAccentColor(boolean resolve) intgetAccentColor(boolean resolve, boolean inverse) intintgetAccentColorDark(boolean resolve) intgetAccentColorDark(boolean resolve, boolean inverse) floatgetAlpha()intintgetBackgroundAware(boolean resolve) intintgetBackgroundColor(boolean resolve) intgetBackgroundColor(boolean resolve, boolean inverse) intintgetContrast(boolean resolve) floatintintgetCornerRadius(boolean resolve) intintgetCornerSize(boolean resolve) intintgetElevation(boolean resolve) intintgetErrorColor(boolean resolve) intgetErrorColor(boolean resolve, boolean inverse) intintgetFontScale(boolean resolve) floatintintgetHighlightColor(int contrastWithColor) intintgetOpacity(boolean resolve) intintgetPrimaryColor(boolean resolve) intgetPrimaryColor(boolean resolve, boolean inverse) intintgetPrimaryColorDark(boolean resolve) intgetPrimaryColorDark(boolean resolve, boolean inverse) intintgetStyle()intintgetSurfaceColor(boolean resolve) intgetSurfaceColor(boolean resolve, boolean inverse) intintgetTextPrimaryColor(boolean resolve) intgetTextPrimaryColor(boolean resolve, boolean inverse) intintgetTextPrimaryColorInverse(boolean resolve) intgetTextPrimaryColorInverse(boolean resolve, boolean inverse) intintgetTextSecondaryColor(boolean resolve) intgetTextSecondaryColor(boolean resolve, boolean inverse) intintgetTextSecondaryColorInverse(boolean resolve) intgetTextSecondaryColorInverse(boolean resolve, boolean inverse) getThemeFallback(boolean resolve) intintintgetTintAccentColor(boolean resolve) intgetTintAccentColor(boolean resolve, boolean inverse) intintgetTintAccentColorDark(boolean resolve) intgetTintAccentColorDark(boolean resolve, boolean inverse) intintgetTintBackgroundColor(boolean resolve) intgetTintBackgroundColor(boolean resolve, boolean inverse) intintgetTintErrorColor(boolean resolve) intgetTintErrorColor(boolean resolve, boolean inverse) intintgetTintPrimaryColor(boolean resolve) intgetTintPrimaryColor(boolean resolve, boolean inverse) intintgetTintPrimaryColorDark(boolean resolve) intgetTintPrimaryColorDark(boolean resolve, boolean inverse) intintgetTintSurfaceColor(boolean resolve) intgetTintSurfaceColor(boolean resolve, boolean inverse) intgetType()intgetType(boolean resolve) booleanbooleanbooleanbooleanbooleanbooleanisHost()booleanbooleanbooleansetAccentColor(int accentColor) setAccentColor(int accentColor, boolean generateTint) setAccentColorDark(int accentColorDark) setAccentColorDark(int accentColorDark, boolean generateTint) setBackgroundAware(int backgroundAware) setBackgroundColor(int backgroundColor) setBackgroundColor(int backgroundColor, boolean generateTint) setContrast(int contrast) setCornerRadius(int cornerRadius) setCornerSize(float cornerSize) setElevation(int elevation) setErrorColor(int errorColor) setErrorColor(int errorColor, boolean generateTint) setFontScale(int fontScale) setHost(boolean host) setOpacity(int opacity) setPrimaryColor(int primaryColor) setPrimaryColor(int primaryColor, boolean generateTint) setPrimaryColorDark(int primaryColorDark) setPrimaryColorDark(int primaryColorDark, boolean generateTint) setStyle(int style) setSurfaceColor(int surfaceColor) setSurfaceColor(int surfaceColor, boolean generateTint) setTextPrimaryColor(int textPrimaryColor) setTextPrimaryColor(int textPrimaryColor, boolean generateInverse) setTextPrimaryColorInverse(int textPrimaryColorInverse) setTextSecondaryColor(int textSecondaryColor) setTextSecondaryColor(int textSecondaryColor, boolean generateInverse) setTextSecondaryColorInverse(int textSecondaryColorInverse) setThemeRes(int themeRes) setTintAccentColor(int tintAccentColor) setTintAccentColorDark(int tintAccentColorDark) setTintBackgroundColor(int tintBackgroundColor) setTintErrorColor(int tintErrorColor) setTintPrimaryColor(int tintPrimaryColor) setTintPrimaryColorDark(int tintPrimaryColorDark) setTintSurfaceColor(int tintSurfaceColor) setType(int type) toJsonString(boolean resolve, boolean inverse) toString()voidwriteToParcel(Parcel dest, int flags) Methods inherited from class com.pranavpandey.android.dynamic.theme.AppTheme
getCodeBackgroundColor, getCodeContrastRatio, getCodeData, getCodeDataColor, getCodeFinderColor, getCodeOverlayColor, getCodeStrokeColor, getCodeStyle, getThemeData, isDynamicColor, isStroke, toJsonString
-
Field Details
-
CREATOR
Parcelable creator to create from parcel.
-
-
Constructor Details
-
DynamicAppTheme
public DynamicAppTheme()Constructor to initialize an object of this class. -
DynamicAppTheme
Constructor to initialize an object of this class from the theme string.- Parameters:
theme- The theme string to initialize the instance.- Throws:
JsonSyntaxException
-
DynamicAppTheme
public DynamicAppTheme(@ColorInt int primaryColor, @ColorInt int primaryColorDark, @ColorInt int accentColor, int fontScale, int cornerRadius, int backgroundAware) Constructor to initialize an object of this class.- Parameters:
primaryColor- The primary color for this theme.primaryColorDark- The dark primary color for this theme.accentColor- The accent color for this theme.fontScale- The text scaling factor for this theme.cornerRadius- The corner size for this theme.backgroundAware- The background aware functionality for this theme.
-
DynamicAppTheme
public DynamicAppTheme(@ColorInt int primaryColor, @ColorInt int primaryColorDark, @ColorInt int accentColor, @ColorInt int errorColor, int fontScale, int cornerRadius, int backgroundAware) Constructor to initialize an object of this class.- Parameters:
primaryColor- The primary color for this theme.primaryColorDark- The dark primary color for this theme.accentColor- The accent color for this theme.errorColor- The error color for this theme.fontScale- The text scaling factor for this theme.cornerRadius- The corner size for this theme.backgroundAware- The background aware functionality for this theme.
-
DynamicAppTheme
public DynamicAppTheme(@ColorInt int backgroundColor, @ColorInt int primaryColor, @ColorInt int accentColor, @ColorInt int tintBackgroundColor, @ColorInt int tintPrimaryColor, @ColorInt int tintAccentColor, @ColorInt int textPrimaryColor, @ColorInt int textSecondaryColor, @ColorInt int textPrimaryColorInverse, @ColorInt int textSecondaryColorInverse, int backgroundAware) Constructor to initialize an object of this class.- Parameters:
backgroundColor- The background color for this theme.primaryColor- The primary color for this theme.accentColor- The accent color for this theme.tintBackgroundColor- Tint color according to the background color.tintPrimaryColor- Tint color according to the primary color.tintAccentColor- Tint color according to the accent color.textPrimaryColor- The primary text color for this theme.textSecondaryColor- The secondary text color for this theme.textPrimaryColorInverse- Inverse color for the primary text color.textSecondaryColorInverse- Inverse color for the secondary text color.backgroundAware- The background aware functionality for this theme.
-
DynamicAppTheme
public DynamicAppTheme(@ColorInt int backgroundColor, @ColorInt int surfaceColor, @ColorInt int primaryColor, @ColorInt int primaryColorDark, @ColorInt int accentColor, @ColorInt int accentColorDark, @ColorInt int errorColor, @ColorInt int tintBackgroundColor, @ColorInt int tintSurfaceColor, @ColorInt int tintPrimaryColor, @ColorInt int tintPrimaryColorDark, @ColorInt int tintAccentColor, @ColorInt int tintAccentColorDark, @ColorInt int tintErrorColor, @ColorInt int textPrimaryColor, @ColorInt int textSecondaryColor, @ColorInt int textPrimaryColorInverse, @ColorInt int textSecondaryColorInverse, int fontScale, int cornerRadius, int backgroundAware, int contrast, int opacity, int elevation, int style, int type) Constructor to initialize an object of this class.- Parameters:
backgroundColor- The background color for this theme.surfaceColor- The surface color for this theme.primaryColor- The primary color for this theme.primaryColorDark- The dark primary color for this theme.accentColor- The accent color for this theme.accentColorDark- The dark accent color for this theme.errorColor- The error color for this theme.tintBackgroundColor- Tint color according to the background color.tintSurfaceColor- Tint color according to the surface color.tintPrimaryColor- Tint color according to the primary color.tintPrimaryColorDark- Tint color according to the dark primary color.tintAccentColor- Tint color according to the accent color.tintAccentColorDark- Tint color according to the dark accent color.tintErrorColor- Tint color according to the error color.textPrimaryColor- The primary text color for this theme.textSecondaryColor- The secondary text color for this theme.textPrimaryColorInverse- Inverse color for the primary text color.textSecondaryColorInverse- Inverse color for the secondary text color.fontScale- The text scaling factor for this theme.cornerRadius- The corner size for this theme.backgroundAware- The background aware functionality for this theme.contrast- The contrast value for this theme.opacity- The opacity value for this theme.elevation- The elevation functionality for this theme.style- The style value for this theme.type- The type value for this theme.
-
DynamicAppTheme
Read an object of this class from the parcel.- Parameters:
in- The parcel to read the values.
-
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcelin interfaceParcelable
-
getThemeFallback
- Specified by:
getThemeFallbackin interfaceFallbackTheme<DynamicAppTheme>
-
isHost
public boolean isHost()- Specified by:
isHostin interfaceBaseTheme<DynamicAppTheme>
-
setHost
- Specified by:
setHostin interfaceBaseTheme<DynamicAppTheme>
-
getThemeRes
- Specified by:
getThemeResin interfaceResourceTheme<DynamicAppTheme>
-
setThemeRes
- Specified by:
setThemeResin interfaceResourceTheme<DynamicAppTheme>
-
getBackgroundColor
- Specified by:
getBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
getBackgroundColor
- Specified by:
getBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
getBackgroundColor
- Specified by:
getBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
setBackgroundColor
@NonNull public DynamicAppTheme setBackgroundColor(@ColorInt int backgroundColor, boolean generateTint) - Specified by:
setBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
setBackgroundColor
- Specified by:
setBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
getTintBackgroundColor
- Specified by:
getTintBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
getTintBackgroundColor
- Specified by:
getTintBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
getTintBackgroundColor
- Specified by:
getTintBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
setTintBackgroundColor
- Specified by:
setTintBackgroundColorin interfaceBackgroundTheme<DynamicAppTheme>
-
isDarkTheme
public boolean isDarkTheme()- Specified by:
isDarkThemein interfaceBackgroundTheme<DynamicAppTheme>
-
isInverseTheme
public boolean isInverseTheme()- Specified by:
isInverseThemein interfaceBackgroundTheme<DynamicAppTheme>
-
isShowDividers
public boolean isShowDividers()- Specified by:
isShowDividersin interfaceBackgroundTheme<DynamicAppTheme>
-
getElevation
public int getElevation(boolean resolve) - Specified by:
getElevationin interfaceElevationTheme<DynamicAppTheme>
-
getElevation
public int getElevation()- Specified by:
getElevationin interfaceElevationTheme<DynamicAppTheme>
-
isElevation
public boolean isElevation()- Specified by:
isElevationin interfaceElevationTheme<DynamicAppTheme>
-
setElevation
- Specified by:
setElevationin interfaceElevationTheme<DynamicAppTheme>
-
getSurfaceColor
- Specified by:
getSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
getSurfaceColor
- Specified by:
getSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
getSurfaceColor
- Specified by:
getSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
setSurfaceColor
- Specified by:
setSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
setSurfaceColor
- Specified by:
setSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
getTintSurfaceColor
- Specified by:
getTintSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
getTintSurfaceColor
- Specified by:
getTintSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
getTintSurfaceColor
- Specified by:
getTintSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
setTintSurfaceColor
- Specified by:
setTintSurfaceColorin interfaceSurfaceTheme<DynamicAppTheme>
-
isBackgroundSurface
public boolean isBackgroundSurface()- Specified by:
isBackgroundSurfacein interfaceSurfaceTheme<DynamicAppTheme>
-
getPrimaryColor
- Specified by:
getPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getPrimaryColor
- Specified by:
getPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getPrimaryColor
- Specified by:
getPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
setPrimaryColor
- Specified by:
setPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
setPrimaryColor
- Specified by:
setPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getPrimaryColorDark
- Specified by:
getPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getPrimaryColorDark
- Specified by:
getPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getPrimaryColorDark
- Specified by:
getPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
setPrimaryColorDark
@NonNull public DynamicAppTheme setPrimaryColorDark(@ColorInt int primaryColorDark, boolean generateTint) - Specified by:
setPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
setPrimaryColorDark
- Specified by:
setPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColor
- Specified by:
getTintPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColor
- Specified by:
getTintPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColor
- Specified by:
getTintPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
setTintPrimaryColor
- Specified by:
setTintPrimaryColorin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColorDark
- Specified by:
getTintPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColorDark
- Specified by:
getTintPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getTintPrimaryColorDark
- Specified by:
getTintPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
setTintPrimaryColorDark
- Specified by:
setTintPrimaryColorDarkin interfacePrimaryTheme<DynamicAppTheme>
-
getAccentColor
- Specified by:
getAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getAccentColor
- Specified by:
getAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getAccentColor
- Specified by:
getAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
setAccentColor
- Specified by:
setAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
setAccentColor
- Specified by:
setAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getAccentColorDark
- Specified by:
getAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getAccentColorDark
- Specified by:
getAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getAccentColorDark
- Specified by:
getAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
setAccentColorDark
@NonNull public DynamicAppTheme setAccentColorDark(@ColorInt int accentColorDark, boolean generateTint) - Specified by:
setAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
setAccentColorDark
- Specified by:
setAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColor
- Specified by:
getTintAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColor
- Specified by:
getTintAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColor
- Specified by:
getTintAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
setTintAccentColor
- Specified by:
setTintAccentColorin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColorDark
- Specified by:
getTintAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColorDark
- Specified by:
getTintAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getTintAccentColorDark
- Specified by:
getTintAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
setTintAccentColorDark
- Specified by:
setTintAccentColorDarkin interfaceAccentTheme<DynamicAppTheme>
-
getErrorColor
public int getErrorColor(boolean resolve, boolean inverse) - Specified by:
getErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getErrorColor
- Specified by:
getErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getErrorColor
public int getErrorColor()- Specified by:
getErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
setErrorColor
- Specified by:
setErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
setErrorColor
- Specified by:
setErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getTintErrorColor
- Specified by:
getTintErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getTintErrorColor
- Specified by:
getTintErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getTintErrorColor
- Specified by:
getTintErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
setTintErrorColor
- Specified by:
setTintErrorColorin interfaceErrorTheme<DynamicAppTheme>
-
getTextPrimaryColor
- Specified by:
getTextPrimaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextPrimaryColor
- Specified by:
getTextPrimaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextPrimaryColor
- Specified by:
getTextPrimaryColorin interfaceTextTheme<DynamicAppTheme>
-
setTextPrimaryColor
@NonNull public DynamicAppTheme setTextPrimaryColor(@ColorInt int textPrimaryColor, boolean generateInverse) - Specified by:
setTextPrimaryColorin interfaceTextTheme<DynamicAppTheme>
-
setTextPrimaryColor
- Specified by:
setTextPrimaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColor
- Specified by:
getTextSecondaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColor
- Specified by:
getTextSecondaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColor
- Specified by:
getTextSecondaryColorin interfaceTextTheme<DynamicAppTheme>
-
setTextSecondaryColor
@NonNull public DynamicAppTheme setTextSecondaryColor(@ColorInt int textSecondaryColor, boolean generateInverse) - Specified by:
setTextSecondaryColorin interfaceTextTheme<DynamicAppTheme>
-
setTextSecondaryColor
- Specified by:
setTextSecondaryColorin interfaceTextTheme<DynamicAppTheme>
-
getTextPrimaryColorInverse
- Specified by:
getTextPrimaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getTextPrimaryColorInverse
- Specified by:
getTextPrimaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getTextPrimaryColorInverse
- Specified by:
getTextPrimaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
setTextPrimaryColorInverse
- Specified by:
setTextPrimaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColorInverse
- Specified by:
getTextSecondaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColorInverse
- Specified by:
getTextSecondaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getTextSecondaryColorInverse
- Specified by:
getTextSecondaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
setTextSecondaryColorInverse
- Specified by:
setTextSecondaryColorInversein interfaceTextTheme<DynamicAppTheme>
-
getHighlightColor
- Specified by:
getHighlightColorin interfaceTextTheme<DynamicAppTheme>
-
getHighlightColor
- Specified by:
getHighlightColorin interfaceTextTheme<DynamicAppTheme>
-
autoGenerateColors
- Specified by:
autoGenerateColorsin interfaceAutoTheme<DynamicAppTheme>
-
autoGenerateColors
- Specified by:
autoGenerateColorsin interfaceAutoTheme<DynamicAppTheme>
-
getFontScale
public int getFontScale(boolean resolve) - Specified by:
getFontScalein interfaceTextTheme<DynamicAppTheme>
-
getFontScale
public int getFontScale()- Specified by:
getFontScalein interfaceTextTheme<DynamicAppTheme>
-
getFontScaleRelative
public float getFontScaleRelative()- Specified by:
getFontScaleRelativein interfaceTextTheme<DynamicAppTheme>
-
setFontScale
- Specified by:
setFontScalein interfaceTextTheme<DynamicAppTheme>
-
isFontScale
public boolean isFontScale()- Specified by:
isFontScalein interfaceTextTheme<DynamicAppTheme>
-
getCornerRadius
public int getCornerRadius(boolean resolve) - Specified by:
getCornerRadiusin interfaceCornerTheme<DynamicAppTheme>
-
getCornerRadius
public int getCornerRadius()- Specified by:
getCornerRadiusin interfaceCornerTheme<DynamicAppTheme>
-
setCornerRadius
- Specified by:
setCornerRadiusin interfaceCornerTheme<DynamicAppTheme>
-
getCornerSize
public int getCornerSize(boolean resolve) - Specified by:
getCornerSizein interfaceCornerTheme<DynamicAppTheme>
-
getCornerSize
public int getCornerSize()- Specified by:
getCornerSizein interfaceCornerTheme<DynamicAppTheme>
-
setCornerSize
- Specified by:
setCornerSizein interfaceCornerTheme<DynamicAppTheme>
-
getBackgroundAware
public int getBackgroundAware(boolean resolve) - Specified by:
getBackgroundAwarein interfaceBackgroundAware<DynamicAppTheme>
-
getBackgroundAware
public int getBackgroundAware()- Specified by:
getBackgroundAwarein interfaceBackgroundAware<DynamicAppTheme>
-
isBackgroundAware
public boolean isBackgroundAware()- Specified by:
isBackgroundAwarein interfaceBackgroundAware<DynamicAppTheme>
-
setBackgroundAware
- Specified by:
setBackgroundAwarein interfaceBackgroundAware<DynamicAppTheme>
-
getContrast
public int getContrast(boolean resolve) - Specified by:
getContrastin interfaceBackgroundAware<DynamicAppTheme>
-
getContrast
public int getContrast()- Specified by:
getContrastin interfaceBackgroundAware<DynamicAppTheme>
-
getContrastRatio
public float getContrastRatio()- Specified by:
getContrastRatioin interfaceBackgroundAware<DynamicAppTheme>
-
setContrast
- Specified by:
setContrastin interfaceBackgroundAware<DynamicAppTheme>
-
getStrokeColor
- Specified by:
getStrokeColorin interfaceStrokeTheme<DynamicAppTheme>
-
getOpacity
public int getOpacity(boolean resolve) - Specified by:
getOpacityin interfaceTranslucentTheme<DynamicAppTheme>
-
getOpacity
public int getOpacity()- Specified by:
getOpacityin interfaceTranslucentTheme<DynamicAppTheme>
-
setOpacity
- Specified by:
setOpacityin interfaceTranslucentTheme<DynamicAppTheme>
-
getAlpha
public float getAlpha()- Specified by:
getAlphain interfaceTranslucentTheme<DynamicAppTheme>
-
isTranslucent
public boolean isTranslucent()- Specified by:
isTranslucentin interfaceTranslucentTheme<DynamicAppTheme>
-
getStyle
public int getStyle()- Specified by:
getStylein interfaceStyleTheme<DynamicAppTheme>
-
setStyle
- Specified by:
setStylein interfaceStyleTheme<DynamicAppTheme>
-
getType
public int getType(boolean resolve) - Specified by:
getTypein interfaceTypeTheme<DynamicAppTheme>
-
getType
public int getType()- Specified by:
getTypein interfaceTypeTheme<DynamicAppTheme>
-
setType
- Specified by:
setTypein interfaceTypeTheme<DynamicAppTheme>
-
getDynamicColors
- Specified by:
getDynamicColorsin interfaceDynamicColor<DynamicAppTheme>
-
toJsonString
- Specified by:
toJsonStringin interfaceStringTheme<DynamicAppTheme>
-
toDynamicString
- Specified by:
toDynamicStringin interfaceStringTheme<DynamicAppTheme>
-
toString
-