/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 | 39 * @param distanceY Y distance for the current scroll update. 41 void updateSnapScrollMode(float distanceX, float distanceY) { 44 mDistanceY += Math.abs(distanceY);
|
ContentViewGestureHandler.java | 325 float distanceX, float distanceY) { 332 distanceX * distanceX + distanceY * distanceY); 337 distanceY *= ratio; 340 mSnapScrollController.updateSnapScrollMode(distanceX, distanceY); 343 distanceY = 0; 359 // distanceX and distanceY is the scrolling offset since last onScroll. 367 int dy = (int) (distanceY + mAccumulatedScrollErrorY); 369 mAccumulatedScrollErrorY = distanceY + mAccumulatedScrollErrorY - dy; 489 float distanceY = mDoubleTapDragZoomAnchorY - e.getY() [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 | 45 float distanceY) {
|
/developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetectSample/src/main/java/com/example/android/basicgesturedetect/ |
GestureListener.java | 45 float distanceY) {
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
GestureListener.java | 45 float distanceY) {
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 380 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 389 mTranslation -= (int)distanceY; 390 touchSlop = distanceY < 0 ? -mTouchSlop : mTouchSlop; 392 mTranslation += (int)distanceY; 393 touchSlop = distanceY < 0 ? mTouchSlop : -mTouchSlop;
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
TrackingInputHandler.java | 323 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 327 // direction of increasing Y coordinate (downwards) results in distanceY being 329 mTotalMotionY -= distanceY; 334 mViewer.injectMouseWheelDeltaEvent(-(int)distanceX, -(int)distanceY); 345 float[] delta = {distanceX, distanceY};
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
SwapButton.java | 77 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 640 int distanceY; 642 distanceY = 0; 644 distanceY = Math.min(Math.abs(frame.top - containerCoordsY), 647 int distanceSq = distanceX * distanceX + distanceY * 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 | 197 final float distanceY) {
|
/frameworks/base/services/java/com/android/server/display/ |
OverlayDisplayWindow.java | 351 float distanceX, float distanceY) { 353 mLiveTranslationY -= distanceY;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 458 float distanceX, float distanceY) { 460 mLiveTranslationY -= distanceY;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/third_party/ |
GestureDetector.java | 97 * @param distanceY The distance along the Y 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 | 84 * @param distanceY The distance along the Y 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);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 101 float distanceX, float 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 | 532 float distanceY) { 538 + " scrollY: " + distanceY); 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) { 748 float viewportOffsetY = -distanceY * mCurrentViewport.height() / mContentRect.height(); [all...] |