/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYPlotZoomPan.java | 265 PointF newX = new PointF(); 267 calculatePan(oldFirstFinger, newX, true); 269 super.setDomainBoundaries(newX.x, newX.y, BoundaryMode.FIXED); 270 lastMinX = newX.x; 271 lastMaxX = newX.y; 274 calculatePan(oldFirstFinger, newX, false); 276 super.setRangeBoundaries(newX.x, newX.y, BoundaryMode.FIXED); 277 lastMinY = newX.x [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
MovementComponent.java | 45 float newX = object.getPosition().x + offsetX; 55 object.getPosition().set(newX, newY);
|
InputGameInterface.java | 132 float newX; 136 newX = mDirectionalPad.getX() + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); 141 newX = oldX + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); 145 mDirectionalPad.press(gameTime, newX, newY);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 211 float newX = (1 - r1.centerY()) * previewW; 215 RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f); 228 newX = (1 - p[j].y) * previewW; 229 canvas.drawCircle(newX, newY, dP, mPaint);
|
/frameworks/base/core/java/android/view/ |
IWindow.aidl | 54 void moved(int newX, int newY);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SmoothPagedView.java | 133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); 134 final int delta = newX - mUnboundedScrollX;
|
PagedView.java | 308 int newX = 0; 312 newX = offset - relOffset; 314 scrollTo(newX, 0); 315 mScroller.setFinalX(newX); 595 int newX = getChildOffset(newCurrentPage) - getRelativeChildOffset(newCurrentPage); 596 int delta = newX - getScrollX(); [all...] |
AppWidgetResizeFrame.java | 412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; 434 lp.x = newX; 445 PropertyValuesHolder x = PropertyValuesHolder.ofInt("x", lp.x, newX);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskPositioner.java | 143 final float newX = motionEvent.getRawX(); 149 Slog.w(TAG, "ACTION_DOWN @ {" + newX + ", " + newY + "}"); 155 Slog.w(TAG, "ACTION_MOVE @ {" + newX + ", " + newY + "}"); 158 mDragEnded = notifyMoveLocked(newX, newY); 175 Slog.w(TAG, "ACTION_UP @ {" + newX + ", " + newY + "}"); 182 Slog.w(TAG, "ACTION_CANCEL @ {" + newX + ", " + newY + "}");
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 383 int newX = 1 + RNG.nextInt(mXTileCount - 2); 385 newCoord = new Coordinate(newX, newY); 543 public Coordinate(int newX, int newY) { 544 x = newX;
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 51 public void moved(int newX, int newY) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentationImpl.java | 167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) { 196 control.setLocation(newX, newY); 201 control.setBounds(newX, newY, newWidth, newHeight);
|
/frameworks/native/libs/input/ |
Input.cpp | 358 float newX = matrix[0] * x + matrix[1] * y + matrix[2]; 364 *outX = newX * newZ; 395 float newX, newY; 398 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); 399 mXOffset = newX - rawX;
|
/external/skia/src/core/ |
SkScan_Path.cpp | 171 SkFixed newX; 178 newX = currE->fX; 183 newX = currE->fX; 190 newX = currE->fX + currE->fDX; 191 currE->fX = newX; 193 if (newX < prevX) { // ripple currE backwards until it is x-sorted 196 prevX = newX;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlotView.java | 254 int newX = mScrollX; 256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { 258 if (newX == limit) v = -v;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FolderPagedView.java | 299 int newX, newY, rank; 316 newX = position % mGridCountX; 319 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { 320 info.cellX = newX;
|
PagedView.java | 423 int newX = 0; 425 newX = getScrollForPage(mCurrentPage); 427 scrollTo(newX, 0); 428 mScroller.setFinalX(newX); [all...] |
AppWidgetResizeFrame.java | 424 int newX = mTmpPt[0] - mBackgroundPadding + mWidgetPadding.left; 446 lp.x = newX; 457 PropertyValuesHolder x = PropertyValuesHolder.ofInt("x", lp.x, newX);
|
LauncherScroller.java | 528 * @param newX The new X offset as an absolute distance from the origin. 532 public void setFinalX(int newX) { 533 mFinalX = newX;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 476 * @param newX The new X offset as an absolute distance from the origin. 480 public void setFinalX(int newX) { 481 mFinalX = newX;
|
/external/skia/include/core/ |
SkRect.h | 198 * Offset this rect such its new x() and y() will equal newX and newY. 200 void offsetTo(int32_t newX, int32_t newY) { 201 fRight += newX - fLeft; 203 fLeft = newX; 646 * Offset this rect such its new x() and y() will equal newX and newY. 648 void offsetTo(SkScalar newX, SkScalar newY) { 649 fRight += newX - fLeft; 651 fLeft = newX;
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
GridSizeMigrationTask.java | 565 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE; 573 newX = x; 581 if (newX < mTrgX && newY < mTrgY) { 583 if (newX != myX) { 584 me.cellX = newX; [all...] |
/frameworks/base/core/java/android/widget/ |
Scroller.java | 530 * @param newX The new X offset as an absolute distance from the origin. 534 public void setFinalX(int newX) { 535 mFinalX = newX;
|
/external/skia/src/gpu/text/ |
GrAtlasTextBlob.cpp | 322 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, 327 newViewMatrix.getScaleX() * (newX - currentX) + 332 newViewMatrix.getSkewY() * (newX - currentX) + 336 *transX = newX - currentX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PanelView.java | 286 final float newX = event.getX(newIndex); 288 startExpandMotion(newX, newY, true /* startTracking */, mExpandedHeight); 358 protected void startExpandMotion(float newX, float newY, boolean startTracking, 362 mInitialTouchX = newX; [all...] |