Home
last modified time | relevance | path

Searched defs:layout (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DLayoutTest.java67 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() local
76 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() local
86 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, in testGetWidth() local
95 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, in testGetEllipsizedWidth() local
104 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testIncreaseWidthTo() local
122 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetHeight() local
128 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetAlignment() local
137 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingadd); in testGetSpacingMultiplier() local
145 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingmult, -1); in testGetSpacingAdd() local
153 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetLineBounds() local
[all …]
DSelectionTest.java164 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testMoveLeft() local
191 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveRight() local
222 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveUp() local
256 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveDown() local
334 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendLeft() local
360 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendRight() local
382 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendUp() local
412 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendDown() local
433 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToLeftEdge() local
468 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToRightEdge() local
[all …]
DStaticLayoutTest.java398 StaticLayout layout = new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), in testGetEllipsizedWidth() local
417 StaticLayout layout = new StaticLayout(editable, mDefaultPaint, in testImmutableStaticLayout() local
DStaticLayoutLineBreakingTest.java134 private static void layout(CharSequence source, int[] breaks) { in layout() method in StaticLayoutLineBreakingTest
138 private static void layout(CharSequence source, int[] breaks, int width) { in layout() method in StaticLayoutLineBreakingTest
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java60 private void layout(final int layoutId) { in layout() method in ViewTreeObserverTest
71 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnGlobalFocusChangeListener() local
96 final LinearLayout layout = in testAddOnGlobalLayoutListener() local
108 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnPreDrawListener() local
163 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnGlobalLayout() local
174 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnPreDraw() local
185 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testIsAlive() local
192 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveGlobalOnLayoutListener() local
209 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnGlobalFocusChangeListener() local
250 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnPreDrawListener() local
DViewTest.java1594 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationInWindow() local
1626 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationOnScreen() local
/cts/tests/src/android/view/cts/
DFocusFinderStubActivity.java30 public ViewGroup layout; field in FocusFinderStubActivity
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java167 public MockResourceCursorAdapter(Context context, int layout, Cursor c) { in MockResourceCursorAdapter()
171 public MockResourceCursorAdapter(Context context, int layout, in MockResourceCursorAdapter()
DAbsoluteLayoutTest.java99 AbsoluteLayout layout = (AbsoluteLayout) mActivity.findViewById(R.id.absolute_view); in testGenerateLayoutParams1() local
DTextViewTest.java2490 final FrameLayout layout = new FrameLayout(mActivity); in testMarquee() local
3449 private void layout(final TextView textView) { in layout() method in TextViewTest
3458 private void layout(final int layoutId) { in layout() method in TextViewTest
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java59 Layout layout = new StaticLayout("cts test.", p, 200, Layout.Alignment.ALIGN_NORMAL, in testDrawLeadingMargin() local
DDrawableMarginSpanTest.java66 Layout layout = new StaticLayout("cts test.", paint, 200, in testDrawLeadingMargin() local
/cts/tests/tests/holo/src/android/holo/cts/
DLayoutAdapter.java64 private LayoutInfo(int displayName, String fileName, int layout, LayoutModifier modifier, in LayoutInfo()
300 private void addLayout(int displayName, String fileName, int layout, LayoutModifier modifier, in addLayout()
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java62 final Layout layout = tv.getLayout(); in testScrollTo() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java315 int layout = getLayout(position); in getView() local
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java346 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout() local
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/
Dpdfjs.js18198 CFFDict.createTables = function CFFDict_createTables(layout) { argument