Loading core/java/android/view/TextureView.java +0 −5 Original line number Diff line number Diff line Loading @@ -284,11 +284,6 @@ public class TextureView extends View { return LAYER_TYPE_HARDWARE; } @Override boolean hasStaticLayer() { return true; } /** * Calling this method has no effect. */ Loading core/java/android/view/View.java +0 −9 Original line number Diff line number Diff line Loading @@ -14372,15 +14372,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } } /** * Indicates whether this view has a static layer. A view with layer type * {@link #LAYER_TYPE_NONE} is a static layer. Other types of layers are * dynamic. */ boolean hasStaticLayer() { return true; } /** * Indicates what type of layer is currently associated with this view. By default * a view does not have a layer, and the layer type is {@link #LAYER_TYPE_NONE}. core/java/android/view/ViewGroup.java +1 −2 Original line number Diff line number Diff line Loading @@ -3505,8 +3505,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager final View[] children = mChildren; for (int i = 0; i < count; i++) { final View child = children[i]; if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null) && child.hasStaticLayer()) { if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null)) { recreateChildDisplayList(child); } } Loading Loading
core/java/android/view/TextureView.java +0 −5 Original line number Diff line number Diff line Loading @@ -284,11 +284,6 @@ public class TextureView extends View { return LAYER_TYPE_HARDWARE; } @Override boolean hasStaticLayer() { return true; } /** * Calling this method has no effect. */ Loading
core/java/android/view/View.java +0 −9 Original line number Diff line number Diff line Loading @@ -14372,15 +14372,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } } /** * Indicates whether this view has a static layer. A view with layer type * {@link #LAYER_TYPE_NONE} is a static layer. Other types of layers are * dynamic. */ boolean hasStaticLayer() { return true; } /** * Indicates what type of layer is currently associated with this view. By default * a view does not have a layer, and the layer type is {@link #LAYER_TYPE_NONE}.
core/java/android/view/ViewGroup.java +1 −2 Original line number Diff line number Diff line Loading @@ -3505,8 +3505,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager final View[] children = mChildren; for (int i = 0; i < count; i++) { final View child = children[i]; if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null) && child.hasStaticLayer()) { if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null)) { recreateChildDisplayList(child); } } Loading