/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionTest.java | 187 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 …]
|
D | LayoutUseBoundsTest.kt | 124 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
|
D | StaticLayoutTest.java | 163 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 …]
|
D | SelectionParagraphTest.java | 65 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 …]
|
D | LayoutMinimumLineHeightTest.kt | 60 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
|
D | BoringLayoutUseBoundsTest.kt | 71 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
|
D | DynamicLayoutTest.java | 407 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 …]
|
D | LayoutDrawOrderTest.java | 94 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
|
D | LayoutInterJustificationTest.kt | 67 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
|
D | LayoutBuilderTest.kt | 55 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
|
D | StaticLayoutFallbackLineSpacingTest.java | 84 StaticLayout layout = StaticLayout.Builder.obtain( in testFallbackSpacing() local
|
D | StaticLayoutBidiTouchTest.java | 53 Layout layout = StaticLayout.Builder.obtain(text, 0, text.length(), p, width) in touchOffsetTest() local
|
D | StaticLayoutLineBreakingNoBreakSpanTest.kt | 70 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/ |
D | BlankActivity.kt | 12 val layout = LinearLayout(this) in onCreate() constant
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewWithTransformationHandwritingTest.java | 178 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
|
D | ResourceCursorAdapterTest.java | 192 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/ |
D | ViewGroupChildDrawingOrderTest.java | 48 LinearLayout layout = new LinearLayout(mContext); in testPublicGetChildDrawingOrderWithDefaultOrder() local 60 LinearLayoutWithDrawingOrder layout = new LinearLayoutWithDrawingOrder(mContext); in testPublicGetChildDrawingOrderWithCustomOrder() local
|
D | FocusFinderCtsActivity.java | 26 public ViewGroup layout; field in FocusFinderCtsActivity
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | BaseThirdPartyActivity.java | 31 final View layout = findViewById(android.R.id.content); in onResume() local
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | TranslucentActivity.java | 35 final var layout = new LinearLayout(this); in onCreate() local
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | ShowWhenLockedAttrImeActivity.java | 32 final LinearLayout layout = new LinearLayout(this); in onCreate() local
|
/cts/tests/framework/base/windowmanager/appCompatViewSandboxAllowed/src/android/server/wm/allowsandboxingviewboundsapis/ |
D | TestCompatAllowViewSandboxActivity.java | 60 LinearLayout layout = new LinearLayout(this); in onCreate() local
|
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/ |
D | TestCompatViewSandboxOptOutActivity.java | 58 LinearLayout layout = new LinearLayout(this); in onCreate() local
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | Step.java | 295 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/ |
D | TransformationMethodTest.java | 88 LinearLayout layout = new LinearLayout(mActivity); in setup() local
|