Closed Bug 905376 Opened 12 years ago Closed 12 years ago

FadedTextView can be achieved using fadingEdge

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sriram, Assigned: sriram)

References

Details

Attachments

(3 files)

:sigh: As per Romain Guy, FadedTextView can be achieved using android's fadingEdgeLength.
Assignee: nobody → sriram
Attached patch PatchSplinter Review
Removed the file. Changed the XMLs. Changed the styles. (fadingEdge on pre-ICS, requiresFadingEdge on post ICS). :sigh: So much work for something already available. :(
Attachment #790446 - Flags: review?(lucasr.at.mozilla)
This is the draw call profiling with fadingEdge method. It's alarming. The list is stuttering (as its taking more than 32ms -- twice than normal -- for each frame).
Attached image Profile: FadedTextView
Here's my approach. Everything is faded as before. But the each frame is drawn within 16ms. We for the win. Let's kill this bug again. We are actually good with our FadedTextView approach. :D :D
Comment on attachment 790446 [details] [diff] [review] Patch Review of attachment 790446 [details] [diff] [review]: ----------------------------------------------------------------- Cool.
Attachment #790446 - Flags: review?(lucasr.at.mozilla) → review+
Oops. Sorry. Though this approach is simpler, we can't use this. This causes regression in scrolling. To avoid it, we need to supply a solid color -- which causes overdraw. It's better as how we have it now. Same performance as what this patch (with solid color) would give us.
Status: NEW → RESOLVED
Closed: 12 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: