Home
last modified time | relevance | path

Searched refs:getLayout (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DSwitchTest.java41 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testConstructor()
52 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testAccessThumbTint()
67 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.switch_layout); in testAccessTrackTint()
DGallery_LayoutParamsTest.java36 XmlResourceParser p = mContext.getResources().getLayout(R.layout.gallery_test); in testConstructor()
DLinearLayout_LayoutParamsTest.java34 XmlResourceParser p = mContext.getResources().getLayout(R.layout.linearlayout_layout); in testConstructor()
DRadioButtonTest.java41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); in testConstructor()
DAbsoluteLayout_LayoutParamsTest.java38 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
DTextViewTest.java190 assertNotNull(mTextView.getLayout()); in testGetLayout()
201 assertNull(runnable.getLayout()); in testGetLayout()
202 assertNotNull(mTextView.getLayout()); in testGetLayout()
1986 assertNotNull(mTextView.getLayout()); in testGetFocusedRect()
1992 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3), rc.left); in testGetFocusedRect()
1993 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(13), rc.right); in testGetFocusedRect()
1994 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect()
1995 assertEquals(mTextView.getLayout().getLineBottom(0), rc.bottom); in testGetFocusedRect()
2007 assertNotNull(mTextView.getLayout()); in testGetFocusedRect()
2008 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3) - 2, rc.left); in testGetFocusedRect()
[all …]
DFrameLayout_LayoutParamsTest.java39 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
DTwoLineListItemTest.java49 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructor()
DAbsoluteLayoutTest.java62 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
DRadioGroup_LayoutParamsTest.java157 XmlPullParser parser = mContext.getResources().getLayout(resId); in getAttributeSet()
DTimePickerTest.java55 mContext.getResources().getLayout(com.android.cts.widget.R.layout.timepicker); in testConstructors()
DTableRowTest.java135 XmlResourceParser parser = resources.getLayout(R.layout.table_layout_1); in testGenerateLayoutParams()
DSlidingDrawerTest.java66 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.sliding_drawer_layout); in testConstructor()
DFrameLayoutTest.java315 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
DRelativeLayoutTest.java264 XmlResourceParser parser = mActivity.getResources().getLayout(R.layout.relative_layout); in testGenerateLayoutParams1()
DRadioGroupTest.java430 XmlPullParser parser = mContext.getResources().getLayout(resId); in getAttributeSet()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java102 assertNotNull(mTextView.getLayout()); in testOnTouchEventHorizontalMotion()
104 float rightMost = mTextView.getLayout().getLineRight(0) - mTextView.getWidth() in testOnTouchEventHorizontalMotion()
205 assertNotNull(mTextView.getLayout());
207 float bottom = mTextView.getLayout().getHeight() - mTextView.getHeight()
307 assertNotNull(mTextView.getLayout());
383 assertNotNull(mTextView.getLayout());
422 assertNotNull(mTextView.getLayout());
471 assertNotNull(mTextView.getLayout());
516 assertNotNull(mTextView.getLayout());
590 assertNull(mTextView.getLayout());
[all …]
DLinkMovementMethodTest.java273 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; in testOnTouchEvent()
470 int x = (mView.getLayout().getLineStart(line) + mView.getLayout().getLineEnd(line)) / 2; in performMotionOnLine()
471 int y = (mView.getLayout().getLineTop(line) + mView.getLayout().getLineBottom(line)) / 2; in performMotionOnLine()
DTouchTest.java66 final Layout layout = tv.getLayout(); in testScrollTo()
DArrowKeyMovementMethodTest.java81 assertNotNull(mTextView.getLayout()); in setUp()
138 assertNotNull(mTextView.getLayout()); in testOnTakeFocus()
139 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus()
1118 assertNull(mTextView.getLayout()); in initTextViewWithNullLayout()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java267 XmlResourceParser parser = getContext().getResources().getLayout( in testInflate3()
291 parser = getContext().getResources().getLayout( in testInflate3()
296 parser = getContext().getResources().getLayout( in testInflate3()
312 XmlResourceParser parser = getContext().getResources().getLayout( in testInflate4()
336 parser = getContext().getResources().getLayout( in testInflate4()
342 parser = getContext().getResources().getLayout( in testInflate4()
DViewGroup_LayoutParamsTest.java39 XmlResourceParser parser = mContext.getResources().getLayout( in testConstructor()
DViewGroup_MarginLayoutParamsTest.java45 XmlResourceParser p = mContext.getResources().getLayout( in testConstructor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java382 int layout = getLayout(position); in getView()
424 private int getLayout(int position) { in getLayout() method in TestListAdapter
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java339 mResources.getLayout(-1); in testGetLayout()
345 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout()

12