Searched refs:newX (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/
H A DIWindow.aidl54 void moved(int newX, int newY);
H A DViewRootImpl.java6004 public void dispatchMoved(int newX, int newY) { argument
6005 if (DEBUG_LAYOUT) Log.v(mTag, "Window moved " + this + ": newX=" + newX + " newY=" + newY);
6007 PointF point = new PointF(newX, newY);
6009 newX = (int) (point.x + 0.5);
6012 Message msg = mHandler.obtainMessage(MSG_WINDOW_MOVED, newX, newY);
7013 public void moved(int newX, int newY) { argument
7016 viewAncestor.dispatchMoved(newX, newY);
H A DView.java11028 final int newX = Math.round((range - extent)
11030 if (newX != getScrollX()) {
11032 setScrollX(newX);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java143 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 + "}");
H A DWindowManagerService.java769 final float newX = motionEvent.getRawX();
793 + newX + "," + newY);
795 endDrag = mDragState.notifyDropLw(newX, newY);
800 mDragState.notifyMoveLw(newX, newY);
807 + newX + "," + newY);
809 endDrag = mDragState.notifyDropLw(newX, newY);
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java51 public void moved(int newX, int newY) { argument
/frameworks/native/libs/input/
H A DInput.cpp358 float newX = matrix[0] * x + matrix[1] * y + matrix[2]; local
364 *outX = newX * newZ;
395 float newX, newY; local
398 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY);
399 mXOffset = newX - rawX;
/frameworks/base/core/java/android/widget/
H A DScroller.java530 * @param newX The new X offset as an absolute distance from the origin.
534 public void setFinalX(int newX) { argument
535 mFinalX = newX;
H A DOverScroller.java259 * @param newX The new X offset as an absolute distance from the origin.
270 public void setFinalX(int newX) { argument
271 mScrollerX.setFinalPosition(newX);
H A DStackView.java721 float newX = ev.getX(pointerIndex);
723 float deltaX = newX - mInitialX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java286 final float newX = event.getX(newIndex);
288 startExpandMotion(newX, newY, true /* startTracking */, mExpandedHeight);
358 protected void startExpandMotion(float newX, float newY, boolean startTracking, argument
362 mInitialTouchX = newX;
H A DNotificationPanelView.java891 final float newX = event.getX(newIndex);
895 mInitialTouchX = newX;
/frameworks/support/v4/java/android/support/v4/widget/
H A DViewDragHelper.java518 final int newX = mScroller.getCurrX();
520 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java282 public void moved(int newX, int newY) {
283 Message msg = mCaller.obtainMessageII(MSG_WINDOW_MOVED, newX, newY);
/frameworks/native/services/inputflinger/
H A DInputReader.cpp238 float newX, newY; local
239 newX = x * x_scale + y * x_ymix + x_offset;
242 x = newX;

Completed in 1516 milliseconds