Loading iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java +0 −12 Original line number Diff line number Diff line Loading @@ -457,9 +457,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap @Override public void run() { if (sRunningInTest) { Log.d("b/319168409", "running this: " + this); } if (mAnimInfo.applyTime(mTime, mFG)) { invalidateSelf(); } else { Loading @@ -473,9 +470,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap if (visible) { reschedule(); } else { if (sRunningInTest) { Log.d("b/319168409", "unScheduling self invisible this: " + this); } unscheduleSelf(this); } return result; Loading @@ -485,15 +479,9 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap if (!isVisible()) { return; } if (sRunningInTest) { Log.d("b/319168409", "unScheduling self this: " + this); } unscheduleSelf(this); final long upTime = SystemClock.uptimeMillis(); final long step = TICK_MS; /* tick every 200 ms */ if (sRunningInTest) { Log.d("b/319168409", "scheduling self this: " + this, new Throwable()); } scheduleSelf(this, upTime - ((upTime % step)) + step); } Loading Loading
iconloaderlib/src/com/android/launcher3/icons/ClockDrawableWrapper.java +0 −12 Original line number Diff line number Diff line Loading @@ -457,9 +457,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap @Override public void run() { if (sRunningInTest) { Log.d("b/319168409", "running this: " + this); } if (mAnimInfo.applyTime(mTime, mFG)) { invalidateSelf(); } else { Loading @@ -473,9 +470,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap if (visible) { reschedule(); } else { if (sRunningInTest) { Log.d("b/319168409", "unScheduling self invisible this: " + this); } unscheduleSelf(this); } return result; Loading @@ -485,15 +479,9 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap if (!isVisible()) { return; } if (sRunningInTest) { Log.d("b/319168409", "unScheduling self this: " + this); } unscheduleSelf(this); final long upTime = SystemClock.uptimeMillis(); final long step = TICK_MS; /* tick every 200 ms */ if (sRunningInTest) { Log.d("b/319168409", "scheduling self this: " + this, new Throwable()); } scheduleSelf(this, upTime - ((upTime % step)) + step); } Loading