/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuListViewTouchHandlerTest.java | 122 MotionEvent.ACTION_DOWN, mStubMenuView.getTranslationX(), in onActionDownEvent_shouldCancelAnimations() 137 MotionEvent.ACTION_DOWN, mStubMenuView.getTranslationX(), in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition() 141 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition() 148 assertThat(mStubMenuView.getTranslationX()).isEqualTo(offset); in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition() 158 MotionEvent.ACTION_DOWN, mStubMenuView.getTranslationX(), in onActionMoveEvent_shouldShowDismissView() 162 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_shouldShowDismissView() 177 MotionEvent.ACTION_DOWN, mStubMenuView.getTranslationX(), in onActionMoveEvent_shouldShowInteractView() 181 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in onActionMoveEvent_shouldShowInteractView() 195 MotionEvent.ACTION_DOWN, mStubMenuView.getTranslationX(), in dragAndDrop_shouldFlingMenuThenSpringToEdge() 199 MotionEvent.ACTION_MOVE, mStubMenuView.getTranslationX() + offset, in dragAndDrop_shouldFlingMenuThenSpringToEdge() [all …]
|
D | MenuItemAccessibilityDelegateTest.java | 140 assertThat(mMenuView.getTranslationX()).isEqualTo(mDraggableBounds.left); in performMoveTopLeftAction_matchPosition() 151 assertThat(mMenuView.getTranslationX()).isEqualTo(mDraggableBounds.right); in performMoveTopRightAction_matchPosition() 162 assertThat(mMenuView.getTranslationX()).isEqualTo(mDraggableBounds.left); in performMoveBottomLeftAction_matchPosition() 173 assertThat(mMenuView.getTranslationX()).isEqualTo(mDraggableBounds.right); in performMoveBottomRightAction_matchPosition()
|
/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()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 116 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained() 117 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained() 129 assertEquals(100, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained() 130 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained() 322 assertTrue(mViews.get(0).getTranslationX() < 1000); in testCancelAllAnimations() 332 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); 333 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); 344 mLayout.getChildAt(i).getTranslationX(), .1f); 392 assertEquals(7, mViews.get(0).getTranslationX(), .01f); 405 assertEquals(100, mViews.get(0).getTranslationX(), .01f); [all …]
|
D | StackAnimationControllerTest.java | 88 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()
|
D | ExpandedAnimationControllerTest.java | 167 assertEquals(x, mLayout.getChildAt(i).getTranslationX(), 2f); in testStackedAtPosition() 181 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/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 272 if (mView.getTranslationX() * velocityX > 0 in onFling() 285 float translationX = mView.getTranslationX(); in isPastDismissThreshold() 345 float startX = mView.getTranslationX(); in createSwipeDismissAnimation() 374 float startX = mView.getTranslationX(); in createSwipeReturnAnimation()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleFlyoutViewTest.java | 107 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent() 111 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButton.java | 232 if (newPosition.getTranslationX() != mPosition.getTranslationX() in onTaskbarStateChanged() 287 final int translationX = position.getTranslationX(); in updateTranslation()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 136 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties() 207 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix() 219 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | ExpandedAnimationController.java | 274 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation() 280 path.lineTo(bubble.getTranslationX(), p.y); in startOrUpdatePathAnimation() 310 (expanding && !mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation() 318 (expanding && mLayout.isFirstChildXLeftOfCenter(bubble.getTranslationX())) in startOrUpdatePathAnimation() 374 loc[0] = (int) bubble.getTranslationX(); in prepareForBubbleDrag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | FooterViewButton.java | 57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
|
D | ExpandableView.java | 421 return getTranslationX(); in getTranslation() 442 outRect.left += getTranslationX(); in getDrawingRect() 443 outRect.right += getTranslationX(); in getDrawingRect() 669 mViewState.setXTranslation(getTranslationX()); in resetViewState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | AodBurnInLayer.kt | 83 override fun getTranslationX(): Float { in getTranslationX() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ViewState.java | 237 mXTranslation = view.getTranslationX(); in initFrom() 259 } else if (view.getTranslationX() != this.mXTranslation) { in applyToView() 391 if (child.getTranslationX() != this.mXTranslation) { in animateTo() 615 child.getTranslationX(), newEndValue); in startXTranslationAnimation() 643 child.setTag(TAG_START_TRANSLATION_X, child.getTranslationX()); in startXTranslationAnimation() 770 return view.getTranslationX(); in getFinalTranslationX()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 287 onSpringAnimationsEnd(new PointF(mMenuView.getTranslationX(), 312 new PointF(mMenuView.getTranslationX(), mMenuView.getTranslationY()), in maybeMoveToEdgeAndHide() 322 return mMenuView.getTranslationX() < mMenuView.getMenuDraggableBounds().centerX(); in isOnLeftSide()
|
D | MenuListViewTouchHandler.java | 69 mMenuTranslationDown.set(menuView.getTranslationX(), menuView.getTranslationY()); in onInterceptTouchEvent()
|
D | MenuView.java | 171 if (getTranslationX() != draggableBounds.left in onEdgeChangedIfNeeded() 172 && getTranslationX() != draggableBounds.right) { in onEdgeChangedIfNeeded()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | BackdropBlurActivity.java | 103 mDownOffsetX = event.getRawX() - getTranslationX(); in onTouchEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 249 assertThat(mStatusArea.getTranslationX()).isEqualTo(0); in switchingToSmallClockAnimation_resetsStatusArea() 259 assertThat(mStatusArea.getTranslationX()).isEqualTo(0); in switchingToSmallClockNoAnimation_resetsStatusArea()
|