Home
last modified time | relevance | path

Searched refs:fromX (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DAwTestTouchUtils.java34 private static void dragTo(View view, float fromX, float toX, float fromY, in dragTo() argument
36 float x = fromX; in dragTo()
39 float xStep = (toX - fromX) / stepCount; in dragTo()
64 public static void dragCompleteView(final View view, final int fromX, final int toX, in dragCompleteView() argument
70 long downTime = dragStart(view, fromX, fromY); in dragCompleteView()
71 dragTo(view, fromX, toX, fromY, toY, stepCount, downTime); in dragCompleteView()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DTestTouchUtils.java151 public static void dragTo(Instrumentation instrumentation, float fromX, float toX, float fromY, in dragTo() argument
153 float x = fromX; in dragTo()
156 float xStep = (toX - fromX) / stepCount; in dragTo()
190 int fromX, int toX, int fromY, int toY, int stepCount) { in dragCompleteView() argument
191 int fromLocation[] = getAbsoluteLocationFromRelative(view, fromX, fromY); in dragCompleteView()
DTouchCommon.java53 public void dragTo(float fromX, float toX, float fromY, in dragTo() argument
55 float x = fromX; in dragTo()
58 float xStep = (toX - fromX) / stepCount; in dragTo()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DScaleTransformOperation.cpp40 double fromX = fromOp ? fromOp->m_x : 1.0; in blend() local
43 return ScaleTransformOperation::create(WebCore::blend(fromX, m_x, progress), in blend()
DTranslateTransformOperation.cpp37 Length fromX = fromOp ? fromOp->m_x : zeroLength; in blend() local
40 …return TranslateTransformOperation::create(m_x.blend(fromX, progress, ValueRangeAll), m_y.blend(fr… in blend()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathBlender.cpp133 float fromX = 0; in blendLineToHorizontalSegment() local
135 if ((m_fromSource->hasMoreData() && !m_fromSource->parseLineToHorizontalSegment(fromX)) in blendLineToHorizontalSegment()
139 …m_consumer->lineToHorizontal(blendAnimatedDimensonalFloat(fromX, toX, BlendHorizontal), m_isInFirs… in blendLineToHorizontalSegment()
140 …_fromCurrentPoint.setX(m_fromMode == AbsoluteCoordinates ? fromX : m_fromCurrentPoint.x() + fromX); in blendLineToHorizontalSegment()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.cpp854 float fromX = 0; in selectionRect() local
866 fromX = m_harfBuzzRuns[i]->xPositionForOffset(from) + currentX; in selectionRect()
885 fromX = 0; in selectionRect()
890 if (fromX < toX) in selectionRect()
891 return FloatRect(floorf(point.x() + fromX), point.y(), roundf(toX - fromX), height); in selectionRect()
892 return FloatRect(floorf(point.x() + toX), point.y(), roundf(fromX - toX), height); in selectionRect()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.js1276 var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
1282 var ch = x < fromX || x - fromX <= toX - x ? from : to;
1283 var xDiff = x - (ch == from ? fromX : toX);
1296 else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}