Home | History | Annotate | Download | only in webkit

Lines Matching defs:TextSize

73     public enum TextSize {
79 TextSize(int size) {
464 * Sets the text size of the page. The default is {@link TextSize#NORMAL}.
466 * @param t the text size as a {@link TextSize} value
469 public synchronized void setTextSize(TextSize t) {
476 * matching {@link TextSize}.
478 * @return the text size as a {@link TextSize} value
482 public synchronized TextSize getTextSize() {
483 TextSize closestSize = null;
485 int textSize = getTextZoom();
486 for (TextSize size : TextSize.values()) {
487 int delta = Math.abs(textSize - size.value);
496 return closestSize != null ? closestSize : TextSize.NORMAL;