How android.view.View.invalidate(int l, int t, int r, int b) make only the dirty area redrawn?

by Romain Guy » Sat, 07 Mar 2009 12:12:48 GMT


Sponsored Links
 This just sets the clip bounds. You will receive an onDraw(Canvas)
call as usual and everything you draw outside of the clip bounds will
be ignored. You can do ahead-of-time skips if you know you are
performing intensive computations in onDraw() (which you should not be
doing anyway) but it's most often not worth it.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. ResourceBundle.Control supported?

I have code that subclasses ResourceBundle.Control which allows it to
support XML based property bundles in an external library that I'm
using. Android doesn't like it though even though ResourceBundle
itself is supported...

Unable to resolve superclass of package.util.XMLControl (366)

XMLControl above extends ResourceBundle.Control.


I would suggest that this is a bug, although not completely sure
before reporting it. Anyone?

Regards,
Eurig Jones

-- 

2. Is anyone's active install % INCREASING lately?

After all our moaning over the precipitous drop in active install %,
my has gapped upward over the past week from a low of 36% to 44% today
with the biggest gap upward happening on the heels of an update.  (In
the past, the gaps downward would also happen just after an update.)

I wonder if this market stat is finally "fixed", or at least
correcting itself over time.

Doug

-- 

3. Cryptic ANR trace file from Android Market

4. how to save the state of checked item in ListView having Checkbox

5. Fwd: [Hawkboard] Porting On Hawkboard

6. My widget causing ALSA bufffer underrun?

7. Render a number of bitmaps very quickly