/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/ |
D | SuggestionItemView.java | 55 int translateX = getResources().getDimensionPixelSize( in onFinishInflate() local 59 translateX = -translateX; in onFinishInflate() 63 View.TRANSLATION_X, 0, translateX); in onFinishInflate() 66 View.TRANSLATION_X, translateX, 0); in onFinishInflate()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | DismissAnimationHelper.java | 130 float calculateAlphaValue(CarNotificationBaseViewHolder viewHolder, float translateX) { in calculateAlphaValue() argument 131 if (!viewHolder.isDismissible() || translateX == 0) { in calculateAlphaValue() 136 return SWIPE_DISTANCE_WEIGHT_ON_ALPHA * (1 - Math.min(Math.abs(translateX / width), 1)) in calculateAlphaValue()
|
D | CarNotificationItemTouchListener.java | 295 float translateX = mDismissAnimationHelper.calculateTranslateDistance(mViewHolder, in onTouchEvent() local 299 Log.d(TAG, "ACTION_MOVE translateX=" + translateX + " alpha=" + alpha); in onTouchEvent() 301 mViewHolder.setSwipeTranslationX(translateX); in onTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskThumbnailView.java | 616 float translateX = 0; in setThumbnailRotation() local 624 translateX = thumbnailPosition.height(); in setThumbnailRotation() 634 translateX = thumbnailPosition.width(); in setThumbnailRotation() 639 mMatrix.postTranslate(translateX - mClippedInsets.left, in setThumbnailRotation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 648 float translateX = (mTouch.x - mTouchDown.x) / scaleFactor; in onTouchEvent() local 652 translation.x = (int) (originalTranslation.x + translateX); in onTouchEvent() 760 float translateX = (getWidth() / 2 - x); in onDoubleTap() local 766 translation.x = (int) (mOriginalTranslation.x + translateX); in onDoubleTap() 941 float translateX = (focusx - mStartFocusX) / scaleFactor; 944 translation.x = (int) (mOriginalTranslation.x + translateX);
|
D | PrimaryImage.java | 582 float translateX = 0; in computeImageToScreen() local 600 translateX = (mImageShowSize.x - (size.width() * scale)) / 2.0f; in computeImageToScreen() 609 m.postTranslate(translateX, translateY); in computeImageToScreen()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | InputView.java | 133 protected int translateX(final int x) { in translateX() method in InputView.MotionEventForwarder 178 me.setLocation(translateX(x), translateY(y)); in onTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysPanel.java | 109 public int translateX(int x); in translateX() method
|
D | PointerTracker.java | 763 final int translatedX = mMoreKeysPanel.translateX(x); in onMoveEvent() 971 final int translatedX = mMoreKeysPanel.translateX(x); in onUpEventInternal() 1049 final int translatedX = moreKeysPanel.translateX(mLastX); in onLongPressed()
|
D | MoreKeysKeyboardView.java | 251 public int translateX(final int x) { in translateX() method in MoreKeysKeyboardView
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 569 int translateX = ViewUtil.isViewLayoutRtl(this) ? in drawHeader() local 572 canvas.translate(translateX, header.y); in drawHeader()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 407 final int x = mMoreSuggestionsView.translateX((int)me.getX(index)); in onTouchEvent()
|