Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java43 FontMetricsInt fm = new FontMetricsInt(); in testGetSize() local
45 assertEquals(0, fm.ascent); in testGetSize()
46 assertEquals(0, fm.bottom); in testGetSize()
47 assertEquals(0, fm.descent); in testGetSize()
48 assertEquals(0, fm.leading); in testGetSize()
49 assertEquals(0, fm.top); in testGetSize()
52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm)); in testGetSize()
54 assertEquals(-rect.bottom, fm.ascent); in testGetSize()
55 assertEquals(0, fm.bottom); in testGetSize()
56 assertEquals(0, fm.descent); in testGetSize()
[all …]
DIconMarginSpanTest.java82 FontMetricsInt fm = new FontMetricsInt(); in testChooseHeight() local
84 assertEquals(0, fm.ascent); in testChooseHeight()
85 assertEquals(0, fm.bottom); in testChooseHeight()
86 assertEquals(0, fm.descent); in testChooseHeight()
87 assertEquals(0, fm.leading); in testChooseHeight()
88 assertEquals(0, fm.top); in testChooseHeight()
90 iconMarginSpan.chooseHeight(text, 0, -1, 0, 0, fm); in testChooseHeight()
92 assertEquals(0, fm.ascent); in testChooseHeight()
93 assertEquals(HEIGHT, fm.bottom); in testChooseHeight()
94 assertEquals(HEIGHT, fm.descent); in testChooseHeight()
[all …]
DDrawableMarginSpanTest.java101 FontMetricsInt fm = new FontMetricsInt(); in testChooseHeight() local
103 assertEquals(0, fm.ascent); in testChooseHeight()
104 assertEquals(0, fm.bottom); in testChooseHeight()
105 assertEquals(0, fm.descent); in testChooseHeight()
106 assertEquals(0, fm.leading); in testChooseHeight()
107 assertEquals(0, fm.top); in testChooseHeight()
110 drawableMarginSpan.chooseHeight(text, 0, text.getSpanEnd(drawableMarginSpan), 0, 0, fm); in testChooseHeight()
112 assertEquals(0, fm.ascent); in testChooseHeight()
114 assertTrue(fm.bottom > 0); in testChooseHeight()
115 assertTrue(fm.descent > 0); in testChooseHeight()
[all …]
DReplacementSpanTest.java49 FontMetricsInt fm) { in getSize() argument
/cts/apps/CameraITS/tests/inprog/scene2/
Dtest_dng_tags.py61 cm, fm = its.dng.compute_cm_fm(dng_illum[i], gains, ccm, cal)
64 print "Expected ForwardMatrix:\n", fm
87 print "Deltas in ForwardMatrix:\n", fm - fm_ref
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest4DetailFragment.java124 public SectionsPagerAdapter(FragmentManager fm) { in SectionsPagerAdapter() argument
125 super(fm); in SectionsPagerAdapter()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java698 Paint.FontMetrics fm = new Paint.FontMetrics();
704 float spacing10 = p.getFontMetrics(fm);
705 assertEquals(p.ascent(), fm.ascent);
706 assertEquals(p.descent(), fm.descent);
709 float spacing20 = p.getFontMetrics(fm);
710 assertEquals(p.ascent(), fm.ascent);
711 assertEquals(p.descent(), fm.descent);
722 Paint.FontMetrics fm = p.getFontMetrics();
723 assertEquals(p.ascent(), fm.ascent);
724 assertEquals(p.descent(), fm.descent);
[all …]
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java973 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize() argument
/cts/tests/tests/media/assets/
DfileSequence1.ts128 …�����D$�f�vl E�Lj�T·R`�8��\@(�,7��[ E�q�X$B ��k� ��\�Nu*�:�C��h��e89G� ��cs[��fm� �8�(X
1414 h@I������E`�a€��COZ-^B���i����!MH���Xfm��$��WRIe���]a��GM,8 ������`�
Dsegment000001.ts67 ����fm������TC$m5v�x��u���s��$�bȈݾ��N�῁�h6����Kz[Q���X��Ii�������]x���<8�����VH�"�Ħ…
DfileSequence0.ts1031 …z#�� �='rg���tp�)�p�ߑ`B�A�ӧڷ�o��q?��Ʀ����(�p%Aa��:;^+z֌G����IB��)��fm}�4�@AV��.4��5,p�…