| /cts/tests/tests/text/src/android/text/cts/ |
| D | LayoutTest.java | 93 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testDraw1() local 113 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testDraw2() local 139 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() local 153 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() local 168 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, in testGetWidth() local 182 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, in testGetEllipsizedWidth() local 198 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testIncreaseWidthTo() local 221 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetHeight() local 232 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetAlignment() local 246 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingadd); in testGetSpacingMultiplier() local [all …]
|
| D | SelectionTest.java | 235 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testMoveLeft() local 293 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveRight() local 354 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveUp() local 403 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveDown() local 513 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendLeft() local 570 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendRight() local 622 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendUp() local 671 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendDown() local 722 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToLeftEdge() local 776 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToRightEdge() local [all …]
|
| D | StaticLayoutTest.java | 427 StaticLayout layout = new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), in testGetEllipsizedWidth() local 446 StaticLayout layout = new StaticLayout(editable, mDefaultPaint, in testImmutableStaticLayout() local
|
| /cts/tests/tests/view/src/android/view/cts/ |
| D | ViewTreeObserverTest.java | 68 private void layout(final int layoutId) { in layout() method in ViewTreeObserverTest 84 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnGlobalFocusChangeListener() local 110 final LinearLayout layout = in testAddOnGlobalLayoutListener() local 128 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnPreDrawListener() local 200 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnGlobalLayout() local 217 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnPreDraw() local 234 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testIsAlive() local 247 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveGlobalOnLayoutListener() local 270 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnGlobalFocusChangeListener() local 305 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnPreDrawListener() local
|
| D | ViewTest.java | 2406 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationInWindow() local 2446 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationOnScreen() local
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | ResourceCursorAdapterTest.java | 206 public MockResourceCursorAdapter(Context context, int layout, Cursor c) { in MockResourceCursorAdapter() 210 public MockResourceCursorAdapter(Context context, int layout, in MockResourceCursorAdapter()
|
| D | AbsoluteLayoutTest.java | 158 AbsoluteLayout layout = (AbsoluteLayout) mActivity.findViewById(R.id.absolute_view); in testGenerateLayoutParams1() local
|
| D | TextViewTest.java | 4143 private void layout(final TextView textView) { in layout() method in TextViewTest 4152 private void layout(final int layoutId) { in layout() method in TextViewTest
|
| /cts/tests/tests/text/src/android/text/style/cts/ |
| D | IconMarginSpanTest.java | 99 Layout layout = new StaticLayout("cts test.", p, 200, Layout.Alignment.ALIGN_NORMAL, in testDrawLeadingMargin() local
|
| D | DrawableMarginSpanTest.java | 108 Layout layout = new StaticLayout("cts test.", paint, 200, in testDrawLeadingMargin() local
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| D | TouchTest.java | 70 final Layout layout = tv.getLayout(); in testScrollTo() local
|
| /cts/tests/tests/content/src/android/content/res/cts/ |
| D | ResourcesTest.java | 539 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout() local
|