/frameworks/base/services/core/java/com/android/server/wm/ |
DragInputEventReceiver.java | 67 final float newY = motionEvent.getRawY(); 86 + newY); 93 Slog.d(TAG_WM, "Got UP on move channel; dropping at " + newX + "," + newY); 105 mDragDropController.handleMotionEvent(!mMuteInput /* keepHandling */, newX, newY);
|
TaskPositioner.java | 147 final float newY = motionEvent.getRawY(); 152 Slog.w(TAG, "ACTION_DOWN @ {" + newX + ", " + newY + "}"); 158 Slog.w(TAG, "ACTION_MOVE @ {" + newX + ", " + newY + "}"); 161 mDragEnded = notifyMoveLocked(newX, newY); 178 Slog.w(TAG, "ACTION_UP @ {" + newX + ", " + newY + "}"); 185 Slog.w(TAG, "ACTION_CANCEL @ {" + newX + ", " + newY + "}");
|
DragDropController.java | 277 * @param newY Y coordinate value in dp in the screen coordinate 279 void handleMotionEvent(boolean keepHandling, float newX, float newY) { 289 mDragState.notifyMoveLocked(newX, newY); 291 mDragState.notifyDropLocked(newX, newY);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
MoveScreensaverRunnable.java | 109 final float newY = getRandomPoint(smallestDim - mSaverView.getHeight()); 112 mSaverView.setY(newY); 120 final float newY = getRandomPoint(mContentView.getHeight() - mSaverView.getHeight()); 139 mSaverView.setY(newY);
|
/external/replicaisland/src/com/replica/replicaisland/ |
MovementComponent.java | 51 float newY = object.getPosition().y + offsetY; 55 object.getPosition().set(newX, newY);
|
InputGameInterface.java | 133 float newY; 137 newY = mDirectionalPad.getY() + (trackball.getY() * ROLL_FILTER * mMovementSensitivity); 142 newY = oldY + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); 145 mDirectionalPad.press(gameTime, newX, newY);
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/ |
VerticalViewPager.java | 51 float newY = (ev.getX() / width) * height; 52 ev.setLocation(newX, newY);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeScrollTest.java | 52 final View.OnScrollChangeListener listener = (v, newX, newY, oldX, oldY) -> { 53 if (newX != 0 && newY != 0) {
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 210 float newY = r1.centerX() * previewH; 215 RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f); 227 newY = p[j].x * previewH; 229 canvas.drawCircle(newX, newY, dP, mPaint);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
TilingFunctions.h | 422 uint32_t newX, newY, newSampleX, newSampleY; 427 newY = y; 436 newY = y; 448 newY = pdep_u32(y, mask); 461 newY = pdep_u32(y, yMask); 473 newY = pdep_u32(y, mask); 480 newX = newY = 0; 485 y = newY | (newSampleY << 1);
|
/frameworks/base/core/java/android/view/ |
IWindow.aidl | 56 void moved(int newX, int newY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipAccessibilityInteractionConnection.java | 95 int newY = arguments.getInt( 99 mTmpBounds.offsetTo(newX, newY);
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 384 int newY = 1 + RNG.nextInt(mYTileCount - 2); 385 newCoord = new Coordinate(newX, newY); 543 public Coordinate(int newX, int newY) { 545 y = newY;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TestIWindow.java | 48 public void moved(int newX, int newY) throws RemoteException {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop; 418 if (newY < 0) { 420 mTopTouchRegionAdjustment = -newY; 424 if (newY + newHeight > mDragLayer.getHeight()) { 426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 435 lp.y = newY; 446 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetResizeFrame.java | 407 int newY = sTmpRect.top; 412 if (newY < 0) { 414 mTopTouchRegionAdjustment = -newY; 418 if (newY + newHeight > mDragLayer.getHeight()) { 420 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 430 lp.y = newY; 440 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY);
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 56 public void moved(int newX, int newY) {
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
FlingUpDownTouchHandler.java | 262 float newY = event.getY(newIndex); 264 startMotion(newY, true, currentProgress); 456 private void startMotion(float newY, boolean startTracking, float startProgress) { 457 initialTouchY = newY;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
GestureBot.java | 72 int newY = startCoord.centerY() + (int) (diffY / TRAVELING_STEPS * i); 73 points[i + LONGPRESS_STEPS] = new Point(newX, newY);
|
/frameworks/native/libs/input/ |
Input.cpp | 359 float newY = matrix[3] * x + matrix[4] * y + matrix[5]; 365 *outY = newY * newZ; 395 float newX, newY; 398 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); 400 mYOffset = newY - rawY;
|
/external/skia/src/gpu/text/ |
GrAtlasTextBlob.cpp | 285 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, 291 newViewMatrix.getSkewX() * (newY - currentY) - 296 newViewMatrix.getScaleY() * (newY - currentY) - 300 *transY = newY - currentY;
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderPagedView.java | 321 int newX, newY, rank; 341 newY = position / mGridCountX; 343 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { 345 info.cellY = newY;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 489 * @param newY The new Y offset as an absolute distance from the origin. 493 public void setFinalY(int newY) { 494 mFinalY = newY;
|
/external/skia/include/core/ |
SkRect.h | 403 /** Offsets SkIRect so that fLeft equals newX, and fTop equals newY. width and height 407 @param newY stored in fTop, preserving height() 409 void offsetTo(int32_t newX, int32_t newY) { 411 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); 413 fTop = newY; [all...] |
/external/skqp/include/core/ |
SkRect.h | 390 /** Offsets SkIRect so that fLeft equals newX, and fTop equals newY. width and height 394 @param newY stored in fTop, preserving height() 396 void offsetTo(int32_t newX, int32_t newY) { 398 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); 400 fTop = newY; [all...] |