Home
last modified time | relevance | path

Searched refs:setTranslationX (Results 1 – 25 of 71) sorted by relevance

123

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateLayout.java85 mChild.setTranslationX(0); in onMeasure()
89 mChild.setTranslationX(0); in onMeasure()
93 mChild.setTranslationX(w); in onMeasure()
97 mChild.setTranslationX(w); in onMeasure()
/packages/apps/Camera2/src/com/android/camera/ui/
DRotateLayout.java90 mChild.setTranslationX(0); in onMeasure()
94 mChild.setTranslationX(0); in onMeasure()
98 mChild.setTranslationX(w); in onMeasure()
102 mChild.setTranslationX(w); in onMeasure()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java66 view.setTranslationX(startX); in createAnimation()
119 mMovingView.setTranslationX(mTerminalX); in onAnimationPause()
124 mMovingView.setTranslationX(mPausedX); in onAnimationResume()
132 mMovingView.setTranslationX(mTerminalX); in onTransitionEnd()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java284 public void setTranslationX(float transX) { in setTranslationX() method in FilmstripView.ViewItem
285 mView.setTranslationX(transX * mFilmstrip.mScale); in setTranslationX()
392 setTranslationX(getTranslationX() + transX * mFilmstrip.mScale); in translateXScaledBy()
428 setTranslationX(0); in addViewToHierarchy()
569 mView.setTranslationX(transX); in updateTransform()
576 mView.setTranslationX(0f); in resetTransform()
1079 curr.setTranslationX(translate * (mCenterX - currCenterX) / in translateLeftViewItem()
1082 curr.setTranslationX(translate); in translateLeftViewItem()
1125 item.setTranslationX(0); in fadeAndScaleRightViewItem()
1198 currItem.setTranslationX(0f); in layoutViewItems()
[all …]
DFilmstripLayout.java306 mFilmstripContentLayout.setTranslationX(fraction * getMeasuredWidth()); in translateContentLayout()
310 mFilmstripContentLayout.setTranslationX(pixel); in translateContentLayoutByPixel()
DCling.java94 setTranslationX(left - currentLeft); in adjustPosition()
DSettingsCling.java64 setTranslationX(referenceRight - getMeasuredWidth()); in updatePosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java120 mInstallButton.setTranslationX(STATUS_INSTALL == status ? 0 : width); in setButtonPositionWithoutAnimation()
121 mCancelButton.setTranslationX(STATUS_CANCEL == status ? 0 : width); in setButtonPositionWithoutAnimation()
122 mDeleteButton.setTranslationX(STATUS_DELETE == status ? 0 : width); in setButtonPositionWithoutAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java244 mFolder.setTranslationX(0.0f); in getAnimator()
251 mFolder.mFooter.setTranslationX(0f); in getAnimator()
366 btv.setTranslationX(xDistance); in addPreviewItemAnimators()
376 btv.setTranslationX(0.0f); in addPreviewItemAnimators()
/packages/apps/Car/Notification/src/com/android/car/notification/
DHeadsUpNotificationOnTouchListener.java121 mView.setTranslationX(0); in onTouch()
163 mView.setTranslationX(deltaX - mSwipingSlop); in onTouch()
/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java107 fab.setTranslationX(positionOffset * getTranslationXForAlignment(ALIGN_END)); in onPageScrolled()
144 fab.setTranslationX(translationX + offsetX); in align()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java105 mFloatingActionButtonContainer.setTranslationX( in onPageScrolled()
143 mFloatingActionButtonContainer.setTranslationX(translationX + offsetX); in align()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java149 mTextAndBackground.setTranslationX(translation); in setContentTranslation()
150 mIconView.setTranslationX(translation); in setContentTranslation()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java244 itemView.setTranslationX(0); in reset()
296 itemView.setTranslationX(translationX); in setSwipeTranslationX()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPageIndicator.java160 v.setTranslationX(0); in setIndex()
192 second.setTranslationX(first.getX() - second.getX()); in animate()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java203 public void setTranslationX(float translationX) { in setTranslationX() method in TiledImageView
207 super.setTranslationX(translationX); in setTranslationX()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java245 mCurrentView.setTranslationX(translation); in onTouchEvent()
304 mCurrentView.setTranslationX(0); in checkEndState()
DStateView.java289 setTranslationX(0); in resetPosition()
322 setTranslationX(0); in onTouchEvent()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java284 mRowsContainer.getChildAt(rowIndex).setTranslationX( in updateViewsLayout()
287 mRowsContainer.getChildAt(rowIndex).setTranslationX(0); in updateViewsLayout()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAnimator.java118 view.setTranslationX(-deltaX); in animateMove()
146 view.setTranslationX(prevTranslationX); in animateMove()
DVerticalViewPager.java98 view.setTranslationX(pageWidth * -position); in transformPage()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java517 itemView.setTranslationX(0); in animateClearAllTasks()
834 thumbnailView.setTranslationX(0); in playRemoteAppScaleDownAnim()
914 view.setTranslationX(dX); in setViewToRect()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java251 mTrackImageView.setTranslationX(hiddenTranslationX); in hide()
252 mThumbImageView.setTranslationX(hiddenTranslationX); in hide()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java252 recentsView.setTranslationX(fromTranslationX);
258 recentsView.setTranslationX(toTranslationX);
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DClearAllButton.java91 setTranslationX(mIsRtl ? (mScrollOffset - shift) : (mScrollOffset + shift)); in onPageScroll()

123