Home | History | Annotate | Download | only in jni

Lines Matching refs:inval

121     // drawn yet. As the first draw after a size change will do a full inval anyway,
124 // and when the size changes just inval the deltas. This prevents a full
126 IntRect inval = dirtyRect;
127 inval.intersect(IntRect(0, 0, m_size.width(), m_size.height()));
128 if (inval.isEmpty()) {
129 ALOGV("Rejecting inval " INT_RECT_FORMAT, INT_RECT_ARGS(dirtyRect));
134 m_webkitInvals[0].unite(inval);
136 m_webkitInvals.append(inval);
159 // Both width & height changed, full inval :(
201 // Build the invals (TODO: Support multiple inval regions)
202 IntRect inval = m_webkitInvals[0];
203 m_dirtyRegion.setRect(toSkIRect(inval));
205 inval.unite(m_webkitInvals[i]);
209 ALOGV("Webkit inval: " INT_RECT_FORMAT, INT_RECT_ARGS(inval));
210 if (inval.isEmpty())
217 if (pc.area.contains(inval)) {
222 if (pc.area == inval) {
223 appendToPile(inval);
229 } else if (pc.area.intersects(inval))
235 IntRect overlap = inval;
244 appendToPile(overlap, inval);
249 appendToPile(inval);
252 void PicturePile::appendToPile(const IntRect& inval, const IntRect& originalInval)
254 ALOGV("Adding inval " INT_RECT_FORMAT " for original inval " INT_RECT_FORMAT,
255 INT_RECT_ARGS(inval), INT_RECT_ARGS(originalInval));
258 if (inval.contains(m_pile[i].area))
261 PictureContainer container(inval);
264 ? inval : originalInval);
273 RefPtr<PrerenderedInval> inval = m_pile[i].prerendered;
274 if (inval.get() && inval->area.contains(area))
275 return inval.get();