summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-03-18 21:36:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-18 21:36:56 +0000
commit43c410eaacf7d287c6c3f5621e6e0b96501004dc (patch)
treeef836af43be15a316e3d730914f1ace60e398fe6 /packages/SystemUI
parentdd0d4b75794081e873977a5480d3d1dbff270d05 (diff)
parentf6829a0a618b4523619ec53c996b04d67e3186b9 (diff)
downloadframeworks_base-43c410eaacf7d287c6c3f5621e6e0b96501004dc.zip
frameworks_base-43c410eaacf7d287c6c3f5621e6e0b96501004dc.tar.gz
frameworks_base-43c410eaacf7d287c6c3f5621e6e0b96501004dc.tar.bz2
Merge "Remove HardwareCanvas"
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java
index a3ebb09..3f63b5f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonRipple.java
@@ -26,7 +26,7 @@ import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.drawable.Drawable;
-import android.view.HardwareCanvas;
+import android.view.DisplayListCanvas;
import android.view.RenderNodeAnimator;
import android.view.View;
import android.view.animation.Interpolator;
@@ -106,7 +106,7 @@ public class KeyButtonRipple extends Drawable {
public void draw(Canvas canvas) {
mSupportHardware = canvas.isHardwareAccelerated();
if (mSupportHardware) {
- drawHardware((HardwareCanvas) canvas);
+ drawHardware((DisplayListCanvas) canvas);
} else {
drawSoftware(canvas);
}
@@ -131,7 +131,7 @@ public class KeyButtonRipple extends Drawable {
return getBounds().width() > getBounds().height();
}
- private void drawHardware(HardwareCanvas c) {
+ private void drawHardware(DisplayListCanvas c) {
if (mDrawingHardwareGlow) {
c.drawRoundRect(mLeftProp, mTopProp, mRightProp, mBottomProp, mRxProp, mRyProp,
mPaintProp);