am 8b5a2421: am 7b1b3613: Merge "Address API council feedback for setOffscreenPreRaster." into mnc-dev
* commit '8b5a242132cf317319521c546af18db476e884fc': Address API council feedback for setOffscreenPreRaster.
This commit is contained in:
@@ -1340,11 +1340,13 @@ public abstract class WebSettings {
|
|||||||
* offscreen but attached to a window. Turning this on can avoid
|
* offscreen but attached to a window. Turning this on can avoid
|
||||||
* rendering artifacts when animating an offscreen WebView on-screen.
|
* rendering artifacts when animating an offscreen WebView on-screen.
|
||||||
* Offscreen WebViews in this mode use more memory. The default value is
|
* Offscreen WebViews in this mode use more memory. The default value is
|
||||||
* false.
|
* false.<br>
|
||||||
* Please follow these guidelines to limit memory usage:
|
* Please follow these guidelines to limit memory usage:
|
||||||
* - WebView size should be not be larger than the device screen size.
|
* <ul>
|
||||||
* - Limit use of this mode to a small number of WebViews. Use it for
|
* <li> WebView size should be not be larger than the device screen size.
|
||||||
|
* <li> Limit use of this mode to a small number of WebViews. Use it for
|
||||||
* visible WebViews and WebViews about to be animated to visible.
|
* visible WebViews and WebViews about to be animated to visible.
|
||||||
|
* </ul>
|
||||||
*/
|
*/
|
||||||
public abstract void setOffscreenPreRaster(boolean enabled);
|
public abstract void setOffscreenPreRaster(boolean enabled);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user