Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/widget/
DPopupWindowCompat.java21 import android.widget.PopupWindow;
32 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown()
33 void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor); in setOverlapAnchor()
34 boolean getOverlapAnchor(PopupWindow popupWindow); in getOverlapAnchor()
35 void setWindowLayoutType(PopupWindow popupWindow, int layoutType); in setWindowLayoutType()
36 int getWindowLayoutType(PopupWindow popupWindow); in getWindowLayoutType()
44 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown()
50 public void setOverlapAnchor(PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor()
55 public boolean getOverlapAnchor(PopupWindow popupWindow) { in getOverlapAnchor()
60 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/internal/widget/
DAppCompatPopupWindow.java28 import android.widget.PopupWindow;
36 public class AppCompatPopupWindow extends PopupWindow {
47 R.styleable.PopupWindow, defStyleAttr, 0);
90 private static void wrapOnScrollChangedListener(final PopupWindow popup) {
92 final Field fieldAnchor = PopupWindow.class.getDeclaredField("mAnchor");
95 final Field fieldListener = PopupWindow.class
DActivityChooserView.java42 import android.widget.PopupWindow;
164 private PopupWindow.OnDismissListener mOnDismissListener;
469 public void setOnDismissListener(PopupWindow.OnDismissListener listener) { in setOnDismissListener()
555 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/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java51 import android.widget.PopupWindow;
80 sClipToWindowEnabledMethod = PopupWindow.class.getDeclaredMethod(
88 private PopupWindow mPopup;
167 public static final int INPUT_METHOD_FROM_FOCUSABLE = PopupWindow.INPUT_METHOD_FROM_FOCUSABLE;
175 public static final int INPUT_METHOD_NEEDED = PopupWindow.INPUT_METHOD_NEEDED;
183 public static final int INPUT_METHOD_NOT_NEEDED = PopupWindow.INPUT_METHOD_NOT_NEEDED;
242 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
683 public void setOnDismissListener(PopupWindow.OnDismissListener listener) { in setOnDismissListener()
903 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in onKeyDown()
918 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in onKeyDown()
[all …]
DAppCompatSpinner.java46 import android.widget.PopupWindow;
798 setOnDismissListener(new PopupWindow.OnDismissListener() { in show()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java73 private PopupWindow mPopup;
153 public static final int INPUT_METHOD_FROM_FOCUSABLE = PopupWindow.INPUT_METHOD_FROM_FOCUSABLE;
161 public static final int INPUT_METHOD_NEEDED = PopupWindow.INPUT_METHOD_NEEDED;
169 public static final int INPUT_METHOD_NOT_NEEDED = PopupWindow.INPUT_METHOD_NOT_NEEDED;
228 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); in ListPopupWindow()
229 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in ListPopupWindow()
687 public void setOnDismissListener(PopupWindow.OnDismissListener listener) {
904 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
919 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED);
1183 mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED; in buildDropDown()
[all …]
DPopupWindow.java61 public class PopupWindow { class
191 public PopupWindow(Context context) { in PopupWindow() method in PopupWindow
200 public PopupWindow(Context context, AttributeSet attrs) { in PopupWindow() method in PopupWindow
209 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr) { in PopupWindow() method in PopupWindow
218 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in PopupWindow() method in PopupWindow
223 attrs, R.styleable.PopupWindow, defStyleAttr, defStyleRes); in PopupWindow()
265 public PopupWindow() { in PopupWindow() method in PopupWindow
278 public PopupWindow(View contentView) { in PopupWindow() method in PopupWindow
292 public PopupWindow(int width, int height) { in PopupWindow() method in PopupWindow
308 public PopupWindow(View contentView, int width, int height) { in PopupWindow() method in PopupWindow
[all …]
DActivityChooserView.java160 private PopupWindow.OnDismissListener mOnDismissListener;
492 public void setOnDismissListener(PopupWindow.OnDismissListener listener) { in setOnDismissListener()
578 View.OnClickListener, View.OnLongClickListener, PopupWindow.OnDismissListener {
DAutoCompleteTextView.java591 PopupWindow.OnDismissListener wrappedListener = null; in setOnDismissListener()
593 wrappedListener = new PopupWindow.OnDismissListener() { in setOnDismissListener()
DEditor.java438 mErrorPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); in showError()
707 private void chooseSize(PopupWindow pop, CharSequence text, TextView tv) { in chooseSize()
2367 mPopupWindow = new PopupWindow(mTextView.getContext(), null, in createPopupWindow()
2369 mPopupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
2532 protected PopupWindow mPopupWindow;
2647 private class CustomPopupWindow extends PopupWindow {
2678 mPopupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
3495 private final PopupWindow mContainer;
3524 mContainer = new PopupWindow(mTextView.getContext(), null, in HandleView()
5023 private static class ErrorPopup extends PopupWindow {
DSpinner.java48 import android.widget.PopupWindow.OnDismissListener;
DAbsListView.java466 PopupWindow mPopup;
5825 PopupWindow p = new PopupWindow(getContext()); in createTextFilter()
5828 p.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createTextFilter()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuPopupHelper.java36 import android.widget.PopupWindow;
46 ViewTreeObserver.OnGlobalLayoutListener, PopupWindow.OnDismissListener,
162 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in tryShow()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java35 import android.widget.PopupWindow;
44 ViewTreeObserver.OnGlobalLayoutListener, PopupWindow.OnDismissListener,
169 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in tryShow()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java47 import android.widget.PopupWindow;
146 private PopupWindow mPreviewPopup;
153 private PopupWindow mPopupKeyboard;
346 mPreviewPopup = new PopupWindow(context); in KeyboardView()
358 mPopupKeyboard = new PopupWindow(context); in KeyboardView()
852 final PopupWindow previewPopup = mPreviewPopup; in showPreview()
905 final PopupWindow previewPopup = mPreviewPopup; in showKey()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java55 import android.widget.PopupWindow;
288 private final PopupWindow mPopupWindow;
1467 private static PopupWindow createPopupWindow(View content) { in createPopupWindow()
1469 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java161 R.styleable.PopupWindow, R.attr.popupMenuStyle, 0); in createMenuPopup()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd55 ….widget.PopupMenu} widgets can be implemented using {@link android.widget.PopupWindow} widgets.</p>
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV7.java83 import android.widget.PopupWindow;
99 PopupWindow mActionModePopup;
696 mActionModePopup = new PopupWindow(actionBarContext, null, in startSupportActionModeFromWindow()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java118 import android.widget.PopupWindow;
2216 private PopupWindow mPrimaryActionModePopup;
3384 mPrimaryActionModePopup = new PopupWindow(actionBarContext, null,
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java91 import android.widget.PopupWindow;
310 popup.setOnDismissListener(new PopupWindow.OnDismissListener() { in setupPopupWindow()

12