Home
last modified time | relevance | path

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

1234

/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 …]
DLayoutUseBoundsTest.kt124 var layout = buildLayout(text, 1000) in testBreakOvershoot_trailing_LTR() variable
236 var layout = buildLayout(text, 1000) in testBreakOvershoot_trailing_RTL() variable
347 var layout = buildLayout(text, 1000) in testBreakOvershoot_trailing_Bidi_LTRFirst() variable
458 var layout = buildLayout(text, 1000) in testBreakOvershoot_trailing_Bidi_RTLFirst() variable
569 var layout = buildLayout(text, 1000) in testBreakOvershoot_preceding_LTR() variable
680 var layout = buildLayout(text, 1000) in testBreakOvershoot_preceding_RTL() variable
788 var layout = buildLayout(text, 1000) in testBreakOvershoot_preceding_Bidi_LTRFirst() variable
900 var layout = buildLayout(text, 1000) in testBreakOvershoot_preceding_Bidi_RTLFirst() variable
1010 var layout = buildLayout(text, 1000) in testOvershoot_bounds_inside_LTR() variable
1026 var layout = buildLayout(text, 1000) in testOvershoot_bounds_inside_RTL() variable
DStaticLayoutTest.java163 StaticLayout layout = builder.build(); in testBuilder() local
178 StaticLayout layout = builder.build(); in testBuilder() local
188 StaticLayout layout = builder.build(); in testBuilder() local
196 StaticLayout layout = builder.build(); in testBuilder() local
204 StaticLayout layout = builder.build(); in testBuilder() local
214 StaticLayout layout = builder.build(); in testBuilder() local
226 StaticLayout layout = builder.build(); in testBuilder() local
239 StaticLayout layout = builder.build(); in testBuilder() local
255 StaticLayout layout = builder.build(); in testBuilder() local
271 StaticLayout layout = builder.build(); in testBuilder() local
[all …]
DSelectionParagraphTest.java65 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_beginning_cursor() local
81 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_middle_cursor() local
98 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_paragraph_bounds_cursor() local
120 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_end_cursor() local
134 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_beginning_middle_selection() local
151 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_beginning_paragraph_bounds_selection() local
168 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_beginning_end_selection() local
182 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_middle_middle_selection() local
196 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_middle_paragraph_bounds_selection() local
210 final Layout layout = getSixLineLayout(spannable, PAINT); in testMoveParagraphNext_from_middle_end_selection() local
[all …]
DLayoutMinimumLineHeightTest.kt60 val layout = Layout.Builder(text, 0, text.length, paint, 1024) in layout_SetGetMinimumFontMetrics() constant
74 val layout = StaticLayout.Builder.obtain(text, 0, text.length, paint, 1024) in StaticLayout_SetGetMinimumFontMetrics() constant
88 val layout = DynamicLayout.Builder.obtain(text, paint, 1024) in DynamicLayout_SetGetMinimumFontMetrics() constant
106 val layout = Layout.Builder(text, 0, text.length, paint, 1024) in Layout_expandToReserveMinimumFontMetrics() constant
125 val layout = StaticLayout.Builder.obtain(text, 0, text.length, paint, 1024) in StaticLayout_expandToReserveMinimumFontMetrics() constant
144 val layout = DynamicLayout.Builder.obtain(text, paint, 1024) in DynamicLayout_expandToReserveMinimumFontMetrics() constant
163 val layout = Layout.Builder(text, 0, text.length, paint, 1024) in Layout_useActualFont() constant
182 val layout = StaticLayout.Builder.obtain(text, 0, text.length, paint, 1024) in StaticLayout_useActualFont() constant
201 val layout = DynamicLayout.Builder.obtain(text, paint, 1024) in DynamicLayout_useActualFont() constant
DBoringLayoutUseBoundsTest.kt71 var layout = buildLayout(text, 1000) in testBreakOvershoot_trailing_LTR() variable
87 var layout = buildLayout(text, 1000) in testBreakOvershoot_preceding_LTR() variable
103 var layout = buildLayout(text, 1000) in testBreakOvershoot_bounds_inside() variable
DDynamicLayoutTest.java407 final DynamicLayout layout = builder.build(); in testBuilder_obtain() local
422 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullText() local
429 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullPaint() local
437 final DynamicLayout layout = builder.build(); in testBuilder_setDisplayTest() local
446 final DynamicLayout layout = builder.build(); in testBuilder_setAlignment() local
455 final DynamicLayout layout = builder.build(); in testBuilder_setLineSpacing() local
468 final DynamicLayout layout = builder.build(); in testBuilder_setLineBreakConfig() local
478 final DynamicLayout layout = builder.build(); in testBuilder_ellipsization() local
500 final DynamicLayout layout = builder.build(); in testBuilder_otherSetters() local
511 DynamicLayout layout = in testDisplayTextUsedInsteadOfBase() local
[all …]
DLayoutDrawOrderTest.java94 private TestPaths prepareTestCase(Layout layout) { in prepareTestCase()
110 Layout layout = getBoringLayout(TEST_STRING); in testBoringLayout_testDrawOrder_Selection_on_top_of_Highlight() local
130 Layout layout = getStaticLayout(TEST_STRING); in testStaticLayout_testDrawOrder_Selection_on_top_of_Highlight() local
150 Layout layout = getDynamicLayout(TEST_STRING); in testDynamicLayout_testDrawOrder_Selection_on_top_of_Highlight() local
174 Layout layout = getStaticLayout(ss); in testStaticLayout_testDrawOrder_Highlight_on_top_of_Background() local
204 Layout layout = getStaticLayout(ss); in testDynamicLayout_testDrawOrder_Highlight_on_top_of_Background() local
DLayoutInterJustificationTest.kt67 val layout = Layout.Builder(text, 0, text.length, paint, width) in <lambda>() constant
78 var layout = Layout.Builder(text, 0, text.length, paint, width) in <lambda>() variable
100 var layout = Layout.Builder( in <lambda>() variable
DLayoutBuilderTest.kt55 val layout = makeBuilder(BORING_TEXT).build() in makeBuilder() constant
64 val layout = makeBuilder(STATIC_LAYOUT_TEXT).build() in buildStaticLayout() constant
73 val layout = makeBuilder(BORING_TEXT).build() in buildBoringDefaults() constant
101 val layout = makeBuilder(STATIC_LAYOUT_TEXT).build() in buildStaticDefaults() constant
DStaticLayoutFallbackLineSpacingTest.java84 StaticLayout layout = StaticLayout.Builder.obtain( in testFallbackSpacing() local
DStaticLayoutBidiTouchTest.java53 Layout layout = StaticLayout.Builder.obtain(text, 0, text.length(), p, width) in touchOffsetTest() local
DStaticLayoutLineBreakingNoBreakSpanTest.kt70 var layout = buildLayout("This is an example.", 80, LineBreaker.BREAK_STRATEGY_HIGH_QUALITY) in testLineBreakPreventLineBreak() variable
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DBlankActivity.kt12 val layout = LinearLayout(this) in onCreate() constant
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewWithTransformationHandwritingTest.java178 Layout layout = mEditText.getLayout(); in areaBasedGesture_scaleY_wordLevel() local
197 Layout layout = mEditText.getLayout(); in areaBasedGesture_scaleY_characterLevel() local
218 Layout layout = mEditText.getLayout(); in areaBasedGesture_scaleXAndY_wordLevel() local
238 Layout layout = mEditText.getLayout(); in areaBasedGesture_scaleXAndY_characterLevel() local
258 Layout layout = mEditText.getLayout(); in pointerBasedGesture_scaleX() local
272 Layout layout = mEditText.getLayout(); in pointerBasedGesture_scaleY() local
287 Layout layout = mEditText.getLayout(); in pointerBasedGesture_scaleXAndY() local
DResourceCursorAdapterTest.java192 public MockResourceCursorAdapter(Context context, int layout, Cursor c) { in MockResourceCursorAdapter()
199 public MockResourceCursorAdapter(Context context, int layout, in MockResourceCursorAdapter()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupChildDrawingOrderTest.java48 LinearLayout layout = new LinearLayout(mContext); in testPublicGetChildDrawingOrderWithDefaultOrder() local
60 LinearLayoutWithDrawingOrder layout = new LinearLayoutWithDrawingOrder(mContext); in testPublicGetChildDrawingOrderWithCustomOrder() local
DFocusFinderCtsActivity.java26 public ViewGroup layout; field in FocusFinderCtsActivity
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DBaseThirdPartyActivity.java31 final View layout = findViewById(android.R.id.content); in onResume() local
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DTranslucentActivity.java35 final var layout = new LinearLayout(this); in onCreate() local
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DShowWhenLockedAttrImeActivity.java32 final LinearLayout layout = new LinearLayout(this); in onCreate() local
/cts/tests/framework/base/windowmanager/appCompatViewSandboxAllowed/src/android/server/wm/allowsandboxingviewboundsapis/
DTestCompatAllowViewSandboxActivity.java60 LinearLayout layout = new LinearLayout(this); in onCreate() local
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/
DTestCompatViewSandboxOptOutActivity.java58 LinearLayout layout = new LinearLayout(this); in onCreate() local
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java295 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addButton() local
314 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addSwapButton() local
324 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addCollapseInstructionsButton() local
/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java88 LinearLayout layout = new LinearLayout(mActivity); in setup() local

1234