Home
last modified time | relevance | path

Searched refs:tf (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java31 File tf; field in CustomClassLoaderTest
50 tf = File.createTempFile("CustomClassLoaderTest_TestClass", ".dex"); in setUp()
51 tf.deleteOnExit(); in setUp()
54 OutputStream fos = new FileOutputStream(tf); in setUp()
55 assertTrue(tf.setReadOnly()); in setUp()
72 tf.getAbsolutePath(), in testCustomDexClassLoader()
91 tf.getAbsolutePath(), in testCustomPathClassLoader()
/cts/tests/tests/text/src/android/text/style/cts/
DStyleSpanTest.java77 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateMeasureState_withStyle() local
78 tp.setTypeface(tf); in testUpdateMeasureState_withStyle()
94 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateMeasureState_withFontWeightAdjustment() local
95 tp.setTypeface(tf); in testUpdateMeasureState_withFontWeightAdjustment()
119 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateDrawState_withStyle() local
120 tp.setTypeface(tf); in testUpdateDrawState_withStyle()
136 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateDrawState_withFontWeightAdjustment() local
137 tp.setTypeface(tf); in testUpdateDrawState_withFontWeightAdjustment()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DTaskFragmentTrustedModeTest.java79 final TaskFragmentInfo tf = createTaskFragment(SECOND_UNTRUSTED_EMBEDDING_ACTIVITY, in testUntrustedModeTaskFragmentVisibility_overlayTaskFragment() local
84 tf.getConfiguration().windowConfiguration.getBounds())); in testUntrustedModeTaskFragmentVisibility_overlayTaskFragment()
202 final WindowManagerState.TaskFragment tf = amState.getTaskFragmentByActivity( in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
204 return tf != null && tf.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW; in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
208 final WindowManagerState.TaskFragment tf = mWmState.getTaskFragmentByActivity( in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() local
210 assertNotNull(tf); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
211 assertEquals(WINDOWING_MODE_MULTI_WINDOW, tf.getWindowingMode()); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
212 assertEquals(parentBounds, tf.getFullConfiguration().windowConfiguration.getBounds()); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
/cts/hostsidetests/adb/src/android/adb/cts/
DAdbHostTest.java33 File tf = File.createTempFile("AdbHostTest", ".tmp"); in copyResourceToTempFile() local
34 FileOutputStream os = new FileOutputStream(tf); in copyResourceToTempFile()
42 tf.deleteOnExit(); in copyResourceToTempFile()
43 return tf; in copyResourceToTempFile()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0409/
Dpoc.cpp25 TemporaryFile tf; in main() local
27 fm.create(FILE_NAME, tf.fd, FILE_OFFSET, FILE_LENGTH, true); in main()
/cts/tools/vm-tests-tf/
DAndroid.bp116 name: "cts-tf-dalvik-buildutil",
136 name: "vm-tests-tf-lib",
143 ":cts-tf-dalvik-buildutil",
153 " && unzip -bq $(location :cts-tf-dalvik-buildutil) -d $(genDir)/classes" +
156 …" -cp $(location :cts-tf-dalvik-buildutil):$(location :junit):$(location :d8):$(location :andr…
158 " cts/tools/vm-tests-tf/src" +
184 out: ["vm-tests-tf-lib.jar"],
188 name: "vm-tests-tf",
191 "vm-tests-tf-lib",
DTEST_MAPPING4 "name": "vm-tests-tf"
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutBidiTouchTest.java46 Typeface tf = new Typeface.Builder(am, "fonts/StaticLayoutTouchLocation.ttf").build(); in touchOffsetTest() local
47 assertNotNull(tf); in touchOffsetTest()
48 p.setTypeface(tf); in touchOffsetTest()
DNotoCJKFontRequirement.java110 Typeface tf = new Typeface.CustomFallbackBuilder( in testContextualSpacing()
115 paint.setTypeface(tf); in testContextualSpacing()
DPrecomputedTextTest.java364 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth() local
367 paint.setTypeface(tf); in testGetWidth()
406 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth_multiStyle() local
409 paint.setTypeface(tf); in testGetWidth_multiStyle()
435 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth_multiStyle2() local
438 paint.setTypeface(tf); in testGetWidth_multiStyle2()
508 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetBounds() local
511 paint.setTypeface(tf); in testGetBounds()
567 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetBounds_multiStyle() local
570 paint.setTypeface(tf); in testGetBounds_multiStyle()
[all …]
DStaticLayoutTest.java1536 Typeface tf = new Typeface.Builder(context.getAssets(), "fonts/samplefont.ttf").build();
1537 assertNotNull(tf);
1539 paint.setTypeface(tf);
/cts/hostsidetests/theme/app/src/android/theme/app/
DTypefaceTestUtil.java63 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local
64 requireNonNull(tf); in getRobotoTypeface()
65 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DTypefaceTestUtil.java66 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local
67 assertThat(tf).isNotNull(); in getRobotoTypeface()
68 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTestUtil.java66 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local
67 assertThat(tf).isNotNull(); in getRobotoTypeface()
68 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
DTypefaceTest.java98 Typeface tf = Typeface.create(family, style); in createTypeface() local
99 if (tf.getStyle() == style) { in createTypeface()
100 return tf; in createTypeface()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java96 final Typeface tf = paint.getTypeface(); in makeDifferentParams() local
97 if (tf == null || tf == Typeface.DEFAULT) { in makeDifferentParams()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DHyphenationTest.java54 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local
55 sPaint.setTypeface(tf); in classSetUp()
DMeasuredTextTest.java55 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local
56 sPaint.setTypeface(tf); in classSetUp()
DLineBreakerTest.java76 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local
77 sPaint.setTypeface(tf); in classSetUp()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts4324 ���Z��y@!&�d�*�dLrn-�|����+0�HC�+蝽��%�ց?��� �G�11"��5�tf� P�Eq�i{ >T�D�|��ڀ�2z
Dcve_2019_2244.ts4326 ���Z��y@!&�d�*�dLrn-�|����+0�HC�+蝽��%�ց?��� �G�11"��5�tf� P�Eq�i{ >T�D�|��ڀ�2z