If you are talking about modifying the platform, you should be on android-porting. I also would strongly urge against just going on and hacking the platform like this, as you end up with patches you need to maintain as the base platform evolves and increasing chance of creating bugs and other issues.
As far as this request: http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_IGNORE_CHEEK_PRESSES However I would recommend against using this flag, or trying to do a similar thing with size information, as our experience is that it is really not consistent enough to base discrete operations like ignoring events. On Tue, Nov 24, 2009 at 4:56 AM, rahul <[email protected]> wrote: > Hi, > > I have a use case in which i need to provide a functionality where > applications can decide whether they want to handle the touch events > with size greater than some threshold. I found out that ViewRoot.java > is responsible for dispatching the touch events to the View.java which > will then send it to the intended view. So in handleMessage of > ViewRoot.java before calling the dispatchTouchEvent i check the size > of an event. Using this check applications will not receive the events > in case the size is greater than the threshold. > > The query which i have is that is there a way through which > applications provide an option and through View.java or ViewRoot.java > we can check if the application wants to handle large touch events or > not and send them to it. > > > > Thanks in advance > Rahul > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

