HomeSort by relevance Sort by last modified time
    Searched refs:deltaY (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/webkit/WebKit/chromium/public/
WebInputEvent.h 237 float deltaY;
250 , deltaY(0.0f)
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 538 * @param deltaY Amount to drag vertically in pixels
548 int deltaX, int deltaY) {
549 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY);
560 * @param deltaY Amount to drag vertically in pixels
570 int deltaY) {
578 int distance = (int) Math.sqrt(deltaX * deltaX + deltaY * deltaY);
580 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance);
629 int deltaY = fromY - toY;
631 int distance = (int)Math.sqrt(deltaX * deltaX + deltaY * deltaY)
    [all...]
  /frameworks/base/core/java/android/view/
GestureDetector.java 526 final int deltaY = (int) (y - mCurrentDownEvent.getY());
527 int distance = (deltaX * deltaX) + (deltaY * deltaY);
612 int deltaY = (int) firstDown.getY() - (int) secondDown.getY();
613 return (deltaX * deltaX + deltaY * deltaY < mDoubleTapSlopSquare);
  /external/webkit/WebKit/mac/WebView/
WebDynamicScrollBarsView.mm 327 float deltaY;
329 WKGetWheelEventDeltas(event, &deltaX, &deltaY, &isContinuous);
333 if (fabsf(deltaY) > fabsf(deltaX)) {
341 if ((deltaY >= 0.0 && verticalPosition == 0.0) || (deltaY <= 0.0 && verticalPosition == 1.0))
WebWindowAnimation.m 50 CGFloat deltaY = point1.y - point2.y;
51 return deltaX * deltaX + deltaY * 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);
Util.java 157 int deltaY = source.getHeight() - targetHeight;
158 if (!scaleUp && (deltaX < 0 || deltaY < 0)) {
170 int deltaYHalf = Math.max(0, deltaY / 2);
  /packages/apps/Gallery3D/src/com/cooliris/media/
ImageViewTouchBase.java 187 float deltaX = 0, deltaY = 0;
192 deltaY = (viewHeight - height) / 2 - rect.top;
194 deltaY = -rect.top;
196 deltaY = getHeight() - rect.bottom;
211 postTranslate(deltaX, deltaY);
GridInputProcessor.java 339 float deltaY = -(posY - mPrevTouchPosY);
340 if (Math.abs(deltaX) >= 10.0f || Math.abs(deltaY) >= 10.0f) {
359 camera.convertToRelativeCameraSpace(deltaX, deltaY, 0, worldPosDelta);
361 deltaY = worldPosDelta.y;
362 camera.moveBy(deltaX, (layer.getZoomValue() == 1.0f) ? 0 : deltaY, 0);
364 deltaY *= camera.mScale;
383 mTouchVelY = deltaY * timeElapsedx;
436 float deltaY = posY - mFirstTouchPosY;
437 if (deltaY != 0) {
455 float deltaY = posY - mFirstTouchPosY
    [all...]
Util.java 68 int deltaY = source.getHeight() - targetHeight;
69 if (!scaleUp && (deltaX < 0 || deltaY < 0)) {
80 int deltaYHalf = Math.max(0, deltaY / 2);
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 573 int deltaY = position - top;
575 deltaY = mTopOffset - top;
576 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) {
577 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top;
579 handle.offsetTopAndBottom(deltaY);
587 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY);
588 region.union(0, frame.bottom - deltaY, getWidth(),
589 frame.bottom - deltaY + mContent.getHeight());
    [all...]
AbsListView.java     [all...]
ScrollView.java 521 final int deltaY = (int) (mLastMotionY - y);
527 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range,
537 final int pulledToY = oldY + deltaY;
539 mEdgeGlowTop.onPull((float) deltaY / getHeight());
544 mEdgeGlowBottom.onPull((float) deltaY / getHeight());
    [all...]
  /external/webkit/WebCore/platform/
PlatformWheelEvent.h 89 float deltaY() const { return m_deltaY; }
ScrollView.cpp 662 (e.deltaY() < 0 && maxScrollDelta.height() > 0) ||
663 (e.deltaY() > 0 && scrollOffset().height() > 0)) {
666 float deltaY = e.deltaY();
669 bool negative = deltaY < 0;
670 deltaY = max(max<int>(visibleHeight() * Scrollbar::minFractionToStepWhenPaging(), visibleHeight() - Scrollbar::maxOverlapBetweenPages()), 1);
672 deltaY = -deltaY;
674 scrollBy(IntSize(-deltaX, -deltaY));
    [all...]
  /external/webkit/WebKit/mac/Plugins/Hosted/
WebKitPluginHost.defs 86 deltaY :double;
109 deltaY :double;
  /external/webkit/WebKit/android/plugins/
PluginWidgetAndroid.cpp 502 int deltaY = rectCenterY - visibleDocCenterY;
507 PLUGIN_LOG("%s call scrollBy (%d,%d)", __FUNCTION__, deltaX, deltaY);
509 core->scrollBy(deltaX, deltaY, true);
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 345 int deltaY = source.getHeight() - targetHeight;
346 if (!scaleUp && (deltaX < 0 || deltaY < 0)) {
358 int deltaYHalf = Math.max(0, deltaY / 2);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CandidateView.java 163 final int deltaY = (int) (e2.getY() - e1.getY());
164 final int distance = (deltaX * deltaX) + (deltaY * deltaY);
  /external/webkit/WebKit/mac/Plugins/
WebNetscapePluginEventHandlerCocoa.mm 119 event.data.mouse.deltaY = [nsEvent deltaY];
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 295 float deltaY = currentPointY - lstPointY;
296 float distance = (float) Math.sqrt(deltaX * deltaX + deltaY * deltaY);
300 float ny = lstPointY + ratio * deltaY;
  /external/webkit/WebCore/platform/mac/
WebCoreSystemInterface.mm 54 void (*wkGetWheelEventDeltas)(NSEvent*, float* deltaX, float* deltaY, BOOL* continuous);
  /external/webkit/WebKit/chromium/src/gtk/
WebInputEventFactory.cpp 476 result.deltaY = scrollbarPixelsPerTick;
480 result.deltaY = -scrollbarPixelsPerTick;
  /external/webkit/WebCore/rendering/
RenderLayerBacking.cpp 262 int deltaX = 0, deltaY = 0;
263 m_owningLayer->convertToLayerCoords(compAncestor, deltaX, deltaY);
264 relativeCompositingBounds.move(deltaX, deltaY);
282 // backgroundRect is relative to compAncestor, so subtract deltaX/deltaY to get back to local coords.
283 IntSize rendererOffset(parentClipRect.location().x() - deltaX, parentClipRect.location().y() - deltaY);
321 IntRect layerBounds = IntRect(deltaX, deltaY, borderBox.width(), borderBox.height());
    [all...]
  /frameworks/base/core/java/android/webkit/
WebView.java     [all...]

Completed in 557 milliseconds

1 2 3