resolved conflicts for merge of a3e22d6a to master

Change-Id: I8770574acf86e280a9d15d4309686111260e09d9
This commit is contained in:
Andrew Flynn
2012-03-01 16:26:50 -08:00
51 changed files with 326 additions and 193 deletions
+4 -3
View File
@@ -1429,7 +1429,7 @@ public class Workspace extends SmoothPagedView
* This interpolator emulates the rate at which the perceived scale of an object changes
* as its distance from a camera increases. When this interpolator is applied to a scale
* animation on a view, it evokes the sense that the object is shrinking due to moving away
* from the camera.
* from the camera.
*/
static class ZInterpolator implements TimeInterpolator {
private float focalLength;
@@ -1588,7 +1588,7 @@ public class Workspace extends SmoothPagedView
setLayoutScale(1.0f);
}
final int duration = zoomIn ?
final int duration = zoomIn ?
getResources().getInteger(R.integer.config_workspaceUnshrinkTime) :
getResources().getInteger(R.integer.config_appsCustomizeWorkspaceShrinkTime);
for (int i = 0; i < getChildCount(); i++) {
@@ -2042,7 +2042,7 @@ public class Workspace extends SmoothPagedView
// is full
if (mTargetCell != null && mLauncher.isHotseatLayout(mDragTargetLayout)) {
Hotseat hotseat = mLauncher.getHotseat();
if (Hotseat.isAllAppsButtonRank(
if (hotseat.isAllAppsButtonRank(
hotseat.getOrderInHotseat(mTargetCell[0], mTargetCell[1]))) {
return false;
}
@@ -3077,6 +3077,7 @@ public class Workspace extends SmoothPagedView
CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams();
cellLayout.getChildrenLayout().measureChild(view);
LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen,
lp.cellX, lp.cellY);