On Tuesday, May 14, 2013 1:09:37 AM UTC-7, Piren wrote:
>
> onScroll is called very frequently, much much more frequent than binding 
> calls... 
>
does the loading mechanism knows how to deal with that?
>

Yes. The offscreen bitmap is moved while scroll is in progress. Only after 
finger is lifted is the redraw of the offscreen bitmap started, if the 
screen has moved enough.  
 

> how frequent are the IO calls? 
>

There might be a retrieval of 25 or so small files after the scroll, or the 
same number of database binary reads.  Enough to cover the screen. 

That may not be as precise as you want. 

Making too much I/O is never a good thing
>
 How much is too much?

(including accessing the flash drive...
>
 What drive isn't flash? I'm assuming that app internal storage (I don't 
use), external storage, and removable external storage are all flash.

 these are system blocking)
>

This could be a clue. What do you mean by system blocking? Does this mean 
that all threads in all JVM's come to a halt while reading a block from 
storage? Or just that if multiple threads are trying to read from the 
storage, only one gets through at once?

Certainly there could be some correlation between "system blocking" and 
complete freeze of the system, particularly if the Droid Razr HD does 
something special with File I/O. 

Based on some logs I have gotten, normal java.io.File operations appear to 
be routed through the media provider on the Droid Razr HD, which I do not 
call explicitly.  

Nathan 

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to