Home
last modified time | relevance | path

Searched refs:BOTTOM (Results 1 – 25 of 162) sorted by relevance

1234567

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java103 checkGravity(mTvPipBoundsState.getDefaultGravity(), Gravity.RIGHT | Gravity.BOTTOM); in regularPip_defaultGravity()
108 checkGravity(mTvPipBoundsState.getTvPipGravity(), Gravity.RIGHT | Gravity.BOTTOM); in regularPip_defaultTvPipGravity()
114 checkGravity(mTvPipBoundsState.getDefaultGravity(), Gravity.LEFT | Gravity.BOTTOM); in regularPip_defaultGravity_RTL()
122 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.RIGHT, in updateGravity_expand_vertical()
126 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.LEFT, in updateGravity_expand_vertical()
137 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.RIGHT, in updateGravity_expand_horizontal()
138 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
141 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.LEFT, in updateGravity_expand_horizontal()
142 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
152 Gravity.BOTTOM | Gravity.RIGHT); in updateGravity_collapse()
[all …]
DTvPipKeepClearAlgorithmTest.kt68 gravity = Gravity.BOTTOM or Gravity.RIGHT in setup()
82 gravity = Gravity.BOTTOM or Gravity.RIGHT in testAnchorPosition_BottomRight()
103 gravity = Gravity.BOTTOM or Gravity.LEFT in testAnchorPosition_BottomLeft()
131 gravity = Gravity.BOTTOM in testAnchorPosition_Bottom()
145 gravity = Gravity.BOTTOM or Gravity.CENTER_HORIZONTAL in testAnchorPosition_BottomCenterHorizontal()
173 gravity = Gravity.BOTTOM or Gravity.RIGHT in test_AnchorBottomRight_KeepClearNotObstructing_StayAtAnchor()
188 gravity = Gravity.BOTTOM or Gravity.RIGHT in test_AnchorBottomRight_UnrestrictedRightSidebar_PushedLeft()
218 gravity = Gravity.BOTTOM or Gravity.LEFT in test_AnchorBottomLeft_UnrestrictedRightSidebar_StayAtAnchor()
233 gravity = Gravity.BOTTOM in test_AnchorBottom_UnrestrictedRightSidebar_StayAtAnchor()
249 gravity = Gravity.BOTTOM in testExpanded_AnchorBottom_UnrestrictedRightSidebar_StayAtAnchor()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt51 Bound.BOTTOM to createViewProperty(Bound.BOTTOM) in <lambda>()
333 val startBottom = getBound(view, Bound.BOTTOM) ?: previousBottom in <lambda>()
341 setBound(view, Bound.BOTTOM, bottom) in <lambda>()
363 Bound.BOTTOM to bottom in <lambda>()
370 if (startValues.getValue(Bound.BOTTOM) != bottom) { in <lambda>()
371 boundsToAnimate.add(Bound.BOTTOM) in <lambda>()
461 Bound.BOTTOM to rootView.bottom in <lambda>()
478 if (rootView.bottom != endValues.getValue(Bound.BOTTOM)) { in <lambda>()
479 boundsToAnimate.add(Bound.BOTTOM) in <lambda>()
562 Bound.BOTTOM to child.bottom in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonPositionCalculator.kt38 if (gravity and Gravity.BOTTOM == Gravity.BOTTOM) { in calculatePosition()
60 Surface.ROTATION_0 -> Gravity.BOTTOM or Gravity.LEFT in resolveGravity()
61 Surface.ROTATION_90 -> Gravity.BOTTOM or Gravity.RIGHT in resolveGravity()
68 Surface.ROTATION_0 -> Gravity.BOTTOM or Gravity.RIGHT
71 Surface.ROTATION_270 -> Gravity.BOTTOM or Gravity.LEFT
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButtonPositionCalculatorTest.kt77 gravity = Gravity.BOTTOM or Gravity.LEFT,
88 gravity = Gravity.BOTTOM or Gravity.RIGHT,
121 gravity = Gravity.BOTTOM or Gravity.LEFT,
132 gravity = Gravity.BOTTOM or Gravity.LEFT,
143 gravity = Gravity.BOTTOM or Gravity.RIGHT,
156 gravity = Gravity.BOTTOM or Gravity.RIGHT,
189 gravity = Gravity.BOTTOM or Gravity.LEFT,
200 gravity = Gravity.BOTTOM or Gravity.RIGHT,
211 gravity = Gravity.BOTTOM or Gravity.RIGHT,
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultUdfpsAccessibilityOverlaySection.kt66 ConstraintSet.BOTTOM, in applyConstraints()
72 ConstraintSet.BOTTOM, in applyConstraints()
77 connect(viewId, ConstraintSet.BOTTOM, ConstraintSet.PARENT_ID, ConstraintSet.BOTTOM) in applyConstraints()
DAlignShortcutsToUdfpsSection.kt23 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
100 connect(R.id.start_button, BOTTOM, lockIconViewId, BOTTOM) in applyConstraints()
107 connect(R.id.end_button, BOTTOM, lockIconViewId, BOTTOM) in applyConstraints()
DClockSection.kt25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM in <lambda>()
116 connect(sharedR.id.bc_smartspace_view, TOP, sharedR.id.date_smartspace_view, BOTTOM) in buildConstraints()
133 Barrier.BOTTOM, in getTargetClockFace()
141 Barrier.BOTTOM, in getTargetClockFace()
148 Barrier.BOTTOM, in getTargetClockFace()
164 connect(R.id.lockscreen_clock_view_large, BOTTOM, R.id.device_entry_icon_view, TOP) in applyDefaultConstraints()
188 connect(R.id.lockscreen_clock_view, TOP, R.id.small_clock_guideline_top, BOTTOM) in applyDefaultConstraints()
DDefaultShortcutsSection.kt24 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM in <lambda>()
119 BOTTOM, in <lambda>()
121 BOTTOM, in <lambda>()
130 BOTTOM, in <lambda>()
132 BOTTOM, in <lambda>()
DAodBurnInSection.kt24 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
80 connect(R.id.burn_in_layer_empty_view, BOTTOM, PARENT_ID, BOTTOM) in applyConstraints()
DSmartspaceSection.kt146 ConstraintSet.BOTTOM, in applyConstraints()
151 clear(sharedR.id.date_smartspace_view, ConstraintSet.BOTTOM) in applyConstraints()
156 ConstraintSet.BOTTOM in applyConstraints()
162 ConstraintSet.BOTTOM in applyConstraints()
168 Barrier.BOTTOM, in applyConstraints()
DDefaultNotificationStackScrollLayoutSection.kt22 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
78 BOTTOM, in applyConstraints()
87 connect(R.id.nssl_placeholder, TOP, R.id.keyguard_status_view, BOTTOM, bottomMargin) in applyConstraints()
DDefaultSettingsPopupMenuSection.kt25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
102 BOTTOM, in applyConstraints()
104 BOTTOM, in applyConstraints()
DAodNotificationIconsSection.kt26 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
114 connect(nicId, TOP, R.id.smart_space_barrier_bottom, BOTTOM, bottomMargin) in applyConstraints()
115 setGoneMargin(nicId, BOTTOM, bottomMargin) in applyConstraints()
DKeyguardSliceViewSection.kt71 ConstraintSet.BOTTOM in applyConstraints()
76 Barrier.BOTTOM, in applyConstraints()
DDefaultIndicationAreaSection.kt68 ConstraintSet.BOTTOM, in applyConstraints()
70 ConstraintSet.BOTTOM, in applyConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DSharedNotificationContainer.kt25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
81 connect(nsslId, BOTTOM, PARENT_ID, BOTTOM, marginBottom) in updateConstraints()
/frameworks/base/core/java/android/transition/
DSlide.java50 private @GravityFlag int mSlideEdge = Gravity.BOTTOM;
55 @IntDef({Gravity.LEFT, Gravity.TOP, Gravity.RIGHT, Gravity.BOTTOM, Gravity.START, Gravity.END})
144 setSlideEdge(Gravity.BOTTOM); in Slide()
157 int edge = a.getInt(R.styleable.Slide_slideEdge, Gravity.BOTTOM); in Slide()
201 case Gravity.BOTTOM: in setSlideEdge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerDecorProviderImpl.kt109 else /* DisplayCutout.BOUNDS_POSITION_BOTTOM */ -> Gravity.BOTTOM in toLayoutGravity()
112 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.BOTTOM in toLayoutGravity()
120 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.BOTTOM in toLayoutGravity()
125 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.BOTTOM in toLayoutGravity()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java105 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testNoScroll()
127 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testShortScroll()
148 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testLongScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java61 NONE, TOP, BOTTOM, LEFT, RIGHT enumConstant
256 case BOTTOM: in setBoundaryPosition()
278 case BOTTOM: in getBoundaryPosition()
289 return boundary == CropBoundary.TOP || boundary == CropBoundary.BOTTOM; in isVertical()
367 CropBoundary.BOTTOM); in getAllowedValues()
369 case BOTTOM: in getAllowedValues()
453 getBoundaryPosition(CropBoundary.BOTTOM))) / 2; in drawVerticalHandle()
491 return CropBoundary.BOTTOM; in nearestBoundary()
589 case BOTTOM: in getBoundaryContentDescription()
611 return CropBoundary.BOTTOM; in viewIdToBoundary()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingStackFromBottomTest.java68 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
90 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
113 Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, (int) (windowHeight * 0.75f)); in testLongScroll()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DAbsCaptureHelperTest.java87 BOTTOM enumConstant
159 case BOTTOM: in setInitialScrollPosition()
218 initHelper(ScrollPosition.BOTTOM); in onScrollRequested_up_fromBottom()
232 initHelper(ScrollPosition.BOTTOM); in onScrollRequested_down_fromBottom()
265 initHelper(ScrollPosition.BOTTOM); in onScrollRequested_offBottomEdge()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DCustomViewActions.java63 TOP, BOTTOM, CENTER enumConstant
106 case BOTTOM: in calculateCoordinates()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java19 import static android.view.Gravity.BOTTOM;
195 ? ((isShortEdge) ? (isStart ? TOP : BOTTOM) : (isStart ? LEFT : RIGHT)) in decideWhichEdge()
196 : ((isShortEdge) ? (isStart ? LEFT : RIGHT) : (isStart ? TOP : BOTTOM)); in decideWhichEdge()
315 } else if (gravity == BOTTOM && rect.top > 0 && rect.top < mPhysicalDisplayHeight) {
328 } else if (gravity == BOTTOM) {
340 } else if (gravity == BOTTOM) {

1234567