Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/transition/
DTranslationAnimationCreator.java63 view.setTranslationX(startX); in createAnimation()
120 mMovingView.setTranslationX(mTerminalX); in onAnimationEnd()
128 mMovingView.setTranslationX(mTerminalX); in onAnimationPause()
134 mMovingView.setTranslationX(mPausedX); in onAnimationResume()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java260 ViewCompat.setTranslationX(view, -deltaX); in animateMove()
292 ViewCompat.setTranslationX(view, 0); in animateMoveImpl()
318 ViewCompat.setTranslationX(oldHolder.itemView, prevTranslationX); in animateChange()
324 ViewCompat.setTranslationX(newHolder.itemView, -deltaX); in animateChange()
353 ViewCompat.setTranslationX(view, 0); in animateChangeImpl()
374 ViewCompat.setTranslationX(newView, 0); in animateChangeImpl()
414 ViewCompat.setTranslationX(item.itemView, 0); in endChangeAnimationIfNecessary()
430 ViewCompat.setTranslationX(view, 0); in endAnimation()
458 ViewCompat.setTranslationX(view, 0); in endAnimation()
535 ViewCompat.setTranslationX(view, 0); in endAnimations()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetEventsTest.java76 public void setTranslationX(float value) { in setTranslationX() method in AnimatorSetEventsTest
77 button.setTranslationX(value); in setTranslationX()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DProjectionActivity.java59 container.setTranslationX(100f); in setProject()
60 container.setTranslationX(0.0f); in setProject()
DTransformsAndAnimationsActivity.java112 button3.setTranslationX(50); in onCreate()
113 button7.setTranslationX(50); in onCreate()
114 button8.setTranslationX(50); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java189 oldHolder.iconView.setTranslationX(0f); in getView()
192 oldHolder.labelView.setTranslationX(0f); in getView()
196 oldHolder.calloutLine.setTranslationX(0f); in getView()
209 holder.iconView.setTranslationX(translation); in getView()
211 holder.labelView.setTranslationX(translation); in getView()
213 holder.calloutLine.setTranslationX(translation); in getView()
243 holder.iconView.setTranslationX(0f); in recycleView()
246 holder.labelView.setTranslationX(0f); in recycleView()
250 holder.calloutLine.setTranslationX(0f); in recycleView()
DScreenPinningRequest.java153 mLayout.setTranslationX(OFFSET_DP * density); in onAttachedToWindow()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java92 page.setTranslationX(0); in initialize()
97 page.setTranslationX(-position * page.getWidth()); in initialize()
/frameworks/support/v4/honeycomb/android/support/v4/view/
DViewCompatHC.java92 public static void setTranslationX(View view, float value) { in setTranslationX() method in ViewCompatHC
93 view.setTranslationX(value); in setTranslationX()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DLLand.java261 sun.setTranslationX(frand(w, mWidth-w)); in reset()
283 moon.setTranslationX(frand(w, mWidth - w)); in reset()
325 s.setTranslationX(frand(-lp.width, mWidth + lp.width)); in reset()
487 v.setTranslationX(getWidth());
508 s1.setTranslationX(mWidth+inset);
522 p1.setTranslationX(mWidth);
543 s2.setTranslationX(mWidth+inset);
557 p2.setTranslationX(mWidth);
853 setTranslationX(getTranslationX()-PARAMS.TRANSLATION_PER_SEC*dt);
954 setTranslationX(getTranslationX() - PARAMS.TRANSLATION_PER_SEC * dt * v);
/frameworks/base/packages/Keyguard/
Dproguard.flags22 public void setTranslationX(float);
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java47 child.setTranslationX(dx * dir); in onResume()
/frameworks/base/docs/html/training/animation/
Dscreen-slide.jd223 …oid.view.View#setAlpha setAlpha()}, {@link android.view.View#setTranslationX setTranslationX()}, or
284 view.setTranslationX(horzMargin - vertMargin / 2);
286 view.setTranslationX(-horzMargin + vertMargin / 2);
332 view.setTranslationX(-1 * view.getWidth() * position);
354 view.setTranslationX(0);
363 view.setTranslationX(pageWidth * -position);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java203 public void setTranslationX(float translationX) { in setTranslationX() method in TiledImageView
207 super.setTranslationX(translationX); in setTranslationX()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java136 v.setTranslationX(0f); in reset()
DSwipeHelper.java136 v.setTranslationX(translate); in setTranslation()
/frameworks/support/v4/java/android/support/v4/view/
DViewCompat.java316 public void setTranslationX(View view, float value); in setTranslationX() method
615 public void setTranslationX(View view, float value) { in setTranslationX() method in ViewCompat.BaseViewCompatImpl
825 public void setTranslationX(View view, float value) { in setTranslationX() method in ViewCompat.HCViewCompatImpl
826 ViewCompatHC.setTranslationX(view, value); in setTranslationX()
1990 public static void setTranslationX(View view, float value) { in setTranslationX() method in ViewCompat
1991 IMPL.setTranslationX(view, value); in setTranslationX()
/frameworks/base/libs/hwui/
DRenderProperties.h237 bool setTranslationX(float translationX) { in setTranslationX() function
264 return setTranslationX(value - getLeft()); in setX()
DAnimator.cpp190 …enderNode::TRANSLATION_X, &RenderProperties::getTranslationX, &RenderProperties::setTranslationX },
/frameworks/base/libs/hwui/tests/
Dmain.cpp115 cards[ci]->mutateStagingProperties().setTranslationX(i); in main()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java348 mDragView.setTranslationX(x); in updateDragViewTranslationDuringDrag()
1443 v.setTranslationX(v.getTranslationX() - deltaX); in onTouchEvent()
1539 v.setTranslationX(oldX - newX); in onTouchEvent()
2164 mScrollIndicator.setTranslationX(indicatorPos); in updateScrollingIndicatorPosition()
2436 mDragView.setTranslationX(mFrom.left); in onAnimationUpdate()
2504 v.setTranslationX(oldX - newX); in createPostDeleteAnimationRunnable()
2731 v.setTranslationX(0.0f);
2750 v.setTranslationX(0);
2769 v.setTranslationX(totalOffset);
DKeyguardDisplayManager.java138 mClock.setTranslationX(x);
/frameworks/base/core/java/android/widget/
DStackView.java366 view.setTranslationX(transX); in transformViewAtIndex()
379 mHighlight.setTranslationX(v.getTranslationX()); in setupStackSlider()
450 mClickFeedback.setTranslationX(v.getTranslationX()); in updateClickFeedback()
1433 v.setTranslationX(0);
1438 v.setTranslationX(translationX);
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java990 renderNode.setTranslationX(value); in setValue()
1014 renderNode.setTranslationX(value - mView.mLeft); in setValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeaderView.java392 mAmPm.setTranslationX((rtl ? 1 : -1) * mTime.getWidth() * (1 - mTime.getScaleX())); in updateAmPmTranslation()
619 mSignalCluster.setTranslationX(0f); in applyLayoutValues()
623 mSettingsButton.setTranslationX(values.settingsTranslation); in applyLayoutValues()

12