Lines Matching refs:key
98 // Create the key
99 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
102 sp<TextLayoutValue> value = mCache.get(key);
104 // Value not found for the key, we need to add a new value in the cache
114 reinterpret_cast<const UChar*>(key.getText()), start, count,
122 size_t size = key.getSize() + value->getSize();
142 bool putOne = mCache.put(key, value);
145 "same key but it should not since we checked earlier!"
147 start, count, contextCount, String8(key.getText() + start, count).string());
158 String8(key.getText() + start, count).string());
168 String8(key.getText() + start, count).string());
188 String8(key.getText() + start, count).string());