14dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar/* 24dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * Copyright (C) 2015 The Android Open Source Project 34dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * 44dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License"); 54dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * you may not use this file except in compliance with the License. 64dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * You may obtain a copy of the License at 74dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * 84dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * http://www.apache.org/licenses/LICENSE-2.0 94dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * 104dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * Unless required by applicable law or agreed to in writing, software 114dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS, 124dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * See the License for the specific language governing permissions and 144dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * limitations under the License. 154dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar */ 164dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar 174dbd11ef441f637f32edd585248da0c914622a38Yigit Boyarpackage android.support.v4.view; 184dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar 194dbd11ef441f637f32edd585248da0c914622a38Yigit Boyarimport android.view.MotionEvent; 204dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar 214dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar/** 224dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar * Motion event compatibility class for API 8+. 234dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar */ 244dbd11ef441f637f32edd585248da0c914622a38Yigit Boyarclass MotionEventCompatGingerbread { 254dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar public static int getSource(MotionEvent event) { 264dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar return event.getSource(); 274dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar } 284dbd11ef441f637f32edd585248da0c914622a38Yigit Boyar} 29