Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/text/
DTextPaint.java60 public void set(TextPaint tp) { in set() argument
61 super.set(tp); in set()
63 bgColor = tp.bgColor; in set()
64 baselineShift = tp.baselineShift; in set()
65 linkColor = tp.linkColor; in set()
66 drawableState = tp.drawableState; in set()
67 density = tp.density; in set()
68 underlineColor = tp.underlineColor; in set()
69 underlineThickness = tp.underlineThickness; in set()
/frameworks/base/core/java/android/text/style/
DSubscriptSpan.java43 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
44 tp.baselineShift -= (int) (tp.ascent() / 2); in updateDrawState()
48 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
49 tp.baselineShift -= (int) (tp.ascent() / 2); in updateMeasureState()
DSuperscriptSpan.java43 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
44 tp.baselineShift += (int) (tp.ascent() / 2); in updateDrawState()
48 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
49 tp.baselineShift += (int) (tp.ascent() / 2); in updateMeasureState()
DMetricAffectingSpan.java64 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
65 mStyle.updateDrawState(tp); in updateDrawState()
72 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
73 mStyle.updateMeasureState(tp); in updateMeasureState()
DCharacterStyle.java27 public abstract void updateDrawState(TextPaint tp); in updateDrawState() argument
74 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
75 mStyle.updateDrawState(tp); in updateDrawState()
DSuggestionRangeSpan.java62 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
63 tp.bgColor = mBackgroundColor; in updateDrawState()
DSuggestionSpan.java283 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
289 tp.setUnderlineText(mEasyCorrectUnderlineColor, mEasyCorrectUnderlineThickness); in updateDrawState()
290 } else if (tp.underlineColor == 0) { in updateDrawState()
293 tp.setUnderlineText(mMisspelledUnderlineColor, mMisspelledUnderlineThickness); in updateDrawState()
296 tp.setUnderlineText(mAutoCorrectionUnderlineColor, mAutoCorrectionUnderlineThickness); in updateDrawState()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java208 TouchPoint tp = mTouchPoints.get(i); in touchMove() local
209 if (tp.hasMoved()) { in touchMove()
215 tp.setMoved(false); in touchMove()
253 TouchPoint tp = mTouchPoints.get(i); in touchEnd() local
254 if (tp.isReleased()) { in touchEnd()
272 TouchPoint tp = mTouchPoints.get(i); in touchCancel() local
273 if (tp.cancelled()) { in touchCancel()
295 TouchPoint tp = mTouchPoints.get(id); in cancelTouchPoint() local
296 if (tp == null) { in cancelTouchPoint()
300 tp.cancel(); in cancelTouchPoint()
[all …]
/frameworks/base/services/java/com/android/server/am/
DTransferPipe.java89 TransferPipe tp = new TransferPipe(); in go() local
91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go()
92 tp.go(out, timeout); in go()
94 tp.kill(); in go()
114 TransferPipe tp = new TransferPipe(); in goDump() local
116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump()
117 tp.go(out, timeout); in goDump()
119 tp.kill(); in goDump()
DActivityManagerService.java8309 TransferPipe tp = new TransferPipe(); in dumpService() local
8311 r.app.thread.dumpService(tp.getWriteFd().getFileDescriptor(), r, args); in dumpService()
8312 tp.setBufferPrefix(prefix + " "); in dumpService()
8313 tp.go(fd); in dumpService()
8315 tp.kill(); in dumpService()
8494 TransferPipe tp = new TransferPipe(); in dumpActivity() local
8496 r.app.thread.dumpActivity(tp.getWriteFd().getFileDescriptor(), r, in dumpActivity()
8498 tp.go(fd); in dumpActivity()
8500 tp.kill(); in dumpActivity()
8658 TransferPipe tp = new TransferPipe(); in dumpServicesLocked() local
[all …]
/frameworks/base/core/java/android/os/
DDebug.java1087 final TypedProperties tp = new TypedProperties();
1100 tp.load(r);
1112 debugProperties = tp.isEmpty() ? null : tp;
/frameworks/base/opengl/libagl/
Dprimitives.cpp410 const GLubyte* tp = texcoordArray[i].element( in fetch_texcoord_impl() local
412 texcoordArray[i].fetch(c, coords.v, tp); in fetch_texcoord_impl()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2596 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
2597 tp.bgColor = mMarqueeColor; in updateDrawState()