/frameworks/base/core/java/android/transition/ |
D | Slide.java | 79 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()
|
D | TranslationAnimationCreator.java | 54 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()
|
D | Explode.java | 86 float endX = view.getTranslationX(); in onAppear() 105 float startX = view.getTranslationX(); in onDisappear() 135 + Math.round(sceneRoot.getTranslationX()); in calculateOut()
|
D | VisibilityPropagation.java | 52 loc[0] += Math.round(view.getTranslationX()); in captureValues()
|
D | CircularPropagation.java | 84 + sceneRoot.getTranslationX()); in getStartDelay()
|
D | SidePropagation.java | 93 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); in getStartDelay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 115 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 …]
|
D | StackAnimationControllerTest.java | 86 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()
|
D | ExpandedAnimationControllerTest.java | 134 mLayout.getChildAt(i).getTranslationX(), 2f); in testStackedAtPosition() 145 mLayout.getChildAt(i).getTranslationX(), in testBubblesInCorrectExpandedPositions()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | SlideTransitionTest.java | 162 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/ |
D | BubbleFlyoutViewTest.java | 101 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent() 105 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 121 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties() 192 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix() 204 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
|
D | RenderNode.cpp | 450 matrix.translate(properties().getTranslationX(), properties().getTranslationY(), in applyViewPropertyTransforms() 457 true3dMat.loadTranslate(properties().getPivotX() + properties().getTranslationX(), in applyViewPropertyTransforms()
|
D | RenderProperties.h | 253 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/ |
D | ExpandableView.java | 391 return getTranslationX(); in getTranslation() 412 outRect.left += getTranslationX(); in getDrawingRect() 413 outRect.right += getTranslationX(); in getDrawingRect() 585 mViewState.xTranslation = getTranslationX(); in resetViewState()
|
D | FooterViewButton.java | 57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationController.java | 263 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/ |
D | ViewState.java | 142 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/ |
D | proguard.flags | 23 public float getTranslationX();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | HeadsUpStatusBarView.java | 191 int left = (int) (mTmpPosition[0] - getTranslationX()); in onLayout() 238 mIconDrawingRect.offset((int) getTranslationX(), 0); in updateDrawingRect()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 113 values.values.put(PROPNAME_TRANSLATE_X, view.getTranslationX()); in captureValues() 296 tempState.trans = object.getTranslationX(); in get()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 1027 return node.getTranslationX(); in getValue() 1043 return mView.mLeft + node.getTranslationX(); in getValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 734 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/ |
D | TransformState.java | 310 : transformedView.getTranslationX(); in transformViewTo() 398 location[0] -= mTransformedView.getTranslationX(); in getLaidOutLocationOnScreen()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 174 float translationX = renderNode.getTranslationX(); in getMatrix()
|