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)
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)
|
5.19 KB,
patch
|
liuche
:
review-
|
Details | Diff | Splinter Review |
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 :)
Comment 2•10 years ago
|
||
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]
Updated•10 years ago
|
Mentor: liuche
Updated•10 years ago
|
| Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8637645 -
Flags: review?(liuche)
| Assignee | ||
Comment 4•10 years ago
|
||
Hi,
I submitted a patch for this bug. Let me know if is good or needs changes.
Thanks
Comment 5•10 years ago
|
||
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+
Updated•10 years ago
|
Assignee: nobody → gioyik
| Assignee | ||
Comment 7•10 years ago
|
||
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 8•10 years ago
|
||
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+
Updated•10 years ago
|
Attachment #8637645 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8638256 -
Attachment is obsolete: true
Attachment #8645138 -
Flags: review?(liuche)
| Assignee | ||
Comment 10•10 years ago
|
||
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 11•10 years ago
|
||
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-
Comment 12•10 years ago
|
||
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
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•