/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/ |
AppMenuButtonHelper.java | 94 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 101 return -distanceY >= Math.abs(distanceX) && showAppMenu(true);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
SnapScrollController.java | 38 * @param distanceX X distance for the current scroll update. 41 void updateSnapScrollMode(float distanceX, float distanceY) { 43 mDistanceX += Math.abs(distanceX);
|
ContentViewGestureHandler.java | 325 float distanceX, float distanceY) { 332 distanceX * distanceX + distanceY * distanceY); 336 distanceX *= ratio; 340 mSnapScrollController.updateSnapScrollMode(distanceX, distanceY); 345 distanceX = 0; 359 // distanceX and distanceY is the scrolling offset since last onScroll. 366 int dx = (int) (distanceX + mAccumulatedScrollErrorX); 368 mAccumulatedScrollErrorX = distanceX + mAccumulatedScrollErrorX - dx; 488 float distanceX = mDoubleTapDragZoomAnchorX - e.getX() [all...] |
PopupZoomer.java | 181 float distanceX, float distanceY) { 187 scroll(distanceX, distanceY);
|
/developers/build/prebuilts/gradle/BasicGestureDetect/BasicGestureDetectSample/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 44 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
|
/developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetectSample/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 44 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
GestureListener.java | 44 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 380 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 405 mTranslation -= (int)distanceX; 406 touchSlop = distanceX < 0 ? -mTouchSlop : mTouchSlop; 408 mTranslation += (int)distanceX; 409 touchSlop = distanceX < 0 ? mTouchSlop : -mTouchSlop;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
SwapButton.java | 77 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 101 float distanceX, float distanceY) { 104 sx += distanceX; 109 sx -= distanceX;
|
/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 633 int distanceX; 635 distanceX = 0; 637 distanceX = Math.min(Math.abs(frame.left - containerCoordsX), 647 int distanceSq = distanceX * distanceX + distanceY * distanceY;
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
TrackingInputHandler.java | 323 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 334 mViewer.injectMouseWheelDeltaEvent(-(int)distanceX, -(int)distanceY); 345 float[] delta = {distanceX, distanceY};
|
/cts/tests/src/android/view/cts/ |
GestureDetectorStubActivity.java | 104 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
/packages/apps/Camera2/src/com/android/camera/ |
PreviewGestures.java | 78 public boolean onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
ScrollKeyboardView.java | 196 public boolean onScroll(final MotionEvent e1, final MotionEvent e2, final float distanceX,
|
/frameworks/base/services/java/com/android/server/display/ |
OverlayDisplayWindow.java | 351 float distanceX, float distanceY) { 352 mLiveTranslationX -= distanceX;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 458 float distanceX, float distanceY) { 459 mLiveTranslationX -= distanceX;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/third_party/ |
GestureDetector.java | 94 * @param distanceX The distance along the X axis that has been scrolled since the last 102 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); 179 float distanceX, float distanceY) {
|
/frameworks/base/core/java/android/view/ |
GestureDetector.java | 81 * @param distanceX The distance along the X axis that has been scrolled since the last 89 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); 166 float distanceX, float distanceY) {
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
KenBurnsActivity.java | 85 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 87 mImageView.postTranslateCenter(-distanceX, -distanceY);
|
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
AndroidInput.java | 550 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
552 touch.set(Type.SCROLL, e1.getX(), this.getHeight() - e1.getY(), distanceX, distanceY * (-1));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlotView.java | 672 MotionEvent e2, float distanceX, float distanceY) { 674 float distance = WIDE ? distanceX : distanceY;
|
/frameworks/base/services/java/com/android/server/accessibility/ |
ScreenMagnifier.java | 531 public boolean onScroll(MotionEvent first, MotionEvent second, float distanceX, 537 Slog.i(LOG_TAG, "Panned content by scrollX: " + distanceX 540 mMagnificationController.offsetMagnifiedRegionCenter(distanceX, distanceY); [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoritesTileAdapter.java | [all...] |
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 738 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 747 float viewportOffsetX = distanceX * mCurrentViewport.width() / mContentRect.width(); [all...] |