Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java47 private BubbleFlyoutView mFlyout; field in BubbleFlyoutViewTest
53 mFlyout = new BubbleFlyoutView(getContext()); in setUp()
55 mFlyoutText = mFlyout.findViewById(R.id.bubble_flyout_text); in setUp()
60 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, null); in testShowFlyout_isVisible()
62 assertEquals(View.VISIBLE, mFlyout.getVisibility()); in testShowFlyout_isVisible()
69 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, after); in testFlyoutHide_runsCallback()
70 mFlyout.hideFlyout(); in testFlyoutHide_runsCallback()
77 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, null); in testSetCollapsePercent()
79 float initialTranslationZ = mFlyout.getTranslationZ(); in testSetCollapsePercent()
81 mFlyout.setCollapsePercent(1f); in testSetCollapsePercent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleStackView.java160 private BubbleFlyoutView mFlyout; field in BubbleStackView
279 mFlyout.postDelayed(mHideFlyout, FLYOUT_HIDE_AFTER);
281 mFlyout.hideFlyout();
345 mFlyout = new BubbleFlyoutView(context); in BubbleStackView()
346 mFlyout.setVisibility(GONE); in BubbleStackView()
347 mFlyout.animate() in BubbleStackView()
350 addView(mFlyout, new FrameLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT)); in BubbleStackView()
828 } else if (mFlyout.getVisibility() == VISIBLE && isIntersecting(mFlyout, x, y)) { in getTargetView()
829 return mFlyout; in getTargetView()
837 return mFlyout; in getFlyoutView()
[all …]