Searched defs:covered (Results 1 - 2 of 2) sorted by relevance

/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp140 // return true if area of 'target' is completely covers area of 'covered'
141 static bool checkIfCover(const GifImageDesc& target, const GifImageDesc& covered) { argument
142 return target.Left <= covered.Left
143 && covered.Left + covered.Width <= target.Left + target.Width
144 && target.Top <= covered.Top
145 && covered.Top + covered.Height <= target.Top + target.Height;
H A DFrameSequence_webp.cpp147 // return true if area of 'target' completely covers area of 'covered'
148 static bool checkIfCover(const WebPIterator& target, const WebPIterator& covered) { argument
149 const int covered_x_max = covered.x_offset + covered.width;
151 const int covered_y_max = covered.y_offset + covered.height;
153 return target.x_offset <= covered.x_offset
155 && target.y_offset <= covered.y_offset

Completed in 50 milliseconds