Home
last modified time | relevance | path

Searched refs:translationX (Results 1 – 24 of 24) sorted by relevance

/packages/apps/InCallUI/src/com/android/incallui/
DCallCardFragment.java289 float translationX = mPrimaryCallCardContainer.getWidth(); in setCallCardVisible()
290 translationX *= isLayoutRtl ? 1 : -1; in setCallCardVisible()
292 mPrimaryCallCardContainer.setTranslationX(visible ? translationX : 0); in setCallCardVisible()
313 .translationX(videoViewTranslation) in setCallCardVisible()
345 float translationX = mPrimaryCallCardContainer.getWidth(); in setCallCardVisible()
346 translationX *= isLayoutRtl ? 1 : -1; in setCallCardVisible()
348 .translationX(visible ? 0 : translationX) in setCallCardVisible()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DFloatingActionButtonController.java108 int translationX = getTranslationXForAlignment(align); in align() local
113 .translationX(translationX + offsetX) in align()
119 mFloatingActionButtonContainer.setTranslationX(translationX + offsetX); in align()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java284 final float translationX = Math.max(view.getLeft() - alarmRight, 0) in onClick() local
286 getAlarmBounceAnimator(translationX, translationX < 0.0f ? in onClick()
404 private ValueAnimator getAlarmBounceAnimator(float translationX, final int hintResId) { in getAlarmBounceAnimator() argument
406 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f); in getAlarmBounceAnimator()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneLayout.java377 mConversationFrame.animate().translationX(deltaX); in animatePanes()
380 .translationX(deltaX) in animatePanes()
383 mFoldersView.animate().translationX(drawerDeltaX); in animatePanes()
500 final float translationX = percentDragged * in onDrag() local
502 translatePanes(translationX, 0 /* drawerDeltaX */, false /* animate */); in onDrag()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java1383 float translationX; in screenScrolled() local
1388 translationX = maxScrollProgress * v.getMeasuredWidth(); in screenScrolled()
1391 translationX = minScrollProgress * v.getMeasuredWidth(); in screenScrolled()
1423 translationX = 0; in screenScrolled()
1431 translationX = 0; in screenScrolled()
1439 v.setTranslationX(translationX); in screenScrolled()
DLauncherViewPropertyAnimator.java200 mViewPropertyAnimator.translationX(mTranslationX); in start()
231 public LauncherViewPropertyAnimator translationX(float value) { in translationX() method in LauncherViewPropertyAnimator
DWorkspace.java1590 float translationX = 0;
1643 mNewTranslationXs[i] = translationX;
1649 cl.setTranslationX(translationX);
1673 a.translationX(mNewTranslationXs[i])
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java161 return button.animate().translationX(0); in animateButton()
164 return button.animate().translationX(outerX - innerX); in animateButton()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DQuickSettings.java119 mRootView.animate().translationX(0).start(); in onResume()
125 mRootView.animate().translationX(mSlidOutTranslationX).start(); in onPause()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherViewPropertyAnimator.java201 mViewPropertyAnimator.translationX(mTranslationX); in start()
235 public LauncherViewPropertyAnimator translationX(float value) { in translationX() method in LauncherViewPropertyAnimator
DWorkspace.java1688 float translationX = 0; in updateStateForCustomContent() local
1696 translationX = scrollRange - scrollDelta; in updateStateForCustomContent()
1700 translationX = Math.min(0, translationX); in updateStateForCustomContent()
1702 translationX = Math.max(0, translationX); in updateStateForCustomContent()
1719 mLauncher.getHotseat().setTranslationX(translationX); in updateStateForCustomContent()
1723 getPageIndicator().setTranslationX(translationX); in updateStateForCustomContent()
/packages/apps/Camera/src/com/android/camera/ui/
DCameraSwitcher.java255 .translationX(mTranslationX) in animateHidePopup()
285 .translationX(0) in animateShowPopup()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageView.java215 public void setTranslationX(float translationX) { in setTranslationX() argument
219 super.setTranslationX(translationX); in setTranslationX()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java203 public void setTranslationX(float translationX) { in setTranslationX() argument
207 super.setTranslationX(translationX); in setTranslationX()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java463 final float translationX = in layoutWithTranslationX() local
467 (int) (drawArea.centerX() + (mLeftPosition - refCenter + translationX) * scale); in layoutWithTranslationX()
2195 final float translationX = current.getTranslationX() * mScale;
2198 final ValueAnimator decelerationX = ValueAnimator.ofFloat(translationX,
2199 translationX + duration / factor * velocityX);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java1681 public void setTranslationX(float translationX) { in setTranslationX() argument
1682 super.setTranslationX(translationX); in setTranslationX()
1690 translationX); in setTranslationX()
1694 if (translationX != 0f) { in setTranslationX()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorVignette.java353 mButton.animate().translationX(mButton.getWidth()).setDuration(SwapButton.ANIM_DURATION); in swapLeft()
369 mButton.animate().translationX(-mButton.getWidth()).setDuration(SwapButton.ANIM_DURATION); in swapRight()
DEditorChanSat.java356 mButton.animate().translationX(mButton.getWidth()).setDuration(SwapButton.ANIM_DURATION); in swapLeft()
372 mButton.animate().translationX(-mButton.getWidth()).setDuration(SwapButton.ANIM_DURATION); in swapRight()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java281 final float translationX = (1.0f - textScale) * in onTextSizeChanged() local
290 ObjectAnimator.ofFloat(textView, View.TRANSLATION_X, translationX, 0.0f), in onTextSizeChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseDialogFragment.java290 v.animate().alpha(1f).translationX(0).setDuration(duration).setStartDelay(delay); in prepareAndAnimateView()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java242 animator.translationX(0); in animateShow()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSettingsLayoutFragment.java691 v.animate().alpha(1f).translationX(0).setDuration(mAnimateInDuration) in prepareAndAnimateView()
DDialogFragment.java681 v.animate().alpha(1f).translationX(0).setDuration(ANIMATE_IN_DURATION) in prepareAndAnimateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java2483 view.animate().translationX(0).start();