OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PatchDescription
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/hwui/
PatchCache.h
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
[
all
...]
PatchCache.cpp
34
mSize(0), mCache(LruCache<
PatchDescription
, Patch*>::kUnlimitedCapacity),
69
hash_t PatchCache::
PatchDescription
::hash() const {
78
int PatchCache::
PatchDescription
::compare(const PatchCache::
PatchDescription
& lhs,
79
const PatchCache::
PatchDescription
& rhs) {
80
return memcmp(&lhs, &rhs, sizeof(
PatchDescription
));
95
LruCache<
PatchDescription
, Patch*>::Iterator i(mCache);
111
LruCache<
PatchDescription
, Patch*>::Iterator i(mCache);
113
const
PatchDescription
& key = i.key();
228
const
PatchDescription
description(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, patch)
[
all
...]
Completed in 22 milliseconds