Home
last modified time | relevance | path

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

12

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java130 StaticLayout layout = builder.build(); in testBuilder() local
147 StaticLayout layout = builder.build(); in testBuilder() local
157 StaticLayout layout = builder.build(); in testBuilder() local
165 StaticLayout layout = builder.build(); in testBuilder() local
173 StaticLayout layout = builder.build(); in testBuilder() local
183 StaticLayout layout = builder.build(); in testBuilder() local
193 StaticLayout layout = builder.build(); in testBuilder() local
205 StaticLayout layout = builder.build(); in testBuilder() local
218 StaticLayout layout = builder.build(); in testBuilder() local
490 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
DFrameMetricsListenerTest.java58 private void layout(final int layoutId) { in layout() method in FrameMetricsListenerTest
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DSecureActivity.java46 final View layout = findViewById(android.R.id.content); in onResume() local
DTestApp.java64 final View layout = findViewById(android.R.id.content); in onResume() local
DTextViewActivity.java66 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()
DTextViewTest.java1323 final FrameLayout layout = new FrameLayout(mActivity); in testSetText_updatesHeightAfterRemovingImageSpan() local
2613 final FrameLayout layout = new FrameLayout(mActivity); local
2649 final FrameLayout layout = new FrameLayout(mActivity); in testEllipsizeEndAndNoEllipsizeHasSameBaselineForMultiLine() local
3108 final FrameLayout layout = new FrameLayout(mActivity); in testSingleLine() local
3216 Layout layout = mTextView.getLayout(); in testHyphenationNotHappen_frequencyNone() local
3250 Layout layout = mTextView.getLayout(); in testHyphenationNotHappen_breakStrategySimple() local
3685 final FrameLayout layout = new FrameLayout(mActivity); in testMarquee() local
4512 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
4527 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
4543 Layout layout = tv.getLayout(); in testTextDirectionFirstStrongLtr() local
[all …]
DAbsoluteLayoutTest.java100 AbsoluteLayout layout = (AbsoluteLayout) mActivity.findViewById(R.id.absolute_view); in testGenerateLayoutParams1() local
DLinearLayoutTest.java181 LinearLayout layout = new LinearLayout(mActivity); in testWeightDistribution() local
276 MockLinearLayout layout = new MockLinearLayout(mContext); in testGenerateLayoutParamsFromMarginParams() local
DTextViewFadingEdgeTest.java157 final FrameLayout layout = new FrameLayout(getActivity()); in createTextView() local
DProgressBarTest.java314 View layout = inflater.inflate(R.layout.progressbar_layout, null); in testProgressTint() local
359 View layout = inflater.inflate(R.layout.progressbar_layout, null); in testIndeterminateTint() local
DRelativeLayoutTest.java300 MyRelativeLayout layout = new MyRelativeLayout(mActivity); in testGenerateLayoutParamsFromMarginParams() local
DCompoundButtonTest.java335 View layout = inflater.inflate(R.layout.togglebutton_layout, null); in testButtonTint() local
/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java78 protected View loadLayout(final int layout) throws Throwable { in loadLayout()
91 protected Scene loadScene(final View layout) throws Throwable { in loadScene()
/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.java95 ViewGroup.LayoutParams layout = getLayoutParams(); in surfaceCreated() local
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java68 final Layout layout = tv.getLayout(); in testScrollTo() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java135 final Layout layout = LAYOUTS[mLayoutIndex++]; in setNextLayout() local
/cts/apps/CameraITS/pymodules/its/
Dimage.py469 layout="planar", argument

12