OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:tp
(Results
51 - 75
of
376
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/text/src/android/text/style/cts/
LocaleSpanTest.java
91
TextPaint
tp
= new TextPaint();
local
93
tp
.setTextLocales(localeList);
94
assertEquals(localeList,
tp
.getTextLocales());
95
assertEquals(localeList.get(0),
tp
.getTextLocale());
97
localeSpan.updateDrawState(
tp
);
98
assertEquals(localeListForSpan,
tp
.getTextLocales());
99
assertEquals(localeListForSpan.get(0),
tp
.getTextLocale());
107
TextPaint
tp
= new TextPaint();
local
109
tp
.setTextLocales(localeList);
110
assertEquals(localeList,
tp
.getTextLocales())
[
all
...]
StyleSpanTest.java
64
TextPaint
tp
= new TextPaint();
local
66
tp
.setTypeface(tf);
68
assertNotNull(
tp
.getTypeface());
69
assertEquals(Typeface.NORMAL,
tp
.getTypeface().getStyle());
71
styleSpan.updateMeasureState(
tp
);
73
assertNotNull(
tp
.getTypeface());
74
assertEquals(Typeface.BOLD,
tp
.getTypeface().getStyle());
88
TextPaint
tp
= new TextPaint();
local
90
tp
.setTypeface(tf);
92
assertNotNull(
tp
.getTypeface())
[
all
...]