Home
last modified time | relevance | path

Searched refs:getTranslationY (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandlerTest.java123 mStubMenuView.getTranslationY()); in onActionDownEvent_shouldCancelAnimations()
138 mStubMenuView.getTranslationY()); in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition()
142 mStubMenuView.getTranslationY() + offset); in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition()
149 assertThat(mStubMenuView.getTranslationY()).isEqualTo(offset); in onActionMoveEvent_notConsumedEvent_shouldMoveToPosition()
159 mStubMenuView.getTranslationY()); in onActionMoveEvent_shouldShowDismissView()
163 mStubMenuView.getTranslationY() + offset); in onActionMoveEvent_shouldShowDismissView()
178 mStubMenuView.getTranslationY()); in onActionMoveEvent_shouldShowInteractView()
182 mStubMenuView.getTranslationY() + offset); in onActionMoveEvent_shouldShowInteractView()
196 mStubMenuView.getTranslationY()); in dragAndDrop_shouldFlingMenuThenSpringToEdge()
200 mStubMenuView.getTranslationY() + offset); in dragAndDrop_shouldFlingMenuThenSpringToEdge()
[all …]
DMenuItemAccessibilityDelegateTest.java141 assertThat(mMenuView.getTranslationY()).isEqualTo(mDraggableBounds.top); in performMoveTopLeftAction_matchPosition()
152 assertThat(mMenuView.getTranslationY()).isEqualTo(mDraggableBounds.top); in performMoveTopRightAction_matchPosition()
163 assertThat(mMenuView.getTranslationY()).isEqualTo(mDraggableBounds.bottom); in performMoveBottomLeftAction_matchPosition()
174 assertThat(mMenuView.getTranslationY()).isEqualTo(mDraggableBounds.bottom); in performMoveBottomRightAction_matchPosition()
/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java60 assertEquals(0f, square1.getTranslationY(), 0.1f); in testShortSlide()
63 assertFalse(square1.getTranslationY() < 0.1 in testShortSlide()
64 || square1.getTranslationY() > finalOffsetOut - 0.1); in testShortSlide()
77 assertEquals(initialOffsetIn, square1.getTranslationY(), 0.1f); in testShortSlide()
80 assertFalse(square1.getTranslationY() < 0.1 in testShortSlide()
81 || square1.getTranslationY() > initialOffsetIn - 0.1); in testShortSlide()
84 assertEquals(0f, square1.getTranslationY(), 0.1); in testShortSlide()
163 minY = maxY = mView.getTranslationY(); in onPreDraw()
167 minY = Math.min(minY, mView.getTranslationY()); in onPreDraw()
169 maxY = Math.max(maxY, mView.getTranslationY()); in onPreDraw()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java89 assertEquals(100, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
91 assertEquals(0, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
104 assertEquals(500, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
106 assertEquals(100, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
132 assertEquals(0f, mViews.get(0).getTranslationY(), 1f); in testFlingSideways()
166 assertEquals(mHeight + 100, mViews.get(0).getTranslationY(), .1f); in testFlingUpFromBelowBottomCenter()
200 assertEquals(500f, newView.getTranslationY(), .1f); in testChildAdded()
277 assertEquals(y, mViews.get(i).getTranslationY(), 2f); in testStackedAtPosition()
DPhysicsAnimationLayoutTest.java323 assertTrue(mViews.get(0).getTranslationY() < 1000); in testCancelAllAnimations()
348 assertEquals(0, mLayout.getChildAt(0).getTranslationY(), .1f);
349 assertEquals(0, mLayout.getChildAt(1).getTranslationY(), .1f);
360 assertEquals(100, mLayout.getChildAt(0).getTranslationY(), .1f);
361 assertEquals(0, mLayout.getChildAt(1).getTranslationY(), .1f);
393 assertEquals(100, mViews.get(0).getTranslationY(), .01f);
406 assertEquals(200, mViews.get(0).getTranslationY(), .01f);
DExpandedAnimationControllerTest.java168 assertEquals(y + Math.min(i, 1) * mStackOffset, mLayout.getChildAt(i).getTranslationY(), in testStackedAtPosition()
184 mLayout.getChildAt(i).getTranslationY(), 2f); in testBubblesInCorrectExpandedPositions()
/frameworks/base/core/java/android/transition/
DTranslationAnimationCreator.java55 float terminalY = view.getTranslationY(); in createAnimation()
103 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener()
118 mTransitionPosition[1] = Math.round(mStartY + mMovingView.getTranslationY()); in onAnimationCancel()
129 mPausedY = mMovingView.getTranslationY(); in onAnimationPause()
DSlide.java71 return view.getTranslationY(); in getGoneY()
107 return view.getTranslationY() - sceneRoot.getHeight() * fraction;
135 return view.getTranslationY() + sceneRoot.getHeight() * fraction;
241 float endY = view.getTranslationY(); in onAppear()
257 float startY = view.getTranslationY(); in onDisappear()
DExplode.java87 float endY = view.getTranslationY(); in onAppear()
106 float startY = view.getTranslationY(); in onDisappear()
137 + Math.round(sceneRoot.getTranslationY()); in calculateOut()
DVisibilityPropagation.java54 loc[1] += Math.round(view.getTranslationY()); in captureValues()
DCircularPropagation.java86 + sceneRoot.getTranslationY()); in getStartDelay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java390 float shelfStart = getTranslationY(); in updateAppearance()
418 final float viewStart = child.getTranslationY(); in updateAppearance()
419 final float shelfClipStart = getTranslationY() - mPaddingBetweenElements; in updateAppearance()
598 updateNotificationClipHeight(transientExpandableView, getTranslationY(), -1);
612 float maxTop = row.getTranslationY();
615 maxTop = Math.max(maxTop, getTranslationY() + getClipTopAmount());
618 float shelfIconPosition = getTranslationY() + icon.getTop() + icon.getTranslationY();
677 float viewEnd = view.getTranslationY() + view.getActualHeight();
696 return (int) (viewEnd - getTranslationY());
732 float viewStart = view.getTranslationY();
[all …]
/frameworks/base/libs/hwui/
DRenderProperties.cpp136 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties()
207 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
220 getPivotY() + getTranslationY()); in updateMatrix()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButton.java233 || newPosition.getTranslationY() != mPosition.getTranslationY()) { in onTaskbarStateChanged()
288 final int translationY = position.getTranslationY(); in updateTranslation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingLayoutTransformState.java112 currentTranslation = matchingGroup.getAvatar().getTranslationY() in transformViewInternal()
115 currentTranslation = ownGroup.getAvatar().getTranslationY(); in transformViewInternal()
300 previousTranslation = ownSenderView.getTranslationY(); in transformGroups()
307 previousTranslation = otherChild.getTranslationY() - totalTranslation; in transformGroups()
309 previousTranslation = child.getTranslationY(); in transformGroups()
DActionListTransformState.java56 float y = getTransformedView().getTranslationY(); in resetTransformedView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java288 mMenuView.getTranslationY()), writeToPosition);
312 new PointF(mMenuView.getTranslationX(), mMenuView.getTranslationY()), in maybeMoveToEdgeAndHide()
404 .translationY(mMenuView.getTranslationY()) in startShrinkAnimation()
415 .translationY(mMenuView.getTranslationY()) in startGrowAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java141 canvas.translate(0, -getTranslationY()); in dispatchDraw()
143 canvas.translate(0, getTranslationY()); in dispatchDraw()
368 if (mClippingEnabled && y + getTranslationY() > mFancyClippingTop) { in isTransformedTouchPointInView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFooterViewButton.java58 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect()
DExpandableView.java444 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); in getDrawingRect()
445 outRect.top += getTranslationY() + getClipTopAmount(); in getDrawingRect()
451 if (getTop() + getTranslationY() < 0) { in getBoundsOnScreen()
453 outRect.top += getTop() + getTranslationY(); in getBoundsOnScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java238 mYTranslation = view.getTranslationY(); in initFrom()
267 } else if (view.getTranslationY() != this.mYTranslation) { in applyToView()
398 if (child.getTranslationY() != this.mYTranslation) { in animateTo()
681 child.getTranslationY(), newEndValue); in startYTranslationAnimation()
711 child.setTag(TAG_START_TRANSLATION_Y, child.getTranslationY()); in startYTranslationAnimation()
786 return view.getTranslationY(); in getFinalTranslationY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DAodBurnInLayer.kt92 override fun getTranslationY(): Float { in getTranslationY() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java274 path.moveTo(bubble.getTranslationX(), bubble.getTranslationY()); in startOrUpdatePathAnimation()
375 loc[1] = (int) bubble.getTranslationY(); in prepareForBubbleDrag()
440 .translationY(bubble.getTranslationY() + translationYBy)
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java75 return getTranslationY(); in getMyTranslationY()
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java83 Log.d("RTTest", "View has translationY: " + v.getTranslationY()); in logTranslationY()

1234