HomeSort by relevance Sort by last modified time
    Searched defs:TextLayoutValue (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/jni/android/graphics/
TextLayoutCache.h 123 * TextLayoutValue is the Cache value
125 class TextLayoutValue : public RefBase {
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,
TextLayoutCache.cpp 40 mCache(LruCache<TextLayoutCacheKey, sp<TextLayoutValue> >::kUnlimitedCapacity),
69 void TextLayoutCache::operator()(TextLayoutCacheKey& text, sp<TextLayoutValue>& desc) {
89 sp<TextLayoutValue> TextLayoutCache::getValue(const SkPaint* paint,
101 sp<TextLayoutValue> value = mCache.get(key);
109 value = new TextLayoutValue(contextCount);
316 TextLayoutValue::TextLayoutValue(size_t contextCount) :
325 size_t TextLayoutValue::getSize() const {
326 return sizeof(TextLayoutValue) + sizeof(jfloat) * mAdvances.capacity() +
330 void TextLayoutValue::setElapsedTime(uint32_t time)
    [all...]

Completed in 131 milliseconds