Lines Matching refs:mStorage
71 mStorage.add(Rect(0,0)); in Region()
75 : mStorage(rhs.mStorage) in Region()
83 mStorage.add(rhs); in Region()
210 outputRegion.mStorage, direction_LTR); in createTJunctionFreeRegion()
211 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds in createTJunctionFreeRegion()
226 mStorage = rhs.mStorage; in operator =()
232 if (mStorage.size() >= 2) { in makeBoundsSelf()
234 mStorage.clear(); in makeBoundsSelf()
235 mStorage.add(bounds); in makeBoundsSelf()
258 mStorage.clear(); in clear()
259 mStorage.add(Rect(0,0)); in clear()
264 mStorage.clear(); in set()
265 mStorage.add(r); in set()
270 mStorage.clear(); in set()
271 mStorage.add(Rect(w, h)); in set()
276 mStorage.clear(); in set()
277 mStorage.add(Rect(w, h)); in set()
289 size_t where = mStorage.size() - 1; in addRectUnchecked()
290 mStorage.insertAt(rect, where, 1); in addRectUnchecked()
339 size_t count = mStorage.size(); in scaleSelf()
340 Rect* rects = mStorage.editArray(); in scaleSelf()
452 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
540 if (reg.mStorage.isEmpty()) { in validate()
605 if (reg.mStorage.size() == 2) { in validate()
775 size_t count = reg.mStorage.size(); in translate()
776 Rect* rects = reg.mStorage.editArray(); in translate()
797 return sizeof(uint32_t) + mStorage.size() * sizeof(Rect); in getFlattenedSize()
809 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(mStorage.size())); in flatten()
810 for (auto rect : mStorage) { in flatten()
837 result.mStorage.clear(); in unflatten()
845 result.mStorage.push_back(rect); in unflatten()
856 mStorage = result.mStorage; in unflatten()
863 return mStorage.array(); in begin()
870 if (mStorage.isEmpty()) return mStorage.array(); in end()
872 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end()
873 return mStorage.array() + numRects; in end()