Home
last modified time | relevance | path

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

1234

/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/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java463 out.setTranslationX(insetCorrectionX); in setSplitInstructionsParams()
548 primarySnapshot.setTranslationX(-translationX); in measureGroupedTaskViewThumbnailBounds()
549 secondarySnapshot.setTranslationX(0); in measureGroupedTaskViewThumbnailBounds()
552 secondarySnapshot.setTranslationX(translationX); in measureGroupedTaskViewThumbnailBounds()
553 primarySnapshot.setTranslationX(0); in measureGroupedTaskViewThumbnailBounds()
573 secondarySnapshot.setTranslationX(0); in measureGroupedTaskViewThumbnailBounds()
574 primarySnapshot.setTranslationX(0); in measureGroupedTaskViewThumbnailBounds()
720 primaryIconView.setTranslationX(bottomToMidpointOffset - taskIconHeight); in setSplitIconParams()
721 secondaryIconView.setTranslationX(bottomToMidpointOffset); in setSplitIconParams()
725 primaryIconView.setTranslationX(bottomToMidpointOffset + insetOffset in setSplitIconParams()
[all …]
/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/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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/
DExpandPanelAnimator.java68 mPanel.setTranslationX(mOrigin.x - mBounds.centerX()); in animate()
88 mPanel.setTranslationX(/* value= */ 0); in cancel()
/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/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 …]
DCling.java94 setTranslationX(left - currentLeft); in adjustPosition()
DSettingsCling.java64 setTranslationX(referenceRight - getMeasuredWidth()); in updatePosition()
DFilmstripLayout.java306 mFilmstripContentLayout.setTranslationX(fraction * getMeasuredWidth()); in translateContentLayout()
310 mFilmstripContentLayout.setTranslationX(pixel); in translateContentLayoutByPixel()
/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/folder/
DFolderAnimationManager.java324 mFolder.setTranslationX(0.0f); in getAnimator()
331 mFolder.mFooter.setTranslationX(0f); in getAnimator()
448 v.setTranslationX(xDistance); in addPreviewItemAnimators()
458 v.setTranslationX(0.0f); in addPreviewItemAnimators()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleView.java163 setTranslationX(mDragTranslationX + mOffsetX); in applyDragTranslation()
243 mAppIcon.setTranslationX(translationX); in updateBadgeVisibility()
DBubbleBarView.java294 public void setTranslationX(float translationX) { in setTranslationX() method in BubbleBarView
295 super.setTranslationX(translationX); in setTranslationX()
603 setTranslationX(0f); in resetDragAnimation()
801 bv.setTranslationX(widthState * (targetX - collapsedX) + collapsedX); in updateBubblesLayoutProperties()
809 bv.setTranslationX(widthState * (expandedX - targetX) + targetX); in updateBubblesLayoutProperties()
DBubbleDragController.java68 view.setTranslationX(value);
208 bubbleBarView.setTranslationX(newTx); in setupBubbleBarView()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DHeadsUpNotificationOnTouchListenerTest.java166 verify(mView, times(0)).setTranslationX(anyFloat()); in onTouch_actionMove_moveLessThanTouchSlop_horizontal_viewNotMoved()
187 verify(mView, times(1)).setTranslationX(TRANSLATION); in onTouch_actionMove_moveMoreThanTouchSlop_horizontal_viewTranslationSet()
202 verify(mView, times(0)).setTranslationX(anyFloat()); in onTouch_actionMove_moveMoreThanTouchSlop_vertical_viewTranslationSet()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLauncherViewsMoveFromCenterTranslationApplier.java39 view.setTranslationX(x); in apply()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPageIndicator.java160 v.setTranslationX(0); in setIndex()
192 second.setTranslationX(first.getX() - second.getX()); in animate()
/packages/apps/Car/Notification/src/com/android/car/notification/
DHeadsUpNotificationOnTouchListener.java255 view.setTranslationX(INITIAL_TRANSLATION_X); in resetView()
286 view.setTranslationX(translation); in moveView()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java339 itemView.setTranslationX(0); in reset()
424 itemView.setTranslationX(translationX); in setSwipeTranslationX()
/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()
DDragListener.java42 mStatePanelTrack.getCurrentView().setTranslationX(translation); in setState()
/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()

1234