Searched refs:mStateFont (Results 1 - 4 of 4) sorted by relevance
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 224 rsc->mStateFont.renderText(text, allocSize, x, y); 230 rsc->mStateFont.renderText(text, textLen, x, y); 255 rsc->mStateFont.measureText(text, textLen, &metrics); 264 rsc->mStateFont.measureText(text, textLen, &metrics); 274 rsc->mStateFont.setFontColor(r, g, b, a);
|
H A D | rsFont.cpp | 49 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); 51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); 77 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) { 78 if (mRSC->mStateFont.mActiveFonts[ct] == this) { 79 mRSC->mStateFont.mActiveFonts.removeAt(ct); 92 FontState *state = &mRSC->mStateFont; 119 FontState *state = &mRSC->mStateFont; 257 FontState *state = &mRSC->mStateFont; 296 rsc->mStateFont.checkInit(); 297 Vector<Font*> &activeFonts = rsc->mStateFont [all...] |
H A D | rsContext.cpp | 192 mStateFont.getFontColor(&oldR, &oldG, &oldB, &oldA); 198 mStateFont.setFontColor(shadowCol, shadowCol, shadowCol, 1.0f); 199 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6); 201 mStateFont.setFontColor(1.0f, 0.7f, 0.0f, 1.0f); 202 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7); 205 mStateFont.setFontColor(oldR, oldG, oldB, oldA); 297 rsc->mStateFont.init(rsc); 386 mStateFont.deinit(this); 615 mFont.set(mStateFont.mDefault);
|
H A D | rsContext.h | 101 FontState mStateFont; member in class:android::renderscript::Context 155 return mStateFont.mDefault.get();
|
Completed in 124 milliseconds