Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/bar/
DBubbleBarHandleViewTest.java39 private BubbleBarHandleView mHandleView; field in BubbleBarHandleViewTest
43 mHandleView = new BubbleBarHandleView(mContext); in setup()
48 mHandleView.updateHandleColor(false /* isRegionDark */, false /* animated */); in testUpdateHandleColor_lightBg()
50 assertTrue(mHandleView.getClipToOutline()); in testUpdateHandleColor_lightBg()
51 assertTrue(mHandleView.getBackground() instanceof ColorDrawable); in testUpdateHandleColor_lightBg()
52 ColorDrawable bgDrawable = (ColorDrawable) mHandleView.getBackground(); in testUpdateHandleColor_lightBg()
59 mHandleView.updateHandleColor(true /* isRegionDark */, false /* animated */); in testUpdateHandleColor_darkBg()
61 assertTrue(mHandleView.getClipToOutline()); in testUpdateHandleColor_darkBg()
62 assertTrue(mHandleView.getBackground() instanceof ColorDrawable); in testUpdateHandleColor_darkBg()
63 ColorDrawable bgDrawable = (ColorDrawable) mHandleView.getBackground(); in testUpdateHandleColor_darkBg()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedView.java92 private BubbleBarHandleView mHandleView; field in BubbleBarExpandedView
138 mHandleView = findViewById(R.id.bubble_bar_handle_view); in onFinishInflate()
188 bringChildToFront(mHandleView); in initialize()
215 mHandleView.setOnClickListener(view -> { in initialize()
221 return mHandleView; in getHandleView()
389 mHandleView.updateHandleColor(isRegionDark, animated); in updateHandleColor()