Home
last modified time | relevance | path

Searched refs:originalView (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DContextMenuBuilder.java79 public MenuDialogHelper showDialog(View originalView, IBinder token) { in showDialog() argument
80 if (originalView != null) { in showDialog()
83 originalView.createContextMenu(this); in showDialog()
98 public MenuPopupHelper showPopup(Context context, View originalView, float x, float y) { in showPopup() argument
99 if (originalView != null) { in showPopup()
102 originalView.createContextMenu(this); in showPopup()
109 originalView.getLocationOnScreen(location); in showPopup()
114 originalView, in showPopup()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarContainerTest.java79 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { in startActionModeForChild() argument
81 return super.startActionModeForChild(originalView, callback); in startActionModeForChild()
86 View originalView, ActionMode.Callback callback, int type) { in startActionModeForChild() argument
88 return super.startActionModeForChild(originalView, callback, type); in startActionModeForChild()
/frameworks/base/core/java/android/view/
DViewParent.java227 public boolean showContextMenuForChild(View originalView); in showContextMenuForChild() argument
252 boolean showContextMenuForChild(View originalView, float x, float y); in showContextMenuForChild() argument
277 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback); in startActionModeForChild() argument
293 View originalView, ActionMode.Callback callback, int type); in startActionModeForChild() argument
DViewGroup.java945 public boolean showContextMenuForChild(View originalView) { in showContextMenuForChild() argument
951 return mParent != null && mParent.showContextMenuForChild(originalView); in showContextMenuForChild()
962 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() argument
965 if (showContextMenuForChild(originalView)) { in showContextMenuForChild()
971 return mParent != null && mParent.showContextMenuForChild(originalView, x, y); in showContextMenuForChild()
975 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { in startActionModeForChild() argument
980 return startActionModeForChild(originalView, callback, ActionMode.TYPE_PRIMARY); in startActionModeForChild()
992 View originalView, ActionMode.Callback callback, int type) { in startActionModeForChild() argument
998 mode = startActionModeForChild(originalView, callback); in startActionModeForChild()
1008 return mParent.startActionModeForChild(originalView, callback, type); in startActionModeForChild()
[all …]
DViewRootImpl.java7942 public boolean showContextMenuForChild(View originalView) { in showContextMenuForChild() argument
7947 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() argument
7952 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback) { in startActionModeForChild() argument
7958 View originalView, ActionMode.Callback callback, int type) { in startActionModeForChild() argument
/frameworks/base/core/java/android/widget/
DGallery.java1178 public boolean showContextMenuForChild(View originalView) { in showContextMenuForChild() argument
1182 return showContextMenuForChildInternal(originalView, 0, 0, false); in showContextMenuForChild()
1186 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() argument
1187 return showContextMenuForChildInternal(originalView, x, y, true); in showContextMenuForChild()
1190 private boolean showContextMenuForChildInternal(View originalView, float x, float y, in showContextMenuForChildInternal() argument
1192 final int longPressPosition = getPositionForView(originalView); in showContextMenuForChildInternal()
1198 return dispatchLongPress(originalView, longPressPosition, longPressId, x, y, useOffsets); in showContextMenuForChildInternal()
DAbsListView.java3364 public boolean showContextMenuForChild(View originalView) { in showContextMenuForChild() argument
3368 return showContextMenuForChildInternal(originalView, 0, 0, false); in showContextMenuForChild()
3372 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() argument
3373 return showContextMenuForChildInternal(originalView,x, y, true); in showContextMenuForChild()
3376 private boolean showContextMenuForChildInternal(View originalView, float x, float y, in showContextMenuForChildInternal() argument
3378 final int longPressPosition = getPositionForView(originalView); in showContextMenuForChildInternal()
3387 handled = mOnItemLongClickListener.onItemLongClick(this, originalView, in showContextMenuForChildInternal()
3396 handled = super.showContextMenuForChild(originalView, x, y); in showContextMenuForChildInternal()
3398 handled = super.showContextMenuForChild(originalView); in showContextMenuForChildInternal()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java814 public boolean showContextMenuForChild(View originalView) { in showContextMenuForChild() argument
815 return showContextMenuForChildInternal(originalView, Float.NaN, Float.NaN); in showContextMenuForChild()
819 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild() argument
820 return showContextMenuForChildInternal(originalView, x, y); in showContextMenuForChild()
823 private boolean showContextMenuForChildInternal(View originalView, in showContextMenuForChildInternal() argument
843 helper = mWindow.mContextMenu.showPopup(getContext(), originalView, x, y); in showContextMenuForChildInternal()
845 helper = mWindow.mContextMenu.showDialog(originalView, originalView.getWindowToken()); in showContextMenuForChildInternal()
861 public ActionMode startActionModeForChild(View originalView, in startActionModeForChild() argument
863 return startActionModeForChild(originalView, callback, ActionMode.TYPE_PRIMARY); in startActionModeForChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java541 public ActionMode startActionModeForChild(View originalView, ActionMode.Callback callback, in startActionModeForChild() argument
544 return startActionMode(originalView, callback, type); in startActionModeForChild()
546 return super.startActionModeForChild(originalView, callback, type); in startActionModeForChild()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...