54c94dea8a26e66fa59a31fd9170ca221052d3aa |
|
27-Sep-2013 |
Adam Powell <adamp@google.com> |
Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu Allow calling code to specify left/right/start/end gravity when showing a popup attached to an anchor. This allows easy alignment of either the right or left edges of the popup and anchor view. Bug 10728401 Change-Id: Ie0844a04ea0576fa67b0972f5873aaa4c5b823f6
/frameworks/base/core/java/android/widget/PopupWindow.java
|
7ed189e457b16c06b0425bd28aeeb1df5c8ff5b8 |
|
12-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
docs: Fix a bunch of issues External tracker 42609 External tracker 42607 External tracker 42604 External tracker 42600 External tracker 42574 External tracker 42450 External tracker 41050 External tracker 40995 External tracker 40970 External tracker 40935 External tracker 40507 External tracker 40481 External tracker 40435 External tracker 40406 External tracker 40297 External tracker 40281 External tracker 39978 External tracker 39929 External tracker 39803 External tracker 39715 External tracker 39441 Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
/frameworks/base/core/java/android/widget/PopupWindow.java
|
b003e28c1d65d06fcb5690ff2955d007d8f7a626 |
|
18-Oct-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7367429 Popup window should get its direction from it Anchor View if it can - set the popup layout direction depending on the anchor view's layout direction (if not defined before) - make first pass of ViewRootImpl.performTraversals() and configuration update not override any layout direction that could have been set before Change-Id: I8e86ca805f0caf52c058d06aa7861df56fb862e6
/frameworks/base/core/java/android/widget/PopupWindow.java
|
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 |
|
20-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Replace left/right with start/end for Gravity / LayoutParams / Padding - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
/frameworks/base/core/java/android/widget/PopupWindow.java
|
b82d074038f4c8d86e1bd4f3fa4d3780bd4bcba5 |
|
23-May-2012 |
Craig Mautner <cmautner@google.com> |
Remove Popup immediately rather than defer it. Delaying the popup by using removeView instead of removeViewImmediate caused an error when the removal was actually executed after the parent window was deleted along with the popup. Fixes bug 6407801. Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32
/frameworks/base/core/java/android/widget/PopupWindow.java
|
06f938e8aa56cd89ab0bdb04c8b946392c428dd1 |
|
10-Nov-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
PopupWindow dismiss() can get into a recursive loop. 1. The dismiss method in a PopupWindow is first removing the popup View from the WindowManager and then if the content View differs from the popup View the former is removed from the latter. Then dismiss() clears the dismissed flag so a subsequent call to dismiss() is a NOP. However, removing a View both from the WindowManager and from its parent ViewGroup triggers stuff wich may lead to a subsequent call to dismiss(). This leads to a stack overflow exception. bug:5598944 Change-Id: I2aeeda591be3e9aa98fec1ee17ea8f0e746e6992
/frameworks/base/core/java/android/widget/PopupWindow.java
|
e0b6cd14ac116006e26dac6898a332fa90f1f49c |
|
29-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5386915 - Action mode is intercepting touches it shouldn't be Standalone action mode windows should not be touch modal. Change-Id: Ia3bab69b3ac344837093a17c4b58451bcc3471bf
/frameworks/base/core/java/android/widget/PopupWindow.java
|
8ee6d7c20e7767c2f61f8db9a99d01e0a05f3842 |
|
18-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5333962 - Problems with no action bar/overlay action mode Change the standalone action mode window for overlay mode to be of TYPE_APPLICATION. (This also fixes a bug where overflow menus would not work properly on these types of action mode bars.) Set exitFadeDuration on btn_cab_done_holo_* drawables. Remove no-window-focus override selector states for selectable item backgrounds to allow proper touch feedback on windows that do not have focus but that the user can interact with. Change-Id: Ib504866238708150d21e6183ff7b695869c05d3e
/frameworks/base/core/java/android/widget/PopupWindow.java
|
62e2bdecc21819a71c04204f20fc051886fdabd6 |
|
16-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5165223 Fix Holo Spinner item/dropdown alignment. Fix bug 5117565 Spinner popup extends out of screen bounds. Change-Id: I7fef7bbe98aa26611c498d1fe875e84db57dcda0
/frameworks/base/core/java/android/widget/PopupWindow.java
|
0bd1d0a15294345bf88b20df28466907f982cec7 |
|
23-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5060033 - No text-editing toolbar when in a dialog Fix a bug that caused standalone action mode bars to not appear properly or account for system insets such as the status bar. Add public API to View to toggle the fitsSystemWindows attribute. Change-Id: I5d7669425b930c5d23f9df26a45f544b706e8242
/frameworks/base/core/java/android/widget/PopupWindow.java
|
7d372b49e2691967fab3a9d63103bab1b1ff205e |
|
24-May-2011 |
Adam Powell <adamp@google.com> |
am 7dfdb914: am f483ed90: am bdc26dc3: Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2 * commit '7dfdb914206eafbf2aa4533e9b6a50428a5d0d3d': Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations.
|
7dfdb914206eafbf2aa4533e9b6a50428a5d0d3d |
|
21-May-2011 |
Adam Powell <adamp@google.com> |
am f483ed90: am bdc26dc3: Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2 * commit 'f483ed90401d63b7317f823fcac10315146d3072': Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations.
|
3f4a764cf400aa209c1f8f76a1c73143eefc4905 |
|
21-May-2011 |
Adam Powell <adamp@google.com> |
Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations. Change-Id: I57f926de1cc7170b9996d7c71aa01542baf0c673
/frameworks/base/core/java/android/widget/PopupWindow.java
|
0c0b768e1514280812321854db6dfba723c3d169 |
|
16-May-2011 |
Romain Guy <romainguy@google.com> |
Fix NPE when calling PopupWindow's default constructor. Change-Id: I5317b052236d758fd3b9055c9940fbb10ec7b123
/frameworks/base/core/java/android/widget/PopupWindow.java
|
c703b49eb13993c45a1cab7ea1130601fba1df3e |
|
29-Apr-2011 |
Conley Owens <cco3@android.com> |
am 54668b8a: am e1787009: Merge "Added null check on return value for getKeyDispatcherState()" * commit '54668b8a3599559fc007af1d75c039400a05e898': Added null check on return value for getKeyDispatcherState()
|
4ae02b37bb0ee0a9a626108299b6a2e9ac028ca2 |
|
17-Jan-2011 |
Per Andersson <per.andersson3@sonyericsson.com> |
Added null check on return value for getKeyDispatcherState() The result from getKeyDispatcherState() was used without checking if it returned null, which resulted in a NullPointerException. Change-Id: I4b55ad44d5c08b7f729dbbdbcaed0e978a430258
/frameworks/base/core/java/android/widget/PopupWindow.java
|
cfc22c533222f0181be7a717fbf721891d3bfd2d |
|
08-Mar-2011 |
Gilles Debunne <debunne@google.com> |
Text handles positions' are correctly updated. Bug 3510106 The CAB animation does not fire events, which does not update the handles' positions. The solution is to make the handle update their position before any draw traversal, using an onPreDrawListener. The ScrollingPopupWindow onScroll listener is no longer needed with this change. This is also a more robust solution since other events (such as animations) may change the TextView's position. The cost is a recomputation of the Handles' positions at each redraw which was not necessary with listeners. But as mentioned before, not all possible events provide listeners or will in the future. Change-Id: I0f46118de5f660a75d95eecb2cf987fcb4b3b322
/frameworks/base/core/java/android/widget/PopupWindow.java
|
81f08086b44a117097960195d2c9072e29644962 |
|
17-Feb-2011 |
Gilles Debunne <debunne@google.com> |
Text selection handles correctly scroll Bug 3416154 The origin of the problem is new display optimisations that enable a scrollView to be scrolled without calling the onDraw method of its children. As a result, the handles' positions were not updated on scroll. DropDown popup menu have an integrated scroll listener that will fix the problem. Using these indead is the first part of the solution. The next problem is that when they get hidden, these popups try to move their parent (the TextView in our case) which creates a scroll conflict. Fixed by overriding findDropDownPosition. Finally, when the handles get invisible, a new scroll listener has to be installed that will show them back in case the view is scrolled back. This is also an important step to fix Bug 3441308 (selectable text in list views). Debugging find outs: Small optimization in PopupWindow to avoir unregistering then registering back the listener when it is updated. getHandle().show(); is not needed since updatePosition will do it through moveTo(). Change-Id: I6bf6a3649538328257734ed1e651b23b889d65d9
/frameworks/base/core/java/android/widget/PopupWindow.java
|
b7c1b20c8a5a4d4378ae91b4a1f12a34100df452 |
|
17-Feb-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3465210 - Anchored popups don't appear above anchor when there isn't enough room. Oops. Fix a regression introduced by recent changes. Change-Id: I413998dc2413763f2ea3f31a7ca68f098be19b36
/frameworks/base/core/java/android/widget/PopupWindow.java
|
348e69cfabec21ccfbe708df06f0a7ea541a3053 |
|
17-Feb-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3413800 - Revise AutoCompleteTextView dropdown behavior Be more conservative with when we let an AutoCompleteTextView's dropdown box of completion suggestions cover the IME. Disable the expand-when-touched behavior of the dropdown list when more than 3 items can be seen at a time without it. Don't let a ListPopupWindow that is expanding in response to touch scroll the anchor view within its parent and slide the dropdown out from under the user's finger. Change-Id: I009accfd4e841c9a5e1072735d8a0b067a0bc06a
/frameworks/base/core/java/android/widget/PopupWindow.java
|
5f83a6017bacb513610df83a36b1f55953e65ad4 |
|
20-Jan-2011 |
Adam Powell <adamp@google.com> |
Better fix for bug 3112733 Make sure PopupWindows set to clip to the screen and that are anchored to another view do not clip off the top of the screen. Change-Id: I6ef9d61982dfda18a4ee7c69128932f5e08aa884
/frameworks/base/core/java/android/widget/PopupWindow.java
|
b3ea92235c9ccc1ff295839a8f324dcd1c83dd6f |
|
11-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix NPEs in detached views. Bug: 3297518 Change-Id: Ife1384f3a5bebbd28a29f97dc6d519f8a0b10ba9
/frameworks/base/core/java/android/widget/PopupWindow.java
|
7eab094722af54717859b7dcce3cc050f059e00b |
|
01-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix flicker issue in IME. When IME is being moved as part of a window going away, it could flicker as it immediately moves behind the window. Fix this. Also make the default soft input mode for PopupWindow to be to not change the IME visibility, since it is a rare pop-up window that should cause your IME to close. Change-Id: I0b43e080ad012739e9a3e5842794c778c859ac1a
/frameworks/base/core/java/android/widget/PopupWindow.java
|
2e976df64426c3ffd35f72233f77d5e638e2b595 |
|
14-Dec-2010 |
Jeff Brown <jeffbrown@google.com> |
Expose split touch API on PopupWindow. Already exposed the new window flags and layout parameters, just forgot to make this API visible at the same time. Bug: 3049580 Change-Id: If8dc3568eb2806fa21881c31b9f879d6045ca890
/frameworks/base/core/java/android/widget/PopupWindow.java
|
46e75294d540fe807d78aec2582ae02cc38c7d42 |
|
11-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Enable touch splitting for all windows by default. New default only applies to applications with targetSdkVersion >= HONEYCOMB. Old applications default to no touch splitting for their windows. In addition, enabled split touch for various system windows. Bug: 3049580 Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
/frameworks/base/core/java/android/widget/PopupWindow.java
|
ab36acb39941ce981dddda9f9cf4d2d23a56fd26 |
|
05-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Fixe some stuff. Addresses these bugs: 3061847 - With no headers, PreferenceActivity crashes 2888426 - minor typo in DevicePolicyManagerService.ActiveAdmin.writeToXml() 3159155 - IllegalStateException:"Can not perform this action after onSaveInstanceState" while dismissing a DialogFragment 3155995 - PopupWindow.showAtLocation does not respect LayoutParams Also tweak the new fragment APIs to use abstract classes instead of interfaces as base classes. Change-Id: I9c0b4337fe0e304b737b5f7c2762762372bb3020
/frameworks/base/core/java/android/widget/PopupWindow.java
|
56c2d337e02a275397fc9d0460dca90977f199ac |
|
06-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3067895 - Popup menus clip to container windows ListPopupWindows will now move to fit within the screen, but will not be constrained by their parent windows. Change-Id: I2a19ef474926f328466db32874db4191beebf626
/frameworks/base/core/java/android/widget/PopupWindow.java
|
707fb0e0e56997a33ae59ffc001344602f3b7b14 |
|
10-Oct-2010 |
Adam Powell <adamp@google.com> |
am b3616395: am f15dfbec: Merge "Fix bug 3071869 - text anchors are now treated as application sub-panels." into gingerbread Merge commit 'b3616395660498ecfd2099b5ffcb9ff74e5aeaee' * commit 'b3616395660498ecfd2099b5ffcb9ff74e5aeaee': Fix bug 3071869 - text anchors are now treated as application sub-panels.
|
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
|
a143e83e1e179ee587540150989cdfd220923f96 |
|
04-Oct-2010 |
Adam Powell <adamp@google.com> |
am 7de900f3: am d29e6861: Merge "Fix bug 3058324" into gingerbread Merge commit '7de900f3629e53e1a05b8d5854cf0164446346ae' * commit '7de900f3629e53e1a05b8d5854cf0164446346ae': Fix bug 3058324
|
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
|
64e2b7189389118bb5309de3060c856377c0d6de |
|
30-Sep-2010 |
Adam Powell <adamp@google.com> |
resolved conflicts for merge of 6e9a021e to master Change-Id: I5ea823b752e78cb9d2ef7ccec68addbaa9ca66e9
|
ba0a2c383ffe4be1fe33a5aa57bc3148c4fd0b7c |
|
29-Sep-2010 |
Adam Powell <adamp@google.com> |
Fix text anchors Change-Id: Iddd5434a1dbeb1adc2143db73ed27df6b575319e
/frameworks/base/core/java/android/widget/PopupWindow.java
|
464fb74e28b6d76d5e741abcdbb714eea2d9b4d1 |
|
27-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 9785bf0f: am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread Merge commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919' * commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919': Add suuport for splitting touch events across windows.
|
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
|
879fb6b5d66bec90d3420fad12a2a9b2fe9592f3 |
|
20-Sep-2010 |
Adam Powell <adamp@google.com> |
Text selection anchors changed to use windows Manually cherry-picked Change-Id: Id080dfad0e2f324fef3a5175abc78f76c8bad4c8
/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
|
a7287f4d199b5d86e01d1de9d9a9db7e3221b02d |
|
18-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2927837 - PopupWindows don't account for xlarge status bar height Add framework dimension resource screen_margin_bottom. This describes the bottom margin formed by permanent screen decorations. In xlarge configs this is equal to the height of the permanent system bar. PopupWindows now size and position themselves with respect to screen_margin_bottom. Change-Id: I8960059adcf09605abf26c228bf877f5632fd11e
/frameworks/base/core/java/android/widget/PopupWindow.java
|
749b0eb2c9a52bb188fd8900859b3725889e0ec0 |
|
11-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2888333 Change-Id: I2e9053e9c68cef447f47d181bfe0ddacc5f7167a
/frameworks/base/core/java/android/widget/PopupWindow.java
|
c3fa6304c997ccecf8ed15a4cbb7bd245128f3c3 |
|
18-May-2010 |
Adam Powell <adamp@google.com> |
Added ListPopupWindow. Refactored AutoCompleteTextView and Spinner (optionally) to use it. Added associated styles. ListPopupWindow allows apps to present a popup window of options to the user that will correctly dodge the IME if needed. Change-Id: I509c6c45036856daab686a6edeb7a9de1e72eb0a
/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
|