Searched refs:mStateFont (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/rs/
H A DrsContext.cpp189 mStateFont.getFontColor(&oldR, &oldG, &oldB, &oldA);
195 mStateFont.setFontColor(shadowCol, shadowCol, shadowCol, 1.0f);
196 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6);
198 mStateFont.setFontColor(1.0f, 0.7f, 0.0f, 1.0f);
199 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7);
202 mStateFont.setFontColor(oldR, oldG, oldB, oldA);
241 rsc->mStateFont.init(rsc);
313 mStateFont.deinit(this);
529 mFont.set(mStateFont.mDefault);
H A DrsScriptC_LibGL.cpp279 rsc->mStateFont.renderText(text, allocSize, x, y);
284 rsc->mStateFont.renderText(text, textLen, x, y);
309 rsc->mStateFont.measureText(text, textLen, &metrics);
317 rsc->mStateFont.measureText(text, textLen, &metrics);
327 rsc->mStateFont.setFontColor(r, g, b, a);
H A DrsFont.cpp48 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
50 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
76 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) {
77 if (mRSC->mStateFont.mActiveFonts[ct] == this) {
78 mRSC->mStateFont.mActiveFonts.removeAt(ct);
91 FontState *state = &mRSC->mStateFont;
118 FontState *state = &mRSC->mStateFont;
256 FontState *state = &mRSC->mStateFont;
295 rsc->mStateFont.checkInit();
296 Vector<Font*> &activeFonts = rsc->mStateFont
[all...]
H A DrsContext.h107 FontState mStateFont; member in class:android::renderscript::Context
161 return mStateFont.mDefault.get();

Completed in 70 milliseconds