Home
last modified time | relevance | path

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

12345678

/frameworks/base/tools/locked_region_code_injection/test/
Dunit-test.sh26 TOP=$(dirname $(realpath $0))
27 while [[ ! $TOP = / && ! -f $TOP/$TOPFILE ]]; do
28 TOP=$(dirname $TOP)
34 TOP=$1
37 if [[ -z $TOP || $TOP = / ]]; then
40 elif [[ ! -d $TOP ]]; then
41 echo "$TOP is not a directory"
43 elif [[ ! -d $TOP/prebuilts/misc/common ]]; then
44 echo "$TOP does not look like w workspace"
47 echo "Using workspace $TOP"
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java124 assertGravityAfterExpansion(Gravity.TOP | Gravity.RIGHT, in updateGravity_expand_vertical()
128 assertGravityAfterExpansion(Gravity.TOP | Gravity.LEFT, in updateGravity_expand_vertical()
139 assertGravityAfterExpansion(Gravity.TOP | Gravity.RIGHT, in updateGravity_expand_horizontal()
140 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
143 assertGravityAfterExpansion(Gravity.TOP | Gravity.LEFT, in updateGravity_expand_horizontal()
144 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal()
158 assertGravityAfterCollapse(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse()
159 Gravity.TOP | Gravity.RIGHT); in updateGravity_collapse()
170 assertGravityAfterCollapse(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in updateGravity_collapse_RTL()
171 Gravity.TOP | Gravity.LEFT); in updateGravity_collapse_RTL()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt49 Bound.TOP to createViewProperty(Bound.TOP), in <lambda>()
331 val startTop = getBound(view, Bound.TOP) ?: previousTop in <lambda>()
339 setBound(view, Bound.TOP, top) in <lambda>()
361 Bound.TOP to top, in <lambda>()
368 if (startValues.getValue(Bound.TOP) != top) boundsToAnimate.add(Bound.TOP) in <lambda>()
459 Bound.TOP to rootView.top, in <lambda>()
476 if (rootView.top != endValues.getValue(Bound.TOP)) boundsToAnimate.add(Bound.TOP) in <lambda>()
560 Bound.TOP to child.top, in <lambda>()
572 endValues.getValue(Bound.BOTTOM) - endValues.getValue(Bound.TOP) in <lambda>()
577 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/src/com/android/systemui/keyguard/ui/view/layout/sections/
DAlignShortcutsToUdfpsSection.kt27 import androidx.constraintlayout.widget.ConstraintSet.TOP
99 connect(R.id.start_button, TOP, lockIconViewId, TOP) in applyConstraints()
106 connect(R.id.end_button, TOP, lockIconViewId, TOP) in applyConstraints()
DSplitShadeNotificationStackScrollLayoutSection.kt25 import androidx.constraintlayout.widget.ConstraintSet.TOP
58 TOP, in applyConstraints()
60 TOP, in applyConstraints()
DClockSection.kt31 import androidx.constraintlayout.widget.ConstraintSet.TOP in <lambda>()
116 connect(sharedR.id.bc_smartspace_view, TOP, sharedR.id.date_smartspace_view, BOTTOM) in buildConstraints()
164 connect(R.id.lockscreen_clock_view_large, BOTTOM, R.id.device_entry_icon_view, TOP) in applyDefaultConstraints()
169 connect(R.id.lockscreen_clock_view_large, TOP, PARENT_ID, TOP, largeClockTopMargin) in applyDefaultConstraints()
188 connect(R.id.lockscreen_clock_view, TOP, R.id.small_clock_guideline_top, BOTTOM) in applyDefaultConstraints()
DDefaultStatusViewSection.kt31 import androidx.constraintlayout.widget.ConstraintSet.TOP
107 connect(statusViewId, TOP, PARENT_ID, TOP) in applyConstraints()
118 setMargin(statusViewId, TOP, margin) in applyConstraints()
DNotificationStackScrollLayoutSection.kt27 import androidx.constraintlayout.widget.ConstraintSet.TOP
56 Barrier.TOP, in addNotificationPlaceholderBarrier()
64 connect(placeHolderId, BOTTOM, R.id.nssl_placeholder_barrier_bottom, TOP) in addNotificationPlaceholderBarrier()
DDefaultStatusBarSection.kt28 import androidx.constraintlayout.widget.ConstraintSet.TOP
92 connect(statusBarViewId, TOP, PARENT_ID, TOP) in applyConstraints()
DDefaultNotificationStackScrollLayoutSection.kt26 import androidx.constraintlayout.widget.ConstraintSet.TOP
76 TOP, in applyConstraints()
87 connect(R.id.nssl_placeholder, TOP, R.id.keyguard_status_view, BOTTOM, bottomMargin) in applyConstraints()
DSmartspaceSection.kt143 clear(sharedR.id.date_smartspace_view, ConstraintSet.TOP) in applyConstraints()
148 ConstraintSet.TOP in applyConstraints()
154 ConstraintSet.TOP, in applyConstraints()
160 ConstraintSet.TOP, in applyConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DSharedNotificationContainer.kt29 import androidx.constraintlayout.widget.ConstraintSet.TOP
82 connect(nsslId, TOP, PARENT_ID, TOP, marginTop) in updateConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardPreviewClockViewBinder.kt32 import androidx.constraintlayout.widget.ConstraintSet.TOP in <lambda>()
135 connect(R.id.lockscreen_clock_view_large, TOP, PARENT_ID, TOP, largeClockTopMargin) in <lambda>()
148 connect(R.id.lockscreen_clock_view_large, BOTTOM, R.id.lock_icon_view, TOP) in <lambda>()
183 connect(R.id.lockscreen_clock_view, TOP, PARENT_ID, TOP, smallClockTopMargin) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButtonPositionCalculatorTest.kt99 gravity = Gravity.TOP or Gravity.RIGHT,
110 gravity = Gravity.TOP or Gravity.LEFT,
167 gravity = Gravity.TOP or Gravity.RIGHT,
178 gravity = Gravity.TOP or Gravity.LEFT,
222 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/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/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/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/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java61 NONE, TOP, BOTTOM, LEFT, RIGHT enumConstant
253 case TOP: in setBoundaryPosition()
276 case TOP: in getBoundaryPosition()
289 return boundary == CropBoundary.TOP || boundary == CropBoundary.BOTTOM; in isVertical()
364 case TOP: in getAllowedValues()
370 lower = mCrop.top + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.TOP); in getAllowedValues()
451 int y = (fractionToVerticalPixels(getBoundaryPosition(CropBoundary.TOP)) in drawVerticalHandle()
488 return CropBoundary.TOP; in nearestBoundary()
586 case TOP: in getBoundaryContentDescription()
609 return CropBoundary.TOP; in viewIdToBoundary()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DCustomViewActions.java63 TOP, BOTTOM, CENTER enumConstant
103 case TOP: in calculateCoordinates()

12345678