Home
last modified time | relevance | path

Searched refs:mFlyoutText (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java48 private TextView mFlyoutText; field in BubbleFlyoutViewTest
55 mFlyoutText = mFlyout.findViewById(R.id.bubble_flyout_text); in setUp()
61 assertEquals("Hello", mFlyoutText.getText()); in testShowFlyout_isVisible()
63 assertEquals(1f, mFlyoutText.getAlpha(), .01f); in testShowFlyout_isVisible()
82 assertEquals(0f, mFlyoutText.getAlpha(), 0.01f); in testSetCollapsePercent()
83 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
87 assertEquals(1f, mFlyoutText.getAlpha(), 0.01f); in testSetCollapsePercent()
88 assertEquals(0f, mFlyoutText.getTranslationX()); in testSetCollapsePercent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java66 private final TextView mFlyoutText; field in BubbleFlyoutView
140 mFlyoutText = mFlyoutTextContainer.findViewById(R.id.bubble_flyout_text); in BubbleFlyoutView()
211 mFlyoutText.setMaxWidth( in showFlyout()
213 mFlyoutText.setText(updateMessage); in showFlyout()
218 if (mFlyoutText.getLineCount() > 1) { in showFlyout()
282 mFlyoutText.setTranslationX( in setCollapsePercent()
284 mFlyoutText.setAlpha(clampPercentage( in setCollapsePercent()