summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/BubbleTextView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-12-21 11:31:54 -0800
committerWinson Chung <winsonc@google.com>2010-12-21 16:04:02 -0800
commit59e1f9a07eef87b1d287956d21b8d9c5b27faf9c (patch)
treed37b7b49e34a28608ecffce7b24d92ef927b8b53 /src/com/android/launcher2/BubbleTextView.java
parent577d017732abf9969e9a5c1b6aa3ffb5b8fdae7f (diff)
downloadandroid_packages_apps_Trebuchet-59e1f9a07eef87b1d287956d21b8d9c5b27faf9c.tar.gz
android_packages_apps_Trebuchet-59e1f9a07eef87b1d287956d21b8d9c5b27faf9c.tar.bz2
android_packages_apps_Trebuchet-59e1f9a07eef87b1d287956d21b8d9c5b27faf9c.zip
Adding fade when dragging items outside of the customization tray.
Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
Diffstat (limited to 'src/com/android/launcher2/BubbleTextView.java')
-rw-r--r--src/com/android/launcher2/BubbleTextView.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java
index 6e2a58b9e..2d0492443 100644
--- a/src/com/android/launcher2/BubbleTextView.java
+++ b/src/com/android/launcher2/BubbleTextView.java
@@ -88,13 +88,10 @@ public class BubbleTextView extends CacheableTextView {
mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
mPaint.setColor(bubbleColor);
mBubbleColorAlpha = Color.alpha(bubbleColor) / 255.0f;
- mFocusedOutlineColor =
- getResources().getColor(R.color.workspace_item_focused_outline_color);
- mFocusedGlowColor = getResources().getColor(R.color.workspace_item_focused_glow_color);
- mPressedOutlineColor =
- getResources().getColor(R.color.workspace_item_pressed_outline_color);
- mPressedGlowColor =
- getResources().getColor(R.color.workspace_item_pressed_glow_color);
+ mFocusedOutlineColor = res.getColor(R.color.workspace_item_focused_outline_color);
+ mFocusedGlowColor = res.getColor(R.color.workspace_item_focused_glow_color);
+ mPressedOutlineColor = res.getColor(R.color.workspace_item_pressed_outline_color);
+ mPressedGlowColor = res.getColor(R.color.workspace_item_pressed_glow_color);
}
protected int getCacheTopPadding() {