summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ViewRootImpl.java
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-03-10 10:28:59 -0700
committerChris Craik <ccraik@google.com>2015-03-10 14:56:11 -0700
commitf6829a0a618b4523619ec53c996b04d67e3186b9 (patch)
tree816816dadc5cd7ac8ad1b6a309525f6300fc9b82 /core/java/android/view/ViewRootImpl.java
parentedacf22ca132ac48207a68aa30998f5b43d893b8 (diff)
downloadframeworks_base-f6829a0a618b4523619ec53c996b04d67e3186b9.zip
frameworks_base-f6829a0a618b4523619ec53c996b04d67e3186b9.tar.gz
frameworks_base-f6829a0a618b4523619ec53c996b04d67e3186b9.tar.bz2
Remove HardwareCanvas
Change-Id: I239646a7f00f09d3f76fe6b6162eed86bc0d6e77
Diffstat (limited to 'core/java/android/view/ViewRootImpl.java')
-rw-r--r--core/java/android/view/ViewRootImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java
index 14b867e..ed86dd9 100644
--- a/core/java/android/view/ViewRootImpl.java
+++ b/core/java/android/view/ViewRootImpl.java
@@ -2286,12 +2286,12 @@ public final class ViewRootImpl implements ViewParent,
final Paint mResizePaint = new Paint();
@Override
- public void onHardwarePreDraw(HardwareCanvas canvas) {
+ public void onHardwarePreDraw(DisplayListCanvas canvas) {
canvas.translate(-mHardwareXOffset, -mHardwareYOffset);
}
@Override
- public void onHardwarePostDraw(HardwareCanvas canvas) {
+ public void onHardwarePostDraw(DisplayListCanvas canvas) {
if (mResizeBuffer != null) {
mResizePaint.setAlpha(mResizeAlpha);
canvas.drawHardwareLayer(mResizeBuffer, mHardwareXOffset, mHardwareYOffset,