/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DelegateViewHelper.java | 100 float deltaY = sourceY - delegateY; 101 event.offsetLocation(deltaX, deltaY); 103 event.offsetLocation(-deltaX, -deltaY);
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 539 * @param deltaY Amount to drag vertically in pixels 549 int deltaX, int deltaY) { 550 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY); 561 * @param deltaY Amount to drag vertically in pixels 571 int deltaY) { 579 int distance = (int) Math.sqrt(deltaX * deltaX + deltaY * deltaY); 581 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); 630 int deltaY = fromY - toY; 632 int distance = (int)Math.sqrt(deltaX * deltaX + deltaY * deltaY) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PreviewGestures.java | 85 int deltaY = (int) (e1.getY() - e2.getY()); 86 if (deltaY > 2 * deltaX && deltaY > -2 * deltaX) {
|
/external/chromium_org/content/browser/renderer_host/input/ |
web_input_event_builders_android.cc | 97 result.deltaY = scrollbar_pixels_per_tick; 101 result.deltaY = -scrollbar_pixels_per_tick;
|
/external/replicaisland/src/com/replica/replicaisland/ |
CollisionSystem.java | 279 final int deltaX, final int deltaY, 292 } else if (deltaY != 0) { 293 distance = Math.abs(deltaY) + 1; 294 yIncrement = Utils.sign(deltaY); 346 final int deltaY = endTileY - startTileY; 350 if (deltaX == 0 || deltaY == 0) { 352 endTileX, endTileY, deltaX, deltaY, hitPoint, hitNormal, visitor); 356 final int yIncrement = deltaY != 0 ? Utils.sign(deltaY) : 0; 361 final int verticalDelta = (endTileY > 0 && endTileY < worldHeight - 1) ? Math.abs(deltaY) + 1 : Math.abs(deltaY) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/ |
CustomFilterRenderer.cpp | 53 float deltaY = top - bottom; 54 if (!deltaX || !deltaY) 58 matrix.setM22(2.0f / deltaY); 59 matrix.setM42(-(top + bottom) / deltaY);
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls.js | 139 var deltaY = alive ? velocityY*timeStep+gravity*timeStep*timeStep/2 : 0; 143 while ((y + deltaY) > (1 - borderY) && alive) { 160 deltaY = 0; 162 deltaY = velocityY*remainingTime+gravity*remainingTime*remainingTime/2; 167 y += deltaY;
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 202 float deltaX = 0, deltaY = 0; 207 deltaY = (viewHeight - height) / 2 - rect.top; 209 deltaY = -rect.top; 211 deltaY = getHeight() - rect.bottom; 226 postTranslate(deltaX, deltaY);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 490 float deltaX = 0, deltaY = 0; 495 deltaY = (viewHeight - height) / 2 - rect.top; 497 deltaY = -rect.top; 499 deltaY = getHeight() - rect.bottom; 514 mSuppMatrix.postTranslate(deltaX, deltaY);
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 579 int deltaY = position - top; 581 deltaY = mTopOffset - top; 582 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { 583 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; 585 handle.offsetTopAndBottom(deltaY); 593 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); 594 region.union(0, frame.bottom - deltaY, getWidth(), 595 frame.bottom - deltaY + mContent.getHeight()); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 176 public void updateDeltas(int deltaX, int deltaY) { 186 mDeltaY = Math.max(-mBaselineY, deltaY); 189 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); 194 public void visualizeResizeForDelta(int deltaX, int deltaY) { 195 visualizeResizeForDelta(deltaX, deltaY, false); 201 private void visualizeResizeForDelta(int deltaX, int deltaY, boolean onDismiss) { 202 updateDeltas(deltaX, deltaY); 231 int deltaY = mDeltaY + mDeltaYAddOn; 234 float vSpanIncF = 1.0f * deltaY / yThreshold - mRunningVInc;
|
DragView.java | 91 final int deltaY = (int) ((value * offsetY) - mOffsetY); 94 mOffsetY += deltaY; 105 setTranslationY(getTranslationY() + deltaY);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetResizeFrame.java | 175 public void updateDeltas(int deltaX, int deltaY) { 185 mDeltaY = Math.max(-mBaselineY, deltaY); 188 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); 193 public void visualizeResizeForDelta(int deltaX, int deltaY) { 194 visualizeResizeForDelta(deltaX, deltaY, false); 200 private void visualizeResizeForDelta(int deltaX, int deltaY, boolean onDismiss) { 201 updateDeltas(deltaX, deltaY); 230 int deltaY = mDeltaY + mDeltaYAddOn; 233 float vSpanIncF = 1.0f * deltaY / yThreshold - mRunningVInc;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/third_party/ |
GestureDetector.java | 579 final int deltaY = (int) (focusY - mDownFocusY); 580 int distance = (deltaX * deltaX) + (deltaY * deltaY); 692 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); 693 return (deltaX * deltaX + deltaY * deltaY < mDoubleTapSlopSquare);
|
/frameworks/base/core/java/android/view/ |
GestureDetector.java | 564 final int deltaY = (int) (focusY - mDownFocusY); 565 int distance = (deltaX * deltaX) + (deltaY * deltaY); 682 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); 683 return (deltaX * deltaX + deltaY * deltaY < mDoubleTapSlopSquare);
|
/frameworks/support/v4/java/android/support/v4/view/ |
GestureDetectorCompat.java | 333 final int deltaY = (int) (focusY - mDownFocusY); 334 int distance = (deltaX * deltaX) + (deltaY * deltaY); 448 int deltaY = (int) firstDown.getY() - (int) secondDown.getY(); 449 return (deltaX * deltaX + deltaY * deltaY < mDoubleTapSlopSquare);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SwipeHelper.java | 237 float deltaY = Math.abs(currY - mInitialTouchPosY); 239 if (deltaY > SWIPE_SCROLL_SLOP && deltaY > (FACTOR * deltaX)) { 361 float deltaY = Math.abs(ev.getY() - mInitialTouchPosY); 365 if (!mDragging && deltaY > MIN_VERT && (Math.abs(deltaX)) < MIN_LOCK 366 && deltaY > (FACTOR * Math.abs(deltaX))) {
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
OverScrollGlow.java | 133 * @param deltaY 135 public void setOverScrollDeltas(int deltaX, int deltaY) { 137 mOverScrollDeltaY += deltaY;
|
/external/chromium_org/content/browser/renderer_host/ |
web_input_event_aurax11.cc | 152 webkit_event.deltaY = event->y_offset(); 153 webkit_event.wheelTicksY = webkit_event.deltaY / kPixelsPerTick;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
WheelEvent.cpp | 125 if (!(event.deltaX() || event.deltaY())) 128 setEvent(WheelEvent::create(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()),
|
/external/chromium_org/third_party/WebKit/Source/web/android/ |
WebInputEventFactory.cpp | 129 result.deltaY = scrollbarPixelsPerTick; 133 result.deltaY = -scrollbarPixelsPerTick;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
loupe.js | 64 var deltaY = Math.floor(event.offsetY/LOUPE_MAGNIFICATION_FACTOR); 67 this._currentCornerX + deltaX, this._currentCornerY + deltaY);
|
/frameworks/base/services/input/ |
PointerController.h | 54 virtual void move(float deltaX, float deltaY) = 0; 160 virtual void move(float deltaX, float deltaY);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
ScrollKeyboardView.java | 102 final int deltaY = scrollTo - currentTop; 103 mScroller.startScroll(0, currentTop, 0, deltaY, 300);
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebInputEvent.h | 365 float deltaY; 383 , deltaY(0.0f) 435 float deltaY;
|