Lines Matching defs:baseline
1373 * <p>Return the offset of the widget's text baseline from the widget's top
1376 * @return the offset of the baseline within the widget's bounds or -1
1377 * if baseline alignment is not supported.
1390 * <p>Set the offset of the widget's text baseline from the widget's top
1394 * @param baseline The baseline to use, or -1 if none is to be provided.
1399 public void setBaseline(int baseline) {
1400 if (mBaseline != baseline) {
1401 mBaseline = baseline;
1407 * Sets whether the baseline of this view to the bottom of the view.
1410 * @param aligned If true, the image view will be baseline aligned by its bottom edge.
1422 * Checks whether this view's baseline is considered the bottom of the view.
1424 * @return True if the ImageView's baseline is considered the bottom of the view, false if otherwise.
1642 stream.addProperty("layout:baseline", getBaseline());