Searched refs:mAnchorView (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PopupList.java | 59 private final View mAnchorView; field in PopupList 71 mAnchorView = anchorView; in PopupList() 93 ViewTreeObserver observer = mAnchorView.getViewTreeObserver(); 121 mPopupWindow.update(mAnchorView, 128 mAnchorView.getViewTreeObserver() in show() 134 mPopupWindow.showAsDropDown(mAnchorView, mPopupOffsetX, mPopupOffsetY); in show() 144 int maxHeight = mPopupWindow.getMaxAvailableHeight(mAnchorView) - p.top - p.bottom; in updatePopupLayoutParams()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusicon/ |
D | StatusIconPanelViewControllerTest.java | 68 private ImageView mAnchorView; field in StatusIconPanelViewControllerTest 92 mAnchorView = spy(new ImageView(mContext)); in setUp() 93 mAnchorView.setImageDrawable(mContext.getDrawable(R.drawable.ic_bluetooth_status_off)); in setUp() 94 mAnchorView.setColorFilter(mContext.getColor(R.color.car_status_icon_color)); in setUp() 97 mDeviceProvisionedController, mCarSystemBarElementInitializer).build(mAnchorView, in setUp() 100 reset(mAnchorView); in setUp() 219 .onGlobalFocusChanged(mAnchorView, newFocusView); in onGlobalFocusChanged_panelShowing_panelDismissed() 251 mViewController.getOnClickListener().onClick(mAnchorView); in clickAnchorView()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | DataSubscriptionController.java | 195 private View mAnchorView; field in DataSubscriptionController 310 if (mAnchorView != null) { in showPopUpWindow() 311 mAnchorView.post(new Runnable() { in showPopUpWindow() 326 mPopupWindow.showAsDropDown(mAnchorView, -xOffsetInPx / 2, yOffsetInPx); in showPopUpWindow() 327 mAnchorView.getHandler().postDelayed(new Runnable() { in showPopUpWindow() 344 mAnchorView = view; in setAnchorView() 345 if (mAnchorView != null) { in setAnchorView()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | DataSubscriptionControllerTest.java | 89 private View mAnchorView; field in DataSubscriptionControllerTest 144 mController.setAnchorView(mAnchorView); in setAnchorView_viewNotNull_popUpDisplay() 148 verify(mAnchorView).post(any()); in setAnchorView_viewNotNull_popUpDisplay() 162 verify(mAnchorView, never()).post(any()); in setAnchorView_viewNull_popUpNotDisplay() 277 mController.setAnchorView(mAnchorView); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed() 298 mController.setAnchorView(mAnchorView); in onRestrictionsChanged_optimizationRequired_buttonDismissedInReactiveMsg()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBar.java | 88 private final View mAnchorView; field in SnackBar.Placement 93 mAnchorView = anchorView; in Placement() 98 return mAnchorView; in getAnchorView()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 145 private View mAnchorView; field in ChannelBannerView 312 mAnchorView = findViewById(R.id.anchor); in onFinishInflate() 728 mAnchorView,
|