Lines Matching refs:axis

310      * Determines the span along the same axis as tab
532 * Determines the minimum span for this view along an axis.
537 * @param axis may be either {@code View.X_AXIS} or {@code View.Y_AXIS}
539 * @throws IllegalArgumentException if the {@code axis} parameter is invalid
543 public float getMinimumSpan(int axis) {
544 switch (axis) {
564 return super.getMinimumSpan(axis);
566 throw new IllegalArgumentException("Invalid axis: " + axis);
572 * axis.
574 * @param axis may be either View.X_AXIS or View.Y_AXIS
580 public float getPreferredSpan(int axis) {
587 switch (axis) {
600 throw new IllegalArgumentException("Invalid axis: " + axis);
606 * axis. For the label, the alignment is along the font
607 * baseline for the y axis, and the superclasses alignment
608 * along the x axis.
610 * @param axis may be either View.X_AXIS or View.Y_AXIS
617 public float getAlignment(int axis) {
619 if (axis == View.Y_AXIS) {
635 return super.getAlignment(axis);
703 * @param axis may be either View.X_AXIS or View.Y_AXIS
718 public int getBreakWeight(int axis, float pos, float len) {
719 if (axis == View.X_AXIS) {
727 return super.getBreakWeight(axis, pos, len);
731 * Breaks this view on the given axis at the given length.
737 * @param axis may be either View.X_AXIS or View.Y_AXIS
740 * @param pos the position along the axis that the
743 * @param len specifies the distance along the axis
751 public View breakView(int axis, int p0, float pos, float len) {
752 if (axis == View.X_AXIS) {
906 * axis the glyphs are rendered.
925 * axis the glyphs are rendered.
944 * horizontal and vertical axis.
1200 * @param x the graphic location along the axis that the