Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java230 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateLayoutParams() local
231 LayoutParams layoutParams1 = mockLinearLayout.generateLayoutParams(lp); in testGenerateLayoutParams()
245 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testCheckLayoutParams() local
248 assertFalse(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()
251 assertTrue(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()
255 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateDefaultLayoutParams() local
257 mockLinearLayout.setOrientation(LinearLayout.HORIZONTAL); in testGenerateDefaultLayoutParams()
258 ViewGroup.LayoutParams param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()
264 mockLinearLayout.setOrientation(LinearLayout.VERTICAL); in testGenerateDefaultLayoutParams()
265 param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()
[all …]