Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
DThreadPool.cpp25 ThreadPool *tp = (ThreadPool *) context; in ThreadPool_start() local
26 assert(NULL != tp); in ThreadPool_start()
28 Closure *pClosure = ThreadPool_remove(tp); in ThreadPool_start()
81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);
87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() argument
89 assert(NULL != tp); in ThreadPool_init()
90 memset(tp, 0, sizeof(ThreadPool)); in ThreadPool_init()
91 tp->mShutdown = SL_BOOLEAN_FALSE; in ThreadPool_init()
98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL); in ThreadPool_init()
103 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL); in ThreadPool_init()
[all …]
DThreadPool.h86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
87 extern void ThreadPool_deinit(ThreadPool *tp);
88 extern SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind,
91 extern Closure *ThreadPool_remove(ThreadPool *tp);
92 extern SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler,
94 extern SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler,
96 extern SLresult ThreadPool_add_piipp(ThreadPool *tp, ClosureHandler_piipp handler,
/frameworks/base/core/java/android/text/
DTextPaint.java65 public void set(TextPaint tp) { in set() argument
66 super.set(tp); in set()
68 bgColor = tp.bgColor; in set()
69 baselineShift = tp.baselineShift; in set()
70 linkColor = tp.linkColor; in set()
71 drawableState = tp.drawableState; in set()
72 density = tp.density; in set()
73 underlineColor = tp.underlineColor; in set()
74 underlineThickness = tp.underlineThickness; in set()
/frameworks/base/core/java/android/text/style/
DSuperscriptSpan.java53 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
54 tp.baselineShift += (int) (tp.ascent() / 2); in updateDrawState()
58 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
59 tp.baselineShift += (int) (tp.ascent() / 2); in updateMeasureState()
DSubscriptSpan.java53 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
54 tp.baselineShift -= (int) (tp.ascent() / 2); in updateDrawState()
58 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
59 tp.baselineShift -= (int) (tp.ascent() / 2); in updateMeasureState()
DMetricAffectingSpan.java63 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
64 mStyle.updateDrawState(tp); in updateDrawState()
71 public void updateMeasureState(TextPaint tp) { in updateMeasureState() argument
72 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.java72 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
73 tp.bgColor = mBackgroundColor; in updateDrawState()
DSuggestionSpan.java349 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
355 tp.setUnderlineText(mEasyCorrectUnderlineColor, mEasyCorrectUnderlineThickness); in updateDrawState()
356 } else if (tp.underlineColor == 0) { in updateDrawState()
359 tp.setUnderlineText(mMisspelledUnderlineColor, mMisspelledUnderlineThickness); in updateDrawState()
362 tp.setUnderlineText(mAutoCorrectionUnderlineColor, mAutoCorrectionUnderlineThickness); in updateDrawState()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java58 final TextPaint tp = new TextPaint(); in textWidth() local
59 tp.setTextSize(100.0f); // Large enough so that the difference in kerning is visible. in textWidth()
62 text, 0, text.length(), tp, largeWidth).build(); in textWidth()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java100 try (TransferPipe tp = new TransferPipe()) { in go() argument
101 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go()
102 tp.go(out, timeout); in go()
122 try (TransferPipe tp = new TransferPipe()) { in goDump() argument
123 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump()
124 tp.go(out, timeout); in goDump()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java426 TransferPipe tp = new TransferPipe(); in dumpToTransferPipe() local
429 tp.getWriteFd(), r.provider.asBinder(), args); in dumpToTransferPipe()
430 tp.setBufferPrefix(prefix); in dumpToTransferPipe()
433 tp.go(fd, 2000); in dumpToTransferPipe()
435 tp.kill(); in dumpToTransferPipe()
DActiveServices.java3622 TransferPipe tp = new TransferPipe(); in dumpServiceClient() local
3624 thread.dumpService(tp.getWriteFd(), r, args); in dumpServiceClient()
3625 tp.setBufferPrefix(" "); in dumpServiceClient()
3628 tp.go(fd, 2000); in dumpServiceClient()
3630 tp.kill(); in dumpServiceClient()
3954 TransferPipe tp = new TransferPipe(); in dumpService() local
3956 r.app.thread.dumpService(tp.getWriteFd(), r, args); in dumpService()
3957 tp.setBufferPrefix(prefix + " "); in dumpService()
3958 tp.go(fd); in dumpService()
3960 tp.kill(); in dumpService()
DActivityManagerService.java16341 TransferPipe tp = new TransferPipe();
16343 r.app.thread.dumpActivity(tp.getWriteFd(),
16345 tp.go(fd);
16347 tp.kill();
16876 TransferPipe tp = new TransferPipe();
16878 r.thread.dumpGfxInfo(tp.getWriteFd(), args);
16879 tp.go(fd);
16881 tp.kill();
16909 TransferPipe tp = new TransferPipe();
16911 r.thread.dumpDbInfo(tp.getWriteFd(), args);
[all …]
DActivityStackSupervisor.java3857 TransferPipe tp = new TransferPipe(); in dumpHistoryList() local
3859 r.app.thread.dumpActivity(tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList()
3862 tp.go(fd, 2000); in dumpHistoryList()
3864 tp.kill(); in dumpHistoryList()
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java332 TextPaint tp = new TextPaint(); in testTextAppearanceInSuggestionsPopup()
333 taSpan[0].updateDrawState(tp); in testTextAppearanceInSuggestionsPopup()
334 assertEquals(expectedHighlightTextColor, tp.getColor()); in testTextAppearanceInSuggestionsPopup()
335 assertEquals(expectedHighlightTextSize, tp.getTextSize()); in testTextAppearanceInSuggestionsPopup()
/frameworks/base/core/java/android/os/
DDebug.java2044 final TypedProperties tp = new TypedProperties();
2057 tp.load(r);
2069 debugProperties = tp.isEmpty() ? null : tp;
/frameworks/base/core/java/android/app/
DActivityManager.java4237 TransferPipe tp = null; in dumpService() local
4240 tp = new TransferPipe(); in dumpService()
4241 tp.setBufferPrefix(" "); in dumpService()
4242 service.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in dumpService()
4243 tp.go(fd, 10000); in dumpService()
4245 if (tp != null) { in dumpService()
4246 tp.kill(); in dumpService()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutLineBreakingTest.java197 public void updateDrawState(TextPaint tp) { /* empty */ } in getMetricAffectingSpan()
/frameworks/native/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()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2493 XAboolean * tp