Question about android graphics.

2009-03-27 Thread waterblood
Hi All, I am tring to analyse the android graphics. After reading the source in android, I still have no idea how it works. Here I list a few questions. Any reply will be welcome. 1. what is the relationship between ViewRoot and View class. As my understanding, in each window, there is only

Re: Question about android graphics.

2009-03-27 Thread Romain Guy
1.  what is the relationship between ViewRoot and View class. The ViewRoot is the root of each view hierarchy. Like you said, there is one ViewRoot per window. The ViewRoot is responsible to handling the layout and drawing of the view hierarchy. The view hierarchy is made of Views and

Re: Why RIL uses Local socket instead of binder ipc?

2009-03-27 Thread ashutoshkagra...@gmail.com
Are there other reasons as well? My understanding of Binder service in Android is that it is a Service User and Service Provider model, that means for two way communication(specially from Service Provider to Service Users, in case of asynchronous notifications, callbacks etc, the Service User

Re: Why RIL uses Local socket instead of binder ipc?

2009-03-27 Thread Dianne Hackborn
I really don't know much about the telephony stack. I also doubt just changing the IPC mechanism is a magic solution -- very likely the RIL is designed to have one client. If you don't design for multiple clients up-front, adding support for that in the future generally involves a fair amount of

Performance Tests

2009-03-27 Thread frank
Hello, I am in the process of using some of the tests that come with android such as framebuffer and memtest. --memtest-- memtest has a parameter called resampler, but passing this parameter does not return any results. Looking at the code for memtest, there does not appear to be anything

Re: opencore build failure in oscl_file_async_read.cpp

2009-03-27 Thread igame2...@hotmail.com
A simple method: first: edit the file: external/opencore/Android.mk you will see the following statement: PV_CFLAGS := -Wno-non-virtual-dtor -DENABLE_MEMORY_PLAYBACK - D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - DUSE_CML2_CONFIG delete -DENABLE_MEMORY_PLAYBACK second: edit