/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 103 assertNotNull(mTextView.getLayout()); in testOnTouchEventHorizontalMotion() 105 float rightMost = mTextView.getLayout().getLineRight(0) - mTextView.getWidth() in testOnTouchEventHorizontalMotion() 206 assertNotNull(mTextView.getLayout()); 208 float bottom = mTextView.getLayout().getHeight() - mTextView.getHeight() 308 assertNotNull(mTextView.getLayout()); 384 assertNotNull(mTextView.getLayout()); 423 assertNotNull(mTextView.getLayout()); 472 assertNotNull(mTextView.getLayout()); 517 assertNotNull(mTextView.getLayout()); 591 assertNull(mTextView.getLayout()); [all …]
|
D | LinkMovementMethodTest.java | 275 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; in testOnTouchEvent() 472 int x = (mView.getLayout().getLineStart(line) + mView.getLayout().getLineEnd(line)) / 2; in performMotionOnLine() 473 int y = (mView.getLayout().getLineTop(line) + mView.getLayout().getLineBottom(line)) / 2; in performMotionOnLine()
|
D | TouchTest.java | 68 final Layout layout = tv.getLayout(); in testScrollTo()
|
D | ArrowKeyMovementMethodTest.java | 82 assertNotNull(mTextView.getLayout()); in setUp() 139 assertNotNull(mTextView.getLayout()); in testOnTakeFocus() 140 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus() 1401 assertNull(mTextView.getLayout()); in initTextViewWithNullLayout()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 267 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()
|
D | ViewGroup_LayoutParamsTest.java | 39 XmlResourceParser parser = mContext.getResources().getLayout( in testConstructor()
|
D | ViewGroup_MarginLayoutParamsTest.java | 45 XmlResourceParser p = mContext.getResources().getLayout( in testConstructor()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | Gallery_LayoutParamsTest.java | 36 XmlResourceParser p = mContext.getResources().getLayout(R.layout.gallery_test); in testConstructor()
|
D | LinearLayout_LayoutParamsTest.java | 34 XmlResourceParser p = mContext.getResources().getLayout(R.layout.linearlayout_layout); in testConstructor()
|
D | TextViewTest.java | 198 assertNotNull(mTextView.getLayout()); in testGetLayout() 209 assertNull(runnable.getLayout()); in testGetLayout() 210 assertNotNull(mTextView.getLayout()); in testGetLayout() 2314 assertNotNull(mTextView.getLayout()); in testGetFocusedRect() 2320 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3), rc.left); in testGetFocusedRect() 2321 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(13), rc.right); in testGetFocusedRect() 2322 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect() 2323 assertEquals(mTextView.getLayout().getLineBottom(0), rc.bottom); in testGetFocusedRect() 2335 assertNotNull(mTextView.getLayout()); in testGetFocusedRect() 2336 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3) - 2, rc.left); in testGetFocusedRect() [all …]
|
D | RadioButtonTest.java | 41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); in testConstructor()
|
D | AbsoluteLayout_LayoutParamsTest.java | 38 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
D | TextViewFadingEdgeTest.java | 175 float lineMid = (textView.getLayout().getLineLeft(0) + in createTextView() 176 textView.getLayout().getLineRight(0)) / 2; in createTextView()
|
D | TwoLineListItemTest.java | 49 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructor()
|
D | AbsoluteLayoutTest.java | 62 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
D | FrameLayout_LayoutParamsTest.java | 40 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
|
D | RadioGroup_LayoutParamsTest.java | 157 XmlPullParser parser = mContext.getResources().getLayout(resId); in getAttributeSet()
|
D | TimePickerTest.java | 55 mContext.getResources().getLayout(android.widget.cts.R.layout.timepicker); in testConstructors()
|
D | TableRowTest.java | 135 XmlResourceParser parser = resources.getLayout(R.layout.table_layout_1); in testGenerateLayoutParams()
|
D | SlidingDrawerTest.java | 66 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.sliding_drawer_layout); in testConstructor()
|
D | FrameLayoutTest.java | 317 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
|
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
D | TextViewActivity.java | 96 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceive()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TestStartActivity.java | 150 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 382 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/ |
D | ResourcesTest.java | 420 mResources.getLayout(-1); in testGetLayout() 426 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout()
|