/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayout_LayoutParamsTest.java | 98 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()
|
D | RadioGroup_LayoutParamsTest.java | 91 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()
|
D | GridLayoutTest.java | 194 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams() 203 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
|
D | FrameLayoutTest.java | 246 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams() 255 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
|
D | RelativeLayoutTest.java | 310 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams() 320 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
|
D | RadioGroupTest.java | 319 assertEquals(0, layoutParams.topMargin); in testGenerateLayoutParams() 332 assertEquals(5, layoutParams.topMargin); in testGenerateLayoutParams()
|
D | HorizontalScrollViewTest.java | 520 lp.topMargin = 10; in testFillViewportWithChildMargins() 568 lp.topMargin = 10; in testFillViewportWithChildMarginsAlreadyFills()
|
D | ScrollViewTest.java | 532 lp.topMargin = 10; in testFillViewportWithChildMargins() 580 lp.topMargin = 10; in testFillViewportWithChildMarginsAlreadyFills()
|
D | LinearLayoutTest.java | 326 lp.topMargin = 2; in testGenerateLayoutParamsFromMarginParams() 335 assertEquals(2, generated.topMargin); in testGenerateLayoutParamsFromMarginParams()
|
D | RemoteViewsTest.java | 2467 assertEquals("[top margin]", top, margins.topMargin); in assertMargins()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_MarginLayoutParamsTest.java | 91 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/ |
D | BoxInsetLayout.java | 131 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/ |
D | DisplayCutoutTestActivity.java | 99 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/ |
D | LocationInWindowTests.java | 194 lp.topMargin = 7; in onCreate()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlViewHostTests.java | 312 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/ |
D | ASurfaceControlTestActivity.java | 106 mLayoutParams.topMargin = OFFSET_Y; in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | KeepClearRectsTests.java | 687 params.topMargin = viewBounds.top; in createTestViewInActivity()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 2830 name: "topMargin" 5247 name: "topMargin"
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 3146 layoutParams.topMargin = 3 * HANDWRITING_BOUNDS_OFFSET_PX;
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 53770 field public int topMargin;
|