/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 27 import static android.view.Gravity.TOP; 129 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testScreenSides() 130 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testScreenSides() 148 createDecorWindow(TOP, MATCH_PARENT, mHalfDecorThickness); in testMultipleDecors() 149 assertInsetGreaterOrEqual(mTestActivity, TOP, mHalfDecorThickness); in testMultipleDecors() 150 createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testMultipleDecors() 151 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testMultipleDecors() 155 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testMultipleDecors() 163 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testFlagChange() 166 updateWindow(decorWindow, TOP, MATCH_PARENT, mDecorThickness, in testFlagChange() [all …]
|
D | WindowFrameTests.java | 128 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskInsets() 187 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskNoInsets() 249 w.mAttrs.gravity = Gravity.RIGHT | Gravity.TOP; in testLayoutInFullscreenTaskNoInsets() 283 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutNonfullscreenTask() 319 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testCalculatePolicyCrop() 351 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testCalculatePolicyCrop() 388 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutLetterboxedWindow() 422 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testDisplayCutout() 447 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testFreeformContentInsets()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/ |
D | NavigationBarViewFactory.java | 42 map.put(Type.TOP, R.layout.car_top_navigation_bar); in setupLayoutMapping() 60 TOP, enumConstant 77 return getWindowCached(Type.TOP); in getTopWindow() 97 return getBar(isSetUp, Type.TOP, Type.TOP_UNPROVISIONED); in getTopBar()
|
/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/statusbar/phone/ |
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()
|
D | FloatingRotationButton.java | 96 lp.gravity = Gravity.TOP | Gravity.RIGHT; in show() 99 lp.gravity = Gravity.TOP | Gravity.LEFT; in show()
|
/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/core/java/android/view/ |
D | CutoutSpecification.java | 22 import static android.view.Gravity.TOP; 161 ? ((isShortEdge) ? (isStart ? TOP : BOTTOM) : (isStart ? LEFT : RIGHT)) in decideWhichEdge() 162 : ((isShortEdge) ? (isStart ? LEFT : RIGHT) : (isStart ? TOP : BOTTOM)); in decideWhichEdge() 268 } else if (gravity == TOP && rect.bottom > 0 && rect.bottom < mDisplayHeight) { 281 } else if (gravity == TOP) { 293 } else if (gravity == TOP) {
|
D | Gravity.java | 46 public static final int TOP = (AXIS_PULL_BEFORE|AXIS_SPECIFIED)<<AXIS_Y_SHIFT; field in Gravity 59 public static final int FILL_VERTICAL = TOP|BOTTOM; 455 if ((gravity & TOP) == TOP) { in toString()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | CustomViewActions.java | 63 TOP, BOTTOM, CENTER enumConstant 103 case TOP: in calculateCoordinates()
|
/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 };
|
D | AlignmentTest.java | 38 import static android.widget.GridLayout.TOP; 46 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
|
/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/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 149 scale(TOP, height), in draw() 151 scale(TOP + mCurrentSlashLength, height) in draw()
|
/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()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 127 findCutoutInsetForSide(displaySize, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets() 144 case Gravity.TOP: in findCutoutInsetForSide()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 482 return Gravity.TOP; in getOverlayWindowGravity() 637 return isStart ? Gravity.TOP | Gravity.LEFT : Gravity.BOTTOM | Gravity.LEFT; in getRoundedCornerGravity() 639 return isStart ? Gravity.TOP | Gravity.LEFT : Gravity.TOP | Gravity.RIGHT; in getRoundedCornerGravity() 641 return isStart ? Gravity.TOP | Gravity.RIGHT : Gravity.BOTTOM | Gravity.RIGHT; in getRoundedCornerGravity() 651 case Gravity.TOP | Gravity.LEFT: in getRoundedCornerRotation() 653 case Gravity.TOP | Gravity.RIGHT: in getRoundedCornerRotation() 1046 case Gravity.TOP: in boundsFromDirection() 1075 return Gravity.TOP; in getGravity()
|
/frameworks/base/apct-tests/perftests/core/ |
D | Android.bp | 29 // LOCAL_ASSET_DIR := $(TOP)/external/google-fonts/dancing-script
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipControlsView.java | 47 setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in PipControlsView()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 232 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT; in createWindow() 242 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
|
/frameworks/base/core/java/android/transition/ |
D | Slide.java | 55 @IntDef({Gravity.LEFT, Gravity.TOP, Gravity.RIGHT, Gravity.BOTTOM, Gravity.START, Gravity.END}) 195 case Gravity.TOP: in setSlideEdge()
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 469 start[TOP] = 0; in generate() 473 start[TOP] = desc - asc; in generate() 642 mInts.adjustValuesBelow(startline, TOP, startv - endv + ht); in reflow() 666 ints[TOP] = top; in reflow() 1010 return mInts.getValue(line, TOP); in getLineTop() 1199 private static final int TOP = 1; field in DynamicLayout
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessDialog.java | 53 window.setGravity(Gravity.TOP); in onCreate()
|