/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFamilyTest.java | 46 FontFamily family = new FontFamily.Builder(font).build(); in testBuilder_SingleFont() local 47 assertNotNull(family); in testBuilder_SingleFont() 48 assertEquals(1, family.getSize()); in testBuilder_SingleFont() 49 assertSame(font, family.getFont(0)); in testBuilder_SingleFont() 59 FontFamily family = new FontFamily.Builder(regularFont).addFont(boldFont).build(); in testBuilder_MultipleFont() local 60 assertNotNull(family); in testBuilder_MultipleFont() 61 assertEquals(2, family.getSize()); in testBuilder_MultipleFont() 62 assertNotSame(family.getFont(0), family.getFont(1)); in testBuilder_MultipleFont() 63 assertTrue(family.getFont(0) == regularFont || family.getFont(0) == boldFont); in testBuilder_MultipleFont() 64 assertTrue(family.getFont(1) == regularFont || family.getFont(1) == boldFont); in testBuilder_MultipleFont() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 89 for (String family : FAMILIES) { in createTypeface() 90 Typeface tf = Typeface.create(family, style); in createTypeface() 588 final Typeface family = mContext.getResources().getFont(R.font.multiweight_family); in testTypefaceCreate_withExactWeight() local 589 assertNotNull(family); in testTypefaceCreate_withExactWeight() 592 assertEquals(GLYPH_1EM_WIDTH, measureText("a", family), 0f); in testTypefaceCreate_withExactWeight() 593 assertEquals(GLYPH_3EM_WIDTH, measureText("b", family), 0f); in testTypefaceCreate_withExactWeight() 594 assertEquals(GLYPH_1EM_WIDTH, measureText("c", family), 0f); in testTypefaceCreate_withExactWeight() 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() 618 final Typeface family = mContext.getResources().getFont(R.font.multistyle_family); in testTypefaceCreate_withExactStyle() local [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | FontRenderingTests.java | 48 private void fontTestBody(String family, int style, int id) { in fontTestBody() argument 52 boolean thinTestCase = family.endsWith("-thin") && ((style & Typeface.BOLD) == 0); in fontTestBody() 56 final Typeface typeface = Typeface.create(family, style); in fontTestBody()
|
/cts/tests/tests/net/native/qtaguid/src/ |
D | NativeQtaguidTest.cpp | 75 void checkNoSocketPointerLeaks(int family) { in checkNoSocketPointerLeaks() argument 76 int sockfd = socket(family, SOCK_STREAM, 0); in checkNoSocketPointerLeaks()
|
/cts/tests/tests/net/jni/ |
D | NativeMultinetworkJni.cpp | 96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() argument 115 if (inet_ntop(family, (const char*) rdata, buffer, sizeof(buffer)) == NULL) { in extractIpAddressAnswers() 123 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() argument 134 return extractIpAddressAnswers(buf, res, family); in expectAnswersValid()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 888 private InetAddress getAddrByName(final String hostname, final int family) throws Exception { in getAddrByName() argument 891 if (family == AF_INET && addr instanceof Inet4Address) return addr; in getAddrByName() 893 if (family == AF_INET6 && addr instanceof Inet6Address) return addr; in getAddrByName() 895 if (family == AF_UNSPEC) return addr; in getAddrByName() 901 final int family) throws Exception { in getConnectedSocket() argument 904 final InetAddress addr = getAddrByName(host, family); in getConnectedSocket() 905 if (addr == null) fail("Fail to get destination address for " + family); in getConnectedSocket()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TextAppearanceSpanTest.java | 303 String family = "sans"; in testWriteToParcel() local 304 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(family, 1, 6, null, null); in testWriteToParcel() 308 assertEquals(family, newSpan.getFamily()); in testWriteToParcel()
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 18 font-family: arial,sans-serif;
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/ |
D | local_poc.h | 442 unsigned short family; member
|