Adding fade when dragging items outside of the customization tray.

Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
This commit is contained in:
Winson Chung committed 2010-12-21 16:04:02 -08:00
1 parent 577d017732
commit 59e1f9a07e
8 files changed
+129 -29

No files matched your search

@@ -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() {