/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | BoxInsetLayout.java | 239 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/ |
D | HardwareUiLayout.java | 218 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/ |
D | TaskLaunchParamsModifier.java | 102 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/ |
D | ScaleFrameLayout.java | 143 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout() local 158 switch (verticalGravity) { in onLayout()
|
D | GridLayoutManager.java | 1747 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/ |
D | CheckedTextView.java | 384 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw() local 389 switch (verticalGravity) { in onDraw()
|
D | CompoundButton.java | 423 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw() local 428 switch (verticalGravity) { in onDraw()
|
D | FrameLayout.java | 291 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChildren() local 308 switch (verticalGravity) { in layoutChildren()
|
D | RelativeLayout.java | 345 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()
|
D | LinearLayout.java | 1885 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/ |
D | BaseWrapContentTest.java | 286 int horizontalGravity, int verticalGravity) in Snapshot() argument 292 mVerticalGravity = verticalGravity; in Snapshot()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1219 : 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/ |
D | LinearLayoutCompat.java | 1711 public void setVerticalGravity(int verticalGravity) { in setVerticalGravity() argument 1712 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity()
|