Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field deprecated #74

Open
GoogleCodeExporter opened this issue Mar 28, 2016 · 2 comments
Open

Field deprecated #74

GoogleCodeExporter opened this issue Mar 28, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

In MultiTouchHandler class
int pointerIndex=(event.getAction() & 
MotionEvent.ACTION_POINTER_ID_MASK)>>MotionEvent.ACTION_POINTER_ID_SHIFT;

ACTION_POINTER_ID_MASK & ACTION_POINTER_ID_SHIFT
it says both of these are deprecated. Why?


What version of the product are you using? On what operating system?
Build: v22.0.1-685705 (ADT version)
compiler API 16: 4.1(jellybean)
OS: windows XP SP3

Please provide any additional information below.

ACTION_POINTER_ID_MASK & ACTION_POINTER_ID_SHIFT part stroked out.
It says deprecated.
Can Anybody help me out with the issue? 

Original issue reported on code.google.com by royatwor...@gmail.com on 22 Jun 2013 at 12:24

@GoogleCodeExporter
Copy link
Author

Use instead:
ACTION_POINTER_INDEX_MASK
ACTION_POINTER_INDEX_SHIFT

Original comment by carlosma...@gmail.com on 16 Jul 2013 at 9:07

@GoogleCodeExporter
Copy link
Author

Change "ID" to "INDEX".

Original comment by runnings...@gmail.com on 5 Nov 2014 at 5:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant