Lines Matching refs:PatchDescription
92 struct PatchDescription {
93 PatchDescription(): mPatch(NULL), mBitmapWidth(0), mBitmapHeight(0),
97 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight,
107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs);
109 bool operator==(const PatchDescription& other) const {
113 bool operator!=(const PatchDescription& other) const {
117 friend inline int strictly_order_type(const PatchDescription& lhs,
118 const PatchDescription& rhs) {
119 return PatchDescription::compare(lhs, rhs) < 0;
122 friend inline int compare_type(const PatchDescription& lhs,
123 const PatchDescription& rhs) {
124 return PatchDescription::compare(lhs, rhs);
127 friend inline hash_t hash_type(const PatchDescription& entry) {
138 }; // struct PatchDescription
157 typedef Pair<const PatchDescription*, Patch*> patch_pair_t;
173 LruCache<PatchDescription, Patch*> mCache;