Home
last modified time | relevance | path

Searched refs:getTranslationX (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/transition/
DSlide.java79 return view.getTranslationX(); in getGoneX()
86 return view.getTranslationX() - sceneRoot.getWidth() * fraction;
96 x = view.getTranslationX() + sceneRoot.getWidth() * fraction;
98 x = view.getTranslationX() - sceneRoot.getWidth() * fraction;
114 return view.getTranslationX() + sceneRoot.getWidth() * fraction;
124 x = view.getTranslationX() - sceneRoot.getWidth() * fraction;
126 x = view.getTranslationX() + sceneRoot.getWidth() * fraction;
240 float endX = view.getTranslationX(); in onAppear()
256 float startX = view.getTranslationX(); in onDisappear()
DTranslationAnimationCreator.java54 float terminalX = view.getTranslationX(); in createAnimation()
102 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
117 mTransitionPosition[0] = Math.round(mStartX + mMovingView.getTranslationX()); in onAnimationCancel()
128 mPausedX = mMovingView.getTranslationX(); in onAnimationPause()
DExplode.java86 float endX = view.getTranslationX(); in onAppear()
105 float startX = view.getTranslationX(); in onDisappear()
135 + Math.round(sceneRoot.getTranslationX()); in calculateOut()
DVisibilityPropagation.java52 loc[0] += Math.round(view.getTranslationX()); in captureValues()
DCircularPropagation.java84 + sceneRoot.getTranslationX()); in getStartDelay()
DSidePropagation.java93 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); in getStartDelay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTest.java115 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained()
116 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained()
128 assertEquals(100, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained()
129 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained()
316 assertTrue(mViews.get(0).getTranslationX() < 1000); in testCancelAllAnimations()
325 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f);
326 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f);
337 mLayout.getChildAt(i).getTranslationX(), .1f);
385 assertEquals(7, mViews.get(0).getTranslationX(), .01f);
398 assertEquals(100, mViews.get(0).getTranslationX(), .01f);
[all …]
DStackAnimationControllerTest.java86 assertEquals(200, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
88 assertEquals(0, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
101 assertEquals(1000, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
103 assertEquals(200 + -mStackOffset, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
129 assertEquals(0f, mViews.get(0).getTranslationX(), 1f); in testFlingSideways()
163 assertEquals(mWidth / 2f, mViews.get(0).getTranslationX(), .1f); in testFlingUpFromBelowBottomCenter()
197 assertEquals(0f, newView.getTranslationX(), .1f); in testChildAdded()
223 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testChildRemoved()
274 mViews.get(i).getTranslationX(), 2f); in testStackedAtPosition()
DExpandedAnimationControllerTest.java134 mLayout.getChildAt(i).getTranslationX(), 2f); in testStackedAtPosition()
145 mLayout.getChildAt(i).getTranslationX(), in testBubblesInCorrectExpandedPositions()
/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java162 minX = maxX = mView.getTranslationX(); in onPreDraw()
166 minX = Math.min(minX, mView.getTranslationX()); in onPreDraw()
168 maxX = Math.max(maxX, mView.getTranslationX()); in onPreDraw()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java101 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
105 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
/frameworks/base/libs/hwui/
DRenderProperties.cpp121 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties()
192 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
204 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
DRenderNode.cpp450 matrix.translate(properties().getTranslationX(), properties().getTranslationY(), in applyViewPropertyTransforms()
457 true3dMat.loadTranslate(properties().getPivotX() + properties().getTranslationX(), in applyViewPropertyTransforms()
DRenderProperties.h253 float getTranslationX() const { return mPrimitiveFields.mTranslationX; } in getTranslationX() function
272 float getX() const { return getLeft() + getTranslationX(); } in getX()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java391 return getTranslationX(); in getTranslation()
412 outRect.left += getTranslationX(); in getDrawingRect()
413 outRect.right += getTranslationX(); in getDrawingRect()
585 mViewState.xTranslation = getTranslationX(); in resetViewState()
DFooterViewButton.java57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java263 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation()
269 path.lineTo(bubble.getTranslationX(), expandedY); in startOrUpdatePathAnimation()
294 (expanding && !mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation()
347 loc[0] = (int) bubble.getTranslationX(); in prepareForBubbleDrag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java142 xTranslation = view.getTranslationX(); in initFrom()
164 } else if (view.getTranslationX() != this.xTranslation){ in applyToView()
283 if (child.getTranslationX() != this.xTranslation) { in animateTo()
507 child.getTranslationX(), newEndValue); in startXTranslationAnimation()
535 child.setTag(TAG_START_TRANSLATION_X, child.getTranslationX()); in startXTranslationAnimation()
662 return view.getTranslationX(); in getFinalTranslationX()
/frameworks/base/packages/Keyguard/
Dproguard.flags23 public float getTranslationX();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DHeadsUpStatusBarView.java191 int left = (int) (mTmpPosition[0] - getTranslationX()); in onLayout()
238 mIconDrawingRect.offset((int) getTranslationX(), 0); in updateDrawingRect()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java113 values.values.put(PROPNAME_TRANSLATE_X, view.getTranslationX()); in captureValues()
296 tempState.trans = object.getTranslationX(); in get()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java1027 return node.getTranslationX(); in getValue()
1043 return mView.mLeft + node.getTranslationX(); in getValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java734 if (v.getTranslationX() + v.getWidth() < 0) {
740 if (v.getTranslationX() + s.w < 0) {
1130 setTranslationX(getTranslationX()-PARAMS.TRANSLATION_PER_SEC*dt);
1228 setTranslationX(getTranslationX()-PARAMS.TRANSLATION_PER_SEC*dt);
1387 setTranslationX(getTranslationX() - PARAMS.TRANSLATION_PER_SEC * dt * v);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java310 : transformedView.getTranslationX(); in transformViewTo()
398 location[0] -= mTransformedView.getTranslationX(); in getLaidOutLocationOnScreen()
/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java174 float translationX = renderNode.getTranslationX(); in getMatrix()

123