HomeSort by relevance Sort by last modified time
    Searched defs:tp (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /cts/tests/tests/text/src/android/text/style/cts/
ClickableSpanTest.java 44 TextPaint tp = new TextPaint(); local
45 tp.linkColor = Color.RED;
46 tp.setUnderlineText(false);
47 assertFalse(tp.isUnderlineText());
49 clickableSpan.updateDrawState(tp);
50 assertEquals(Color.RED, tp.getColor());
51 assertTrue(tp.isUnderlineText());
53 tp.linkColor = Color.BLUE;
54 clickableSpan.updateDrawState(tp);
55 assertEquals(Color.BLUE, tp.getColor())
    [all...]
MaskFilterSpanTest.java 56 TextPaint tp = new TextPaint(); local
57 assertNull(tp.getMaskFilter());
59 maskFilterSpan.updateDrawState(tp);
60 assertSame(mf, tp.getMaskFilter());
RasterizerSpanTest.java 74 TextPaint tp = new TextPaint(); local
75 assertNull(tp.getRasterizer());
77 rasterizerSpan.updateDrawState(tp);
78 assertSame(rasterizer, tp.getRasterizer());
StrikethroughSpanTest.java 63 TextPaint tp = new TextPaint(); local
64 tp.setStrikeThruText(false);
65 assertFalse(tp.isStrikeThruText());
67 strikethroughSpan.updateDrawState(tp);
68 assertTrue(tp.isStrikeThruText());
UnderlineSpanTest.java 67 TextPaint tp = new TextPaint(); local
68 tp.setUnderlineText(false);
69 assertFalse(tp.isUnderlineText());
71 underlineSpan.updateDrawState(tp);
72 assertTrue(tp.isUnderlineText());
StyleSpanTest.java 79 TextPaint tp = new TextPaint(); local
81 tp.setTypeface(tf);
83 assertNotNull(tp.getTypeface());
84 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle());
86 styleSpan.updateMeasureState(tp);
88 assertNotNull(tp.getTypeface());
89 assertEquals(Typeface.BOLD, tp.getTypeface().getStyle());
108 TextPaint tp = new TextPaint(); local
110 tp.setTypeface(tf);
112 assertNotNull(tp.getTypeface())
    [all...]
TypefaceSpanTest.java 83 TextPaint tp = new TextPaint(); local
84 assertNull(tp.getTypeface());
86 typefaceSpan.updateMeasureState(tp);
88 assertNotNull(tp.getTypeface());
90 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle());
111 TextPaint tp = new TextPaint(); local
112 assertNull(tp.getTypeface());
114 typefaceSpan.updateDrawState(tp);
116 assertNotNull(tp.getTypeface());
118 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle())
    [all...]
AbsoluteSizeSpanTest.java 86 TextPaint tp = new TextPaint(); local
87 absoluteSizeSpan.updateMeasureState(tp);
88 assertEquals(1.0f, tp.getTextSize());
91 absoluteSizeSpan.updateMeasureState(tp);
92 assertEquals(10.0f, tp.getTextSize());
114 TextPaint tp = new TextPaint(); local
115 absoluteSizeSpan.updateDrawState(tp);
116 assertEquals(2.0f, tp.getTextSize());
120 absoluteSizeSpan.updateDrawState(tp);
121 assertEquals(20.0f, tp.getTextSize())
    [all...]
  /external/chromium/third_party/icu/source/tools/tzcode/
scheck.c 23 register char * tp; local
35 tp = fbuf;
36 while ((*tp++ = c = *fp++) != '\0') {
40 *tp++ = *fp++;
43 *tp++ = '*';
47 *tp++ = *fp++;
49 *tp++ = *fp++;
51 do *tp++ = *fp++;
53 if ((*tp++ = *fp++) == '\0')
56 *(tp - 1) = '%'
    [all...]
  /external/icu4c/tools/tzcode/
scheck.c 23 register char * tp; local
35 tp = fbuf;
36 while ((*tp++ = c = *fp++) != '\0') {
40 *tp++ = *fp++;
43 *tp++ = '*';
47 *tp++ = *fp++;
49 *tp++ = *fp++;
51 do *tp++ = *fp++;
53 if ((*tp++ = *fp++) == '\0')
56 *(tp - 1) = '%'
    [all...]
  /bionic/libc/inet/
inet_ntop.c 104 char *tp, *ep; local
146 tp = tmp;
148 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) {
153 if (tp + 1 >= ep)
155 *tp++ = ':';
161 if (tp + 1 >= ep)
163 *tp++ = ':';
168 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp)))
170 tp += strlen(tp)
    [all...]
