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 39 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) :
324 size_t TextLayoutValue::getSize() const {
325 return sizeof(TextLayoutValue) + sizeof(jfloat) * mAdvances.capacity() +
329 void TextLayoutValue::setElapsedTime(uint32_t time)
    [all...]

Completed in 1740 milliseconds