Home
last modified time | relevance | path

Searched refs:topMargin (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DFrameLayout_LayoutParamsTest.java98 fllp.topMargin = 10; in testCopyConstructor()
107 assertEquals("Top margin", fllp.topMargin, copy.topMargin); in testCopyConstructor()
114 mlp.topMargin = 10; in testCopyConstructor()
122 assertEquals("Top margin", fllp.topMargin, copy.topMargin); in testCopyConstructor()
DRadioGroup_LayoutParamsTest.java91 assertEquals(0, mLayoutParams.topMargin); in testConstructor()
97 source.topMargin = 2; in testConstructor()
106 assertEquals(2, mLayoutParams.topMargin); in testConstructor()
116 assertEquals(5, mLayoutParams.topMargin); in testConstructor()
DGridLayoutTest.java194 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams()
203 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
DFrameLayoutTest.java246 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams()
255 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
DRelativeLayoutTest.java310 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams()
320 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
DRadioGroupTest.java319 assertEquals(0, layoutParams.topMargin); in testGenerateLayoutParams()
332 assertEquals(5, layoutParams.topMargin); in testGenerateLayoutParams()
DHorizontalScrollViewTest.java520 lp.topMargin = 10; in testFillViewportWithChildMargins()
568 lp.topMargin = 10; in testFillViewportWithChildMarginsAlreadyFills()
DScrollViewTest.java532 lp.topMargin = 10; in testFillViewportWithChildMargins()
580 lp.topMargin = 10; in testFillViewportWithChildMarginsAlreadyFills()
DLinearLayoutTest.java326 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams()
335 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
DRemoteViewsTest.java2467 assertEquals("[top margin]", top, margins.topMargin); in assertMargins()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_MarginLayoutParamsTest.java91 assertEquals(30, mMarginLayoutParams.topMargin); in testSetMargins()
109 assertEquals(30, mMarginLayoutParams.topMargin); in testSetMarginsRelative()
129 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsRelative()
145 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsRelative()
162 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsRelative()
178 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsRelative()
198 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsExplicit()
215 assertEquals(30, mMarginLayoutParams.topMargin); in testResolveMarginsExplicit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java131 marginTop = lp.topMargin; in onMeasure()
139 marginTop = lp.topMargin; in onMeasure()
215 totalMargin += ptwf + lp.topMargin; in onMeasure()
326 childTop = parentTop + lp.topMargin; in layoutBoxChildren()
334 childTop = parentTop + lp.topMargin; in layoutBoxChildren()
339 lp.topMargin - lp.bottomMargin; in layoutBoxChildren()
350 childTop = parentTop + lp.topMargin; in layoutBoxChildren()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/
DDisplayCutoutTestActivity.java99 lp.topMargin = safeInsets.top + mButtonSize; in updateButtons()
107 lp.topMargin = safeInsets.top; in updateButtons()
114 lp.topMargin = safeInsets.top + mButtonSize;; in updateButtons()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DLocationInWindowTests.java194 lp.topMargin = 7; in onCreate()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java312 private void addSurfaceView(int width, int height, boolean onTop, int leftMargin, int topMargin) in addSurfaceView() argument
322 lp.topMargin = topMargin; in addSurfaceView()
326 new ViewGroup.LayoutParams(width + leftMargin, height + topMargin)); in addSurfaceView()
485 final int topMargin = i * 10; in testEmbeddedViewReceivesRawInputCoordinatesInDisplaySpace() local
487 leftMargin, topMargin); in testEmbeddedViewReceivesRawInputCoordinatesInDisplaySpace()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DASurfaceControlTestActivity.java106 mLayoutParams.topMargin = OFFSET_Y; in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DKeepClearRectsTests.java687 params.topMargin = viewBounds.top; in createTestViewInActivity()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt2830 name: "topMargin"
5247 name: "topMargin"
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java3146 layoutParams.topMargin = 3 * HANDWRITING_BOUNDS_OFFSET_PX;
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt53770 field public int topMargin;