From e49ebe6e54e965e4dcb7f0eee180a4fee97417a8 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Wed, 18 May 2016 20:27:47 -0500 Subject: Visualizer: Let visualizer fill the entire available screen * This will allow it to be more dynamic (landscape lock screen for instance) Change-Id: I2ffd6b0ca8832812faaa4cc0ec4cdd6071fbec8c --- .../src/com/android/systemui/statusbar/VisualizerView.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'packages') diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java b/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java index 02ab3ca..538140c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java @@ -196,14 +196,6 @@ public class VisualizerView extends View implements Palette.PaletteAsyncListener } @Override - protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { - super.onMeasure(widthMeasureSpec, heightMeasureSpec); - - final int size = Math.min(getMeasuredWidth(), getMeasuredHeight()); - setMeasuredDimension(size, size); - } - - @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); -- cgit v1.1