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.java95 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testSetIgnoreGravity() local
102 ViewAsserts.assertLeftAligned(relativeLayout, view12); in testSetIgnoreGravity()
103 ViewAsserts.assertRightAligned(relativeLayout, view13); in testSetIgnoreGravity()
105 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, in testSetIgnoreGravity()
107 relativeLayout.setIgnoreGravity(R.id.relative_view13); in testSetIgnoreGravity()
108 relativeLayout.requestLayout(); in testSetIgnoreGravity()
110 ViewAsserts.assertRightAligned(relativeLayout, view12); in testSetIgnoreGravity()
111 ViewAsserts.assertLeftAligned(relativeLayout, view13); in testSetIgnoreGravity()
113 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, relativeLayout, in testSetIgnoreGravity()
115 relativeLayout.setIgnoreGravity(0); in testSetIgnoreGravity()
[all …]
DRelativeLayout_LayoutParamsTest.java92 RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testConstructor() local
98 ViewAsserts.assertHorizontalCenterAligned(relativeLayout, view1); in testConstructor()
99 ViewAsserts.assertVerticalCenterAligned(relativeLayout, view1); in testConstructor()
140 ViewAsserts.assertLeftAligned(relativeLayout, view5); in testConstructor()
141 ViewAsserts.assertBottomAligned(relativeLayout, view5); in testConstructor()
150 ViewAsserts.assertTopAligned(relativeLayout, view6); in testConstructor()
151 ViewAsserts.assertRightAligned(relativeLayout, view6); in testConstructor()
161 ViewAsserts.assertHorizontalCenterAligned(relativeLayout, view7); in testConstructor()
170 ViewAsserts.assertVerticalCenterAligned(relativeLayout, view8); in testConstructor()
183 ViewAsserts.assertLeftAligned(relativeLayout, view9); in testConstructor()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java632 RelativeLayout relativeLayout = in generateView() local
634 ViewGenerator viewGenerator = new ViewGenerator(relativeLayout, view); in generateView()
664 private final RelativeLayout relativeLayout; field in DecodeAccuracyTestBase.TestHelper.ViewGenerator
666 public ViewGenerator(RelativeLayout relativeLayout, View view) { in ViewGenerator() argument
668 this.relativeLayout = checkNotNull(relativeLayout); in ViewGenerator()
679 relativeLayout.addView(view); in run()