Home
last modified time | relevance | path

Searched refs:getTranslationX (Results 1 – 25 of 58) 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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/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.java88 assertEquals(200, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
90 assertEquals(0, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
103 assertEquals(1000, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
105 assertEquals(200 + -mStackOffset, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing()
131 assertEquals(0f, mViews.get(0).getTranslationX(), 1f); in testFlingSideways()
165 assertEquals(mWidth / 2f, mViews.get(0).getTranslationX(), .1f); in testFlingUpFromBelowBottomCenter()
199 assertEquals(0f, newView.getTranslationX(), .1f); in testChildAdded()
225 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testChildRemoved()
276 mViews.get(i).getTranslationX(), 2f); in testStackedAtPosition()
DExpandedAnimationControllerTest.java136 mLayout.getChildAt(i).getTranslationX(), 2f); in testStackedAtPosition()
148 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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleFlyoutViewTest.java110 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
114 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
/frameworks/base/libs/hwui/
DRenderProperties.cpp129 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties()
200 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
212 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
DRenderProperties.h265 float getTranslationX() const { return mPrimitiveFields.mTranslationX; } in getTranslationX() function
284 float getX() const { return getLeft() + getTranslationX(); } in getX()
DRenderNode.cpp509 matrix.translate(properties().getTranslationX(), properties().getTranslationY(), in applyViewPropertyTransforms()
516 true3dMat.loadTranslate(properties().getPivotX() + properties().getTranslationX(), in applyViewPropertyTransforms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java382 return getTranslationX(); in getTranslation()
403 outRect.left += getTranslationX(); in getDrawingRect()
404 outRect.right += getTranslationX(); in getDrawingRect()
568 mViewState.xTranslation = getTranslationX(); in resetViewState()
DFooterViewButton.java57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java257 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation()
265 path.lineTo(bubble.getTranslationX(), expandedY); in startOrUpdatePathAnimation()
298 (expanding && !mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation()
351 loc[0] = (int) bubble.getTranslationX(); in prepareForBubbleDrag()
/frameworks/base/packages/Keyguard/
Dproguard.flags23 public float getTranslationX();
/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.java1028 return node.getTranslationX(); in getValue()
1044 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.java340 : transformedView.getTranslationX(); in transformViewTo()
430 location[0] -= mTransformedView.getTranslationX(); in getLaidOutLocationOnScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DMagnifierView.java183 boolean viewOnLeft = getTranslationX() < (getParentWidth() - getWidth()) / 2; in onCropDragMoved()
/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java174 float translationX = renderNode.getTranslationX(); in getMatrix()

123