OSDN Git Service
(root)
/
android-x86
/
packages-apps-Gallery2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Draw UI fixes
[android-x86/packages-apps-Gallery2.git]
/
src
/
com
/
android
/
gallery3d
/
filtershow
/
colorpicker
/
ColorSVRectView.java
diff --git
a/src/com/android/gallery3d/filtershow/colorpicker/ColorSVRectView.java
b/src/com/android/gallery3d/filtershow/colorpicker/ColorSVRectView.java
index
b529b43
..
fb8b4fc
100644
(file)
--- a/
src/com/android/gallery3d/filtershow/colorpicker/ColorSVRectView.java
+++ b/
src/com/android/gallery3d/filtershow/colorpicker/ColorSVRectView.java
@@
-86,6
+86,11
@@
public class ColorSVRectView extends View implements ColorListener {
fillBitmap();
}
+ @Override
+ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
+ super.onMeasure(widthMeasureSpec, widthMeasureSpec);
+ }
+
void fillBitmap() {
int w = mBitmap.getWidth();
int h = mBitmap.getHeight();