Home
last modified time | relevance | path

Searched refs:standard (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DLeadingMarginSpan_StandardTest.java41 Standard standard = new Standard(10, 20); in testConstructor() local
44 standard.writeToParcel(p, 0); in testConstructor()
57 Standard standard = new LeadingMarginSpan.Standard(first, rest); in testGetLeadingMargin() local
58 assertEquals(first, standard.getLeadingMargin(true)); in testGetLeadingMargin()
59 assertEquals(rest, standard.getLeadingMargin(false)); in testGetLeadingMargin()
61 standard = new LeadingMarginSpan.Standard(-1); in testGetLeadingMargin()
62 assertEquals(-1, standard.getLeadingMargin(true)); in testGetLeadingMargin()
63 assertEquals(-1, standard.getLeadingMargin(false)); in testGetLeadingMargin()
68 Standard standard = new LeadingMarginSpan.Standard(10); in testDrawLeadingMargin() local
69 standard.drawLeadingMargin(null, null, 0, 0, 0, 0, 0, null, 0, 0, false, null); in testDrawLeadingMargin()
[all …]
DAlignmentSpan_StandardTest.java41 Standard standard = new Standard(Alignment.ALIGN_NORMAL); in testConstructor() local
44 standard.writeToParcel(p, 0); in testConstructor()
54 Standard standard = new Standard(Alignment.ALIGN_NORMAL); in testGetAlignment() local
55 assertEquals(Alignment.ALIGN_NORMAL, standard.getAlignment()); in testGetAlignment()
57 standard = new Standard(Alignment.ALIGN_OPPOSITE); in testGetAlignment()
58 assertEquals(Alignment.ALIGN_OPPOSITE, standard.getAlignment()); in testGetAlignment()
60 standard = new Standard(Alignment.ALIGN_CENTER); in testGetAlignment()
61 assertEquals(Alignment.ALIGN_CENTER, standard.getAlignment()); in testGetAlignment()
66 Standard standard = new Standard(Alignment.ALIGN_NORMAL); in testDescribeContents() local
67 standard.describeContents(); in testDescribeContents()
[all …]
DTabStopSpan_StandardTest.java42 Standard standard = new Standard(3); in testGetTabStop() local
43 assertEquals(3, standard.getTabStop()); in testGetTabStop()
45 standard = new Standard(-4); in testGetTabStop()
46 assertEquals(-4, standard.getTabStop()); in testGetTabStop()
/cts/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java63 public EncoderColorAspectsTest(String mime, int width, int height, int range, int standard, in EncoderColorAspectsTest() argument
67 mStandard = standard; in EncoderColorAspectsTest()
145 for (int standard : standards) { in input()
148 .add(new Object[]{mime, 176, 144, range, standard, transfer}); in input()
DCodecTestBase.java833 void validateColorAspects(MediaFormat fmt, int range, int standard, int transfer) { in validateColorAspects() argument
838 assertEquals("color mismatch ", standard, colorStandard); in validateColorAspects()
1062 void validateColorAspects(String decoder, String parent, String name, int range, int standard, in validateColorAspects() argument
1076 validateColorAspects(mCodec.getOutputFormat(), range, standard, transfer); in validateColorAspects() local
1083 ArrayList<MediaCodec.BufferInfo> infos, int range, int standard, int transfer) in validateColorAspects() argument
1096 validateColorAspects(mCodec.getOutputFormat(), range, standard, transfer); in validateColorAspects() local