summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dreams/phototable/PhotoTable.java2
-rw-r--r--src/com/android/dreams/phototable/PhotoTouchListener.java1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/dreams/phototable/PhotoTable.java b/src/com/android/dreams/phototable/PhotoTable.java
index 89a669e..49941cd 100644
--- a/src/com/android/dreams/phototable/PhotoTable.java
+++ b/src/com/android/dreams/phototable/PhotoTable.java
@@ -388,7 +388,6 @@ public class PhotoTable extends FrameLayout {
log("animate it");
// toss onto table
photo.animate()
- .withLayer()
.scaleX(mTableRatio / mImageRatio)
.scaleY(mTableRatio / mImageRatio)
.rotation(angle)
@@ -442,7 +441,6 @@ public class PhotoTable extends FrameLayout {
log("animate it");
// toss onto table
photo.animate()
- .withLayer()
.rotation(0f)
.scaleX(scale)
.scaleY(scale)
diff --git a/src/com/android/dreams/phototable/PhotoTouchListener.java b/src/com/android/dreams/phototable/PhotoTouchListener.java
index 2cfcbd4..8076e72 100644
--- a/src/com/android/dreams/phototable/PhotoTouchListener.java
+++ b/src/com/android/dreams/phototable/PhotoTouchListener.java
@@ -128,7 +128,6 @@ public class PhotoTouchListener implements View.OnTouchListener {
Math.min(photoWidth * mTableRatio, photoHeight * mTableRatio) / 2f;
final View photo = target;
ViewPropertyAnimator animator = photo.animate()
- .withLayer()
.xBy(x1 - x0)
.yBy(y1 - y0)
.setDuration((int) (1000f * n / 60f))