/aosp14/frameworks/base/tools/locked_region_code_injection/test/ |
H A D | unit-test.sh | 26 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" 47 echo "Using workspace $TOP" 51 pushd $TOP > /dev/null 61 pushd $TOP > /dev/null [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipGravityTest.java | 127 assertGravityAfterExpansion(Gravity.TOP | Gravity.LEFT, in updateGravity_expand_vertical() 140 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal() 144 Gravity.TOP | Gravity.CENTER_HORIZONTAL); in updateGravity_expand_horizontal() 160 Gravity.TOP | Gravity.RIGHT); in updateGravity_collapse() 173 Gravity.TOP | Gravity.LEFT); in updateGravity_collapse_RTL() 204 Gravity.TOP | Gravity.LEFT); in updateGravity_expand_move_collapse() 209 Gravity.TOP | Gravity.LEFT); in updateGravity_expand_move_collapse() 278 gravity = Gravity.TOP | Gravity.LEFT; in updateGravity_move_regular_invalid() 283 gravity = Gravity.TOP | Gravity.RIGHT; in updateGravity_move_regular_invalid() 335 Gravity.TOP | Gravity.RIGHT); in previousCollapsedGravity_changes_on_RTL() [all …]
|
H A D | TvPipKeepClearAlgorithmTest.kt | 89 gravity = Gravity.TOP or Gravity.RIGHT 96 gravity = Gravity.TOP or Gravity.LEFT 124 gravity = Gravity.TOP 138 gravity = Gravity.TOP or Gravity.CENTER_HORIZONTAL 203 gravity = Gravity.TOP or Gravity.RIGHT 499 gravity = Gravity.TOP or Gravity.LEFT 502 gravity = Gravity.TOP or Gravity.RIGHT 510 gravity = Gravity.TOP
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimator.kt | 49 Bound.TOP to createViewProperty(Bound.TOP), 355 if (startValues.getValue(Bound.TOP) != top) boundsToAnimate.add(Bound.TOP) 463 if (rootView.top != endValues.getValue(Bound.TOP)) boundsToAnimate.add(Bound.TOP) 564 if (child.top != endValues.getValue(Bound.TOP)) boundsToAnimate.add(Bound.TOP) 669 Hotspot.TOP, 715 Bound.TOP to top, 891 Hotspot.TOP, 898 Hotspot.TOP, 915 Hotspot.TOP, 925 Hotspot.TOP, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
H A D | AlignShortcutsToUdfpsSection.kt | 26 import androidx.constraintlayout.widget.ConstraintSet.TOP 43 connect(R.id.start_button, TOP, R.id.lock_icon_view, TOP) 50 connect(R.id.end_button, TOP, R.id.lock_icon_view, TOP)
|
H A D | DefaultAmbientIndicationAreaSection.kt | 27 import androidx.constraintlayout.widget.ConstraintSet.TOP 44 connect(R.id.ambient_indication_container, TOP, R.id.lock_icon_view, BOTTOM) 49 TOP 56 connect(R.id.ambient_indication_container, BOTTOM, R.id.lock_icon_view, TOP)
|
H A D | DefaultStatusViewSection.kt | 30 import androidx.constraintlayout.widget.ConstraintSet.TOP 41 connect(statusViewId, TOP, PARENT_ID, TOP)
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
H A D | FloatingRotationButtonPositionCalculator.kt | 62 Surface.ROTATION_180 -> Gravity.TOP or Gravity.RIGHT 63 Surface.ROTATION_270 -> Gravity.TOP or Gravity.LEFT 69 Surface.ROTATION_90 -> Gravity.TOP or Gravity.RIGHT 70 Surface.ROTATION_180 -> Gravity.TOP or Gravity.LEFT
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/ |
H A D | SharedNotificationContainer.kt | 28 import androidx.constraintlayout.widget.ConstraintSet.TOP 80 connect(nsslId, TOP, PARENT_ID, TOP) 83 setMargin(nsslId, TOP, marginTop)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/ |
H A 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,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | RoundedCornerDecorProviderImpl.kt | 107 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.TOP 114 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.TOP 118 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.TOP 127 else /* DisplayCutout.BOUNDS_POSITION_BOTTOM */ -> Gravity.TOP
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | CropView.java | 60 NONE, TOP, BOTTOM, LEFT, RIGHT enumConstant 252 case TOP: in setBoundaryPosition() 275 case TOP: in getBoundaryPosition() 288 return boundary == CropBoundary.TOP || boundary == CropBoundary.BOTTOM; in isVertical() 363 case TOP: in getAllowedValues() 369 lower = mCrop.top + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.TOP); in getAllowedValues() 444 int y = (fractionToVerticalPixels(getBoundaryPosition(CropBoundary.TOP)) in drawVerticalHandle() 481 return CropBoundary.TOP; in nearestBoundary() 579 case TOP: in getBoundaryContentDescription() 602 return CropBoundary.TOP; in viewIdToBoundary()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/ |
H A D | ChipbarAnimator.kt | 45 ViewHierarchyAnimator.Hotspot.TOP, 65 ViewHierarchyAnimator.Hotspot.TOP,
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
H A 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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListOfTouchablesTest.java | 62 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll() 79 Gravity.TOP | Gravity.LEFT, mListView.getTop()); in testLongScroll()
|
H A 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()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A 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) {
|
H A 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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | CustomViewActions.java | 63 TOP, BOTTOM, CENTER enumConstant 103 case TOP: in calculateCoordinates()
|
/aosp14/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AbstractLayoutTest.java | 33 import static android.view.Gravity.TOP; 40 public static final int[] VERTICAL_ALIGNMENTS = { TOP, CENTER, NO_GRAVITY, BOTTOM, FILL };
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 32 import static androidx.constraintlayout.widget.ConstraintSet.TOP; 956 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewGroup() local 1225 constraintSet.connect(mUserSwitcherViewGroup.getId(), TOP, PARENT_ID, TOP, yTrans); in updateSecurityViewLocation() local 1227 TOP, userSwitcherBottomMargin); in updateSecurityViewLocation() local 1228 constraintSet.connect(mViewFlipper.getId(), TOP, mUserSwitcherViewGroup.getId(), in updateSecurityViewLocation() local 1251 constraintSet.connect(mUserSwitcherViewGroup.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local 1253 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local 1329 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewLocation() local
|
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
H A 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()
|