Home
last modified time | relevance | path

Searched refs:TOP (Results 1 – 25 of 147) sorted by relevance

123456

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt48 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/
DFloatingRotationButtonPositionCalculator.kt62 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/
DFloatingRotationButtonPositionCalculatorTest.kt97 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/
DRoundedCornerDecorProviderImpl.kt107 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/
DGlobalActionsColumnLayout.java88 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/
DChipbarAnimator.kt45 ViewHierarchyAnimator.Hotspot.TOP, in animateViewIn()
65 ViewHierarchyAnimator.Hotspot.TOP, in animateViewOut()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DReverseLinearLayout.java148 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/
DReverseLinearLayout.java146 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/
DCropView.java60 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/
DGridTouchVerticalSpacingTest.java61 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/
DListOfTouchablesTest.java62 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
79 Gravity.TOP | Gravity.LEFT, mListView.getTop()); in testLongScroll()
DListTouchManyTest.java153 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/
DTvPipKeepClearAlgorithmTest.kt82 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/
DCustomViewActions.java63 TOP, BOTTOM, CENTER enumConstant
103 case TOP: in calculateCoordinates()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java22 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) {
DGravity.java52 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/
DAbstractLayoutTest.java33 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/
DKeyguardSecurityContainer.java32 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
DAdminSecondaryLockScreenController.java22 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/
DPowerProfile.java76 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/
DAbsCaptureHelperTest.java83 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/
DSlashDrawable.java54 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/
DProcessStateEnum.aidl36 TOP = 2, enumConstant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt596 (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/
DDisplayCutoutView.java117 case Gravity.TOP: in boundsFromDirection()
148 boundsFromDirection(displayCutout, Gravity.TOP, out); in localBounds()

123456