697804e8de9f0a838a90c571baad19c5ed4d1647 |
|
06-Aug-2015 |
Alan Viverette <alanv@google.com> |
Update anchor background on the correct view in PopupWindow We were always setting the background of the decor view when the "above anchor" state changed, rather than the background view. Bug: 22970244 Change-Id: I3cd7202767ee47cb415736bb3c07369801abccd8
/frameworks/base/core/java/android/widget/PopupWindow.java
|
80ebe0d4ecb36d0e82dce499ccc0810cf3a0ec89 |
|
01-May-2015 |
Alan Viverette <alanv@google.com> |
ListPopupWindow should use window layout type SUB_PANEL Look down, back up, where are you? You're in a dialog with an AutoCompleteTextView. What's on your screen? I have it, it's the auto-completion results you could be seeing. Look again. The window layout type is now TYPE_APPLICATION_SUB_PANEL and the auto-completion results are visible. Also adds API on ListPopupWindow to specify the window layout type and changes the text editing handle to be type ABOVE_SUB_PANEL. Bug: 18530738 Change-Id: Id5577c4892729920de5b73411e580e6b2b2401d0
/frameworks/base/core/java/android/widget/PopupWindow.java
|
33f0c93fa9d1fd793f02e91e4419233a1a228e65 |
|
21-Apr-2015 |
Alan Viverette <alanv@google.com> |
Merge "Update the popup reveal animation to more closely match window reveal"
|
95888c07e978f0d6af62ef96124acd228ac2ab13 |
|
16-Apr-2015 |
Alan Viverette <alanv@google.com> |
Update the popup reveal animation to more closely match window reveal Hand-waves the default interpolators for efficiency's sake until we can implement interpolator caching or preloading. Change-Id: Ibc618a0c092b08a33fb91265ec15665c94831b6b
/frameworks/base/core/java/android/widget/PopupWindow.java
|
36344a90c226c90243e4e02bfb13589e120431dd |
|
14-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Unhide PopupWindow window layout type calls BUG: 20172711 Change-Id: I31bacf840908f77d2be96a6b10df495e30f0af07
/frameworks/base/core/java/android/widget/PopupWindow.java
|
259c2840691a79634ffd8f63291ec21c21819542 |
|
23-Mar-2015 |
Alan Viverette <alanv@google.com> |
Fix default width and height for PopupWindow's decor view Fixes a regression whereby failing to explicitly set a width and height would cause the popup window's decor view to be 0 width and height. Also deprecates unnecessary method for setting window width and height spec and replaces with less-confusing setters. Cleans up javadoc for modified methods. Bug: 19538371 Change-Id: I20da3ff02ad12e99adf14c056edd1a890b5c322a
/frameworks/base/core/java/android/widget/PopupWindow.java
|
8fd949e680c15d397084430d4907c16cedfacdda |
|
11-Mar-2015 |
Alan Viverette <alanv@google.com> |
Various fixes for popup monkey testing Ensures PopupMenu works correctly when multiple calls are made to show and dismiss. Ensure PopupWindow works correctly when multiple calls are made to showAsDropDown and dismiss (fixes multiple clicks on Spinner). Bug: 19672907 Bug: 19671831 Change-Id: Ib92accd8fd70a1ff1f8cda27155347b007a4d25b
/frameworks/base/core/java/android/widget/PopupWindow.java
|
df4639a0135ea643b493067b3f7cd1e092346c78 |
|
02-Mar-2015 |
Alan Viverette <alanv@google.com> |
Improve handling of activity destroy during popup exit animation Ensures the decor view isn't double-removed and that we don't try to dereference a null anchor view. Bug: 19553353 Bug: 19551371 Change-Id: I191a41f9065b68e49d66f96794cb7456f79d2d34
/frameworks/base/core/java/android/widget/PopupWindow.java
|
7878edfa1dacf20c6120dbf18327905d6bf117d0 |
|
04-Feb-2015 |
Alan Viverette <alanv@google.com> |
PopupWindow animation fixes Calls the dismiss listener immediately, which fixes compatibility with ListPopupWindow's global layout listener. Adjusts anchor bounds to better match up with the laid out window position. Caches the content view to avoid issues with setContentView(null) being called immediately after dismiss(). Change-Id: I897caeba26ffb2e689f8face199d2ab70718a86c
/frameworks/base/core/java/android/widget/PopupWindow.java
|
e025ed2f26858dae5f40a94a2e1ac0db808a6950 |
|
02-Feb-2015 |
Alan Viverette <alanv@google.com> |
Make popup transition animation play nicely with dismiss/show pair Previously it was okay to call dismiss/show in quick succession since the window was removed synchronously. Adding transitions introduced a delay between dismiss() and actually removing the window, which broke this behavior. Change-Id: I0de8ae0a551dcb2eb8b8a50356c308b654ebdc6f
/frameworks/base/core/java/android/widget/PopupWindow.java
|
5435a30ae552391f14009c4459731ae149675b18 |
|
29-Jan-2015 |
Alan Viverette <alanv@google.com> |
Add transition support to PopupWindow Allows framework-added windows to manually specify surface insets, which enables us to wrap the popup window's elevated content view with a root view, which in turn allows us to use the Transition API for popup window transitions. Fixes a bug where the root view's render node forced clipping. Bug: 13211166 Change-Id: I303dfa55a052cdf5d3b1485422529123e3cc867a
/frameworks/base/core/java/android/widget/PopupWindow.java
|
4456b81f22b67d124b85e1a7b1a15a877b604e8b |
|
08-Jan-2015 |
Alan Viverette <alanv@google.com> |
Merge "Add popup window accessors for anchor overlap, gravity, window"
|
a54956a0bc611b1e9b3914edc7a604b59688f6b7 |
|
08-Jan-2015 |
Alan Viverette <alanv@google.com> |
Fix accessibility delegation Ensures that delegate code is run last. Previously, calling the super method from an accessibility delegate set on a widget would only run code in the widget's parent. Next, the delegate code would run. Finally, the widget's code would run. As a result, the widget code would override any data supplied by the delegate. By moving all overridden code to internal methods, we ensure that the call chain for super includes the widget's parent code followed by the widget's code. The delegate code will always run last. BUG: 17641433 Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
/frameworks/base/core/java/android/widget/PopupWindow.java
|
75d837954c3673647e3a899f03cd56c0892066e0 |
|
08-Jan-2015 |
Alan Viverette <alanv@google.com> |
Add popup window accessors for anchor overlap, gravity, window Cleans up comments and some code in PopupWindow. BUG: 18245054 Change-Id: I2111d0c194ee1a39aaa721083041fc139efcf630
/frameworks/base/core/java/android/widget/PopupWindow.java
|
3df1a1da429e12517b0e7d17f74ee4407eb89949 |
|
19-Nov-2014 |
Adam Powell <adamp@google.com> |
resolved conflicts for merge of d8435643 to lmp-mr1-dev-plus-aosp Change-Id: Ic4669691dd50e400d79e1bc1e54d2e53bcd35a56
|
d843564331e2db18166d3deb8570502092d532ea |
|
19-Nov-2014 |
Adam Powell <adamp@google.com> |
Merge "PopupWindow: fix typo in doc comment"
|
ce8c358712414e4fa98e4504e6a1b8ad36d37c6c |
|
07-Nov-2014 |
Alan Viverette <alanv@google.com> |
Update above/below backgrounds in PopupWindow.setBackground() BUG: 17718714 Change-Id: I936dfede60bc006a59cd3eb1b18548c7702ae0ee
/frameworks/base/core/java/android/widget/PopupWindow.java
|
393b1c1e88cbdd0f65c8f217c495dbbe8de9125d |
|
19-Oct-2014 |
Wale Ogunwale <ogunwale@google.com> |
Fix issue #17789629: PopupWindow overlaps with navigation bar. The Lollipop release introduced a feature that allowed apps to extend under the navigation bar. This also means any popup window that is anchored to the bottom of its parent window will overlap with the navigation bar if the parent window is extending underneath the navigation bar. This change introduces a new window flag (FLAG_LAYOUT_ATTACHED_IN_DECOR) that allows the app to specify if the popup window should be attached to the decor frame of the parent window thereby avoiding an overlap with the screen decorations. By default the flag is set on SDK version LOLLIPOP_MR1 or greater and cleared on lesser SDK versions. Also, replaced flags FLAG_NEEDS_MENU_KEY and PRIVATE_FLAG_NEEDS_MENU_KEY_SET with needsMenuKey state variable to make room for the new FLAG_LAYOUT_ATTACHED_IN_DECOR flag. Bug: 17789629 Change-Id: I2150e0c6ac688c966c0e8f7e54d42fd20285bea6
/frameworks/base/core/java/android/widget/PopupWindow.java
|
54ec76d81ac38284caa6d00ad5f2d2207206b9ce |
|
28-Aug-2014 |
Shuhrat Dehkanov <k@efir.uz> |
PopupWindow: fix typo in doc comment Change-Id: I3abf21274485632badb433010d46710b6076a47c Signed-off-by: Shuhrat Dehkanov <k@efir.uz>
/frameworks/base/core/java/android/widget/PopupWindow.java
|
49a22e82025ea947d81681a0abb7ef00600eac3b |
|
13-Jul-2014 |
Alan Viverette <alanv@google.com> |
Add window elevation for dialogs, clean up surface insets API BUG: 13211941 Change-Id: I9d605d0b2fb24f9bf8e73fbecd520b6b52ae5751
/frameworks/base/core/java/android/widget/PopupWindow.java
|
ccb11e183763db5cbaca96abe461adf480ed8e44 |
|
09-Jul-2014 |
Alan Viverette <alanv@google.com> |
Add API for specifying popup window shadows and shadow insets BUG: 14569120 BUG: 13211941 Change-Id: Ia21596b25a0471344d42d59377074f67fce00042
/frameworks/base/core/java/android/widget/PopupWindow.java
|
560f17098f90b15c8894cce127f2fed85f7aeb6b |
|
05-May-2014 |
Alan Viverette <alanv@google.com> |
Add support for popups overlapping anchors BUG: 14471731 Change-Id: I16e8d76caedfebd0c38b8c0b22cd9619d70877c8
/frameworks/base/core/java/android/widget/PopupWindow.java
|
88926a5482552ddf2f4906df581bbbf1cc9d03aa |
|
14-Jan-2014 |
John Spurlock <jspurlock@google.com> |
am 4b67b88e: am cce06eda: am b3436359: am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs * commit '4b67b88e344a147317fc6b32e5364d4cfabf1e1d': Docfixes: three typos and escape */*.
|
3390018c6b45acffa6edf97a4174ca49f1e8c76d |
|
02-Jan-2014 |
John Spurlock <jspurlock@google.com> |
Docfixes: three typos and escape */*. Change-Id: I418d855b5d08a1a20eaca3d8e4d2e5d0fca23dd5
/frameworks/base/core/java/android/widget/PopupWindow.java
|
66d1cd9da1f5bd3aa3c70a28cbd6bd8801049ace |
|
30-Sep-2013 |
Adam Powell <adamp@google.com> |
am 8fb6d97a: Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev * commit '8fb6d97ad5671b4abc1940d8bc56cf7448e45c35': Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu
|
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
|
617feb99a06e7ffb3894e86a286bf30e085f321a |
|
10-Sep-2013 |
Alan Viverette <alanv@google.com> |
Add View constructor that supplies a default style resource Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/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
|