Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java27 import static android.view.Gravity.TOP;
125 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testScreenSides()
126 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testScreenSides()
144 createDecorWindow(TOP, MATCH_PARENT, mHalfDecorThickness); in testMultipleDecors()
145 assertInsetGreaterOrEqual(mTestActivity, TOP, mHalfDecorThickness); in testMultipleDecors()
146 createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testMultipleDecors()
147 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testMultipleDecors()
151 assertInsetGreaterOrEqual(mTestActivity, TOP, mDecorThickness); in testMultipleDecors()
159 final View decorWindow = createDecorWindow(TOP, MATCH_PARENT, mDecorThickness); in testFlagChange()
162 updateWindow(decorWindow, TOP, MATCH_PARENT, mDecorThickness, in testFlagChange()
[all …]
DWindowFrameTests.java133 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskInsets()
190 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskNoInsets()
251 w.mAttrs.gravity = Gravity.RIGHT | Gravity.TOP; in testLayoutInFullscreenTaskNoInsets()
281 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutNonfullscreenTask()
330 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testCalculatePolicyCrop()
363 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testCalculatePolicyCrop()
399 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutLetterboxedWindow()
432 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testDisplayCutout()
459 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testDisplayCutout_tempDisplayedBounds()
483 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testFreeformContentInsets()
/frameworks/av/services/oboeservice/
DAndroid.mk17 $(TOP)/frameworks/av/media/libaaudio/include \
18 $(TOP)/frameworks/av/media/utils/include \
20 $(TOP)/external/tinyalsa/include \
21 $(TOP)/frameworks/av/media/libaaudio/src
/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.java95 lp.gravity = Gravity.TOP | Gravity.RIGHT; in show()
98 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/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/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java301 retGravity |= Gravity.TOP; in rotateGravityRight()
312 case Gravity.TOP: in rotateGravityRight()
338 gravity = Gravity.TOP | Gravity.START; in rotateGravityLeft()
350 retGravity |= Gravity.TOP; in rotateGravityLeft()
365 case Gravity.TOP: in rotateGravityLeft()
501 targetGravity = Gravity.CENTER_HORIZONTAL|Gravity.TOP; in updatePaddingAndGravityIfTooTall()
DScreenDecorations.java602 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); in updateViews()
603 updateView(topRight, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
607 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); in updateViews()
609 updateView(bottomLeft, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
614 updateView(bottomLeft, Gravity.TOP | Gravity.LEFT, 0); in updateViews()
615 updateView(bottomRight, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
618 updateView(topRight, Gravity.TOP | Gravity.RIGHT, 90); in updateViews()
620 updateView(bottomRight, Gravity.TOP | Gravity.LEFT, 0); in updateViews()
756 lp.gravity = Gravity.TOP | Gravity.LEFT; in getWindowLayoutParams()
772 lp.gravity = Gravity.TOP | Gravity.LEFT; in getBottomLayoutParams()
[all …]
/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/core/java/android/view/
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/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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewAccessibilityDelegate.java63 if (dockState == DockState.TOP) { in onInitializeAccessibilityNodeInfo()
77 simulateDragIntoMultiwindow(DockState.TOP); in performAccessibilityAction()
/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/apct-tests/perftests/core/
DAndroid.mk25 LOCAL_ASSET_DIR := $(TOP)/external/google-fonts/dancing-script
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java119 int topInset = findInsetForSide(displaySize, boundingRects, Gravity.TOP); in computeSafeInsets()
141 case Gravity.TOP: in findInsetForSide()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java231 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT; in createWindow()
241 mWindowY = (mGravity & Gravity.TOP) == Gravity.TOP ? in createWindow()
/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/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/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java43 window.setGravity(Gravity.TOP); in onCreate()

12345