Home
last modified time | relevance | path

Searched refs:evt (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/view/
DPieMenu.java76 public boolean onTouchEvent(MotionEvent evt); in onTouchEvent() argument
368 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
369 float x = evt.getX(); in onTouchEvent()
370 float y = evt.getY(); in onTouchEvent()
371 int action = evt.getActionMasked(); in onTouchEvent()
382 handled = mPieView.onTouchEvent(evt); in onTouchEvent()
411 handled = mPieView.onTouchEvent(evt); in onTouchEvent()
429 evt.setAction(MotionEvent.ACTION_DOWN); in onTouchEvent()
431 ((ViewGroup) getParent()).dispatchTouchEvent(evt); in onTouchEvent()
DBasePieView.java133 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
134 int action = evt.getActionMasked(); in onTouchEvent()
135 int evtx = (int) evt.getX(); in onTouchEvent()
136 int evty = (int) evt.getY(); in onTouchEvent()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertFileList.java159 public void onEvent(int evt, String path) { in SdCardMonitor()
160 commonHandler(evt, path); in SdCardMonitor()
167 public void onEvent(int evt, String path) { in SdCardMonitor()
168 commonHandler(evt, path); in SdCardMonitor()
173 private void commonHandler(int evt, String path) { in commonHandler() argument
174 switch (evt) { in commonHandler()
/packages/apps/Camera/src/com/android/camera/ui/
DPieRenderer.java419 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
420 float x = evt.getX(); in onTouchEvent()
421 float y = evt.getY(); in onTouchEvent()
422 int action = evt.getActionMasked(); in onTouchEvent()
425 mDown.x = (int) evt.getX(); in onTouchEvent()
426 mDown.y = (int) evt.getY(); in onTouchEvent()
476 boolean moved = hasMoved(evt); in onTouchEvent()
DCameraSwitcher.java163 public boolean isInsidePopup(MotionEvent evt) { in isInsidePopup() argument
165 return evt.getX() >= mPopup.getLeft() in isInsidePopup()
166 && evt.getX() < mPopup.getRight() in isInsidePopup()
167 && evt.getY() >= mPopup.getTop() in isInsidePopup()
168 && evt.getY() < mPopup.getBottom(); in isInsidePopup()
DRenderOverlay.java36 public boolean onTouchEvent(MotionEvent evt); in onTouchEvent() argument
126 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
128 return mTouchTarget.onTouchEvent(evt); in onTouchEvent()
133 res |= client.onTouchEvent(evt); in onTouchEvent()
/packages/apps/Browser/src/com/android/browser/
DUrlInputView.java139 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
141 boolean res = super.onTouchEvent(evt); in onTouchEvent()
142 if ((MotionEvent.ACTION_DOWN == evt.getActionMasked()) in onTouchEvent()
322 public boolean onKeyDown(int keyCode, KeyEvent evt) { in onKeyDown() argument
327 return super.onKeyDown(keyCode, evt); in onKeyDown()
DNavigationBarBase.java217 public boolean dispatchKeyEventPreIme(KeyEvent evt) { in dispatchKeyEventPreIme() argument
218 if (evt.getKeyCode() == KeyEvent.KEYCODE_BACK) { in dispatchKeyEventPreIme()
223 return super.dispatchKeyEventPreIme(evt); in dispatchKeyEventPreIme()
DXLargeUi.java268 private boolean isTypingKey(KeyEvent evt) { in isTypingKey() argument
269 return evt.getUnicodeChar() > 0; in isTypingKey()
/packages/apps/Camera/src/com/android/camera/
DPreviewGestures.java272 private boolean isInside(MotionEvent evt, View v) { in isInside() argument
275 && evt.getX() >= mLocation[0] && evt.getX() < mLocation[0] + v.getWidth() in isInside()
276 && evt.getY() >= mLocation[1] && evt.getY() < mLocation[1] + v.getHeight()); in isInside()
/packages/apps/Gallery2/src/com/android/camera/
DPreviewGestures.java323 private boolean isInside(MotionEvent evt, View v) { in isInside() argument
334 && evt.getX() >= mLocation[0] && evt.getX() < mLocation[0] + v.getWidth() in isInside()
335 && evt.getY() >= mLocation[1] && evt.getY() < mLocation[1] + v.getHeight()); in isInside()
/packages/apps/Gallery2/src/com/android/camera/ui/
DCameraSwitcher.java212 public boolean isInsidePopup(MotionEvent evt) { in isInsidePopup() argument
220 return evt.getX() >= left && evt.getX() < right in isInsidePopup()
221 && evt.getY() >= top && evt.getY() < bottom; in isInsidePopup()
DRenderOverlay.java36 public boolean onTouchEvent(MotionEvent evt); in onTouchEvent() argument
126 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
128 return mTouchTarget.onTouchEvent(evt); in onTouchEvent()
133 res |= client.onTouchEvent(evt); in onTouchEvent()
DPieRenderer.java604 public boolean onTouchEvent(MotionEvent evt) { in onTouchEvent() argument
605 float x = evt.getX(); in onTouchEvent()
606 float y = evt.getY(); in onTouchEvent()
607 int action = evt.getActionMasked(); in onTouchEvent()
613 mDown.x = (int) evt.getX(); in onTouchEvent()
614 mDown.y = (int) evt.getY(); in onTouchEvent()
671 boolean moved = hasMoved(evt); in onTouchEvent()
/packages/apps/Mms/src/com/android/mms/model/
DVideoModel.java156 public void handleEvent(Event evt) { in handleEvent() argument
157 String evtType = evt.getType(); in handleEvent()
159 Log.v(TAG, "[VideoModel] handleEvent " + evt.getType() + " on " + this); in handleEvent()
181 mSeekTo = ((EventImpl) evt).getSeekTo(); in handleEvent()
DAudioModel.java121 public void handleEvent(Event evt) { in handleEvent() argument
122 String evtType = evt.getType(); in handleEvent()
139 mSeekTo = ((EventImpl) evt).getSeekTo(); in handleEvent()
DTextModel.java101 public void handleEvent(Event evt) { in handleEvent() argument
102 if (evt.getType().equals(SmilMediaElementImpl.SMIL_MEDIA_START_EVENT)) { in handleEvent()
DImageModel.java116 public void handleEvent(Event evt) { in handleEvent() argument
117 if (evt.getType().equals(SmilMediaElementImpl.SMIL_MEDIA_START_EVENT)) { in handleEvent()
DSlideModel.java463 public void handleEvent(Event evt) { in handleEvent() argument
464 if (evt.getType().equals(SmilParElementImpl.SMIL_SLIDE_START_EVENT)) { in handleEvent()
/packages/experimental/NotificationLog/src/com/android/notificationlog/
DNotificationLogActivity.java83 private final void bindView(View view, EventLog.Event evt) { in bindView() argument
89 Object[] data = (Object[]) evt.getData(); in bindView()
107 time.setText(new Date(evt.getTimeNanos()/1000000).toString()); in bindView()
/packages/apps/Mms/src/com/android/mms/dom/events/
DEventTargetImpl.java66 public boolean dispatchEvent(Event evt) throws EventException { in dispatchEvent() argument
68 EventImpl eventImpl = (EventImpl)evt; in dispatchEvent()
/packages/apps/Mms/src/com/android/mms/dom/
DNodeImpl.java221 public boolean dispatchEvent(Event evt) throws EventException { in dispatchEvent() argument
222 return mEventTarget.dispatchEvent(evt); in dispatchEvent()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java387 public void handleEvent(Event evt) { in handleEvent() argument
388 final Event event = evt; in handleEvent()
/packages/apps/Mms/src/org/w3c/dom/events/
DEventListener.java39 public void handleEvent(Event evt); in handleEvent() argument
DEventTarget.java99 public boolean dispatchEvent(Event evt) in dispatchEvent() argument

12