Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java27 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 …]
DWindowFrameTests.java128 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/
DNavigationBarViewFactory.java42 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/
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/statusbar/phone/
DReverseLinearLayout.java146 if (mDefaultGravity != Gravity.TOP && mDefaultGravity != Gravity.BOTTOM) return; in updateGravity()
151 gravityToApply = mDefaultGravity == Gravity.TOP ? Gravity.BOTTOM : Gravity.TOP; in updateGravity()
DFloatingRotationButton.java96 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/
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/core/java/android/view/
DCutoutSpecification.java22 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) {
DGravity.java46 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/
DCustomViewActions.java63 TOP, BOTTOM, CENTER enumConstant
103 case TOP: in calculateCoordinates()
/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 };
DAlignmentTest.java38 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/
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/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java54 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/
DDisplayCutoutView.java117 case Gravity.TOP: in boundsFromDirection()
148 boundsFromDirection(displayCutout, Gravity.TOP, out); in localBounds()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java127 findCutoutInsetForSide(displaySize, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets()
144 case Gravity.TOP: in findCutoutInsetForSide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java482 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/
DAndroid.bp29 // LOCAL_ASSET_DIR := $(TOP)/external/google-fonts/dancing-script
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlsView.java47 setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in PipControlsView()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java232 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT; in createWindow()
242 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
/frameworks/base/core/java/android/transition/
DSlide.java55 @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/
DDynamicLayout.java469 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/
DBrightnessDialog.java53 window.setGravity(Gravity.TOP); in onCreate()

12345