Lines Matching defs:font

962      * Set the standard font family name.
963 * @param font A font family name.
965 public synchronized void setStandardFontFamily(String font) {
966 if (font != null && !font.equals(mStandardFontFamily)) {
967 mStandardFontFamily = font;
973 * Get the standard font family name. The default is "sans-serif".
974 * @return The standard font family name as a string.
981 * Set the fixed font family name.
982 * @param font A font family name.
984 public synchronized void setFixedFontFamily(String font) {
985 if (font != null && !font.equals(mFixedFontFamily)) {
986 mFixedFontFamily = font;
992 * Get the fixed font family name. The default is "monospace".
993 * @return The fixed font family name as a string.
1000 * Set the sans-serif font family name.
1001 * @param font A font family name.
1003 public synchronized void setSansSerifFontFamily(String font) {
1004 if (font != null && !font.equals(mSansSerifFontFamily)) {
1005 mSansSerifFontFamily = font;
1011 * Get the sans-serif font family name.
1012 * @return The sans-serif font family name as a string.
1019 * Set the serif font family name. The default is "sans-serif".
1020 * @param font A font family name.
1022 public synchronized void setSerifFontFamily(String font) {
1023 if (font != null && !font.equals(mSerifFontFamily)) {
1024 mSerifFontFamily = font;
1030 * Get the serif font family name. The default is "serif".
1031 * @return The serif font family name as a string.
1038 * Set the cursive font family name.
1039 * @param font A font family name.
1041 public synchronized void setCursiveFontFamily(String font) {
1042 if (font != null && !font.equals(mCursiveFontFamily)) {
1043 mCursiveFontFamily = font;
1049 * Get the cursive font family name. The default is "cursive".
1050 * @return The cursive font family name as a string.
1057 * Set the fantasy font family name.
1058 * @param font A font family name.
1060 public synchronized void setFantasyFontFamily(String font) {
1061 if (font != null && !font.equals(mFantasyFontFamily)) {
1062 mFantasyFontFamily = font;
1068 * Get the fantasy font family name. The default is "fantasy".
1069 * @return The fantasy font family name as a string.
1076 * Set the minimum font size.
1089 * Get the minimum font size. The default is 8.
1097 * Set the minimum logical font size.
1110 * Get the minimum logical font size. The default is 8.
1118 * Set the default font size.
1131 * Get the default font size. The default is 16.
1139 * Set the default fixed font size.
1152 * Get the default fixed font size. The default is 16.