Home
last modified time | relevance | path

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

123

/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.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 …]
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
DDynamicLayoutTest.java406 final DynamicLayout layout = builder.build(); in testBuilder_obtain() local
421 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullText() local
428 final DynamicLayout layout = builder.build(); in testBuilder_obtainWithNullPaint() local
436 final DynamicLayout layout = builder.build(); in testBuilder_setDisplayTest() local
445 final DynamicLayout layout = builder.build(); in testBuilder_setAlignment() local
454 final DynamicLayout layout = builder.build(); in testBuilder_setLineSpacing() local
465 final DynamicLayout layout = builder.build(); in testBuilder_ellipsization() local
487 final DynamicLayout layout = builder.build(); in testBuilder_otherSetters() local
498 DynamicLayout layout = in testDisplayTextUsedInsteadOfBase() local
523 final DynamicLayout layout = DynamicLayout.Builder.obtain(builder, in testReflow_afterSpanChangedShouldNotThrowException() local
DStaticLayoutBidiTouchTest.java53 Layout layout = StaticLayout.Builder.obtain(text, 0, text.length(), p, width) in touchOffsetTest() local
DStaticLayoutFallbackLineSpacingTest.java84 StaticLayout layout = StaticLayout.Builder.obtain( in testFallbackSpacing() local
DEllipsisHyphenationTest.kt83 val layout = StaticLayout.Builder.obtain(string, 0, string.length, paint, w) in <lambda>() constant
DBoringLayoutFallbackLineSpacingTest.java106 BoringLayout layout = BoringLayout.make( in testFallbackSpacing_Layout() local
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DBlankActivity.kt12 val layout = LinearLayout(this) in onCreate() constant
/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
/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
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DTranslucentActivity.java35 final var layout = new LinearLayout(this); in onCreate() local
DMainActivity.java89 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()
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/
DTestCompatViewSandboxOptOutActivity.java58 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/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java81 LinearLayout layout = new LinearLayout(mActivity); in setup() local
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java254 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addButton() local
269 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addSwapButton() 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/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiCecKeyEventCapture.java47 LinearLayout layout = new LinearLayout(this); in onCreate() local
/cts/tests/tests/text/src/android/text/style/cts/
DStrikethroughSpanTest.java102 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth() local
DIconMarginSpanTest.java78 Layout layout = new StaticLayout("cts test.", p, 200, Layout.Alignment.ALIGN_NORMAL, in testDrawLeadingMargin() local

123