Home
last modified time | relevance | path

Searched refs:translationX (Results 1 – 25 of 39) 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.java919 public void setTranslation(float translationX) {
927 mTranslateableViews.get(i).setTranslationX(translationX);
932 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/v4/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
DView.java12758 public void setTranslationX(float translationX) { in setTranslationX() argument
12759 if (translationX != getTranslationX()) { in setTranslationX()
12761 mRenderNode.setTranslationX(translationX); in setTranslationX()
/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/v4/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.java713 private long calculateClipRevealTransitionDuration(boolean cutOff, float translationX, in calculateClipRevealTransitionDuration() argument
718 final float fraction = Math.max(Math.abs(translationX) / displayFrame.width(), in calculateClipRevealTransitionDuration()
740 int translationX = 0; in createClipRevealAnimationLocked() local
760 translationX = (centerX - halfWidth) - appFrame.left; in createClipRevealAnimationLocked()
765 translationX = (centerX + halfWidth) - appFrame.right; in createClipRevealAnimationLocked()
769 final long duration = calculateClipRevealTransitionDuration(cutOff, translationX, in createClipRevealAnimationLocked()
778 TranslateAnimation translate = new TranslateAnimation(translationX, 0, translationY, 0); in createClipRevealAnimationLocked()
811 ? Math.max(Math.abs(translationY), Math.abs(translationX)) : 0; in createClipRevealAnimationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DHomeRecentsEnterExitAnimationHolder.java53 .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.java248 .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.java276 ViewCompat.animate(view).translationX(0); in animateMoveImpl()
348 oldViewAnim.translationX(changeInfo.toX - changeInfo.fromX); in animateChangeImpl()
371 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration()). in animateChangeImpl()
DRecyclerView.java4120 final float translationX = ViewCompat.getTranslationX(child); in findChildViewUnder() local
4122 if (x >= child.getLeft() + translationX && in findChildViewUnder()
4123 x <= child.getRight() + translationX && in findChildViewUnder()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java473 public void setTranslationX(float translationX) {
474 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/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