inet_pton.c 77 u_char tmp[INADDRSZ], *tp; local
81 *(tp = tmp) = 0;
86 u_int new = *tp * 10 + (pch - digits);
95 *tp = new;
99 *++tp = 0;
129 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local
134 memset((tp = tmp), '\0', IN6ADDRSZ);
135 endp = tp + IN6ADDRSZ;
165 colonp = tp;
170 if (tp + INT16SZ > endp
    [all...]
  /external/iproute2/tc/
f_fw.c 38 struct tc_police tp; local
44 memset(&tp, 0, sizeof(tp));
f_route.c 41 struct tc_police tp; local
47 memset(&tp, 0, sizeof(tp));
  /external/libffi/src/
raw_api.c 60 ffi_type **tp = cif->arg_types; local
64 for (i = 0; i < cif->nargs; i++, tp++, args++)
66 switch ((*tp)->type)
97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
106 for (i = 0; i < cif->nargs; i++, tp++, args++)
109 if ((*tp)->type == FFI_TYPE_STRUCT)
117 raw += ALIGN ((*tp)->size, sizeof (void*)) / sizeof (void*);
132 ffi_type **tp = cif->arg_types; local
134 for (i = 0; i < cif->nargs; i++, tp++, args++)
136 switch ((*tp)->type
    [all...]
java_raw_api.c 76 ffi_type **tp = cif->arg_types; local
80 for (i = 0; i < cif->nargs; i++, tp++, args++)
82 switch ((*tp)->type)
110 ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
119 for (i = 0; i < cif->nargs; i++, tp++, args++)
122 switch((*tp)->type) {
135 ALIGN ((*tp)->size, sizeof(ffi_java_raw)) / sizeof(ffi_java_raw);
150 ffi_type **tp = cif->arg_types; local
152 for (i = 0; i < cif->nargs; i++, tp++, args++)
154 switch ((*tp)->type
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
ReferToParser.java 74 ReferToParser tp = new ReferToParser(to[i]); local
75 ReferTo t = (ReferTo) tp.parse();
  /external/nist-sip/java/gov/nist/javax/sip/parser/extensions/
ReferredByParser.java 51 ReferredByParser tp = new ReferredByParser(to[i]); local
52 ReferredBy t = (ReferredBy) tp.parse();
JoinParser.java 68 JoinParser tp = new JoinParser(to[i]); local
69 Join t = (Join) tp.parse();
ReplacesParser.java 70 ReplacesParser tp = new ReplacesParser(to[i]); local
71 Replaces t = (Replaces) tp.parse();
  /external/qemu/slirp/
tcp_timer.c 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp == 0
    [all...]
  /external/qemu/slirp-android/
tcp_timer.c 41 static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer);
50 register struct tcpcb *tp; local
57 if ((tp = (struct tcpcb *)so->so_tcpcb) &&
58 (tp->t_flags & TF_DELACK)) {
59 tp->t_flags &= ~TF_DELACK;
60 tp->t_flags |= TF_ACKNOW;
62 (void) tcp_output(tp);
75 register struct tcpcb *tp; local
88 tp = sototcpcb(ip);
89 if (tp == 0
    [all...]
  /external/tcpdump/
print-tftp.c 77 register const struct tftphdr *tp; local
83 tp = (const struct tftphdr *)bp;
89 TCHECK(tp->th_opcode);
90 opcode = EXTRACT_16BITS(&tp->th_opcode);
107 p = (u_char *)tp->th_stuff;
109 p = (u_char *)&tp->th_block;
121 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
136 TCHECK(tp->th_block);
137 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
142 TCHECK(tp->th_code)
    [all...]
  /external/tcpdump/missing/
inet_ntop.c 113 char *tp; local
153 tp = tmp;
161 *tp++ = ':';
168 *tp++ = ':';
175 if (!inet_ntop_v4(src+12, tp, sizeof(tmp) - (tp - tmp)))
180 tp += strlen(tp);
183 tp += sprintf (tp, "%lX", words[i])
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
WebViewEventSender.java 176 TouchPoint tp = mTouchPoints.get(0); local
178 if (tp == null) {
182 tp.setDownTime(SystemClock.uptimeMillis());
183 MotionEvent event = MotionEvent.obtain(tp.downTime(), tp.downTime(),
184 MotionEvent.ACTION_DOWN, tp.getX(), tp.getY(), mTouchMetaState);
189 TouchPoint tp = mTouchPoints.get(0); local
191 if (tp == null) {
195 if (!tp.hasMoved())
207 TouchPoint tp = mTouchPoints.get(0); local
223 TouchPoint tp = mTouchPoints.get(0); local
236 TouchPoint tp = mTouchPoints.get(0); local
252 TouchPoint tp = mTouchPoints.get(0); local
279 TouchPoint tp = mTouchPoints.get(0); local
    [all...]

Completed in 1157 milliseconds

1 2 3 4 5