/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_foreach.cpp | 49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() [all …]
|
D | rs_jni_type.cpp | 52 result &= (b.create() != nullptr); in testTypeBuilderHelper() 122 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 133 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 140 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 146 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 152 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 157 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 163 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 180 sp<const Type> t = Type::create(mRS, Element::F32(mRS), 3, 4, 0); in Java_android_cts_rscpp_RSTypeTest_testGet() 190 passed &= (b.create()->hasFaces()); in Java_android_cts_rscpp_RSTypeTest_testGet() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | PrecomputedTextTest.java | 171 PrecomputedText.create(NULL_CHAR_SEQUENCE, param); in testCreate_withNull() 177 PrecomputedText.create(STRING, null); in testCreate_withNull() 187 final PrecomputedText textWithLTR = PrecomputedText.create(STRING, param); in testCreateForDifferentDirection() 189 final PrecomputedText textWithRTL = PrecomputedText.create(textWithLTR, newParam); in testCreateForDifferentDirection() 198 final CharSequence s = PrecomputedText.create(STRING, param); in testCharSequenceInteface() 219 final Spanned s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spanned() 237 final Spannable s = PrecomputedText.create(STRING, param); in testSpannedInterface_Spannable() 258 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_setSpan_MetricsAffectingSpan() 265 final Spannable s = PrecomputedText.create(SPANNED, param); in testSpannedInterface_Spannable_removeSpan_MetricsAffectingSpan() 272 final Spanned s = PrecomputedText.create(STRING, param); in testSpannedInterface_String() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach() 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach() 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach() 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach() 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach() 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach() 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | TypeTest.java | 28 b.create(); in testBuilderSizes() 93 Type t = b.create(); in testGetCount() 102 Type t = b.setX(8).setY(1).create(); in testGetCount() 106 t = b.setX(8).setY(8).create(); in testGetCount() 110 t = b.setX(8).setY(4).create(); in testGetCount() 114 t = b.setX(4).setY(8).create(); in testGetCount() 117 t = b.setX(7).setY(1).create(); in testGetCount() 121 t = b.setX(7).setY(3).create(); in testGetCount() 129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement() 135 assertTrue(b.create().getX() == 3); in testGetX() [all …]
|
D | ScriptGroupTest.java | 45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel() 49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel() 63 group = b.create(); in testScriptGroupSingleKernel() 79 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel() 83 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 84 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 102 group = b.create(); in testScriptGroupDisconnectedKernel() 121 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection() 126 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection() 127 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection() [all …]
|
D | RsAllocationCopyTest.java | 40 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte() 41 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte() 87 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short() 88 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short() 134 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Int() 135 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Int() 181 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Float() 182 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Float() 229 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Long() 230 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Long() [all …]
|
D | AllocationTest.java | 48 Allocation.createTyped(mRS, typeBuilder.create()).destroy(); in createTypedHelper() 59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper() 62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper() 66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 74 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 80 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() 83 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper() 86 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(7).create(), in createTypedTextureHelper() 91 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() [all …]
|
D | AllocationCopyPaddedTest.java | 36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_1D() 65 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_2D() 95 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_3D() 126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_1D_Helper() 163 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_2D_Helper() 201 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_3D_Helper() 237 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_1D() 269 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_2D() 302 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_3D() 333 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Float3_1D() [all …]
|
D | VoidPtr.java | 32 Type t = typeBuilder.setX(1).create(); in setupVoidPtr() 67 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutInt() 95 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutChar() 124 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInInt() 155 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInChar()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 99 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 122 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() 123 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() [all …]
|
D | RSBlurTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 49 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); in testRSBlurOneChannel() 57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 76 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 78 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels() 86 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
|
D | RSConvolveTest.java | 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 60 … ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); in testConvolve3x3() 68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 105 RenderScript mRS = RenderScript.create(getContext()); in testConvolve5x5() 114 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 115 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 117 … ScriptIntrinsicConvolve5x5 convolve = ScriptIntrinsicConvolve5x5.create(mRS, Element.A_8(mRS)); in testConvolve5x5() 125 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
|
D | RS3DLUTTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 62 Allocation cube = Allocation.createTyped(mRS, buildCube.create()); in testRSLUT() 64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() 72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
|
D | RSLUTTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT() 61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
|
/cts/tools/utils/ |
D | certificates.py | 52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", member in Certificate 81 a = Certificate.create("Root A") 82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1") 83 b = Certificate.create("Root B") 84 a_to_b = Certificate.create("Root A", b, a.key) 85 b_to_a = Certificate.create("Root B", a, b.key) 86 leaf1 = Certificate.create("Leaf", a) 87 intermediate_a = Certificate.create("intermediate", a) 88 intermediate_b = Certificate.create("intermediate", b, intermediate_a.key) 89 leaf2 = Certificate.create("Leaf 2", intermediate_a)
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 47 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() 56 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBX_8888, 1, in testCreate() 59 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, 1, in testCreate() 62 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate() 65 buffer = HardwareBuffer.create(2, 1, HardwareBuffer.BLOB, 1, in testCreate() 75 buffer = HardwareBuffer.create(0, 4, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 80 buffer = HardwareBuffer.create(2, 0, HardwareBuffer.RGB_888, 1, in testCreateFailsWithInvalidArguments() 85 buffer = HardwareBuffer.create(2, 4, 0, 1, in testCreateFailsWithInvalidArguments() 90 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, -1, in testCreateFailsWithInvalidArguments() 95 buffer = HardwareBuffer.create(2, 2, HardwareBuffer.BLOB, 1, in testCreateFailsWithInvalidArguments()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfDocumentTest.java | 86 verifyException(() -> doc.startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()), in startPageClosedDoc() 95 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageTwiceDoc() 107 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in closeWithOpenPage() 130 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in writeWithOpenPage() 146 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in openTwoPages() 147 verifyException(() -> doc.startPage(new PdfDocument.PageInfo.Builder(100, 100, 1).create()), in openTwoPages() 160 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageFromWrongDoc() 164 .startPage(new PdfDocument.PageInfo.Builder(100, 100, 0).create()); in finishPageFromWrongDoc() 178 .startPage(new PdfDocument.PageInfo.Builder(101, 100, 0).create()); in writeTwoPageDocWithSameIndex() 181 .startPage(new PdfDocument.PageInfo.Builder(201, 200, 0).create()); in writeTwoPageDocWithSameIndex() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SharedMemoryTest.java | 113 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testReadWrite() 134 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testReadOnly() 162 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testUseAfterClose() 182 SharedMemory sharedMemory = SharedMemory.create(null, 1); in testUseAfterUnmap() 200 SharedMemory sharedMemory = SharedMemory.create("hello", 1024); in testNdkInterop() 213 SharedMemory.create(null, -1); in testInvalidCreate() 218 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testInvalidMapProt() 225 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testInvalidSetProt() 232 try (SharedMemory sharedMemory = SharedMemory.create(null, 1)) { in testSetProtAddProt() 243 SharedMemory sharedMemory = SharedMemory.create(null, 1); in testMapAfterClose() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPreProcessingTest.java | 60 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease() 86 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled() 121 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_1AecCreateAndRelease() 147 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_2AecSetEnabledGetEnabled() 182 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_1AgcCreateAndRelease() 208 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_2AgcSetEnabledGetEnabled()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 185 private void doMediaNone(Uri collection, Callable<Uri> create) throws Exception { in doMediaNone() argument 186 final Uri red = create.call(); in doMediaNone() 187 final Uri blue = create.call(); in doMediaNone() 223 private void doMediaRead(Uri collection, Callable<Uri> create) throws Exception { in doMediaRead() argument 224 final Uri red = create.call(); in doMediaRead() 225 final Uri blue = create.call(); in doMediaRead() 258 private void doMediaWrite(Uri collection, Callable<Uri> create) throws Exception { in doMediaWrite() argument 259 final Uri red = create.call(); in doMediaWrite() 260 final Uri blue = create.call(); in doMediaWrite() 298 private void doMediaEscalation_Open(Callable<Uri> create) throws Exception { in doMediaEscalation_Open() argument [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcDialogs.java | 42 .create(); in createNotEnabledDialog() method 57 .create(); 67 .create(); 82 .create();
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 133 Type a_type = builder.setX(k).setY(m).create(); in runBNNM() 134 Type b_type = builder.setX(k).setY(n).create(); in runBNNM() 135 Type c_type = builder.setX(n).setY(m).create(); in runBNNM() 145 ScriptIntrinsicBLAS blas = ScriptIntrinsicBLAS.create(mRS); in runBNNM() 451 Type a_type = builder.setX(k).setY(m).create(); in testExceptionHandling() 452 Type b_type = builder.setX(k).setY(n).create(); in testExceptionHandling() 453 Type c_type = builder.setX(n).setY(m).create(); in testExceptionHandling() 463 ScriptIntrinsicBLAS blas = ScriptIntrinsicBLAS.create(mRS); in testExceptionHandling()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 90 Typeface tf = Typeface.create(family, style); in createTypeface() 136 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate() 138 typeface = Typeface.create(MONO, Typeface.BOLD); in testCreate() 140 typeface = Typeface.create(INVALID, Typeface.ITALIC); in testCreate() 143 typeface = Typeface.create(typeface, Typeface.NORMAL); in testCreate() 145 typeface = Typeface.create(typeface, Typeface.BOLD); in testCreate() 597 final Typeface thinFamily = Typeface.create(family, 100 /* weight */, false /* italic */); in testTypefaceCreate_withExactWeight() 603 final Typeface boldFamily = Typeface.create(family, 700 /* weight */, false /* italic */); in testTypefaceCreate_withExactWeight() 627 final Typeface italicFamily = Typeface.create(family, 400 /* weight */, true /* italic */); in testTypefaceCreate_withExactStyle() 634 Typeface.create(family, 700 /* weight */, true /* italic */); in testTypefaceCreate_withExactStyle() [all …]
|