HomeSort by relevance Sort by last modified time
    Searched refs:touchY (Results 1 - 19 of 19) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyDetector.java 93 final int touchY = getTouchY(y);
97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) {
100 if (!key.isOnKey(touchX, touchY)) {
103 final int distance = key.squaredDistanceToEdge(touchX, touchY);
MoreKeysDetector.java 42 final int touchY = getTouchY(y);
47 final int dist = key.squaredDistanceToEdge(touchX, touchY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DismissView.java 58 public boolean isOnEmptySpace(float touchX, float touchY) {
61 || touchY < mContent.getY()
62 || touchY > mContent.getY() + mContent.getHeight();
  /external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
UtilsTest.java 147 double[] touchY = new double[touchTimes.length];
148 for (int i = 0; i < touchY.length; i++) {
150 touchY[i] = 1000*Math.cos((touchTimes[i] - latency) * Math.PI/500) + rand.nextDouble()*0.02 - 0.01;
160 assertEquals(latency, Utils.findBestShift(laserTimes, touchTimes, touchY), 1e-6);
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
Utils.java 130 private static double getShiftError(double[] laserT, double[] touchT, double[] touchY, double shift) {
135 double [] laserY = Utils.interp(T, touchT, touchY);
147 public static double findBestShift(double[] laserT, double[] touchT, double[] touchY) {
154 stddevs[i] = getShiftError(laserT, touchT, touchY, bestShift + shiftStep * i - shiftStep * steps / 2);
  /packages/apps/Launcher2/src/com/android/launcher2/
DragView.java 246 * @param touchY the y coordinate the user touched in DragLayer coordinates
248 public void show(int touchX, int touchY) {
258 setTranslationY(touchY - mRegistrationY);
282 * @param touchY the y coordinate the user touched in DragLayer coordinates
284 void move(int touchX, int touchY) {
286 setTranslationY(touchY - mRegistrationY + (int) mOffsetY);
CellLayout.java 711 public void setTagToCellInfoForPoint(int touchX, int touchY) {
715 final int y = touchY + getScrollY();
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
DragState.java 249 void broadcastDragStartedLw(final float touchX, final float touchY) {
251 mOriginalY = mCurrentY = touchY;
272 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")");
276 sendDragStartedLw(w, touchX, touchY, mDataDescription);
288 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY,
292 touchX, touchY, null, desc, null, null, false);
Session.java 317 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY,
347 // will let us eliminate the (touchX,touchY) parameters from the API.
369 mService.mDragState.broadcastDragStartedLw(touchX, touchY);
383 touchY - thumbCenterY);
393 mService.mDragState.notifyLocationLw(touchX, touchY);
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragView.java 539 * @param touchY the y coordinate the user touched in DragLayer coordinates
541 public void show(int touchX, int touchY) {
550 move(touchX, touchY);
570 * @param touchY the y coordinate the user touched in DragLayer coordinates
572 public void move(int touchX, int touchY) {
573 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0
576 mTranslateY.animateToPos(mLastTouchY - touchY);
579 mLastTouchY = touchY;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 134 const float touchY = static_cast<float>(y);
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeableListView.java 187 final int touchY = (int) ev.getY();
195 if (touchY >= slidingChild.getTop() && touchY <= slidingChild.getBottom()) {
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeWindowSession.java 139 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY,
  /frameworks/base/core/java/android/view/
IWindowSession.aidl 161 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java     [all...]
  /frameworks/base/core/java/android/inputmethodservice/
KeyboardView.java     [all...]
  /packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
KeyboardView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationStackScrollLayout.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerView.java     [all...]

Completed in 930 milliseconds