Home | History | Annotate | Download | only in webkit

Lines Matching defs:TextSize

84     public enum TextSize {
90 TextSize(int size) {
474 * Sets the text size of the page. The default is {@link TextSize#NORMAL}.
476 * @param t the text size as a {@link TextSize} value
479 public synchronized void setTextSize(TextSize t) {
486 * matching {@link TextSize}.
488 * @return the text size as a {@link TextSize} value
492 public synchronized TextSize getTextSize() {
493 TextSize closestSize = null;
495 int textSize = getTextZoom();
496 for (TextSize size : TextSize.values()) {
497 int delta = Math.abs(textSize - size.value);
506 return closestSize != null ? closestSize : TextSize.NORMAL;