Android Open Source - Planets-App Eclair Motion Event

From Project

Back to project page Planets-App.


The source code is released under:

Apache License

If you think the Android project Planets-App listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.andrewq.planets;
// ww w.j  a  v a  2  s  .co  m
 * Created by Andrew Quebe on 4/13/14.

import android.view.MotionEvent;

public class EclairMotionEvent extends WrapMotionEvent {

    protected EclairMotionEvent(MotionEvent event) {

    public float getX(int pointerIndex) {
        return event.getX(pointerIndex);

    public float getY(int pointerIndex) {
        return event.getY(pointerIndex);

    public int getPointerCount() {
        return event.getPointerCount();

    public int getPointerId(int pointerIndex) {
        return event.getPointerId(pointerIndex);

Java Source Code List