Lines Matching refs:gravity
47 * and control their position within the FrameLayout by assigning gravity to each child, using the
273 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
297 int gravity = lp.gravity;
298 if (gravity == -1) {
299 gravity = DEFAULT_CHILD_GRAVITY;
303 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection);
304 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK;
433 * The gravity to apply with the View to which these layout parameters
440 public int gravity = -1;
449 gravity = a.getInt(com.android.internal.R.styleable.FrameLayout_Layout_layout_gravity, -1);
468 * @param gravity the gravity
472 public LayoutParams(int width, int height, int gravity) {
474 this.gravity = gravity;
493 * gravity of the source.
500 this.gravity = source.gravity;