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

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. I wonder to make a sence of getting par t of bitmap锝

I saw the screen at function of  setting wallpaper and setting icon of

it can take part of picture and can change the size and position of
selected area

I wonder how to make the layer before picture?is there a mature
package/class to use?

or it must coding by my self?

thx every one here anyway


2. OOT::service::android::htc_ion

Slmt malam semua
Mungkin oot, maap

Ada yg tau tempat service/ganti backlite layar htc-ion?

(Semua fungsi ok,
hanya screen yg lampunya mati, gelap)

Di HTC centre jakarta, device saya tsb
SerialNumber-nya dikenali &
masih tercover warranty s/d thn depan,
tp mereka bilang hanya utk service center di US
(device memang didapat dr US)

(padahal di warrantynya tertulis 'worldwide warranty',
 aneh jg sih)

Saya tawarkan utk mengganti sendiri biaya reparasi,
tp tetap htc jakarta bilang tdk bisa dikerjakan (?)

Any info atau saran?





Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group, please visit the following page:

3. How Android Communicate with AMFPHP in AMF Format?

4. How to Use DBAdapter Class Functions inside OnclickListener - Help..


6. BitmapFactory.decodeStream sometimes returns null

7. kiosk mode for an artistic project