Use hardware layers in more situations

* Turn on while dragging
* Fix bug: don't disable when swiping pages during drag
* Fix bug: disable hardware layers on startup
* Removing old state code in Workspace

Change-Id: I5633dc98f2679784aea5551564dfa19504a074a6
This commit is contained in:
Michael Jurka
2011-07-10 12:44:21 -07:00
parent 33f3703e6a
commit d74c984fcc
4 changed files with 139 additions and 121 deletions

View File

@@ -56,7 +56,6 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca
private final HolographicOutlineHelper mOutlineHelper = new HolographicOutlineHelper();
private final Canvas mTempCanvas = new Canvas();
private final Rect mTempRect = new Rect();
private final Paint mTempPaint = new Paint();
private boolean mDidInvalidateForPressedState;
private Bitmap mPressedOrFocusedBackground;
private int mFocusedOutlineColor;