Closed Bug 1183149 Opened 10 years ago Closed 10 years ago

Remove bounce animation of left and right Panel labels in about:home

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: antlam, Assigned: gioyik, Mentored)

References

Details

(Whiteboard: [good first bug][lang=java])

Attachments

(1 file, 2 obsolete files)

Chenxia, I know you'll miss this bounce animation.. but I don't think its necessary anymore if we use "scrollable tabs". It's served it's purpose now and given lots of tips to our users :)
Filing to keep track of removing this.
Flags: needinfo?(liuche)
We no longer want to animate the titles, so the animateTitles should be removed, along with the PreDrawListener. http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/home/HomePagerTabStrip.java#85
Flags: needinfo?(liuche)
Whiteboard: [good first bug][lang=java]
Mentor: liuche
No longer blocks: 1073053
Depends on: 1073053
Attached patch 1183149.patch (obsolete) — Splinter Review
Attachment #8637645 - Flags: review?(liuche)
Hi, I submitted a patch for this bug. Let me know if is good or needs changes. Thanks
Comment on attachment 8637645 [details] [diff] [review] 1183149.patch Review of attachment 8637645 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, just needs some cleanup of unused fields. Also, include r=liuche at the end of the commit message for this patch so that we can keep track of the reviewer. ::: mobile/android/base/home/HomePagerTabStrip.java @@ -90,5 @@ > - return; > - } > - > - // Set up initial values for the views that will be animated. > - ViewHelper.setTranslationX(prevTextView, -INIT_OFFSET); Take a look at the constants defined in this file - we're removing a lot of them in this patch, so you should make sure that they're removed from the declarations as well.
Attachment #8637645 - Flags: review?(liuche) → feedback+
Assignee: nobody → gioyik
Attached patch 1183149.patch (obsolete) — Splinter Review
Patch updates
Attachment #8638256 - Flags: review?(liuche)
Hi Chenxia, Thanks for the feedback. I didn't take in count constants until you mentioned them. Thank you a lot, this will help me to be more careful in future bugs. I attached another patch that should be a good on to land and fix this bug. Let me know if it needs changes or anything else to fix. Thanks
Comment on attachment 8638256 [details] [diff] [review] 1183149.patch Review of attachment 8638256 [details] [diff] [review]: ----------------------------------------------------------------- One last thing to check - since you're removing all the animations from this file, there are imports that are no longer used. Can you remove them as well?
Attachment #8638256 - Flags: review?(liuche) → feedback+
Attachment #8637645 - Attachment is obsolete: true
Attached patch 1183149.patchSplinter Review
Attachment #8638256 - Attachment is obsolete: true
Attachment #8645138 - Flags: review?(liuche)
Hi Chenxia, I attached a new patch. Hope this one is complete and correct. Let me know if you need something. Also if is necessary to run this patch on try server I could do it too, I have commit access level 1, so I can make push to try server, only need the commit message with the syntax for this. Thanks
Comment on attachment 8645138 [details] [diff] [review] 1183149.patch Review of attachment 8645138 [details] [diff] [review]: ----------------------------------------------------------------- Hmm, did you build this? I think you'll see that it doesn't compile, because you're referencing the method animateTitles, which you removed.
Attachment #8645138 - Flags: review?(liuche) → review-
We removed HomePagerTabStrip and replaced it with TabMenuStrip in bug 1185002. This removed the animation too.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: