Home
last modified time | relevance | path

Searched refs:verticalMargin (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DWindowManager_LayoutParamsTest.java166 params.verticalMargin = MARGIN; in testCopyFrom()
170 assertEquals(params.verticalMargin, mLayoutParams.verticalMargin, 0.0f); in testCopyFrom()
224 mLayoutParams.verticalMargin = VERTICAL_MARGIN; in testWriteToParcel()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDialogFrameTests.java228 float verticalMargin = .35f; in testMarginsArePercentagesOfContentFrame() local
233 (int) (verticalMargin * frame.height() + frame.top), in testMarginsArePercentagesOfContentFrame()
235 (int) (verticalMargin * frame.height() + frame.top) + explicitDimension); in testMarginsArePercentagesOfContentFrame()
DDialogFrameTestActivity.java211 params.verticalMargin = .35f; in testWithMargins()
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java224 assertEquals(vertical1, params1.verticalMargin, 0.0f); in testAccessMargin()
244 assertEquals(vertical2, params2.verticalMargin, 0.0f); in testAccessMargin()