Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDismissViewButton.java56 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect() local
58 outRect.left += translationX; in getDrawingRect()
59 outRect.right += translationX; in getDrawingRect()
DExpandableNotificationRow.java943 public void setTranslation(float translationX) {
951 mTranslateableViews.get(i).setTranslationX(translationX);
956 mSettingsIconRow.updateSettingsIcons(translationX, getMeasuredWidth());
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java89 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { in nSetTranslationX() argument
91 if (delegate != null && delegate.mTranslationX != translationX) { in nSetTranslationX()
92 delegate.mTranslationX = translationX; in nSetTranslationX()
169 float translationX = renderNode.getTranslationX(); in getMatrix() local
176 outMatrix.setTranslate(translationX, translationY); in getMatrix()
/frameworks/base/core/java/android/transition/
DChangeTransform.java411 private static void setTransforms(View view, float translationX, float translationY, in setTransforms() argument
414 view.setTranslationX(translationX); in setTransforms()
425 public final float translationX; field in ChangeTransform.Transforms
435 translationX = view.getTranslationX(); in Transforms()
446 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore()
456 return thatTransform.translationX == translationX && in equals()
/frameworks/support/compat/ics/android/support/v4/view/
DViewPropertyAnimatorCompatICS.java33 public static void translationX(View view, float value) { in translationX() method in ViewPropertyAnimatorCompatICS
34 view.animate().translationX(value); in translationX()
/frameworks/base/core/java/android/view/
DRenderNode.java443 public boolean setTranslationX(float translationX) { in setTranslationX() argument
444 return nSetTranslationX(mNativeRenderNode, translationX); in setTranslationX()
859 private static native boolean nSetTranslationX(long renderNode, float translationX); in nSetTranslationX() argument
DViewPropertyAnimator.java605 public ViewPropertyAnimator translationX(float value) { in translationX() method in ViewPropertyAnimator
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java48 child.animate().translationX(0).setDuration(MainActivity.DURATION); in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbView.java228 … float translationX = (mCircleRect.left + mCircleRect.right) / 2.0f - mLogo.getWidth() / 2.0f;
236 mLogo.setTranslationX(translationX);
/frameworks/support/compat/java/android/support/v4/view/
DViewPropertyAnimatorCompat.java65 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value); in translationX() method
96 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value) { in translationX() method in ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl
378 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value) { in translationX() method in ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
379 ViewPropertyAnimatorCompatICS.translationX(view, value); in translationX()
737 public ViewPropertyAnimatorCompat translationX(float value) { in translationX() method in ViewPropertyAnimatorCompat
740 IMPL.translationX(this, view, value); in translationX()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java203 public void setTranslationX(float translationX) { in setTranslationX() argument
207 super.setTranslationX(translationX); in setTranslationX()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java728 private long calculateClipRevealTransitionDuration(boolean cutOff, float translationX, in calculateClipRevealTransitionDuration() argument
733 final float fraction = Math.max(Math.abs(translationX) / displayFrame.width(), in calculateClipRevealTransitionDuration()
755 int translationX = 0; in createClipRevealAnimationLocked() local
775 translationX = (centerX - halfWidth) - appFrame.left; in createClipRevealAnimationLocked()
780 translationX = (centerX + halfWidth) - appFrame.right; in createClipRevealAnimationLocked()
784 final long duration = calculateClipRevealTransitionDuration(cutOff, translationX, in createClipRevealAnimationLocked()
793 TranslateAnimation translate = new TranslateAnimation(translationX, 0, translationY, 0); in createClipRevealAnimationLocked()
826 ? Math.max(Math.abs(translationY), Math.abs(translationX)) : 0; in createClipRevealAnimationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DHomeRecentsEnterExitAnimationHolder.java54 .translationX(0) in startEnterAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java102 .translationX(((View) getParent().getParent()).getWidth() - getX()) in startExitAnimation()
DKeyguardStatusBarView.java271 .translationX(0) in animateNextLayoutChange()
/frameworks/base/libs/hwui/
DRenderProperties.h266 bool setTranslationX(float translationX) { in setTranslationX() argument
267 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationX, translationX); in setTranslationX()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java277 ViewCompat.animate(view).translationX(0); in animateMoveImpl()
349 oldViewAnim.translationX(changeInfo.toX - changeInfo.fromX); in animateChangeImpl()
372 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration()). in animateChangeImpl()
DRecyclerView.java4235 final float translationX = ViewCompat.getTranslationX(child); in findChildViewUnder() local
4237 if (x >= child.getLeft() + translationX && in findChildViewUnder()
4238 x <= child.getRight() + translationX && in findChildViewUnder()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java477 public void setTranslationX(float translationX) {
478 this.mTranslationX = translationX * mDirection * mLayoutDirection;
/frameworks/base/core/java/android/widget/
DStackView.java352 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex() local
358 translationY, translationX); in transformViewAtIndex()
1426 float translationX = v.getTranslationX();
1435 v.setTranslationX(translationX);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java1032 .translationX(0).translationY(0).setDuration(ENTER_ANIMATION_DURATION_MS); in runEnterAnimation()
1119 .translationX(translateX).translationY(translateY) in runExitAnimation()
1123 .translationX(translateX).translationY(translateY) in runExitAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java169 .translationX(0) in onAttachedToWindow()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java133 ViewCompat.animate(vh.textView).translationX(0f).alpha(1f) in createAnimator()
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd842 <li><code>translationX</code> and <code>translationY</code>: These properties control where the
858 translationX and translationY values.</li>
Dhardware-accel.jd545 <li><code>x</code>, <code>y</code>, <code>translationX</code>, <code>translationY</code>:

12