Home
last modified time | relevance | path

Searched refs:verticalGravity (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/wear/src/main/java/androidx/wear/widget/
DBoxInsetLayout.java239 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout() local
265 int topChildMargin = calculateChildTopMargin(lp, verticalGravity, desiredInset); in onLayout()
266 int bottomChildMargin = calculateChildBottomMargin(lp, verticalGravity, in onLayout()
271 switch (verticalGravity) { in onLayout()
308 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in measureChild() local
326 childLayoutParams, verticalGravity, desiredMinInset) + calculateChildBottomMargin( in measureChild()
327 childLayoutParams, verticalGravity, desiredMinInset); in measureChild()
362 private int calculateChildTopMargin(LayoutParams lp, int verticalGravity, int desiredMinInset) { in calculateChildTopMargin() argument
364 if (lp.height == LayoutParams.MATCH_PARENT || verticalGravity == Gravity.TOP) { in calculateChildTopMargin()
371 private int calculateChildBottomMargin(LayoutParams lp, int verticalGravity, int in calculateChildBottomMargin() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java218 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in rotateGravityRight() local
233 switch (verticalGravity) { in rotateGravityRight()
265 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in rotateGravityLeft() local
280 switch (verticalGravity) { in rotateGravityLeft()
/frameworks/base/services/core/java/com/android/server/am/
DTaskLaunchParamsModifier.java102 int verticalGravity = layout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in onCalculate() local
104 if (verticalGravity == Gravity.TOP) { in onCalculate()
110 } else if (verticalGravity == Gravity.BOTTOM) { in onCalculate()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DScaleFrameLayout.java143 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout() local
158 switch (verticalGravity) { in onLayout()
DGridLayoutManager.java1747 final int verticalGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChild() local
1752 if ((mOrientation == HORIZONTAL && verticalGravity == Gravity.TOP) in layoutChild()
1755 } else if ((mOrientation == HORIZONTAL && verticalGravity == Gravity.BOTTOM) in layoutChild()
1758 } else if ((mOrientation == HORIZONTAL && verticalGravity == Gravity.CENTER_VERTICAL) in layoutChild()
/frameworks/base/core/java/android/widget/
DCheckedTextView.java384 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw() local
389 switch (verticalGravity) { in onDraw()
DCompoundButton.java423 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw() local
428 switch (verticalGravity) { in onDraw()
DFrameLayout.java291 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChildren() local
308 switch (verticalGravity) { in layoutChildren()
DRelativeLayout.java345 public void setVerticalGravity(int verticalGravity) { in setVerticalGravity() argument
346 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity()
424 final boolean verticalGravity = gravity != Gravity.TOP && gravity != 0; in onMeasure()
434 if ((horizontalGravity || verticalGravity) && mIgnoreGravity != View.NO_ID) { in onMeasure()
508 if (child != ignore || verticalGravity) { in onMeasure()
597 if (horizontalGravity || verticalGravity) { in onMeasure()
617 if (verticalGravity) { in onMeasure()
DLinearLayout.java1885 public void setVerticalGravity(int verticalGravity) { in setVerticalGravity() argument
1886 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DBaseWrapContentTest.java286 int horizontalGravity, int verticalGravity) in Snapshot() argument
292 mVerticalGravity = verticalGravity; in Snapshot()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1219 : state.attributes.verticalGravity; in updateColorViewInt()
2334 final int verticalGravity;
2340 private ColorViewAttributes(int systemUiHideFlag, int translucentFlag, int verticalGravity,
2346 this.verticalGravity = verticalGravity;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DLinearLayoutCompat.java1711 public void setVerticalGravity(int verticalGravity) { in setVerticalGravity() argument
1712 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity()