/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 118 assertNotNull(mTextView.getLayout()); in testOnTouchEventHorizontalMotion() 120 final float rightMost = mTextView.getLayout().getLineRight(0) - mTextView.getWidth() in testOnTouchEventHorizontalMotion() 212 assertNotNull(mTextView.getLayout()); 214 final float bottom = mTextView.getLayout().getHeight() - mTextView.getHeight() 315 assertNotNull(mTextView.getLayout()); 379 assertNotNull(mTextView.getLayout()); in testOnKeyDownVerticalMovement() 401 assertNotNull(mTextView.getLayout()); in testOnKeyDownHorizontalMovement() 427 assertNotNull(mTextView.getLayout()); in testOnKeyDownExceptions() 461 assertNotNull(mTextView.getLayout()); in testVerticalMovement() 534 assertNull(mTextView.getLayout()); in testMovementWithNullLayout() [all …]
|
D | LinkMovementMethodTest.java | 298 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; in testOnTouchEvent_nullViewParam() 307 int y = (mView.getLayout().getLineTop(1) + mView.getLayout().getLineBottom(1)) / 2; in testOnTouchEvent_nullSpannableParam() 489 int x = (mView.getLayout().getLineStart(line) + mView.getLayout().getLineEnd(line)) / 2; in performMotionOnLine() 490 int y = (mView.getLayout().getLineTop(line) + mView.getLayout().getLineBottom(line)) / 2; in performMotionOnLine()
|
D | BaseMovementMethodTest.java | 113 () -> mTextView.scrollTo((int) mTextView.getLayout().getLineWidth(0), 0)); in testOnGenericMotionEvent_horizontalScroll() 175 () -> mTextView.scrollTo(0, mTextView.getLayout().getHeight())); in testOnGenericMotionEvent_verticalScroll()
|
D | TouchTest.java | 88 final Layout layout = mTextView.getLayout(); in testScrollTo()
|
D | ArrowKeyMovementMethodTest.java | 102 PollingCheck.waitFor(() -> mTextView.isFocused() && (mTextView.getLayout() != null)); in setup() 154 assertNotNull(mTextView.getLayout()); in testOnTakeFocus() 155 assertEquals(1, mTextView.getLayout().getLineCount()); in testOnTakeFocus() 1432 assertNull(mTextView.getLayout()); in initTextViewWithNullLayout()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TwoLineListItemTest.java | 61 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructor() 80 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructorWithNullContext2() 86 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructorWithNullContext3()
|
D | TextViewTest.java | 289 assertNotNull(mTextView.getLayout()); in testGetLayout() 300 assertNull(runnable.getLayout()); in testGetLayout() 301 assertNotNull(mTextView.getLayout()); in testGetLayout() 2736 assertNotNull(mTextView.getLayout()); in testGetFocusedRect() 2742 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3), rc.left); in testGetFocusedRect() 2743 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(13), rc.right); in testGetFocusedRect() 2744 assertEquals(mTextView.getLayout().getLineTop(0), rc.top); in testGetFocusedRect() 2745 assertEquals(mTextView.getLayout().getLineBottom(0), rc.bottom); in testGetFocusedRect() 2755 assertNotNull(mTextView.getLayout()); in testGetFocusedRect() 2756 assertEquals((int) mTextView.getLayout().getPrimaryHorizontal(3) - 2, rc.left); in testGetFocusedRect() [all …]
|
D | Gallery_LayoutParamsTest.java | 44 XmlResourceParser p = context.getResources().getLayout(R.layout.gallery_test); in testConstructor()
|
D | TextViewFadingEdgeTest.java | 183 float lineMid = (textView.getLayout().getLineLeft(0) + in createTextView() 184 textView.getLayout().getLineRight(0)) / 2; in createTextView()
|
D | AbsoluteLayout_LayoutParamsTest.java | 53 XmlPullParser parser = mContext.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
D | LinearLayout_LayoutParamsTest.java | 46 XmlResourceParser p = context.getResources().getLayout(R.layout.linearlayout_layout2); in testConstructor()
|
D | AbsoluteLayoutTest.java | 75 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.absolute_layout); in getAttributeSet()
|
D | FrameLayout_LayoutParamsTest.java | 55 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); in getAttributeSet()
|
D | RadioGroup_LayoutParamsTest.java | 161 XmlPullParser parser = mContext.getResources().getLayout(resId); in getAttributeSet()
|
D | TimePickerTest.java | 84 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.timepicker); in testConstructors() 107 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.timepicker); in testConstructorNullContext2() 113 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.timepicker); in testConstructorNullContext3()
|
D | SlidingDrawerTest.java | 85 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.sliding_drawer_layout); in testConstructor()
|
D | TableRowTest.java | 153 XmlResourceParser parser = resources.getLayout(R.layout.table_layout_1); in testGenerateLayoutParamsFromAttributeSet()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 278 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParser() 296 parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParser() 300 parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParser() 318 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParserAttachToRoot() 336 parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParserAttachToRoot() 341 parser = mContext.getResources().getLayout(R.layout.inflater_layout); in testInflateParserAttachToRoot()
|
D | ViewGroup_LayoutParamsTest.java | 52 XmlResourceParser parser = mContext.getResources().getLayout( in testConstructor()
|
D | ViewGroup_MarginLayoutParamsTest.java | 55 XmlResourceParser p = mContext.getResources().getLayout( in testConstructor()
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | TextViewActivity.java | 55 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceivedEventFromCaller()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TestStartActivity.java | 116 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 433 int layout = getLayout(position); in getView() 475 private int getLayout(int position) { in getLayout() method in TestListAdapter
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 516 mResources.getLayout(-1); in testGetLayout() 522 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout() 983 XmlPullParser content_layout_parser = mResources.getLayout(R.layout.context_layout); in testGetAttributeSetSourceResId()
|
D | TypedArrayTest.java | 93 getContext().getResources().getLayout(R.layout.source_style_layout); in testSourceResourceIdFromLayout()
|