Home
last modified time | relevance | path

Searched refs:translateX (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/
DSuggestionItemView.java55 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/
DDismissAnimationHelper.java130 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()
DCarNotificationItemTouchListener.java295 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/
DTaskThumbnailView.java616 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/
DImageShow.java648 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);
DPrimaryImage.java582 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/
DInputView.java133 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/
DMoreKeysPanel.java109 public int translateX(int x); in translateX() method
DPointerTracker.java763 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()
DMoreKeysKeyboardView.java251 public int translateX(final int x) { in translateX() method in MoreKeysKeyboardView
/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java569 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/
DSuggestionStripView.java407 final int x = mMoreSuggestionsView.translateX((int)me.getX(index)); in onTouchEvent()