Home
last modified time | relevance | path

Searched refs:relativeLayout (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayoutTest.java103 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testSetIgnoreGravity() local
110 ViewAsserts.assertLeftAligned(relativeLayout, view12); in testSetIgnoreGravity()
111 ViewAsserts.assertRightAligned(relativeLayout, view13); in testSetIgnoreGravity()
113 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, in testSetIgnoreGravity()
115 relativeLayout.setIgnoreGravity(R.id.relative_view13); in testSetIgnoreGravity()
116 relativeLayout.requestLayout(); in testSetIgnoreGravity()
118 ViewAsserts.assertRightAligned(relativeLayout, view12); in testSetIgnoreGravity()
119 ViewAsserts.assertLeftAligned(relativeLayout, view13); in testSetIgnoreGravity()
121 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, in testSetIgnoreGravity()
123 relativeLayout.setIgnoreGravity(0); in testSetIgnoreGravity()
[all …]
DRelativeLayout_LayoutParamsTest.java101 RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testConstructor() local
107 ViewAsserts.assertHorizontalCenterAligned(relativeLayout, view1); in testConstructor()
108 ViewAsserts.assertVerticalCenterAligned(relativeLayout, view1); in testConstructor()
149 ViewAsserts.assertLeftAligned(relativeLayout, view5); in testConstructor()
150 ViewAsserts.assertBottomAligned(relativeLayout, view5); in testConstructor()
159 ViewAsserts.assertTopAligned(relativeLayout, view6); in testConstructor()
160 ViewAsserts.assertRightAligned(relativeLayout, view6); in testConstructor()
170 ViewAsserts.assertHorizontalCenterAligned(relativeLayout, view7); in testConstructor()
179 ViewAsserts.assertVerticalCenterAligned(relativeLayout, view8); in testConstructor()
192 ViewAsserts.assertLeftAligned(relativeLayout, view9); in testConstructor()
[all …]
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java637 RelativeLayout relativeLayout = in generateView() local
639 ViewGenerator viewGenerator = new ViewGenerator(relativeLayout, view); in generateView()
669 private final RelativeLayout relativeLayout; field in DecodeAccuracyTestBase.TestHelper.ViewGenerator
671 public ViewGenerator(RelativeLayout relativeLayout, View view) { in ViewGenerator() argument
673 this.relativeLayout = checkNotNull(relativeLayout); in ViewGenerator()
684 relativeLayout.addView(view); in run()