/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimator.kt | 48 Bound.TOP to createViewProperty(Bound.TOP), in <lambda>() 299 val startTop = getBound(view, Bound.TOP) ?: previousTop in <lambda>() 307 setBound(view, Bound.TOP, top) in <lambda>() 329 Bound.TOP to top, in <lambda>() 336 if (startValues.getValue(Bound.TOP) != top) boundsToAnimate.add(Bound.TOP) in <lambda>() 427 Bound.TOP to rootView.top, in <lambda>() 444 if (rootView.top != endValues.getValue(Bound.TOP)) boundsToAnimate.add(Bound.TOP) in <lambda>() 528 Bound.TOP to child.top, in <lambda>() 540 endValues.getValue(Bound.BOTTOM) - endValues.getValue(Bound.TOP) in <lambda>() 545 if (child.top != endValues.getValue(Bound.TOP)) boundsToAnimate.add(Bound.TOP) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButtonPositionCalculator.kt | 62 Surface.ROTATION_180 -> Gravity.TOP or Gravity.RIGHT in resolveGravity() 63 Surface.ROTATION_270 -> Gravity.TOP or Gravity.LEFT in resolveGravity() 69 Surface.ROTATION_90 -> Gravity.TOP or Gravity.RIGHT 70 Surface.ROTATION_180 -> Gravity.TOP or Gravity.LEFT
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/ |
D | FloatingRotationButtonPositionCalculatorTest.kt | 97 gravity = Gravity.TOP or Gravity.RIGHT, 108 gravity = Gravity.TOP or Gravity.LEFT, 165 gravity = Gravity.TOP or Gravity.RIGHT, 176 gravity = Gravity.TOP or Gravity.LEFT, 220 gravity = Gravity.TOP or Gravity.RIGHT,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderImpl.kt | 107 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.TOP in toLayoutGravity() 114 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.TOP in toLayoutGravity() 118 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.TOP in toLayoutGravity() 127 else /* DisplayCutout.BOUNDS_POSITION_BOTTOM */ -> Gravity.TOP in toLayoutGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsColumnLayout.java | 88 setGravity(Gravity.LEFT | Gravity.TOP); in snapToPowerButton() 96 setGravity(Gravity.TOP | Gravity.RIGHT); in snapToPowerButton() 109 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.TOP); in centerAlongEdge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/ |
D | ChipbarAnimator.kt | 45 ViewHierarchyAnimator.Hotspot.TOP, in animateViewIn() 65 ViewHierarchyAnimator.Hotspot.TOP, in animateViewOut()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | ReverseLinearLayout.java | 148 if (mDefaultGravity != Gravity.TOP && mDefaultGravity != Gravity.BOTTOM) return; in updateGravity() 153 gravityToApply = mDefaultGravity == Gravity.TOP ? Gravity.BOTTOM : Gravity.TOP; in updateGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ReverseLinearLayout.java | 146 if (mDefaultGravity != Gravity.TOP && mDefaultGravity != Gravity.BOTTOM) return; in updateGravity() 151 gravityToApply = mDefaultGravity == Gravity.TOP ? Gravity.BOTTOM : Gravity.TOP; in updateGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | CropView.java | 60 NONE, TOP, BOTTOM, LEFT, RIGHT enumConstant 247 case TOP: in setBoundaryPosition() 269 case TOP: in getBoundaryPosition() 282 return boundary == CropBoundary.TOP || boundary == CropBoundary.BOTTOM; in isVertical() 355 case TOP: in getAllowedValues() 362 CropBoundary.TOP), 1f); in getAllowedValues() 433 int y = (fractionToVerticalPixels(getBoundaryPosition(CropBoundary.TOP)) in drawVerticalHandle() 470 return CropBoundary.TOP; in nearestBoundary() 568 case TOP: in getBoundaryContentDescription() 591 return CropBoundary.TOP; in viewIdToBoundary()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingTest.java | 61 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll() 78 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll() 94 int distance = TouchUtils.dragViewToY(this, lastChild, Gravity.TOP | Gravity.LEFT, in testLongScroll()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListOfTouchablesTest.java | 62 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll() 79 Gravity.TOP | Gravity.LEFT, mListView.getTop()); in testLongScroll()
|
D | ListTouchManyTest.java | 153 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll() 170 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll() 187 Gravity.TOP | Gravity.LEFT, mListView.getTop()); in testLongScroll()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | TvPipKeepClearAlgorithmTest.kt | 82 gravity = Gravity.TOP or Gravity.RIGHT in testAnchorPosition_TopRight() 88 gravity = Gravity.TOP or Gravity.LEFT in testAnchorPosition_TopLeft() 112 gravity = Gravity.TOP in testAnchorPosition_Top() 124 gravity = Gravity.TOP or Gravity.CENTER_HORIZONTAL in testAnchorPosition_TopCenterHorizontal() 183 gravity = Gravity.TOP or Gravity.RIGHT in test_AnchorTopRight_UnrestrictedRightSidebar_PushedLeft() 465 gravity = Gravity.TOP or Gravity.LEFT in test_PipInsets() 468 gravity = Gravity.TOP or Gravity.RIGHT in test_PipInsets() 476 gravity = Gravity.TOP in test_PipInsets()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | CustomViewActions.java | 63 TOP, BOTTOM, CENTER enumConstant 103 case TOP: in calculateCoordinates()
|
/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 22 import static android.view.Gravity.TOP; 195 ? ((isShortEdge) ? (isStart ? TOP : BOTTOM) : (isStart ? LEFT : RIGHT)) in decideWhichEdge() 196 : ((isShortEdge) ? (isStart ? LEFT : RIGHT) : (isStart ? TOP : BOTTOM)); in decideWhichEdge() 311 } else if (gravity == TOP && rect.bottom > 0 && rect.bottom < mPhysicalDisplayHeight) { 324 } else if (gravity == TOP) { 336 } else if (gravity == TOP) {
|
D | Gravity.java | 52 public static final int TOP = (AXIS_PULL_BEFORE|AXIS_SPECIFIED)<<AXIS_Y_SHIFT; field in Gravity 65 public static final int FILL_VERTICAL = TOP|BOTTOM; 144 Gravity.TOP, 488 if ((gravity & TOP) == TOP) { in toString()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AbstractLayoutTest.java | 33 import static android.view.Gravity.TOP; 40 public static final int[] VERTICAL_ALIGNMENTS = { TOP, CENTER, NO_GRAVITY, BOTTOM, FILL };
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainer.java | 32 import static androidx.constraintlayout.widget.ConstraintSet.TOP; 937 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewGroup() local 1202 constraintSet.connect(mUserSwitcherViewGroup.getId(), TOP, PARENT_ID, TOP, yTrans); in updateSecurityViewLocation() local 1204 TOP, userSwitcherBottomMargin); in updateSecurityViewLocation() local 1205 constraintSet.connect(mViewFlipper.getId(), TOP, mUserSwitcherViewGroup.getId(), in updateSecurityViewLocation() local 1227 constraintSet.connect(mUserSwitcherViewGroup.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local 1229 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local 1305 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local
|
D | AdminSecondaryLockScreenController.java | 22 import static androidx.constraintlayout.widget.ConstraintSet.TOP; 182 constraintSet.connect(mView.getId(), TOP, PARENT_ID, TOP); in show() local
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | PowerProfile.java | 76 TOP, enumConstant 324 mState = ElementState.TOP; in startElement() 326 case TOP: in startElement() 362 mState = ElementState.TOP; in endElement() 373 mState = ElementState.TOP; in endElement()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | AbsCaptureHelperTest.java | 83 TOP, enumConstant 167 initHelper(ScrollPosition.TOP); in onScrollRequested_up_fromTop() 177 initHelper(ScrollPosition.TOP); in onScrollRequested_down_fromTop() 246 initHelper(ScrollPosition.TOP); in onScrollRequested_offTopEdge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SlashDrawable.java | 54 private static final float TOP = (CENTER_Y - (SLASH_HEIGHT / 2)) / SCALE; field in SlashDrawable 151 scale(TOP, height), in draw() 153 scale(TOP + mCurrentSlashLength, height) in draw()
|
/frameworks/base/core/java/android/app/ |
D | ProcessStateEnum.aidl | 36 TOP = 2, enumConstant
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipKeepClearAlgorithm.kt | 596 (Gravity.TOP), (Gravity.TOP or Gravity.CENTER_HORIZONTAL) -> true in <lambda>() 597 (Gravity.TOP or Gravity.LEFT) -> true in <lambda>() 606 (Gravity.TOP or Gravity.LEFT) -> true in <lambda>() 607 (Gravity.TOP or Gravity.RIGHT) -> true in <lambda>() 618 (Gravity.TOP) -> true in <lambda>() 738 val top = (pipGravity and Gravity.VERTICAL_GRAVITY_MASK) == Gravity.TOP in <lambda>()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 117 case Gravity.TOP: in boundsFromDirection() 148 boundsFromDirection(displayCutout, Gravity.TOP, out); in localBounds()
|