Home
last modified time | relevance | path

Searched refs:PopupWindow (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/widget/
DPopupWindowCompat.java24 import android.widget.PopupWindow;
35 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown()
36 void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor); in setOverlapAnchor()
37 boolean getOverlapAnchor(PopupWindow popupWindow); in getOverlapAnchor()
38 void setWindowLayoutType(PopupWindow popupWindow, int layoutType); in setWindowLayoutType()
39 int getWindowLayoutType(PopupWindow popupWindow); in getWindowLayoutType()
47 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown()
60 public void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor()
65 public boolean getOverlapAnchor(PopupWindow popupWindow) { in getOverlapAnchor()
70 public void setWindowLayoutType(PopupWindow popupWindow, int layoutType) { in setWindowLayoutType()
[all …]
/frameworks/support/v4/api23/android/support/v4/widget/
DPopupWindowCompatApi23.java19 import android.widget.PopupWindow;
23 static void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor()
27 static boolean getOverlapAnchor(PopupWindow popupWindow) { in getOverlapAnchor()
31 static void setWindowLayoutType(PopupWindow popupWindow, int layoutType) { in setWindowLayoutType()
35 static int getWindowLayoutType(PopupWindow popupWindow) { in getWindowLayoutType()
/frameworks/support/v4/gingerbread/android/support/v4/widget/
DPopupWindowCompatGingerbread.java19 import android.widget.PopupWindow;
33 static void setWindowLayoutType(PopupWindow popupWindow, int layoutType) { in setWindowLayoutType()
36 sSetWindowLayoutTypeMethod = PopupWindow.class.getDeclaredMethod( in setWindowLayoutType()
54 static int getWindowLayoutType(PopupWindow popupWindow) { in getWindowLayoutType()
57 sGetWindowLayoutTypeMethod = PopupWindow.class.getDeclaredMethod( in getWindowLayoutType()
/frameworks/support/v4/api21/android/support/v4/widget/
DPopupWindowCompatApi21.java20 import android.widget.PopupWindow;
32 sOverlapAnchorField = PopupWindow.class.getDeclaredField("mOverlapAnchor");
39 static void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor()
49 static boolean getOverlapAnchor(PopupWindow popupWindow) { in getOverlapAnchor()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatPopupWindow.java32 import android.widget.PopupWindow;
37 class AppCompatPopupWindow extends PopupWindow {
59 R.styleable.PopupWindow, defStyleAttr, defStyleRes);
116 private static void wrapOnScrollChangedListener(final PopupWindow popup) {
118 final Field fieldAnchor = PopupWindow.class.getDeclaredField("mAnchor");
121 final Field fieldListener = PopupWindow.class
DListPopupWindow.java52 import android.widget.PopupWindow;
82 sClipToWindowEnabledMethod = PopupWindow.class.getDeclaredMethod(
88 sGetMaxAvailableHeightMethod = PopupWindow.class.getDeclaredMethod(
95 sSetEpicenterBoundsMethod = PopupWindow.class.getDeclaredMethod(
150 PopupWindow mPopup;
189 public static final int INPUT_METHOD_FROM_FOCUSABLE = PopupWindow.INPUT_METHOD_FROM_FOCUSABLE;
197 public static final int INPUT_METHOD_NEEDED = PopupWindow.INPUT_METHOD_NEEDED;
205 public static final int INPUT_METHOD_NOT_NEEDED = PopupWindow.INPUT_METHOD_NOT_NEEDED;
271 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
745 public void setOnDismissListener(@Nullable PopupWindow.OnDismissListener listener) {
[all …]
DPopupMenu.java35 import android.widget.PopupWindow;
120 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { in PopupMenu()
DMenuPopupWindow.java38 import android.widget.PopupWindow;
58 sSetTouchModalMethod = PopupWindow.class.getDeclaredMethod(
DActivityChooserView.java41 import android.widget.PopupWindow;
163 private PopupWindow.OnDismissListener mOnDismissListener;
468 public void setOnDismissListener(PopupWindow.OnDismissListener listener) { in setOnDismissListener()
554 View.OnClickListener, View.OnLongClickListener, PopupWindow.OnDismissListener {
/frameworks/support/v4/kitkat/android/support/v4/widget/
DPopupWindowCompatKitKat.java22 import android.widget.PopupWindow;
28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java115 PopupWindow mPopup;
154 public static final int INPUT_METHOD_FROM_FOCUSABLE = PopupWindow.INPUT_METHOD_FROM_FOCUSABLE;
162 public static final int INPUT_METHOD_NEEDED = PopupWindow.INPUT_METHOD_NEEDED;
170 public static final int INPUT_METHOD_NOT_NEEDED = PopupWindow.INPUT_METHOD_NOT_NEEDED;
231 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
232 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
701 public void setOnDismissListener(@Nullable PopupWindow.OnDismissListener listener) {
925 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
940 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED);
1205 mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED; in buildDropDown()
[all …]
DPopupWindow.java101 public class PopupWindow { class
242 public PopupWindow(Context context) { in PopupWindow() method in PopupWindow
251 public PopupWindow(Context context, AttributeSet attrs) { in PopupWindow() method in PopupWindow
260 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr) { in PopupWindow() method in PopupWindow
269 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in PopupWindow() method in PopupWindow
274 attrs, R.styleable.PopupWindow, defStyleAttr, defStyleRes); in PopupWindow()
316 public PopupWindow() { in PopupWindow() method in PopupWindow
329 public PopupWindow(View contentView) { in PopupWindow() method in PopupWindow
343 public PopupWindow(int width, int height) { in PopupWindow() method in PopupWindow
359 public PopupWindow(View contentView, int width, int height) { in PopupWindow() method in PopupWindow
[all …]
DPopupMenu.java116 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { in PopupMenu()
DActivityChooserView.java160 private PopupWindow.OnDismissListener mOnDismissListener;
492 public void setOnDismissListener(PopupWindow.OnDismissListener listener) { in setOnDismissListener()
578 View.OnClickListener, View.OnLongClickListener, PopupWindow.OnDismissListener {
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DStandardMenuPopup.java35 import android.widget.PopupWindow;
36 import android.widget.PopupWindow.OnDismissListener;
76 private PopupWindow.OnDismissListener mOnDismissListener;
158 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in tryShow()
DMenuPopup.java31 import android.widget.PopupWindow;
92 public abstract void setOnDismissListener(PopupWindow.OnDismissListener listener); in setOnDismissListener()
DCascadingMenuPopup.java49 import android.widget.PopupWindow;
50 import android.widget.PopupWindow.OnDismissListener;
64 PopupWindow.OnDismissListener {
189 private PopupWindow.OnDismissListener mOnDismissListener;
DMenuPopupHelper.java34 import android.widget.PopupWindow.OnDismissListener;
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java33 import android.widget.PopupWindow;
36 import android.widget.PopupWindow.OnDismissListener;
93 private PopupWindow.OnDismissListener mOnDismissListener;
177 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in tryShow()
DMenuPopup.java31 import android.widget.PopupWindow;
94 public abstract void setOnDismissListener(PopupWindow.OnDismissListener listener); in setOnDismissListener()
DCascadingMenuPopup.java36 import android.widget.PopupWindow;
37 import android.widget.PopupWindow.OnDismissListener;
49 PopupWindow.OnDismissListener {
192 private PopupWindow.OnDismissListener mOnDismissListener;
234 popupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
DMenuPopupHelper.java33 import android.widget.PopupWindow.OnDismissListener;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DListPopupWindowTest.java36 import android.widget.PopupWindow;
407 private PopupWindow.OnDismissListener mOnDismissListener;
504 mOnDismissListener = mock(PopupWindow.OnDismissListener.class); in configure()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java47 import android.widget.PopupWindow;
146 private PopupWindow mPreviewPopup;
153 private PopupWindow mPopupKeyboard;
325 mPreviewPopup = new PopupWindow(context); in KeyboardView()
337 mPopupKeyboard = new PopupWindow(context); in KeyboardView()
861 final PopupWindow previewPopup = mPreviewPopup; in showPreview()
914 final PopupWindow previewPopup = mPreviewPopup; in showKey()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java61 import android.widget.PopupWindow;
314 private final PopupWindow mPopupWindow;
1656 private static PopupWindow createPopupWindow(ViewGroup content) { in createPopupWindow()
1658 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow()

123