Merge "Clean up unused code and import declarations" into ics-mr1

This commit is contained in:
Michael Jurka
2011-11-28 18:48:04 -08:00
committed by Android (Google) Code Review
20 changed files with 9 additions and 90 deletions
-5
View File
@@ -1521,8 +1521,6 @@ public class Workspace extends SmoothPagedView
// We need to add extra padding to the bitmap to make room for the glow effect
final int bitmapPadding = HolographicOutlineHelper.MAX_OUTER_BLUR_RADIUS;
CellLayout cl = (CellLayout) getChildAt(0);
int[] size = estimateItemSize(info.spanX, info.spanY, info, false);
// The outline is used to visualize where the item will land if dropped
@@ -1872,9 +1870,6 @@ public class Workspace extends SmoothPagedView
* Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location.
* Responsibility for the bitmap is transferred to the caller.
*/
private Bitmap createDragOutline(Bitmap orig, Canvas canvas, int padding, int w, int h) {
return createDragOutline(orig, canvas, padding, w, h, null);
}
private Bitmap createDragOutline(Bitmap orig, Canvas canvas, int padding, int w, int h,
Paint alphaClipPaint) {
final int outlineColor = getResources().getColor(android.R.color.holo_blue_light);