/packages/apps/Camera/src/com/android/camera/ |
D | PreviewGestures.java | 203 (int) mDown.getY() - mOverlay.getWindowPositionY()); in dispatchTouch() 210 || Math.abs(m.getY() - mDown.getY()) > mSlop) { in dispatchTouch() 250 dy = Math.abs(m.getY() - mDown.getY()); in isSwipe() 253 dx = - (m.getY() - mDown.getY()); in isSwipe() 258 dy = Math.abs(m.getY() - mDown.getY()); in isSwipe() 261 dx = m.getY() - mDown.getY(); in isSwipe() 276 && evt.getY() >= mLocation[1] && evt.getY() < mLocation[1] + v.getHeight()); in isInside()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 309 contactImagesY = getY(contactImagesView); in ConversationItemViewCoordinates() 319 starY = getY(star); in ConversationItemViewCoordinates() 325 sendersY = getY(senders) + sendersTopAdjust; in ConversationItemViewCoordinates() 334 subjectY = getY(subject) + subjectTopAdjust; in ConversationItemViewCoordinates() 342 snippetY = getY(snippet) + snippetTopAdjust; in ConversationItemViewCoordinates() 350 foldersY = getY(folders); in ConversationItemViewCoordinates() 364 colorBlockY = getY(colorBlock); in ConversationItemViewCoordinates() 373 replyStateY = getY(replyState); in ConversationItemViewCoordinates() 380 personalIndicatorY = getY(personalIndicator); in ConversationItemViewCoordinates() 388 infoIconY = getY(infoIcon); in ConversationItemViewCoordinates() [all …]
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | ScrollerView.java | 533 .getY(pointerIndex); in onInterceptTouchEvent() 545 final float ocoord = mHorizontal ? ev.getY(pointerIndex) : ev in onInterceptTouchEvent() 558 final float y = mHorizontal ? ev.getX() : ev.getY(); in onInterceptTouchEvent() 560 mDownCoords.y = ev.getY(); in onInterceptTouchEvent() 561 if (!inChild((int) ev.getX(), (int) ev.getY())) { in onInterceptTouchEvent() 587 final float ocoord = mHorizontal ? ev.getY() : ev.getX(); in onInterceptTouchEvent() 589 mDownView = findViewAt((int) ev.getX(), (int) ev.getY()); in onInterceptTouchEvent() 643 mLastMotionY = mHorizontal ? ev.getX() : ev.getY(); in onTouchEvent() 652 final float y = ev.getY(activePointerIndex); in onTouchEvent() 662 : ev.getY(activePointerIndex); in onTouchEvent() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FilmstripGestureRecognizer.java | 65 mListener.onUp(event.getX(), event.getY()); in onTouchEvent() 91 mListener.onLongPress(e.getX(), e.getY()); in onLongPress() 97 return mListener.onScroll(e2.getX(), e2.getY(), dx, dy); in onScroll() 108 mListener.onDown(e.getX(), e.getY()); in onDown() 121 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapConfirmed() 126 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap()
|
D | ModeListView.java | 356 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent() 463 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in onTouchEvent() 601 mChildViewTouched = mModeSelectorItems[getFocusItem(ev.getX(), ev.getY())]; in shouldHandleTouchEvent() 619 mFocusItem = getFocusItem(ev.getX(), ev.getY()); in onTouchEvent() 1088 float y = ev.getY() - mListView.getY(); in isTouchInsideList() 1323 float y = ev.getY() - mListView.getY(); in forwardTouchEventToChild() 1509 y -= mListView.getY(); in getFocusItem()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GestureRecognizer.java | 79 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapUp() 84 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap() 91 dx, dy, e2.getX() - e1.getX(), e2.getY() - e1.getY()); in onScroll() 124 mListener.onDown(e.getX(), e.getY()); in onDown()
|
D | FlingScroller.java | 104 mFinalY = getY(1.0f); in fling() 112 mCurrY = getY(f); in computeScrollOffset() 126 private int getY(float f) { in getY() method in FlingScroller
|
D | SlotView.java | 368 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply() 636 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onShowPress() 688 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onSingleTapUp() 699 int index = mLayout.getSlotIndexByPosition(e.getX(), e.getY()); in onLongPress()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 206 mLastY = ev.getY(); in onInterceptTouchEvent() 218 mInitialTouchPosY = ev.getY(); in onInterceptTouchEvent() 226 float currY = ev.getY(); in onInterceptTouchEvent() 232 mLastY = ev.getY(); in onInterceptTouchEvent() 245 mInitialTouchPosY = ev.getY(); in onInterceptTouchEvent() 248 mLastY = ev.getY(); in onInterceptTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterRS.java | 75 in.getType().getX(), in.getType().getY()); in apply() 97 in.getType().getX(), in.getType().getY()); in apply() 124 || (getInPixelsAllocation().getType().getY() != mLastInputHeight))) { in apply() 133 mLastInputHeight = getInPixelsAllocation().getType().getY(); in apply() 174 tb_a8.setY(bitmapTemp.getType().getY()); in convertRGBAtoA()
|
D | ImageFilterChanSat.java | 79 tb_float.setY(in.getType().getY()); in createFilter() 105 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 119 int height = getInPixelsAllocation().getType().getY(); in runFilter() 133 int height = in.getType().getY(); in runSelectiveAdjust()
|
D | ImageFilterGrad.java | 89 tb_float.setY(in.getType().getY()); in createFilter() 115 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 128 int height = getInPixelsAllocation().getType().getY(); in runFilter() 162 int height = in.getType().getY(); in runSelectiveAdjust()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardParams.java | 97 if (lhs.getY() < rhs.getY()) return -1; 98 if (lhs.getY() > rhs.getY()) return 1;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 418 return Math.abs(eventInParent.getY() - (getY() + getTargetInset())); in getTouchDistanceFromTarget() 438 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); in onTouchEvent() 439 acceptLabel = mLabelLayout != null ? event.getY() < mLabelLayout.getHeight() in onTouchEvent() 546 final float effectiveY = getY() - mMargins.top - parentContent.top; 742 return view.getY() + view.mContentOffset.top;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 346 final float dy = me.getY() - down.getY(); 362 mLastY = (int)me.getY(); in onInterceptTouchEvent() 372 final int y = (int)me.getY(index); in onInterceptTouchEvent() 408 final int y = mMoreSuggestionsView.translateY((int)me.getY(index)); in onTouchEvent()
|
D | MoreSuggestions.java | 148 public int getY(final int index) { in getY() method in MoreSuggestions.MoreSuggestionsParam 210 final int y = params.getY(index); in build() 244 params.getX(index), params.getY(index), params.getWidth(index), in MoreSuggestionKey()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 147 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolderTextRegion() 155 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolder() 163 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverDropTargetBar() 176 int y = (int) ev.getY(); in handleTouchDown() 344 int y = (int) ev.getY(); in onTouchEvent() 516 public int getY() { in getY() method in DragLayer.LayoutParams
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 70 final int y = (int)event.getY(actionIndex); in onHoverEnter() 81 final int y = (int)event.getY(actionIndex); in onHoverMove() 99 final int y = (int)event.getY(actionIndex); in onHoverExit()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | ShutterButton.java | 114 || m.getX() < 0 || m.getY() < 0 in dispatchTouchEvent() 115 || m.getX() >= getWidth() || m.getY() >= getHeight()) { in dispatchTouchEvent() 119 mTouchCoordinate = new TouchCoordinate(m.getX(), m.getY(), this.getMeasuredWidth(), in dispatchTouchEvent()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 631 int edge = hv.getHit(event.getX(), event.getY()); in recomputeFocus() 657 int edge = hv.getHit(event.getX(), event.getY()); in onTouchEvent() 662 mLastY = event.getY(); in onTouchEvent() 702 event.getY() - mLastY); in onTouchEvent() 704 mLastY = event.getY(); in onTouchEvent()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragLayer.java | 108 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolderTextRegion() 116 if (mHitRect.contains((int) ev.getX(), (int) ev.getY())) { in isEventOverFolder() 125 int y = (int) ev.getY(); in handleTouchDown() 263 int y = (int) ev.getY(); in onTouchEvent() 402 public int getY() { in getY() method in DragLayer.LayoutParams
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ActualKeyboardBuilder.java | 62 int lastY = filteredSortedKeys.get(0).getY(); in buildKeyboard() 64 if (lastY != key.getY()) { in buildKeyboard() 66 lastY = key.getY(); in buildKeyboard()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryView.java | 172 activity.startTouchAnimation(this, event.getX(), event.getY()); in onTouchEvent() 178 mStartTouchY = event.getY(); in onTouchEvent() 186 float delta = event.getY() - mStartTouchY; in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageGrad.java | 66 mActiveHandle = mEllipse.getCloseHandle(event.getX(), event.getY()); in onTouchEvent() 69 float y = event.getY(); in onTouchEvent() 111 float y = event.getY(); in onTouchEvent()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | GlowPadView.java | 840 float dy = y - mOuterRing.getY(); in updateGlowPosition() 844 mPointCloud.glowManager.setY(mOuterRing.getY() + dy); in updateGlowPosition() 850 float eventY = event.getY(actionIndex); in handleDown() 864 switchToState(STATE_FINISH, event.getX(actionIndex), event.getY(actionIndex)); in handleUp() 880 switchToState(STATE_FINISH, event.getX(actionIndex), event.getY(actionIndex)); in handleCancel() 900 :event.getY(actionIndex); in handleMove()
|