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;
421 * Value for {@link #gravity} indicating that a gravity has not been
427 * The gravity to apply with the View to which these layout parameters
436 public int gravity = UNSPECIFIED_GRAVITY;
442 gravity = a.getInt(R.styleable.FrameLayout_Layout_layout_gravity, UNSPECIFIED_GRAVITY);
458 * @param gravity the gravity
462 public LayoutParams(int width, int height, int gravity) {
464 this.gravity = gravity;
477 * gravity of the source.
484 this.gravity = source.gravity;