History log of /frameworks/base/core/java/android/widget/PopupWindow.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
574b37ecc20a5358cb6147dae6d633385467ab55 07-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3071869 - text anchors are now treated as application sub-panels.

This places text anchors on a layer above normal application panels,
ensuring that they stay above things like the browser autocompletion
list.

Change-Id: I4ee0aea7416a2dafd7e48a7a39acf949af5db3e9
/frameworks/base/core/java/android/widget/PopupWindow.java
c3808b5dc7d5873d04e8a0a247b179b2757764ba 04-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3058324

PopupWindow now responds to the style attribute popupAnimationStyle
instead of windowAnimationStyle. The latter was being overridden with
undesired values. Animation.PopupWindow style added as a special
default sentinel value, which switches animation styles based on
whether the window is showing above or below an anchor.

Change-Id: Id7cc81f089b6053f2d3a495b1046002548ecf125
/frameworks/base/core/java/android/widget/PopupWindow.java
ba0a2c383ffe4be1fe33a5aa57bc3148c4fd0b7c 29-Sep-2010 Adam Powell <adamp@google.com> Fix text anchors

Change-Id: Iddd5434a1dbeb1adc2143db73ed27df6b575319e
/frameworks/base/core/java/android/widget/PopupWindow.java
01ce2e9eee41cc0c24b0d16465710a28ea337d5d 27-Sep-2010 Jeff Brown <jeffbrown@google.com> Add suuport for splitting touch events across windows.

This feature is currently used to enable dragging the start and end
selection handles of a TextView at the same time. Could be used for
other things later.

Deleted some dead code in ArrowKeyMovementMethod and CursorControllers.

Change-Id: I930accd97ca1ca1917aab8a807db2c950fc7b409
/frameworks/base/core/java/android/widget/PopupWindow.java
9aed300279db6953356aed5ef24a42291f5829cb 20-Sep-2010 Adam Powell <adamp@google.com> Text selection anchors changed to use windows

Change-Id: I14f138039f5e3175a8c07f21985715b8447708e5
/frameworks/base/core/java/android/widget/PopupWindow.java
92be82e6a85bfe6f86400eb46d7c5e8ec5787b3c 17-Mar-2010 Romain Guy <romainguy@android.com> Prevent crash when dismissing a PopupWindow that didn't have time to show up.
Bug #2520981

This is very similar to recent crashes we fixed in Dialogs.

Change-Id: Ifd85f05ddc3843ef727ca92808568a5520c83107
/frameworks/base/core/java/android/widget/PopupWindow.java
3e141685003939a9addce21ba2492ea3a8aebee6 09-Mar-2010 Romain Guy <romainguy@android.com> Fix scrolling bug in AutoCompleteTextView.
Bug #2495033

This fixes various issues. ACTV would sometimes not update its popup to match
its size/location.

Change-Id: Ic662bddf40e49b09482b15ff91666be3709da1d5
/frameworks/base/core/java/android/widget/PopupWindow.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/frameworks/base/core/java/android/widget/PopupWindow.java
9a583c1bfb551c78c125c91071000d1470c73b8a 12-Nov-2009 Romain Guy <romainguy@android.com> Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.

Change-Id: Icccbd8897186d0b9348a40b3dfc19ab7ac389efd
/frameworks/base/core/java/android/widget/PopupWindow.java
8d37426c754e9822feaa8c6cc0b7c13e8523e217 15-Sep-2009 Dianne Hackborn <hackbod@google.com> Various fixed for back key handling.

My last change was far from perfect. Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
/frameworks/base/core/java/android/widget/PopupWindow.java
d034856ab901a8be1877174da33458630faeb382 17-Aug-2009 Amith Yamasani <yamasani@google.com> Allow animation styles to be applied to popup windows.

Window params were not carrying the package name required for loading
animation styles from outside of the android package.
/frameworks/base/core/java/android/widget/PopupWindow.java
374aaaed32daa8482d98ec16988b2b51547f035d 15-Jul-2009 Romain Guy <romainguy@android.com> Restore PopupWindow's original behavior and add an API to control the soft input
mode.
/frameworks/base/core/java/android/widget/PopupWindow.java
64f59342d41849bd365cb43fad7505d5e3daa417 21-Jun-2009 Mitsuru Oshima <oshima@google.com> * new screen resolution support impl.
* use full window for activities, and shift & clip the content
* refactored the compatibility code, and introdcued Translator class to handle cooridnate translations.
* removed a workaround to handle an activity with configChagne=rotation in old implementation.
* I'll fix background issue on rotation in next CL.

* removed unnecessary scaling code in SurfaceView, which I forgot to remove when I changed SurfaceView
not to scale the content.
/frameworks/base/core/java/android/widget/PopupWindow.java
e29f064383cbc745c8605c707000ab4e16ee0aac 24-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1905761. Updates the height of ACTV's drop down whenever the IME changes.
/frameworks/base/core/java/android/widget/PopupWindow.java
7299807d1895ea25cbe45d32b6edfd9a5723ee7a 22-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.

This change also resizes the drop down automatically whenever the soft input
method is shown/hidden.
/frameworks/base/core/java/android/widget/PopupWindow.java
d6a463a9f23b3901bf729f2f27a6bb8f78b95248 22-May-2009 Romain Guy <romainguy@android.com> Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
/frameworks/base/core/java/android/widget/PopupWindow.java
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/widget/PopupWindow.java
448ecf5a94bb8778c677f00dedd33b26ea7683e8 15-May-2009 Romain Guy <romainguy@android.com> Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
/frameworks/base/core/java/android/widget/PopupWindow.java
98acd54fa6657e8131b3a2a957de7882a2f511ab 08-May-2009 Mike LeBeau <mlebeau@android.com> Make the search dialog's autocomplete dropdown behave correctly
with respect to the soft keyboard. getMaxAvailableHeight in
PopupWindow relies on View's getWindowVisibleDisplayFrame, which
always takes into account the IME, whereas in this case, because
we want the window to extend down to the bottom of the display
when it is being interacted with by the user, I added a new
boolean option 'ignoreBottomDecorations' to getMaxAvailableHeight.
If true, the method returns the height which will extend the
PopupWindow down to the bottom of the screen, rather than just
down to the IME.

Then in AutoCompleteTextView, I set this to true when the
dropDownAlwaysVisible attribute is true and the PopupWindow's
input method mode is INPUT_METHOD_NOT_NEEDED (which happens when
the list is dragged or otherwise interacted with).

Then, because the dropdown height is only calculated when we call
showDropDown(), I had to replace a couple calls to mPopup.update().

There are still a few remaining bugs here I'm tracking Still to do:
* Fix a strange re-placement of the window which happens
intermittently.
* Strange behavior when using the directional pad.
* In a few cases, the list does not correctly size itself to the IME.
This seems to be because the available height is calculated before
the IME is yet on screen, and thus is calculated as the entire screen.
/frameworks/base/core/java/android/widget/PopupWindow.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
/frameworks/base/core/java/android/widget/PopupWindow.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/widget/PopupWindow.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/widget/PopupWindow.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/PopupWindow.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/PopupWindow.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/widget/PopupWindow.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/widget/PopupWindow.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/PopupWindow.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/PopupWindow.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/widget/PopupWindow.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/widget/PopupWindow.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/PopupWindow.java