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 17:24:09 GMT

Sponsored Links
 > Do you mean that onDraw(Canvas) will ignore the drawing call in it

That's correct.

It will be drawn.

Romain Guy
Android framework engineer

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. Bitmap.Compress.JPEG always saving with low compression level

Hi Guys,

Im trying to save a bitmap in a JPEG format, and i can see that the
image is always stored with a lower quality even if i give the
compression level as 100, however for PNG it is working fine.

SImilaarly during Media.insert() or getContentResolver().insert() the
image is stored with a lesser wuality, I can see in that the
compression level is 50 in the, however i tried to create
my own method for the same function with quality 100, but still im
facing the same problem, any help on the same?


2. How to support multiple language key character mapping

As I know, current Android framework support qwerty key layout and
character mapping.

I am going to support French and German now, suppose after changing
the locale in setting application, the character should change to
French or others. I know currently there is qwerty character mapping
support only(qwerty.kcm.bin).

Does it mean it will work if add French character mapping file under /

I don't think so since function KeyCharacterMap::load(int id) always
get parameter id=0;

If anybody can give some clues, I appreciate.

thanks in advance.

Miller Fu

3. why glReadPixels return Alpha always -1

4. ListView onListItemClick to Create a Context Menu?

5. Click on Status bar notification switch to task in current state?

6. Close Application

7. Click on Status bar notification switch to task in current state?