Home
last modified time | relevance | path

Searched refs:yTranslation (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt284 assertThat(emptyShadeView.viewState.yTranslation).isEqualTo(centeredY) in <lambda>()
460 notificationRow.viewState.yTranslation = 10f in <lambda>()
461 notificationShelf.viewState.yTranslation = 0.9f in <lambda>()
474 notificationRow.viewState.yTranslation = 10f in <lambda>()
475 notificationShelf.viewState.yTranslation = 10f in <lambda>()
576 expandableViewState.yTranslation = viewStart in <lambda>()
592 expandableViewState.yTranslation = viewStart in <lambda>()
608 expandableViewState.yTranslation = viewStart in <lambda>()
702 expandableViewState.yTranslation = 50f in <lambda>()
712 assertEquals(50f, expandableViewState.yTranslation) in <lambda>()
[all …]
DViewStateTest.kt42 viewState.yTranslation = 10f in testWtfs()
55 assertLogsWtf { viewState.yTranslation = log2(-10.0).toFloat() } in testWtfs()
56 Assert.assertEquals(viewState.yTranslation, 10f) in testWtfs()
DNotificationShelfTest.kt357 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withNullLastVisibleBackgroundChild_hideShelf()
383 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withNullFirstViewInShelf_hideShelf()
409 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withCollapsedShade_hideShelf()
448 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withHiddenSectionBeforeShelf_hideShelf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTapAgainView.java62 int yTranslation = mContext.getResources().getDimensionPixelSize( in animateIn() local
72 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, yTranslation, 0); in animateIn()
88 int yTranslation = mContext.getResources().getDimensionPixelSize( in animateOut() local
97 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, 0, -yTranslation); in animateOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt415 private fun updateArrowStateOnMove(yTranslation: Float, xTranslation: Float) { in <lambda>()
416 val isWithinYActivationThreshold = xTranslation * 2 >= yTranslation in <lambda>()
467 val yTranslation = abs(yOffset) in <lambda>() constant
499 updateArrowStateOnMove(yTranslation, xTranslation) in <lambda>()
551 val yTranslation = abs(yOffset) in <lambda>() constant
554 val yProgress = MathUtils.saturate(yTranslation / (maxYOffset * rubberbandAmount)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java166 public void setYTranslation(float yTranslation) { in setYTranslation() argument
167 if (isValidFloat(yTranslation, "yTranslation")) { in setYTranslation()
168 this.mYTranslation = yTranslation; in setYTranslation()
DNotificationChildrenContainer.java839 float yTranslation = mGroupOverFlowState.getYTranslation()
842 mGroupOverFlowState.setYTranslation(yTranslation);
DNotificationStackScrollLayout.java5779 private void setRoundingClippingYTranslation(int yTranslation) { in setRoundingClippingYTranslation() argument
5781 if (mRoundedRectClippingYTranslation == yTranslation) { in setRoundingClippingYTranslation()
5784 mRoundedRectClippingYTranslation = yTranslation; in setRoundingClippingYTranslation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java1097 int yTranslation = mResources.getDimensionPixelSize(R.dimen.disappear_y_translation); in startDisappearAnimation() local
1101 yTranslation); in startDisappearAnimation()