Home
last modified time | relevance | path

Searched defs:layout (Results 1 – 25 of 53) 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.java162 StaticLayout layout = builder.build(); in testBuilder() local
177 StaticLayout layout = builder.build(); in testBuilder() local
187 StaticLayout layout = builder.build(); in testBuilder() local
195 StaticLayout layout = builder.build(); in testBuilder() local
203 StaticLayout layout = builder.build(); in testBuilder() local
213 StaticLayout layout = builder.build(); in testBuilder() local
225 StaticLayout layout = builder.build(); in testBuilder() local
238 StaticLayout layout = builder.build(); in testBuilder() local
268 final StaticLayout layout = builder.build(); in testSetLineSpacing_whereLineEndsWithNextLine() local
280 StaticLayout layout = builder.build(); in testBuilder_setJustificationMode() local
[all …]
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
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
DTextShaperTest.java122 StaticLayout layout = StaticLayout.Builder.obtain( in assertSameDrawResult() 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/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()
DAnalogClockTest.java64 View layout = mActivity.getLayoutInflater().inflate(R.layout.analogclock_layout, null); in setup() local
/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.java629 final Layout layout = mTextView.getLayout(); in testOnTakeFocus() local
723 final Layout layout = mTextView.getLayout(); in verifyVisibleLineInTextView() 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/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DMainActivity.java87 final 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.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
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewActions.java96 final Layout layout = textView.getLayout(); in calculateCoordinates() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java148 final LayoutInfo layout = LAYOUTS[mLayoutIndex++]; in setNextLayout() local

123