Home
last modified time | relevance | path

Searched refs:VERTICAL_GRAVITY_MASK (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipBoundsAlgorithm.java211 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()
DTvPipBoundsState.java101 int prevGravityY = mPreviousCollapsedGravity & Gravity.VERTICAL_GRAVITY_MASK; in updateDefaultGravity()
DTvPipKeepClearAlgorithm.kt617 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/
DLinearLayout.java618 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()
DToolbar.java1180 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()
DRelativeLayout.java346 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()
DToastPresenter.java171 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) { in adjustLayoutParams()
DCheckedTextView.java428 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw()
DFrameLayout.java300 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in layoutChildren()
DCompoundButton.java533 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; in onDraw()
DTextView.java3033 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 …]
DGridLayout.java26 import static android.view.Gravity.VERTICAL_GRAVITY_MASK;
666 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment()
DSwitch.java1306 switch (getGravity() & Gravity.VERTICAL_GRAVITY_MASK) { in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationOptimizedLinearLayout.java214 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()
DWatchListDecorLayout.java89 & Gravity.VERTICAL_GRAVITY_MASK); in onAttachedToWindow()
DAlertDialogLayout.java287 final int majorGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout()
DViewPager.java1396 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/
DGravity.java103 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/
DSystemEventChipAnimationControllerTest.kt155 assertThat(lp.gravity and Gravity.VERTICAL_GRAVITY_MASK).isEqualTo(Gravity.TOP) in fullScreenStatusBar_positionsChipAtTop_withTopGravity()
/frameworks/base/services/core/java/com/android/server/wm/
DDesktopModeLaunchParamsModifier.java137 final int verticalGravity = layout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in calculate()
DTaskLaunchParamsModifier.java632 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/
DVolumeDialogImplTest.java507 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/
DAlertDialogLayout.java288 final int majorGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK; in onLayout()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java516 switch (gravity & Gravity.VERTICAL_GRAVITY_MASK) { in getStartLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java1445 if ((absGravity & Gravity.VERTICAL_GRAVITY_MASK) == Gravity.FILL_VERTICAL) {

12