Thursday, March 15, 2012

Re: [android-developers] Action mask

Quoting from http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html:

"The ACTION_POINTER_DOWN and ACTION_POINTER_UP events encode extra
information in the action value. ANDing it with
MotionEvent.ACTION_MASK gives us the action constant while ANDing it
with ACTION_POINTER_INDEX_MASK gives us the index of the pointer that
went up or down."

On Thu, Mar 15, 2012 at 3:04 AM, shihab shiha
<shihabkp.android@gmail.com> wrote:
> Hi all,
>
> Any Body can give the usage of ACTION_MASK
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment