[android-developers] Does MotionEvent.getEdgeFlags() ever return anything other than 0 ?

2009-11-14 Thread davemac
I was expecting the getEdgeFlags() method of MotionEvent to tell me when a MotionEvent had reached the edge of something, but the value returned from getEdgeFlags() is *always* zero. Is this the expected behavior? The documentation says that the flags indicate when a touch has reached the edge of

Re: [android-developers] Does MotionEvent.getEdgeFlags() ever return anything other than 0 ?

2009-11-14 Thread Dianne Hackborn
I don't know what device you are running on, but on things like the G1 and myTouch, the touch screen isn't able to accurately detect locations at the far edges of the screen, so when you reach that area the location will be pinned to the very far edge and the flag set. Note that this is referring