Loading src/com/android/launcher3/BubbleTextView.java +1 −2 Original line number Diff line number Diff line Loading @@ -480,8 +480,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, */ public ObjectAnimator createTextAlphaAnimator(boolean fadeIn) { float toAlpha = shouldTextBeVisible() && fadeIn ? 1 : 0; float fromAlpha = toAlpha == 1 ? 0 : 1f; return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, fromAlpha, toAlpha); return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, toAlpha); } @Override Loading src/com/android/launcher3/views/FloatingIconView.java +2 −6 Original line number Diff line number Diff line Loading @@ -421,12 +421,6 @@ public class FloatingIconView extends View implements Animator.AnimatorListener, @Override public void onAnimationStart(Animator animation) { originalView.setVisibility(VISIBLE); if (originalView instanceof FolderIcon) { FolderIcon folderIcon = (FolderIcon) originalView; folderIcon.setBackgroundVisible(false); folderIcon.getFolderName().setTextVisibility(false); } } @Override Loading @@ -441,6 +435,8 @@ public class FloatingIconView extends View implements Animator.AnimatorListener, if (originalView instanceof FolderIcon) { FolderIcon folderIcon = (FolderIcon) originalView; folderIcon.setBackgroundVisible(false); folderIcon.getFolderName().setTextVisibility(false); fade.play(folderIcon.getFolderName().createTextAlphaAnimator(true)); fade.addListener(new AnimatorListenerAdapter() { @Override Loading Loading
src/com/android/launcher3/BubbleTextView.java +1 −2 Original line number Diff line number Diff line Loading @@ -480,8 +480,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, */ public ObjectAnimator createTextAlphaAnimator(boolean fadeIn) { float toAlpha = shouldTextBeVisible() && fadeIn ? 1 : 0; float fromAlpha = toAlpha == 1 ? 0 : 1f; return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, fromAlpha, toAlpha); return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, toAlpha); } @Override Loading
src/com/android/launcher3/views/FloatingIconView.java +2 −6 Original line number Diff line number Diff line Loading @@ -421,12 +421,6 @@ public class FloatingIconView extends View implements Animator.AnimatorListener, @Override public void onAnimationStart(Animator animation) { originalView.setVisibility(VISIBLE); if (originalView instanceof FolderIcon) { FolderIcon folderIcon = (FolderIcon) originalView; folderIcon.setBackgroundVisible(false); folderIcon.getFolderName().setTextVisibility(false); } } @Override Loading @@ -441,6 +435,8 @@ public class FloatingIconView extends View implements Animator.AnimatorListener, if (originalView instanceof FolderIcon) { FolderIcon folderIcon = (FolderIcon) originalView; folderIcon.setBackgroundVisible(false); folderIcon.getFolderName().setTextVisibility(false); fade.play(folderIcon.getFolderName().createTextAlphaAnimator(true)); fade.addListener(new AnimatorListenerAdapter() { @Override Loading