Lines Matching refs:LayoutCacheKey
74 class LayoutCacheKey {
76 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style,
84 bool operator==(const LayoutCacheKey &other) const;
121 class LayoutCache : private OnEntryRemoved<LayoutCacheKey, Layout*> {
131 Layout* get(LayoutCacheKey& key, LayoutContext* ctx, const FontCollection* collection) {
144 void operator()(LayoutCacheKey& key, Layout*& value) {
149 LruCache<LayoutCacheKey, Layout*> mCache;
151 //static const size_t kMaxEntries = LruCache<LayoutCacheKey, Layout*>::kUnlimitedCapacity;
187 bool LayoutCacheKey::operator==(const LayoutCacheKey& other) const {
202 hash_t LayoutCacheKey::hash() const {
217 hash_t hash_type(const LayoutCacheKey& key) {
619 LayoutCacheKey key(mCollection, ctx->paint, ctx->style, buf, start, count, bufSize, isRtl);