HomeSort by relevance Sort by last modified time
    Searched defs:lastX (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/base/libs/hwui/tests/unit/
RecordingCanvasTests.cpp 248 float lastX = FLT_MAX;
249 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) {
256 EXPECT_GT(lastX, ((const TextOp&)op).x)
258 lastX = ((const TextOp&)op).x;
    [all...]
  /frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
SpringView.java 61 float lastX = x + sectionWidth / 2;
64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint);
65 lastX = 2 * x - lastX;
68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
PercentageBarChart.java 95 final float lastX = nextX - entryWidth;
96 if (lastX < left) {
101 canvas.drawRect(lastX, top, nextX, bottom, e.paint);
102 nextX = lastX;
108 float lastX = left;
119 final float nextX = lastX + entryWidth;
121 canvas.drawRect(lastX, top, right, bottom, e.paint);
125 canvas.drawRect(lastX, top, nextX, bottom, e.paint);
126 lastX = nextX;
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint)
    [all...]
  /external/icu/icu4c/source/samples/layout/
paragraph.cpp 242 le_int32 lastX = line->getWidth();
244 x = (fWidth - lastX - MARGIN);
pflow.c 334 le_int32 lastX = pl_getLineWidth(line);
336 x = (obj->fWidth - lastX - MARGIN);
  /frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
Interaction.java 139 float lastX = xPos[xPos.length - 1];
142 MotionEvent.ACTION_UP, lastX, lastY, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShadowCardDrag.java 51 float lastX;
59 lastX = x;
70 float newMomentumX = (x - lastX) / (mDensity * deltaT);
94 lastX = x;
  /external/skia/src/core/
SkBlitter.cpp 129 int lastX = clip.fLeft; // init x to clip.fLeft
136 SkASSERT(delta.fX >= lastX); // delta must be x sorted
137 if (delta.fX > lastX) { // we have proceeded to a new x (different from lastX)
140 alphas[lastX - clip.fLeft] = alpha; // set alpha at lastX
141 runs[lastX - clip.fLeft] = delta.fX - lastX; // set the run length
142 lastX = delta.fX; // now set lastX to current
    [all...]
  /external/skqp/src/core/
SkBlitter.cpp 122 int lastX = clip.fLeft; // init x to clip.fLeft
129 SkASSERT(delta.fX >= lastX); // delta must be x sorted
130 if (delta.fX > lastX) { // we have proceeded to a new x (different from lastX)
133 alphas[lastX - clip.fLeft] = alpha; // set alpha at lastX
134 runs[lastX - clip.fLeft] = delta.fX - lastX; // set the run length
135 lastX = delta.fX; // now set lastX to current
    [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
CachedPathIteratorFactory.java 80 float lastX = 0;
86 cubicCurve.setCurve(lastX, lastY,
88 mCoordinates[i][3], lastX = mCoordinates[i][4],
94 quadCurve.setCurve(lastX, lastY, mCoordinates[i][0], mCoordinates[i][1],
95 lastX = mCoordinates[i][2], lastY = mCoordinates[i][3]);
100 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY,
101 lastX = mCoordinates[0][0],
112 lastX = mCoordinates[i][0];
116 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, mCoordinates[i][0],
118 lastX = mCoordinates[i][0]
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureStrokeRecognitionPoints.java 235 final int lastX = mXCoordinates.get(lastIndex);
237 final int dist = getDistance(lastX, lastY, x, y);
240 final int pixels = getDistance(lastX, lastY, x, y);
  /device/generic/goldfish/camera/fake-pipeline2/
Sensor.cpp 442 unsigned int lastX = 0;
447 if (x - lastX > 0) {
448 for (unsigned int k = 0; k < (x-lastX); k++) {
452 lastX = x;
480 unsigned int lastX = 0;
485 if (x - lastX > 0) {
486 for (unsigned int k = 0; k < (x-lastX); k++) {
490 lastX = x;
528 unsigned int lastX = 0;
533 if (x - lastX > 0)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSAnimator.java 163 int lastX = 0;
189 lastX = loc1[0];
194 lastXDiff = loc1[0] - lastX;
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
NinePatchTexture.java 275 float lastX = 0;
284 x[i + 1] = lastX + (div[i] - lastU) + 0.5f;
293 lastX = x[i + 1] + partX;
295 x[i + 2] = lastX - 0.5f;
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
IconNormalizer.java 241 int firstX, lastX;
244 firstX = lastX = -1;
250 lastX = x;
257 mRightBorder[y] = lastX;
267 rightX = Math.max(rightX, lastX);
  /packages/apps/Settings/src/com/android/settings/graph/
UsageGraph.java 203 int lastX = localPaths.keyAt(localPaths.size() - 1);
205 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) {
  /packages/apps/Settings/src/com/android/settings/widget/
ChartNetworkSeriesView.java 187 float lastX = 0;
189 long lastTime = mHoriz.convertToValue(lastX);
192 mPathStroke.moveTo(lastX, lastY);
193 mPathFill.moveTo(lastX, lastY);
232 lastX = endX;
239 lastX = mHoriz.convertToPoint(mEndTime);
241 mPathStroke.lineTo(lastX, lastY);
242 mPathFill.lineTo(lastX, lastY);
253 mPathFill.lineTo(lastX, height);
260 mPathEstimate.moveTo(lastX, lastY)
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
ConsoleActivity.java 116 private float lastX, lastY;
515 lastX = event.getX();
518 final int deltaX = (int) (lastX - event.getX());
534 && Math.abs(event.getX() - lastX) < MAX_CLICK_DISTANCE
    [all...]
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
ObjectTracker.java 328 float lastX = startX;
332 final float newX = lastX + delta.x;
334 canvas.drawLine(lastX, lastY, newX, newY, p);
335 lastX = newX;
  /frameworks/base/libs/hwui/
PathTessellator.cpp     [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 299 float lastX = 0, lastY = 0;
311 canvas.drawLine(lastX, lastY, x, y, mPathPaint);
313 canvas.drawPoint(lastX, lastY, paint);
316 lastX = x;
338 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
356 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
    [all...]
  /external/freetype/src/raster/
ftraster.c 501 Long lastX, lastY;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
PointerTracker.java     [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryChart.java 102 int lastBin=0, lastX=0;
109 canvas.drawRect(lastX, top, x, bottom, mPaints[lastBin]);
112 lastX = x;
609 int lastX, boolean lastCharging, boolean lastScreenOn, boolean lastGpsOn,
613 if (lastX >= 0 && lastX < w) {
769 int x = mLevelLeft, y = 0, startX = mLevelLeft, lastX = -1, lastY = -1;
800 if (lastX != x) {
    [all...]
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
SubsamplingScaleImageView.java     [all...]

Completed in 924 milliseconds

1 2