Searched defs:TextLayoutValue (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.h123 * TextLayoutValue is the Cache value
125 class TextLayoutValue : public RefBase { class in namespace:android
127 TextLayoutValue(size_t contextCount);
187 void computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars,
232 class TextLayoutCache : private OnEntryRemoved<TextLayoutCacheKey, sp<TextLayoutValue> >
247 void operator()(TextLayoutCacheKey& text, sp<TextLayoutValue>& desc);
249 sp<TextLayoutValue> getValue(const SkPaint* paint, const jchar* text, jint start,
262 LruCache<TextLayoutCacheKey, sp<TextLayoutValue> > mCache;
301 sp<TextLayoutValue> getValue(const SkPaint* paint, const jchar* text, jint start,
H A DTextLayoutCache.cpp39 mCache(LruCache<TextLayoutCacheKey, sp<TextLayoutValue> >::kUnlimitedCapacity),
68 void TextLayoutCache::operator()(TextLayoutCacheKey& text, sp<TextLayoutValue>& desc) {
88 sp<TextLayoutValue> TextLayoutCache::getValue(const SkPaint* paint,
100 sp<TextLayoutValue> value = mCache.get(key);
108 value = new TextLayoutValue(contextCount);
315 TextLayoutValue::TextLayoutValue(size_t contextCount) : function in class:android::TextLayoutValue
324 size_t TextLayoutValue::getSize() const {
325 return sizeof(TextLayoutValue) + sizeof(jfloat) * mAdvances.capacity() +
329 void TextLayoutValue
[all...]

Completed in 1777 milliseconds