Home
last modified time | relevance | path

Searched refs:fromX (Results 1 – 12 of 12) 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(blink::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/
DFont.cpp842 FloatRect Font::pixelSnappedSelectionRect(float fromX, float toX, float y, float height) in pixelSnappedSelectionRect() argument
846 float roundedX = roundf(fromX); in pixelSnappedSelectionRect()
854 float fromX = it.m_runWidthSoFar; in selectionRectForSimpleText() local
861 float beforeWidth = fromX; in selectionRectForSimpleText()
863 fromX = totalWidth - afterWidth; in selectionRectForSimpleText()
867 return pixelSnappedSelectionRect(point.x() + fromX, point.x() + toX, in selectionRectForSimpleText()
DFont.h183 static FloatRect pixelSnappedSelectionRect(float fromX, float toX, float y, float height);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.cpp1110 float fromX = 0; in selectionRect() local
1122 fromX = m_harfBuzzRuns[i]->xPositionForOffset(from) + currentX; in selectionRect()
1141 fromX = 0; in selectionRect()
1145 if (fromX < toX) { in selectionRect()
1147 point.x() + fromX, point.x() + toX, in selectionRect()
1152 point.x() + toX, point.x() + fromX, in selectionRect()
/external/skia/experimental/webtry/res/js/cm/
Dcodemirror.js1822 var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
1828 var ch = x < fromX || x - fromX <= toX - x ? from : to;
1829 var xDiff = x - (ch == from ? fromX : toX);
1842 else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dcodemirror.js1822 var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
1828 var ch = x < fromX || x - fromX <= toX - x ? from : to;
1829 var xDiff = x - (ch == from ? fromX : toX);
1842 else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.js1875 var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;
1881 var ch = x < fromX || x - fromX <= toX - x ? from : to;
1882 var xDiff = x - (ch == from ? fromX : toX);
1895 else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}