Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
DThreadPool.c25 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.java64 public void set(TextPaint tp) { in set() argument
65 super.set(tp); in set()
67 bgColor = tp.bgColor; in set()
68 baselineShift = tp.baselineShift; in set()
69 linkColor = tp.linkColor; in set()
70 drawableState = tp.drawableState; in set()
71 density = tp.density; in set()
72 underlineColor = tp.underlineColor; in set()
73 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/java/com/android/internal/os/
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()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java405 TransferPipe tp = new TransferPipe(); in dumpProvider() local
408 tp.getWriteFd().getFileDescriptor(), r.provider.asBinder(), args); in dumpProvider()
409 tp.setBufferPrefix(" "); in dumpProvider()
412 tp.go(fd, 2000); in dumpProvider()
414 tp.kill(); in dumpProvider()
DActiveServices.java3101 TransferPipe tp = new TransferPipe(); in dumpServiceClient() local
3103 thread.dumpService(tp.getWriteFd().getFileDescriptor(), r, args); in dumpServiceClient()
3104 tp.setBufferPrefix(" "); in dumpServiceClient()
3107 tp.go(fd, 2000); in dumpServiceClient()
3109 tp.kill(); in dumpServiceClient()
3369 TransferPipe tp = new TransferPipe(); in dumpService() local
3371 r.app.thread.dumpService(tp.getWriteFd().getFileDescriptor(), r, args); in dumpService()
3372 tp.setBufferPrefix(prefix + " "); in dumpService()
3373 tp.go(fd); in dumpService()
3375 tp.kill(); in dumpService()
DActivityStackSupervisor.java3382 TransferPipe tp = new TransferPipe(); in dumpHistoryList() local
3384 r.app.thread.dumpActivity(tp.getWriteFd().getFileDescriptor(), in dumpHistoryList()
3388 tp.go(fd, 2000); in dumpHistoryList()
3390 tp.kill(); in dumpHistoryList()
DActivityManagerService.java15191 TransferPipe tp = new TransferPipe(); in dumpActivity() local
15193 r.app.thread.dumpActivity(tp.getWriteFd().getFileDescriptor(), in dumpActivity()
15195 tp.go(fd); in dumpActivity()
15197 tp.kill(); in dumpActivity()
15724 TransferPipe tp = new TransferPipe(); in dumpGraphicsHardwareUsage() local
15726 r.thread.dumpGfxInfo(tp.getWriteFd().getFileDescriptor(), args); in dumpGraphicsHardwareUsage()
15727 tp.go(fd); in dumpGraphicsHardwareUsage()
15729 tp.kill(); in dumpGraphicsHardwareUsage()
15757 TransferPipe tp = new TransferPipe(); in dumpDbInfo() local
15759 r.thread.dumpDbInfo(tp.getWriteFd().getFileDescriptor(), args); in dumpDbInfo()
[all …]
/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.java1980 final TypedProperties tp = new TypedProperties();
1993 tp.load(r);
2005 debugProperties = tp.isEmpty() ? null : tp;
/frameworks/base/core/java/android/app/
DActivityManager.java3523 TransferPipe tp = null; in dumpService() local
3526 tp = new TransferPipe(); in dumpService()
3527 tp.setBufferPrefix(" "); in dumpService()
3528 service.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in dumpService()
3529 tp.go(fd, 10000); in dumpService()
3531 if (tp != null) { in dumpService()
3532 tp.kill(); in dumpService()
/frameworks/base/docs/html-intl/intl/zh-cn/google/play/billing/
Dbilling_testing.jd60 <h4 id="tp-account">测试购买和开发者帐户</h4>
/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/base/docs/html/google/play/billing/
Dbilling_testing.jd135 <h4 id="tp-account">Test purchases and developer account</h4>
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2493 XAboolean * tp