Home
last modified time | relevance | path

Searched refs:generateLayoutParams (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DAbsoluteLayoutTest.java104 LayoutParams params = (LayoutParams) mAbsoluteLayout.generateLayoutParams( in testGenerateLayoutParamsFromAttributeSet()
118 (LayoutParams) mMyAbsoluteLayout.generateLayoutParams(mAbsoluteLayoutParams); in testGenerateLayoutParamsFromLayoutParams()
128 mMyAbsoluteLayout.generateLayoutParams((LayoutParams) null); in testGenerateLayoutParamsFromNull()
162 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in AbsoluteLayoutTest.MyAbsoluteLayout
163 return super.generateLayoutParams(p); in generateLayoutParams()
DTableRowTest.java156 assertNotNull(tableRow.generateLayoutParams(attr)); in testGenerateLayoutParamsFromAttributeSet()
158 assertNotNull(tableRow.generateLayoutParams((AttributeSet) null)); in testGenerateLayoutParamsFromAttributeSet()
187 LinearLayout.LayoutParams layoutParams = mockTableRow.generateLayoutParams( in testGenerateLayoutParamsFromLayoutParams()
199 mockTableRow.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromLayoutParamsNull()
235 protected LinearLayout.LayoutParams generateLayoutParams( in generateLayoutParams() method in TableRowTest.MockTableRow
237 return super.generateLayoutParams(p); in generateLayoutParams()
DRelativeLayoutTest.java263 LayoutParams layoutParams = relativeLayout.generateLayoutParams(parser); in testGenerateLayoutParams1()
276 (RelativeLayout.LayoutParams) myRelativeLayout.generateLayoutParams(p); in testGenerateLayoutParams2()
284 myRelativeLayout.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromNull()
306 layout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
417 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in RelativeLayoutTest.MyRelativeLayout
418 return super.generateLayoutParams(p); in generateLayoutParams()
DGridLayoutTest.java173 ViewGroup.LayoutParams lp = mGridLayout.generateLayoutParams(null); in testGenerateDefaultLayoutParams()
188 GridLayout.LayoutParams generated = gridLayout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
319 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in GridLayoutTest.MyGridLayout
320 return super.generateLayoutParams(p); in generateLayoutParams()
DFrameLayoutTest.java201 ViewGroup.LayoutParams params = myFrameLayout.generateLayoutParams(p); in testGenerateLayoutParams1()
212 FrameLayout.LayoutParams params = mFrameLayout.generateLayoutParams(attrs); in testGenerateLayoutParams2()
241 LayoutParams generated = (LayoutParams) myFrameLayout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
353 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in FrameLayoutTest.MyFrameLayout
354 return super.generateLayoutParams(p); in generateLayoutParams()
DGalleryTest.java166 LayoutParams layoutParams = gallery.generateLayoutParams(lp); in testGenerateLayoutParams()
175 layoutParams = mGallery.generateLayoutParams(attrs); in testGenerateLayoutParams()
387 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in GalleryTest.MyGallery
388 return super.generateLayoutParams(p); in generateLayoutParams()
DTableLayoutTest.java569 assertNotNull(mTableEmpty.generateLayoutParams(attr)); in testGenerateLayoutParamsFromAttributeSet()
571 assertNotNull(mTableEmpty.generateLayoutParams((AttributeSet) null)); in testGenerateLayoutParamsFromAttributeSet()
597 LinearLayout.LayoutParams layoutParams = mTableCustomEmpty.generateLayoutParams( in testGenerateLayoutParamsFromLayoutParams()
608 mTableCustomEmpty.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromLayoutParamsNull()
646 protected LinearLayout.LayoutParams generateLayoutParams( in generateLayoutParams() method in TableLayoutTest.MockTableLayout
648 return super.generateLayoutParams(p); in generateLayoutParams()
DRadioGroupTest.java303 mRadioGroup.generateLayoutParams((AttributeSet) null); in testGenerateLayoutParams()
316 layoutParams = mRadioGroup.generateLayoutParams(attrs); in testGenerateLayoutParams()
DAbsListViewTest.java588 ViewGroup.LayoutParams res = mListView.generateLayoutParams(mAttributeSet); in testGenerateLayoutParams()
596 res = listView.generateLayoutParams(p); in testGenerateLayoutParams()
1246 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in AbsListViewTest.MyListView
1247 return super.generateLayoutParams(p); in generateLayoutParams()
DLinearLayoutTest.java270 LayoutParams layoutParams1 = parent.generateLayoutParams(lp); in testGenerateLayoutParams()
320 LinearLayout.LayoutParams generated = parent.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
1284 protected LinearLayout.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in LinearLayoutTest.MockLinearLayout
1285 return super.generateLayoutParams(p); in generateLayoutParams()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java374 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in BoxInsetLayout
379 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() method in BoxInsetLayout
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java844 LayoutParams lp = mMockViewGroup.generateLayoutParams(set); in testGenerateLayoutParamsWithParaAttributeSet()
855 LayoutParams generatedParams = mMockViewGroup.generateLayoutParams(p); in testGenerateLayoutParams()
3149 public LayoutParams generateLayoutParams(LayoutParams p) { in generateLayoutParams() method in ViewGroupTest.MockViewGroup
3150 return super.generateLayoutParams(p); in generateLayoutParams()