Home
last modified time | relevance | path

Searched refs:setWidth (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/text/cts/
DLineBreakerTest.java109 c.setWidth(100); in testSetGetWidth()
111 c.setWidth(200); in testSetGetWidth()
146 c.setWidth(Float.MAX_VALUE); in testLineBreak_Simple()
169 c.setWidth(80.0f); in testLineBreak_Simple2()
201 c.setWidth(40.0f); in testLineBreak_Simple3()
245 c.setWidth(100.0f); in testLineBreak_Simple_NotRectangle()
279 c.setWidth(40.0f); in testLineBreak_Simple_Hyphenation()
324 c.setWidth(90.0f); in testLineBreak_Simple_Styled()
365 c.setWidth(90.0f); in testLineBreak_Simple_Styled2()
401 c.setWidth(100.0f); in testLineBreak_Simple_indents()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java93 public void setWidth(float width) { in setWidth() method in ShapeHolder
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java237 mPopupWindow.setWidth(width); in testAccessWidth()
241 mPopupWindow.setWidth(width); in testAccessWidth()
244 mPopupWindow.setWidth(0); in testAccessWidth()
248 mPopupWindow.setWidth(width); in testAccessWidth()
252 mPopupWindow.setWidth(width); in testAccessWidth()
DPopupWindowTest.java326 mPopupWindow.setWidth(width); in testAccessWidth()
330 mPopupWindow.setWidth(width); in testAccessWidth()
333 mPopupWindow.setWidth(0); in testAccessWidth()
337 mPopupWindow.setWidth(width); in testAccessWidth()
341 mPopupWindow.setWidth(width); in testAccessWidth()
503 popup.setWidth(width); in testShowAsDropDown_ClipToScreen_TooBig()
1674 mPopupWindow.setWidth(WindowManager.LayoutParams.WRAP_CONTENT); in testVerticallyClippedBeforeAdjusted()
1728 mPopupWindow.setWidth(WindowManager.LayoutParams.MATCH_PARENT); in testClipToScreenClipsToInsets()
1978 window.setWidth(WINDOW_SIZE_DP); in createPopupWindow()
DTextViewTest.java1023 setWidth(newWidth); in testWidth()
1043 setWidth(newWidth); in testWidth()
1050 setWidth(newWidth); in testWidth()
1181 mTextView.setWidth(mTextView.getWidth() / 3); in testSetElegantLineHeight()
2951 mTextView.setWidth(mTextView.getWidth() / 3); in testSetIncludeFontPadding()
3088 mTextView.setWidth(10); in testAccessEllipsize()
4395 mTextView.setWidth((int) (mTextView.getPaint().measureText(LONG_TEXT) / 4));
4422 mTextView.setWidth((int) Math.ceil(mTextView.getPaint().measureText(substring))); in testHyphenationNotHappen_frequencyNone()
4458 mTextView.setWidth((int) Math.ceil(mTextView.getPaint().measureText(substring))); in testHyphenationNotHappen_breakStrategySimple()
4486 mTextView.setWidth(mTextView.getWidth() >> 3); in testSetMaxLinesException()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityViewTreeReportingTest.java292 newButton.setWidth(ViewGroup.LayoutParams.WRAP_CONTENT);
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java1542 mBitmap.setWidth(50); in testSetWidth()
1552 mBitmap.setWidth(101); in testSetWidthExpanding()
1560 mBitmap.setWidth(1); in testSetWidthMutable()
1824 bitmap.setWidth(30); in testHardwareSetWidth()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java478 videoFormat.setWidth(mediaFormat.getInteger(MediaFormat.KEY_WIDTH)); in configureVideoFormat()
1601 public void setWidth(int width) { in setWidth() method in VideoFormat