TextViewのFastMath
TextViewでcom.android.internal.util.fastmathをimportしている。
非公開パッケージのようだ。
public int getLineHeight() {
return FastMath.round(mTextPaint.getFontMetricsInt(null)
* mSpacingMult
+ mSpacingAdd);
}
TextViewでcom.android.internal.util.fastmathをimportしている。
非公開パッケージのようだ。
public int getLineHeight() {
return FastMath.round(mTextPaint.getFontMetricsInt(null)
* mSpacingMult
+ mSpacingAdd);
}