/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlBarContainer.java | 25 import android.view.MotionEvent; 84 public boolean dispatchTouchEvent(MotionEvent event) {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 30 import android.view.MotionEvent; 195 public void constructEventMessage(ByteBuffer bb, MotionEvent event, int ptr_index) {
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 31 import android.view.MotionEvent; 142 public boolean dispatchTouchEvent(MotionEvent event) { 147 public boolean onTouchEvent(MotionEvent event) { 167 public void onLongPress(MotionEvent event) {
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 31 import android.view.MotionEvent; 142 public boolean dispatchTouchEvent(MotionEvent event) { 147 public boolean onTouchEvent(MotionEvent event) { 167 public void onLongPress(MotionEvent event) {
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
AttractionsActivity.java | 31 import android.view.MotionEvent; 142 public boolean dispatchTouchEvent(MotionEvent event) { 147 public boolean onTouchEvent(MotionEvent event) { 167 public void onLongPress(MotionEvent event) {
|
/frameworks/base/core/java/android/view/ |
InputFilter.java | 27 import android.view.MotionEvent; 61 * {@link MotionEvent#ACTION_DOWN} or {@link MotionEvent#ACTION_POINTER_DOWN} and then 62 * individually go up with {@link MotionEvent#ACTION_POINTER_UP} or {@link MotionEvent#ACTION_UP} 66 * use {@link KeyEvent#FLAG_CANCELED} or {@link MotionEvent#ACTION_CANCEL} accordingly.
|
ViewGroup.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 43 import android.view.MotionEvent; 571 protected boolean dispatchHoverEvent(MotionEvent event) { 845 public boolean onHoverEvent(MotionEvent event) { 849 case MotionEvent.ACTION_HOVER_ENTER: 850 event.setAction(MotionEvent.ACTION_DOWN); 852 case MotionEvent.ACTION_HOVER_MOVE: 853 event.setAction(MotionEvent.ACTION_MOVE); 855 case MotionEvent.ACTION_HOVER_EXIT: 856 event.setAction(MotionEvent.ACTION_UP); 866 public boolean onTouchEvent(MotionEvent event) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
KeyUtils.java | 26 import android.view.MotionEvent;
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
TestFramerateView.java | 25 import android.view.MotionEvent;
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
CameraView.java | 30 import android.view.MotionEvent; 125 public boolean onTouch(View v, MotionEvent event) { 202 public boolean touchScreen(MotionEvent event) { 203 if (event.getAction() == MotionEvent.ACTION_DOWN) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewOverlay.java | 28 import android.view.MotionEvent; 44 * {@link #onTouchEvent(android.view.MotionEvent)}. 107 public void onPreviewTouched(MotionEvent ev); 177 public boolean onTouchEvent(MotionEvent m) { 258 public boolean onTouchEvent(MotionEvent ev) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoCarousel.java | 26 import android.view.MotionEvent; 114 public boolean onFling(MotionEvent e1, MotionEvent e2, float vX, float vY) { 295 public boolean onTouchEvent(MotionEvent event) {
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
Screensaver.java | 36 import android.view.MotionEvent;
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
GameView.java | 36 import android.view.MotionEvent; 156 public boolean onGenericMotionEvent(MotionEvent event) { 165 && event.getAction() == MotionEvent.ACTION_MOVE) { 465 private static float getCenteredAxis(MotionEvent event, InputDevice device, 819 private void processJoystickInput(MotionEvent event, int historyPos) { 830 float x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_X, historyPos); 832 x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_X, historyPos); 835 x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Z, historyPos); 838 float y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Y, historyPos); 840 y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_Y, historyPos) [all...] |
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 26 import android.view.MotionEvent; 136 public void onTouchEvent(MotionEvent event) { 137 if (event.getAction() == MotionEvent.ACTION_MOVE) {
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 26 import android.view.MotionEvent; 200 public void onTouchEvent(MotionEvent event) { 201 if (event.getAction() == MotionEvent.ACTION_MOVE) {
|
/development/samples/SipDemo/src/com/example/android/sip/ |
WalkieTalkieActivity.java | 264 public boolean onTouch(View v, MotionEvent event) { 267 } else if (event.getAction() == MotionEvent.ACTION_DOWN && call != null && call.isMuted()) { 269 } else if (event.getAction() == MotionEvent.ACTION_UP && !call.isMuted()) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 35 import android.view.MotionEvent; 234 MotionEvent motionEvent = (MotionEvent)event; 235 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) { 236 mInputMethodSession.dispatchTrackballEvent(seq, motionEvent, this); 238 mInputMethodSession.dispatchGenericMotionEvent(seq, motionEvent, this);
|
/frameworks/base/core/java/android/widget/ |
Gallery.java | 32 import android.view.MotionEvent; 966 public boolean onTouchEvent(MotionEvent event) { 972 if (action == MotionEvent.ACTION_UP) { 975 } else if (action == MotionEvent.ACTION_CANCEL) { 983 public boolean onSingleTapUp(MotionEvent e) { 1003 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { [all...] |
Switch.java | 46 import android.view.MotionEvent; 918 public boolean onTouchEvent(MotionEvent ev) { 922 case MotionEvent.ACTION_DOWN: { 933 case MotionEvent.ACTION_MOVE: { [all...] |
/frameworks/base/core/jni/ |
android_view_InputQueue.cpp | 171 MotionEvent* InputQueue::createMotionEvent() { 240 MotionEvent* originalEvent = android_view_MotionEvent_getNativePtr(env, eventObj); 242 jniThrowRuntimeException(env, "Could not obtain MotionEvent pointer."); 245 MotionEvent* event = queue->createMotionEvent(); 256 { "nativeSendMotionEvent", "(JLandroid/view/MotionEvent;)J", (void*) nativeSendMotionEvent },
|
android_view_VelocityTracker.cpp | 51 void addMovement(const MotionEvent* event); 77 void VelocityTrackerState::addMovement(const MotionEvent* event) { 163 const MotionEvent* event = android_view_MotionEvent_getNativePtr(env, eventObj); 165 ALOGW("nativeAddMovement failed because MotionEvent was finalized."); 230 "(JLandroid/view/MotionEvent;)V",
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPinBasedInputView.java | 23 import android.view.MotionEvent; 241 public boolean onTouch(View v, MotionEvent event) { 242 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) {
|
NumPadKey.java | 26 import android.view.MotionEvent; 129 public boolean onTouchEvent(MotionEvent event) { 130 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) {
|