Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 19 of 19) 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/
DMetricAffectingSpan.java70 public void updateDrawState(@NonNull TextPaint tp) { in updateDrawState() argument
71 mStyle.updateDrawState(tp); in updateDrawState()
78 public void updateMeasureState(@NonNull TextPaint tp) { in updateMeasureState() argument
79 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.java59 final TextPaint tp = new TextPaint(); in textWidth() local
60 tp.setTextSize(100.0f); // Large enough so that the difference in kerning is visible. in textWidth()
63 text, 0, text.length(), tp, largeWidth).build(); in textWidth()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java149 try (TransferPipe tp = new TransferPipe()) { in go() argument
150 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go()
151 tp.go(out, timeout); in go()
171 try (TransferPipe tp = new TransferPipe()) { in goDump() argument
172 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump()
173 tp.go(out, timeout); in goDump()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java439 TransferPipe tp = new TransferPipe(); in dumpToTransferPipe() local
442 tp.getWriteFd(), r.provider.asBinder(), args); in dumpToTransferPipe()
443 tp.setBufferPrefix(prefix); in dumpToTransferPipe()
446 tp.go(fd, 2000); in dumpToTransferPipe()
448 tp.kill(); in dumpToTransferPipe()
DActiveServices.java3876 TransferPipe tp = new TransferPipe(); in dumpServiceClient() local
3878 thread.dumpService(tp.getWriteFd(), r, args); in dumpServiceClient()
3879 tp.setBufferPrefix(" "); in dumpServiceClient()
3882 tp.go(fd, 2000); in dumpServiceClient()
3884 tp.kill(); in dumpServiceClient()
4202 TransferPipe tp = new TransferPipe(); in dumpService() local
4204 r.app.thread.dumpService(tp.getWriteFd(), r, args); in dumpService()
4205 tp.setBufferPrefix(prefix + " "); in dumpService()
4206 tp.go(fd); in dumpService()
4208 tp.kill(); in dumpService()
DActivityManagerService.java17771 TransferPipe tp = new TransferPipe(); in dumpActivity() local
17773 r.app.thread.dumpActivity(tp.getWriteFd(), in dumpActivity()
17775 tp.go(fd); in dumpActivity()
17777 tp.kill(); in dumpActivity()
18445 TransferPipe tp = new TransferPipe(); in dumpGraphicsHardwareUsage() local
18447 r.thread.dumpGfxInfo(tp.getWriteFd(), args); in dumpGraphicsHardwareUsage()
18448 tp.go(fd); in dumpGraphicsHardwareUsage()
18450 tp.kill(); in dumpGraphicsHardwareUsage()
18478 TransferPipe tp = new TransferPipe(); in dumpDbInfo() local
18480 r.thread.dumpDbInfo(tp.getWriteFd(), args); in dumpDbInfo()
[all …]
DActivityStackSupervisor.java4201 TransferPipe tp = new TransferPipe(); in dumpHistoryList() local
4203 r.app.thread.dumpActivity(tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList()
4206 tp.go(fd, 2000); in dumpHistoryList()
4208 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.java2036 final TypedProperties tp = new TypedProperties();
2049 tp.load(r);
2061 debugProperties = tp.isEmpty() ? null : tp;
/frameworks/base/core/java/android/app/
DActivityManager.java4160 TransferPipe tp = null; in dumpService() local
4163 tp = new TransferPipe(); in dumpService()
4164 tp.setBufferPrefix(" "); in dumpService()
4165 service.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in dumpService()
4166 tp.go(fd, 10000); in dumpService()
4168 if (tp != null) { in dumpService()
4169 tp.kill(); in dumpService()
/frameworks/native/opengl/libagl/
Dprimitives.cpp411 const GLubyte* tp = texcoordArray[i].element( in fetch_texcoord_impl() local
413 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