/frameworks/base/core/tests/coretests/src/android/transition/ |
D | SlideTransitionTest.java | 60 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/ |
D | StackAnimationControllerTest.java | 73 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()
|
D | ExpandedAnimationControllerTest.java | 131 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()
|
D | PhysicsAnimationLayoutTest.java | 317 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/ |
D | NotificationShelf.java | 241 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/ |
D | TranslationAnimationCreator.java | 55 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()
|
D | Slide.java | 71 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()
|
D | Explode.java | 87 float endY = view.getTranslationY(); in onAppear() 106 float startY = view.getTranslationY(); in onDisappear() 137 + Math.round(sceneRoot.getTranslationY()); in calculateOut()
|
D | VisibilityPropagation.java | 54 loc[1] += Math.round(view.getTranslationY()); in captureValues()
|
D | CircularPropagation.java | 86 + sceneRoot.getTranslationY()); in getStartDelay()
|
D | SidePropagation.java | 94 int top = loc[1] + Math.round(sceneRoot.getTranslationY()); in getStartDelay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 364 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()
|
D | FooterViewButton.java | 58 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 121 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/ |
D | NotificationSection.java | 254 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds() 280 newBottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() in updateBounds() 284 lastView.getTranslationY() + lastView.getActualHeight(), in updateBounds()
|
D | ViewState.java | 143 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()
|
D | NotificationStackScrollLayout.java | 395 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 …]
|
D | StackStateAnimator.java | 174 && (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/ |
D | ActionListTransformState.java | 56 float y = getTransformedView().getTranslationY(); in resetTransformedView()
|
D | MessagingLayoutTransformState.java | 110 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/ |
D | proguard.flags | 25 public float getTranslationY();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MovingSurfaceViewActivity.java | 75 return getTranslationY(); in getMyTranslationY()
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
D | MainActivity.java | 87 Log.d("RTTest", "View has translationY: " + v.getTranslationY()); in logTranslationY()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 114 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/ |
D | AssistInteractionSession.java | 156 mCard2.setTranslationY(mCard1.getTranslationY()); in playAssistAnimation()
|