Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java122 StaticLayout layout = builder.build(); in testBuilder() local
139 StaticLayout layout = builder.build(); in testBuilder() local
149 StaticLayout layout = builder.build(); in testBuilder() local
157 StaticLayout layout = builder.build(); in testBuilder() local
165 StaticLayout layout = builder.build(); in testBuilder() local
175 StaticLayout layout = builder.build(); in testBuilder() local
185 StaticLayout layout = builder.build(); in testBuilder() local
197 StaticLayout layout = builder.build(); in testBuilder() local
210 StaticLayout layout = builder.build(); in testBuilder() local
482 StaticLayout layout = new StaticLayout(LAYOUT_TEXT, 0, LAYOUT_TEXT.length(), in testGetEllipsizedWidth() local
[all …]
DLayoutTest.java67 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() local
76 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() local
86 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, in testGetWidth() local
95 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, in testGetEllipsizedWidth() local
104 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testIncreaseWidthTo() local
122 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetHeight() local
128 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetAlignment() local
137 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingadd); in testGetSpacingMultiplier() local
145 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingmult, -1); in testGetSpacingAdd() local
153 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetLineBounds() local
[all …]
DSelectionTest.java164 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testMoveLeft() local
191 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveRight() local
222 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveUp() local
261 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testMoveDown() local
344 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendLeft() local
370 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendRight() local
392 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendUp() local
422 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); in testExtendDown() local
443 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToLeftEdge() local
478 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); in testExtendToRightEdge() local
[all …]
DStaticLayoutLineBreakingTest.java130 private static void layout(CharSequence source, int[] breaks) { in layout() method in StaticLayoutLineBreakingTest
134 private static void layout(CharSequence source, int[] breaks, int width) { in layout() method in StaticLayoutLineBreakingTest
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java62 private void layout(final int layoutId) { in layout() method in ViewTreeObserverTest
73 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnGlobalFocusChangeListener() local
106 final LinearLayout layout = in testAddOnGlobalLayoutListener() local
118 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testAddOnPreDrawListener() local
157 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnGlobalLayout() local
168 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testDispatchOnPreDraw() local
179 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testIsAlive() local
186 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveGlobalOnLayoutListener() local
203 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnGlobalFocusChangeListener() local
252 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in testRemoveOnPreDrawListener() local
DFocusFinderCtsActivity.java30 public ViewGroup layout; field in FocusFinderCtsActivity
DViewTest.java1674 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationInWindow() local
1706 View layout = mActivity.findViewById(R.id.viewlayout_root); in testGetLocationOnScreen() local
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DSecureActivity.java46 final View layout = findViewById(android.R.id.content); in onResume() local
DTestApp.java55 final View layout = findViewById(android.R.id.content); in onResume() local
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java175 public MockResourceCursorAdapter(Context context, int layout, Cursor c) { in MockResourceCursorAdapter()
182 public MockResourceCursorAdapter(Context context, int layout, in MockResourceCursorAdapter()
DAbsoluteLayoutTest.java100 AbsoluteLayout layout = (AbsoluteLayout) mActivity.findViewById(R.id.absolute_view); in testGenerateLayoutParams1() local
DTextViewTest.java2689 Layout layout = mTextView.getLayout(); in testHyphenationNotHappen_frequencyNone() local
2723 Layout layout = mTextView.getLayout(); in testHyphenationNotHappen_breakStrategySimple() local
3181 final FrameLayout layout = new FrameLayout(mActivity); in testMarquee() local
3957 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
3972 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
3988 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
4007 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongRtl() local
4022 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongRtl() local
4038 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongRtl() local
4605 private void layout(final TextView textView) { in layout() method in TextViewTest
[all …]
DProgressBarTest.java324 View layout = inflater.inflate(R.layout.progressbar_layout, null); in testProgressTint() local
369 View layout = inflater.inflate(R.layout.progressbar_layout, null); in testIndeterminateTint() local
DCompoundButtonTest.java335 View layout = inflater.inflate(R.layout.togglebutton_layout, null); in testButtonTint() local
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java59 Layout layout = new StaticLayout("cts test.", p, 200, Layout.Alignment.ALIGN_NORMAL, in testDrawLeadingMargin() local
DDrawableMarginSpanTest.java66 Layout layout = new StaticLayout("cts test.", paint, 200, in testDrawLeadingMargin() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java94 ViewGroup.LayoutParams layout = getLayoutParams(); in surfaceCreated() local
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java66 final Layout layout = tv.getLayout(); in testScrollTo() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java133 final Layout layout = LAYOUTS[mLayoutIndex++]; in setNextLayout() local
/cts/apps/CameraITS/pymodules/its/
Dimage.py429 layout="planar", argument
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java345 final XmlResourceParser layout = mResources.getLayout(R.layout.abslistview_layout); in testGetLayout() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyMicActivity.java238 private void enableLayout(LinearLayout layout, boolean enable) { in enableLayout()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java382 int layout = getLayout(position); in getView() local