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.java103 LayoutParams params = (LayoutParams) mAbsoluteLayout.generateLayoutParams( in testGenerateLayoutParamsFromAttributeSet()
117 (LayoutParams) mMyAbsoluteLayout.generateLayoutParams(mAbsoluteLayoutParams); in testGenerateLayoutParamsFromLayoutParams()
127 mMyAbsoluteLayout.generateLayoutParams((LayoutParams) null); in testGenerateLayoutParamsFromNull()
161 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in AbsoluteLayoutTest.MyAbsoluteLayout
162 return super.generateLayoutParams(p); in generateLayoutParams()
DTableRowTest.java155 assertNotNull(tableRow.generateLayoutParams(attr)); in testGenerateLayoutParamsFromAttributeSet()
157 assertNotNull(tableRow.generateLayoutParams((AttributeSet) null)); in testGenerateLayoutParamsFromAttributeSet()
186 LinearLayout.LayoutParams layoutParams = mockTableRow.generateLayoutParams( in testGenerateLayoutParamsFromLayoutParams()
198 mockTableRow.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromLayoutParamsNull()
234 protected LinearLayout.LayoutParams generateLayoutParams( in generateLayoutParams() method in TableRowTest.MockTableRow
236 return super.generateLayoutParams(p); in generateLayoutParams()
DRelativeLayoutTest.java259 LayoutParams layoutParams = relativeLayout.generateLayoutParams(parser); in testGenerateLayoutParams1()
272 (RelativeLayout.LayoutParams) myRelativeLayout.generateLayoutParams(p); in testGenerateLayoutParams2()
280 myRelativeLayout.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromNull()
302 layout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
414 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in RelativeLayoutTest.MyRelativeLayout
415 return super.generateLayoutParams(p); in generateLayoutParams()
DGridLayoutTest.java172 ViewGroup.LayoutParams lp = mGridLayout.generateLayoutParams(null); in testGenerateDefaultLayoutParams()
187 GridLayout.LayoutParams generated = gridLayout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
318 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in GridLayoutTest.MyGridLayout
319 return super.generateLayoutParams(p); in generateLayoutParams()
DFrameLayoutTest.java205 ViewGroup.LayoutParams params = myFrameLayout.generateLayoutParams(p); in testGenerateLayoutParams1()
216 FrameLayout.LayoutParams params = mFrameLayout.generateLayoutParams(attrs); in testGenerateLayoutParams2()
245 LayoutParams generated = (LayoutParams) myFrameLayout.generateLayoutParams(lp); in testGenerateLayoutParamsFromMarginParams()
354 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in FrameLayoutTest.MyFrameLayout
355 return super.generateLayoutParams(p); in generateLayoutParams()
DGalleryTest.java166 LayoutParams layoutParams = gallery.generateLayoutParams(lp); in testGenerateLayoutParams()
175 layoutParams = mGallery.generateLayoutParams(attrs); in testGenerateLayoutParams()
391 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in GalleryTest.MyGallery
392 return super.generateLayoutParams(p); in generateLayoutParams()
DTableLayoutTest.java566 assertNotNull(mTableEmpty.generateLayoutParams(attr)); in testGenerateLayoutParamsFromAttributeSet()
568 assertNotNull(mTableEmpty.generateLayoutParams((AttributeSet) null)); in testGenerateLayoutParamsFromAttributeSet()
594 LinearLayout.LayoutParams layoutParams = mTableCustomEmpty.generateLayoutParams( in testGenerateLayoutParamsFromLayoutParams()
605 mTableCustomEmpty.generateLayoutParams((ViewGroup.LayoutParams) null); in testGenerateLayoutParamsFromLayoutParamsNull()
643 protected LinearLayout.LayoutParams generateLayoutParams( in generateLayoutParams() method in TableLayoutTest.MockTableLayout
645 return super.generateLayoutParams(p); in generateLayoutParams()
DRadioGroupTest.java302 mRadioGroup.generateLayoutParams((AttributeSet) null); in testGenerateLayoutParams()
315 layoutParams = mRadioGroup.generateLayoutParams(attrs); in testGenerateLayoutParams()
DAbsListViewTest.java592 ViewGroup.LayoutParams res = mListView.generateLayoutParams(mAttributeSet); in testGenerateLayoutParams()
600 res = listView.generateLayoutParams(p); in testGenerateLayoutParams()
1221 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) { in generateLayoutParams() method in AbsListViewTest.MyListView
1222 return super.generateLayoutParams(p); in generateLayoutParams()
DLinearLayoutTest.java269 LayoutParams layoutParams1 = parent.generateLayoutParams(lp); in testGenerateLayoutParams()
319 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.java850 LayoutParams lp = mMockViewGroup.generateLayoutParams(set); in testGenerateLayoutParamsWithParaAttributeSet()
861 LayoutParams generatedParams = mMockViewGroup.generateLayoutParams(p); in testGenerateLayoutParams()
2874 public LayoutParams generateLayoutParams(LayoutParams p) { in generateLayoutParams() method in ViewGroupTest.MockViewGroup
2875 return super.generateLayoutParams(p); in generateLayoutParams()