C# Class [email protected]

Show file Open project: PragmaticIT/xiconify

Public Methods

Method Description
dpToPx ( android.content.Context context, float dp ) : float
getColorFromResource ( android.content.Context context, string resName ) : int
getPxFromDimen ( android.content.Context context, string resName ) : float
parse ( android.content.Context context, IList iconFontDescriptors, CharSequence text, android.widget.TextView target ) : CharSequence
spToPx ( android.content.Context context, float sp ) : float

Private Methods

Method Description
ParsingUtil ( ) : System
hasAnimatedSpans ( android.text.SpannableStringBuilder spannableBuilder ) : bool
recursivePrepareSpannableIndexes ( android.content.Context context, string fullText, android.text.SpannableStringBuilder text, IList iconFontDescriptors, int start ) : void

Method Details

dpToPx() public static method

public static dpToPx ( android.content.Context context, float dp ) : float
context android.content.Context
dp float
return float

getColorFromResource() public static method

public static getColorFromResource ( android.content.Context context, string resName ) : int
context android.content.Context
resName string
return int

getPxFromDimen() public static method

public static getPxFromDimen ( android.content.Context context, string resName ) : float
context android.content.Context
resName string
return float

parse() public static method

public static parse ( android.content.Context context, IList iconFontDescriptors, CharSequence text, android.widget.TextView target ) : CharSequence
context android.content.Context
iconFontDescriptors IList
text CharSequence
target android.widget.TextView
return CharSequence

spToPx() public static method

public static spToPx ( android.content.Context context, float sp ) : float
context android.content.Context
sp float
return float