4478 void setBaseLayer(int layer, boolean showVisualIndicator,
4479 boolean isPictureAfterFirstLayout) {
4480 if (mNativeClass == 0)
4481 return;
4482 boolean queueFull;
4483 final int scrollingLayer = (mTouchMode == TOUCH_DRAG_LAYER_MODE)
4484 ? mCurrentScrollingLayerId : 0;
4485 queueFull = nativeSetBaseLayer(mNativeClass, layer,
4486 showVisualIndicator, isPictureAfterFirstLayout,
4487 scrollingLayer);
4488
4489 if (queueFull) {
4490 mWebViewCore.pauseWebKitDraw();
4491 } else {
4492 mWebViewCore.resumeWebKitDraw();
4493 }
4494
4495 if (mHTML5VideoViewProxy != null) {
4496 mHTML5VideoViewProxy.setBaseLayer(layer);
4497 }
4498 }||<
></blockquote><
*1372237062*[android][skia]SkTDArray
><blockquote cite="http://tools.oesf.biz/android-4.2.0_r1.0/xref/external/skia/src/core/SkPictureRecord.cpp#22" title="Cross Reference: /external/skia/src/core/SkPictureRecord.cpp"><
>||
22 fRestoreOffsetStack.setReserve(32);
23 fRestoreOffsetStack.push(0);
138 void setReserve(size_t reserve) {
139 if (reserve > fReserve) {
140 SkASSERT(reserve > fCount);
141 size_t count = fCount;
142 this->growBy(reserve - fCount);
143 fCount = count;
144 }
145 }