Home
last modified time | relevance | path

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

123

/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/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DStackAnimationControllerTest.java73 assertEquals(100, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
75 assertEquals(0, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
88 assertEquals(500, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
90 assertEquals(100, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing()
116 assertEquals(0f, mViews.get(0).getTranslationY(), 1f); in testFlingSideways()
150 assertEquals(mHeight + 100, mViews.get(0).getTranslationY(), .1f); in testFlingUpFromBelowBottomCenter()
184 assertEquals(500f, newView.getTranslationY(), .1f); in testChildAdded()
246 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_dismiss()
267 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_demagnetizeThenDrag()
301 assertEquals(y, mViews.get(i).getTranslationY(), 2f); in testStackedAtPosition()
DExpandedAnimationControllerTest.java131 assertEquals(500f, draggedBubble.getTranslationY(), 1f); in testBubbleDraggedNotDismissedSnapsBack()
149 assertEquals(500f, draggedBubble.getTranslationY(), 1f); in testBubbleDismissed()
176 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_dismiss()
206 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_demagnetizeThenDrag()
217 assertNotEquals(20, draggedOutView.getTranslationY()); in testMagnetToDismiss_demagnetizeThenDrag()
223 assertEquals(20, draggedOutView.getTranslationY(), 1f); in testMagnetToDismiss_demagnetizeThenDrag()
230 assertEquals(30, draggedOutView.getTranslationY(), 1f); in testMagnetToDismiss_demagnetizeThenDrag()
246 assertEquals(y, mLayout.getChildAt(i).getTranslationY(), 2f); in testStackedAtPosition()
259 mLayout.getChildAt(i).getTranslationY(), 2f); in testBubblesInCorrectExpandedPositions()
DPhysicsAnimationLayoutTest.java317 assertTrue(mViews.get(0).getTranslationY() < 1000); in testCancelAllAnimations()
341 assertEquals(0, mLayout.getChildAt(0).getTranslationY(), .1f);
342 assertEquals(0, mLayout.getChildAt(1).getTranslationY(), .1f);
353 assertEquals(100, mLayout.getChildAt(0).getTranslationY(), .1f);
354 assertEquals(0, mLayout.getChildAt(1).getTranslationY(), .1f);
386 assertEquals(100, mViews.get(0).getTranslationY(), .01f);
399 assertEquals(200, mViews.get(0).getTranslationY(), .01f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java241 float shelfStart = getTranslationY(); in updateAppearance()
287 float rowTranslationY = row.getTranslationY(); in updateAppearance()
345 backgroundTop = (int) (row.getTranslationY() - getTranslationY()); in updateAppearance()
357 float distanceToGapBottom = row.getTranslationY() - getTranslationY(); in updateAppearance()
358 float distanceToGapTop = getTranslationY() in updateAppearance()
359 - (previousRow.getTranslationY() + previousRow.getActualHeight()); in updateAppearance()
414 updateNotificationClipHeight(transientRow, getTranslationY(), -1);
430 float maxTop = row.getTranslationY();
433 maxTop = Math.max(maxTop, getTranslationY() + getClipTopAmount());
436 float shelfIconPosition = getTranslationY() + icon.getTop() + icon.getTranslationY();
[all …]
/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()
DSidePropagation.java94 int top = loc[1] + Math.round(sceneRoot.getTranslationY()); in getStartDelay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java364 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); in getDrawingRect()
365 outRect.top += getTranslationY() + getClipTopAmount(); in getDrawingRect()
371 if (getTop() + getTranslationY() < 0) { in getBoundsOnScreen()
373 outRect.top += getTop() + getTranslationY(); in getBoundsOnScreen()
DFooterViewButton.java58 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect()
/frameworks/base/libs/hwui/
DRenderProperties.cpp121 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties()
192 transform->setTranslate(getTranslationX(), getTranslationY()); in updateMatrix()
205 getPivotY() + getTranslationY()); in updateMatrix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSection.java254 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds()
280 newBottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() in updateBounds()
284 lastView.getTranslationY() + lastView.getActualHeight(), in updateBounds()
DViewState.java143 yTranslation = view.getTranslationY(); in initFrom()
172 } else if (view.getTranslationY() != this.yTranslation) { in applyToView()
290 if (child.getTranslationY() != this.yTranslation) { in animateTo()
571 child.getTranslationY(), newEndValue); in startYTranslationAnimation()
600 child.setTag(TAG_START_TRANSLATION_Y, child.getTranslationY()); in startYTranslationAnimation()
675 return view.getTranslationY(); in getFinalTranslationY()
DNotificationStackScrollLayout.java395 float endY = view.getTranslationY() + view.getActualHeight();
396 float otherEndY = otherView.getTranslationY() + otherView.getActualHeight();
802 mScrollAnchorView.getTranslationY(),
804 mScrollAnchorView.getTranslationY()
808 mScrollAnchorView.getTranslationY() + 30, mDebugPaint);
809 int y = (int) mShelf.getTranslationY();
934 top = Math.min(top, row.getTranslationY());
935 bottom = Math.max(bottom, row.getTranslationY() + row.getActualHeight());
1164 float start = child.getTranslationY();
1572 float childTop = slidingChild.getTranslationY();
[all …]
DStackStateAnimator.java174 && (viewState.yTranslation != child.getTranslationY() in initAnimationProperties()
187 child.setTranslationY(child.getTranslationY() + mGoToFullShadeAppearingTranslation); in adaptDurationWhenGoingToFullShade()
369 float ownPosition = changingView.getTranslationY(); in processAnimationEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActionListTransformState.java56 float y = getTransformedView().getTranslationY(); in resetTransformedView()
DMessagingLayoutTransformState.java110 currentTranslation = matchingGroup.getAvatar().getTranslationY() in transformViewInternal()
113 currentTranslation = ownGroup.getAvatar().getTranslationY(); in transformViewInternal()
280 previousTranslation = otherChild.getTranslationY() - totalTranslation; in transformGroups()
282 previousTranslation = child.getTranslationY(); in transformGroups()
/frameworks/base/packages/Keyguard/
Dproguard.flags25 public float getTranslationY();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMovingSurfaceViewActivity.java75 return getTranslationY(); in getMyTranslationY()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java87 Log.d("RTTest", "View has translationY: " + v.getTranslationY()); in logTranslationY()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java114 values.values.put(PROPNAME_TRANSLATE_Y, view.getTranslationY()); in captureValues()
300 tempState.trans = object.getTranslationY(); in get()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java156 mCard2.setTranslationY(mCard1.getTranslationY()); in playAssistAnimation()

123