Home
last modified time | relevance | path

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

123

/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.java72 assertEquals(200, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
74 assertEquals(0, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
87 assertEquals(1000, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
89 assertEquals(200 + -mStackOffset, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
115 assertEquals(0f, mViews.get(0).getTranslationX(), 1f); in testFlingSideways()
149 assertEquals(mWidth / 2f, mViews.get(0).getTranslationX(), .1f); in testFlingUpFromBelowBottomCenter()
183 assertEquals(0f, newView.getTranslationX(), .1f); in testChildAdded()
209 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testChildRemoved()
300 mViews.get(i).getTranslationX(), 2f); in testStackedAtPosition()
DExpandedAnimationControllerTest.java130 assertEquals(500f, draggedBubble.getTranslationX(), 1f); in testBubbleDraggedNotDismissedSnapsBack()
148 assertEquals(500f, draggedBubble.getTranslationX(), 1f); in testBubbleDismissed()
186 assertEquals(mBubblePaddingTop, mViews.get(1).getTranslationX(), 1f); in testMagnetToDismiss_dismiss()
216 assertNotEquals(20, draggedOutView.getTranslationX()); in testMagnetToDismiss_demagnetizeThenDrag()
222 assertEquals(20, draggedOutView.getTranslationX(), 1f); in testMagnetToDismiss_demagnetizeThenDrag()
229 assertEquals(30, draggedOutView.getTranslationX(), 1f); in testMagnetToDismiss_demagnetizeThenDrag()
245 mLayout.getChildAt(i).getTranslationX(), 2f); in testStackedAtPosition()
256 mLayout.getChildAt(i).getTranslationX(), in testBubblesInCorrectExpandedPositions()
/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/
DBubbleFlyoutViewTest.java88 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
92 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
/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/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java341 return getTranslationX(); in getTranslation()
362 outRect.left += getTranslationX(); in getDrawingRect()
363 outRect.right += getTranslationX(); in getDrawingRect()
535 mViewState.xTranslation = getTranslationX(); in resetViewState()
DFooterViewButton.java57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
/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.cpp431 matrix.translate(properties().getTranslationX(), properties().getTranslationY(), in applyViewPropertyTransforms()
438 true3dMat.loadTranslate(properties().getPivotX() + properties().getTranslationX(), in applyViewPropertyTransforms()
DRenderProperties.h250 float getTranslationX() const { return mPrimitiveFields.mTranslationX; } in getTranslationX() function
269 float getX() const { return getLeft() + getTranslationX(); } in getX()
/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()
506 child.getTranslationX(), newEndValue); in startXTranslationAnimation()
533 child.setTag(TAG_START_TRANSLATION_X, child.getTranslationX()); in startXTranslationAnimation()
659 return view.getTranslationX(); in getFinalTranslationX()
/frameworks/base/packages/Keyguard/
Dproguard.flags23 public float getTranslationX();
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java190 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation()
196 path.lineTo(bubble.getTranslationX(), expandedY); in startOrUpdatePathAnimation()
221 (expanding && !mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DHeadsUpStatusBarView.java180 int left = (int) (mTmpPosition[0] - getTranslationX()); in onLayout()
227 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/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/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/bubbles/
DBubbleTouchHandler.java129 mTouchedView.getTranslationX(), mTouchedView.getTranslationY()); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java310 : transformedView.getTranslationX(); in transformViewTo()
398 location[0] -= mTransformedView.getTranslationX(); in getLaidOutLocationOnScreen()

123