/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
OutlineWobbleEffect.java | 74 float lastX = 0, lastY = 0;
83 moveY = lastY = randomize(points[1]);
97 float dy = thisY - lastY;
103 float y = lastY + next * dy * r;
110 lastY = thisY;
|
OutlineZigzagEffect.java | 73 float lastX = 0, lastY = 0;
83 moveY = lastY = points[1];
97 float dy = thisY - lastY;
103 float y = lastY + next * dy * r;
114 lastY = thisY;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
CachedPathIteratorFactory.java | 81 float lastY = 0; 86 cubicCurve.setCurve(lastX, lastY, 89 lastY = mCoordinates[i][5]); 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, 102 lastY = mCoordinates[0][1]); 113 lastY = mCoordinates[i][1]; 116 mSegmentsLength[i] = (float) Point2D.distance(lastX, lastY, mCoordinates[i][0], 119 lastY = mCoordinates[i][1] [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
YDownTest.java | 128 float lastY;
143 lastY = y;
153 moveBy(x - lastX, y - lastY);
156 // we adjust by the same delta so next time drag is called, lastX/lastY
159 lastY = y - (y - lastY);
|
InterpolationTest.java | 157 float lastX = bottomLeftX, lastY = bottomLeftY;
162 renderer.line(lastX, lastY, x, y);
164 lastY = y;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartNetworkSeriesView.java | 188 float lastY = height; 192 mPathStroke.moveTo(lastX, lastY); 193 mPathFill.moveTo(lastX, lastY); 219 final float startY = lastY; 233 lastY = endY; 241 mPathStroke.lineTo(lastX, lastY); 242 mPathFill.lineTo(lastX, lastY); 260 mPathEstimate.moveTo(lastX, lastY); 283 lastY = mVert.convertToPoint(totalData); 285 mPathEstimate.lineTo(lastX, lastY); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShadowCardDrag.java | 52 float lastY; 60 lastY = y; 71 float newMomentumY = (y - lastY) / (mDensity * deltaT); 95 lastY = y;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BaseRecyclerViewFastScrollBar.java | 178 public void handleTouchEvent(MotionEvent ev, int downX, int downY, int lastY) { 194 isNearThumb(downX, lastY) && 201 mTouchOffset += (lastY - downY); 214 mRv.invalidate(mPopup.updateFastScrollerBounds(lastY));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeRecognitionPoints.java | 236 final int lastY = mYCoordinates.get(lastIndex); 237 final int dist = getDistance(lastX, lastY, x, y); 240 final int pixels = getDistance(lastX, lastY, x, y);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
ActualKeyboardBuilder.java | 62 int lastY = filteredSortedKeys.get(0).getY(); 64 if (lastY != key.getY()) { 66 lastY = key.getY();
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
Chart.java | 289 int lastX = -1, lastY = -1;
292 if (lastX != -1) g.drawLine(lastX, lastY, (int)pixel.x, (int)pixel.y);
294 lastY = (int)pixel.y;
296 g.drawLine(lastX, lastY, chartX + chartWidth - 1, lastY);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
PointerTracker.java | [all...] |
/external/freetype/src/raster/ |
ftraster.c | 491 Long lastX, lastY; [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/ |
ftraster.c | 493 Long lastX, lastY; [all...] |
/external/pdfium/third_party/freetype/src/raster/ |
ftraster.c | 493 Long lastX, lastY; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardAffordanceHelper.java | 216 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { 218 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); 317 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { 318 float vel = getCurrentVelocity(lastX, lastY); 483 private float getCurrentVelocity(float lastX, float lastY) { 491 float bY = lastY - mInitialTouchY;
|
ObservableScrollView.java | 148 void onOverscrolled(float lastX, float lastY, int amount);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
UsageGraph.java | 168 int lastY = mLocalPaths.valueAt(mLocalPaths.size() - 1); 169 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) {
|
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackActivity.java | 697 private int lastY; 707 if(x == lastX && y == lastY) dir = 0; 708 else if (y == 0 && lastY == 0 && x > lastX) dir = 1; 709 else if (y == 0 && lastY == 0 && x < lastX) dir = -1; 711 else if (y == 2 && lastY == 2 && x > lastX) dir = -1; 712 else if (y == 2 && lastY == 2 && x < lastX) dir = 1; 714 else if (y < lastY && x <= 4) dir = 1; 715 else if (y < lastY && x >= 5) dir = -1; 717 else if (y > lastY && x <= 4) dir = -1; 718 else if (y > lastY && x >= 5) dir = 1; [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
GestureDetector.java | 378 float lastX, lastY;
388 lastY = y;
403 deltaY = y - lastY;
405 lastY = y;
|
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 298 float lastX = 0, lastY = 0; 310 canvas.drawLine(lastX, lastY, x, y, mPathPaint); 312 canvas.drawPoint(lastX, lastY, paint); 316 lastY = y; 337 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); 355 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); [all...] |
LockPatternView.java | [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Window.java | 91 float startX, startY, lastX, lastY; 114 lastY = y - height; 159 float amountY = y - lastY - height;
|
/external/skia/src/core/ |
SkAAClip.cpp | 202 const int lastY = fBounds.height() - 1; 209 SkASSERT(yoff->fY <= lastY); 220 SkASSERT(yoff->fY == lastY); 606 const YOffset& lastY = yoff[head->fRowCount - 1]; 607 SkASSERT(lastY.fY + 1 <= fBounds.height()); 608 fBounds.fBottom = fBounds.fTop + lastY.fY + 1; 609 SkASSERT(lastY.fY + 1 == fBounds.height()); 920 int lastY SK_INIT_TO_AVOID_WARNING; 921 const uint8_t* row = this->findRow(top, &lastY); 922 if (lastY < bottom) [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryChart.java | 765 int x = mLevelLeft, y = 0, startX = mLevelLeft, lastX = -1, lastY = -1; 798 if (lastY != y) { 826 lastY = y; [all...] |