Lines Matching refs:gravity
44 * and control their position within the FrameLayout by assigning gravity to each child, using the
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
284 int gravity = lp.gravity;
285 if (gravity == -1) {
286 gravity = DEFAULT_CHILD_GRAVITY;
290 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection);
291 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK;
420 * Value for {@link #gravity} indicating that a gravity has not been
426 * The gravity to apply with the View to which these layout parameters
435 public int gravity = UNSPECIFIED_GRAVITY;
441 gravity = a.getInt(R.styleable.FrameLayout_Layout_layout_gravity, UNSPECIFIED_GRAVITY);
457 * @param gravity the gravity
461 public LayoutParams(int width, int height, int gravity) {
463 this.gravity = gravity;
476 * gravity of the source.
483 this.gravity = source.gravity;