Lines Matching refs:gravity
2168 * Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL,
2270 * Indicates whether if the view text alignment has been resolved to gravity
18423 * @return foreground gravity.
18437 * @param gravity see {@link android.view.Gravity}
18443 public void setForegroundGravity(int gravity) {
18448 if (mForegroundInfo.mGravity != gravity) {
18449 if ((gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) == 0) {
18450 gravity |= Gravity.START;
18453 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) {
18454 gravity |= Gravity.TOP;
18457 mForegroundInfo.mGravity = gravity;