Lines Matching defs:baseline
181 private int baseline;
585 * Returns the baseline.
594 int baseline = calculateBaselineIfNecessary();
595 if (baseline != -1) {
601 baseline += insets.top + tabAreaInsets.top;
602 return baseline;
604 baseline = height - insets.bottom - tabAreaInsets.bottom - maxTabHeight + baseline;
605 return baseline;
608 baseline += insets.top + tabAreaInsets.top;
609 return baseline;
616 * Returns an enum indicating how the baseline of the component
637 * Returns the baseline for the specified tab.
639 * @param tab index of tab to get baseline for
642 * @return baseline or a value < 0 indicating there is no reasonable
643 * baseline
664 final int baseline = BasicHTML.getHTMLBaseline(view, (int)view.getPreferredSpan(View.X_AXIS), viewHeight);
665 if (baseline >= 0) {
666 return maxTabHeight / 2 - viewHeight / 2 + baseline + getBaselineOffset();
678 * Returns the amount the baseline is offset by. This is typically
681 * @return amount to offset the baseline by
706 baseline = -1;
711 return baseline;
718 baseline = getBaseline(0);
721 if (getBaseline(i) != baseline) {
722 baseline = -1;
734 // assume different baseline
735 baseline = -1;