Home
last modified time | relevance | path

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

12

/cts/tests/tests/text/src/android/text/cts/
DSelectionTest.java187 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testMoveLeft() local
215 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveRight() local
247 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveUp() local
287 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMoveUpAfterTyping() local
312 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMoveUpKeepsOriginalMemoryPosition() local
337 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveDown() local
375 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMoveDownAfterTyping() local
400 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMoveDownKeepsOriginalMemoryPosition() local
425 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMemoryPositionResetByHorizontalMovement() local
484 StaticLayout layout = new StaticLayout(builder, new TextPaint(), 200, in testMemoryPositionResetByRemoveSelection() local
[all …]
DStaticLayoutTest.java161 StaticLayout layout = builder.build(); in testBuilder() local
176 StaticLayout layout = builder.build(); in testBuilder() local
186 StaticLayout layout = builder.build(); in testBuilder() local
194 StaticLayout layout = builder.build(); in testBuilder() local
202 StaticLayout layout = builder.build(); in testBuilder() local
212 StaticLayout layout = builder.build(); in testBuilder() local
224 StaticLayout layout = builder.build(); in testBuilder() local
237 StaticLayout layout = builder.build(); in testBuilder() local
267 final StaticLayout layout = builder.build(); in testSetLineSpacing_whereLineEndsWithNextLine() local
279 StaticLayout layout = builder.build(); in testBuilder_setJustificationMode() local
[all …]
DDynamicLayoutTest.java323 final DynamicLayout layout = builder.build(); in testBuilder_obtain() local
338 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullText() local
345 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullPaint() local
353 final DynamicLayout layout = builder.build(); in testBuilder_setDisplayTest() local
362 final DynamicLayout layout = builder.build(); in testBuilder_setAlignment() local
371 final DynamicLayout layout = builder.build(); in testBuilder_setLineSpacing() local
382 final DynamicLayout layout = builder.build(); in testBuilder_ellipsization() local
404 final DynamicLayout layout = builder.build(); in testBuilder_otherSetters() local
415 final DynamicLayout layout = DynamicLayout.Builder.obtain(builder, in testReflow_afterSpanChangedShouldNotThrowException() local
DStaticLayoutLineBreakingVariantsTest.java56 final StaticLayout layout = buildLayout(text, LocaleList.forLanguageTags(locale), width); in assertLineBreak() local
DStaticLayoutLineBreakingTest.java117 private static void layout(CharSequence source, int[] breaks) { in layout() method in StaticLayoutLineBreakingTest
121 private static void layout(CharSequence source, int[] breaks, int width) { in layout() method in StaticLayoutLineBreakingTest
/cts/tests/tests/view/src/android/view/cts/
DViewGroupChildDrawingOrderTest.java46 LinearLayout layout = new LinearLayout(mContext); in testPublicGetChildDrawingOrderWithDefaultOrder() local
58 LinearLayoutWithDrawingOrder layout = new LinearLayoutWithDrawingOrder(mContext); in testPublicGetChildDrawingOrderWithCustomOrder() local
DFocusFinderCtsActivity.java26 public ViewGroup layout; field in FocusFinderCtsActivity
DFrameMetricsListenerTest.java64 private void layout(final int layoutId) throws Throwable { in layout() method in FrameMetricsListenerTest
DViewTreeObserverTest.java80 private void layout(final int layoutId) throws Throwable { in layout() method in ViewTreeObserverTest
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DBaseThirdPartyActivity.java31 final View layout = findViewById(android.R.id.content); in onResume() local
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DShowWhenLockedAttrImeActivity.java32 final LinearLayout layout = new LinearLayout(this); in onCreate() local
DInputMethodTestActivity.java43 final LinearLayout layout = new LinearLayout(this); in onCreate() local
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java192 public MockResourceCursorAdapter(Context context, int layout, Cursor c) { in MockResourceCursorAdapter()
199 public MockResourceCursorAdapter(Context context, int layout, in MockResourceCursorAdapter()
DTextViewTest.java1665 final FrameLayout layout = new FrameLayout(mActivity); in testSetTextUpdatesHeightAfterRemovingImageSpan() local
3117 final FrameLayout layout = new FrameLayout(mActivity); in testEllipsizeAndMaxLinesForSingleLine() local
3162 final FrameLayout layout = new FrameLayout(mActivity); in testEllipsizeAndMaxLinesForMultiLine() local
3217 final FrameLayout layout = new FrameLayout(mActivity); in testEllipsizeAndMaxLinesForHint() local
3560 final FrameLayout layout = new FrameLayout(mActivity); in testSetLetterSpacingChangesTextWidth() local
3686 final FrameLayout layout = new FrameLayout(mActivity); in testGetOffsetForPositionSingleLineLtr() local
3744 final FrameLayout layout = new FrameLayout(mActivity); in testGetOffsetForPositionMultiLineLtr() local
3810 final FrameLayout layout = new FrameLayout(mActivity); in testGetOffsetForPositionMultiLineRtl() local
4308 final FrameLayout layout = new FrameLayout(mActivity); in testSingleLine() local
4431 Layout layout = mTextView.getLayout(); in testHyphenationNotHappen_frequencyNone() local
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java81 LinearLayout layout = new LinearLayout(mActivity); in setup() local
DTouchTest.java88 final Layout layout = mTextView.getLayout(); in testScrollTo() local
DBaseMovementMethodTest.java191 final FrameLayout layout = new FrameLayout(activity); in setContentView() local
DScrollingMovementMethodTest.java619 final Layout layout = mTextView.getLayout(); in testOnTakeFocus() local
713 final Layout layout = mTextView.getLayout(); in verifyVisibleLineInTextView() local
DPasswordTransformationMethodTest.java101 LinearLayout layout = new LinearLayout(mActivity); in setup() local
/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java98 protected View loadLayout(final int layout) throws Throwable { in loadLayout()
107 protected Scene loadScene(final View layout) throws Throwable { in loadScene()
/cts/tests/tests/text/src/android/text/style/cts/
DStrikethroughSpanTest.java102 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth() local
DIconMarginSpanTest.java71 Layout layout = new StaticLayout("cts test.", p, 200, Layout.Alignment.ALIGN_NORMAL, in testDrawLeadingMargin() local
DDrawableMarginSpanTest.java86 Layout layout = new StaticLayout("cts test.", paint, 200, in testDrawLeadingMargin() local
DUnderlineSpanTest.java99 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java148 final LayoutInfo layout = LAYOUTS[mLayoutIndex++]; in setNextLayout() local

12