/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipBoundsAlgorithm.java | 211 int currentY = mTvPipBoundsState.getTvPipGravity() & Gravity.VERTICAL_GRAVITY_MASK; in updateGravityOnExpansionToggled() 215 & Gravity.VERTICAL_GRAVITY_MASK; in updateGravityOnExpansionToggled() 262 int updatedY = mTvPipBoundsState.getTvPipGravity() & Gravity.VERTICAL_GRAVITY_MASK; in updateGravity()
|
D | TvPipBoundsState.java | 101 int prevGravityY = mPreviousCollapsedGravity & Gravity.VERTICAL_GRAVITY_MASK; in updateDefaultGravity()
|
D | TvPipKeepClearAlgorithm.kt | 617 return when (pipGravity and Gravity.VERTICAL_GRAVITY_MASK) { in <lambda>() 738 val top = (pipGravity and Gravity.VERTICAL_GRAVITY_MASK) == Gravity.TOP in <lambda>() 739 val bottom = (pipGravity and Gravity.VERTICAL_GRAVITY_MASK) == Gravity.BOTTOM in <lambda>()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 618 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBaseline() 1285 & Gravity.VERTICAL_GRAVITY_MASK; in measureHorizontal() 1467 & Gravity.VERTICAL_GRAVITY_MASK; in measureHorizontal() 1671 final int majorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutVertical() 1778 final int minorGravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutHorizontal() 1833 switch (gravity & Gravity.VERTICAL_GRAVITY_MASK) { in layoutHorizontal() 1939 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) { in setGravity() 1970 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() 1971 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != gravity) { in setVerticalGravity() 1972 mGravity = (mGravity & ~Gravity.VERTICAL_GRAVITY_MASK) | gravity; in setVerticalGravity()
|
D | Toolbar.java | 1180 lp.gravity = Gravity.END | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK); in ensureMenuView() 1498 lp.gravity = Gravity.START | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK); in ensureNavButtonView() 1509 lp.gravity = Gravity.START | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK); in ensureCollapseButtonView() 1916 switch (mGravity & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout() 2116 final int vgrav = gravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity() 2123 return mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getChildVerticalGravity() 2471 lp.gravity = Gravity.START | (mButtonGravity & Gravity.VERTICAL_GRAVITY_MASK); in expandItemActionView()
|
D | RelativeLayout.java | 346 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) { in setGravity() 366 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; in setVerticalGravity() 367 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != gravity) { in setVerticalGravity() 368 mGravity = (mGravity & ~Gravity.VERTICAL_GRAVITY_MASK) | gravity; in setVerticalGravity() 443 gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in onMeasure()
|
D | ToastPresenter.java | 171 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) { in adjustLayoutParams()
|
D | CheckedTextView.java | 428 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw()
|
D | FrameLayout.java | 300 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChildren()
|
D | CompoundButton.java | 533 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw()
|
D | TextView.java | 3033 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingTop() 3070 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getExtendedPaddingBottom() 5909 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) { in setGravity() 8558 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getVerticalOffset() 8582 final int gravity = mGravity & Gravity.VERTICAL_GRAVITY_MASK; in getBottomVerticalOffset() 8757 if (curs < 0 && (mGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.BOTTOM) { in onPreDraw() 9326 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != Gravity.TOP) { in onDraw() 9420 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != Gravity.TOP) { in getFocusedRect() 9455 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != Gravity.TOP) { in getLineBounds() 9476 if ((mGravity & Gravity.VERTICAL_GRAVITY_MASK) != Gravity.TOP) { in getBaselineOffset() [all …]
|
D | GridLayout.java | 26 import static android.view.Gravity.VERTICAL_GRAVITY_MASK; 666 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment()
|
D | Switch.java | 1306 switch (getGravity() & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationOptimizedLinearLayout.java | 214 final int minorGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in requiresBaselineAlignmentForHorizontalLinearLayout() 234 final int result = gravity & Gravity.VERTICAL_GRAVITY_MASK; in requiresBaselineAlignmentForHorizontalLinearLayout() 483 final int majorGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in layoutVerticalOptimized()
|
D | WatchListDecorLayout.java | 89 & Gravity.VERTICAL_GRAVITY_MASK); in onAttachedToWindow()
|
D | AlertDialogLayout.java | 287 final int majorGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout()
|
D | ViewPager.java | 1396 final int vgrav = lp.gravity & Gravity.VERTICAL_GRAVITY_MASK; 1523 final int vgrav = lp.gravity & Gravity.VERTICAL_GRAVITY_MASK;
|
/frameworks/base/core/java/android/view/ |
D | Gravity.java | 103 public static final int VERTICAL_GRAVITY_MASK = (AXIS_SPECIFIED | field in Gravity 421 return gravity > 0 && (gravity & VERTICAL_GRAVITY_MASK) != 0; in isVertical()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationControllerTest.kt | 155 assertThat(lp.gravity and Gravity.VERTICAL_GRAVITY_MASK).isEqualTo(Gravity.TOP) in fullScreenStatusBar_positionsChipAtTop_withTopGravity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DesktopModeLaunchParamsModifier.java | 137 final int verticalGravity = layout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in calculate()
|
D | TaskLaunchParamsModifier.java | 632 final int verticalGravity = windowLayout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in getLayoutBounds() 992 switch (direction & Gravity.VERTICAL_GRAVITY_MASK) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 507 assertEquals(Gravity.TOP, gravity & Gravity.VERTICAL_GRAVITY_MASK); in ifPortraitHalfOpen_drawVerticallyTop() 521 assertEquals(Gravity.CENTER_VERTICAL, gravity & Gravity.VERTICAL_GRAVITY_MASK); in ifPortraitAndOpen_drawCenterVertically() 535 assertEquals(Gravity.CENTER_VERTICAL, gravity & Gravity.VERTICAL_GRAVITY_MASK); in ifLandscapeAndHalfOpen_drawCenterVertically()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 288 final int majorGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 516 switch (gravity & Gravity.VERTICAL_GRAVITY_MASK) { in getStartLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogController.java | 1445 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) {
|