9553fb3240f6d2e52012f94fb59271348a07b94d |
|
24-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
Add ResourceId validation helper method An invalid, 'null' resource ID is defined as 0. Apps often use -1. Add a helper method that makes checking valid IDs easy and more centralized. Eventually make it public API. Bug: 38393777 Test: manual Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78
/frameworks/base/core/java/android/app/Dialog.java
|
db7423cd8d186d06a4a657617e51d5b6f3097cd0 |
|
31-Mar-2017 |
Alan Viverette <alanv@google.com> |
Automatic casts for more findViewById implementations Bug: 24137209 Test: make -j32 Change-Id: I423297a78e63d74eb44fd14747fc3890a9c42937
/frameworks/base/core/java/android/app/Dialog.java
|
67639a5f678f3e472210e5cf6060592430a5ffbb |
|
16-Dec-2016 |
Michael Kwan <mkwan@google.com> |
Fix OnCancelListener for Dialogs on swipe to dismiss. Swipe to dismiss on dialogs did not dispatch onCancel events to OnCancelListeners. Resolve by adding listener to monitor swipe to dismiss events and dispatch onCancel events when that occurs. Bug: 33663411 Change-Id: I64ff29e008d485a4559eb3d1ff7f0e74dccff404
/frameworks/base/core/java/android/app/Dialog.java
|
7d6cb913de9b51dba0bae79e527b7d4fe79eb35d |
|
02-Dec-2016 |
Ned Burns <pixel@google.com> |
Modify SwipeDismissLayout to perform its own exit animation Instead of relying on the window animation system, in the special case of a swipe-dismiss, disable any default window exit animation and perform a custom animation. This bypasses some bugs in the window animator codebase and allows us to have a nice "rebound" animation if the user doesn't swipe far/fast enough to trigger a dismiss. Bug: 33041168 Change-Id: Ied45700d35a59950bacef1ba0650eaa5bc60fadb
/frameworks/base/core/java/android/app/Dialog.java
|
f7964be938338380654aaa41317b28335ed19084 |
|
01-Dec-2016 |
Michael Kwan <mkwan@google.com> |
Disable swipe-to-dismiss for not cancelable dialogs. Bug: 33249829 Change-Id: Ib3d2c9982ece22d1b080b821eaf306f6b686d099
/frameworks/base/core/java/android/app/Dialog.java
|
d7dbec7e4cce88fb428a2400fa468ad3b2a3962f |
|
05-Oct-2016 |
Robert Carr <racarr@google.com> |
When adding dialog window but not creating update the configuration. When we dismiss the dialog as opposed to hide it, it is removed from the local WindowManagerGlobal's list of ViewRoots. Thus it stops receiving configuration changes. When first adding a ViewRoot it will pull the configuration from the context, but in this case we are reusing one which has already been added and removed and no such action will occur. Bug: 31004614 Change-Id: Ie247bcf1a14caf4a42413c6813e337aa4c88e3e4
/frameworks/base/core/java/android/app/Dialog.java
|
48728c21795afc9a58556747a0cb8830dd1ecd63 |
|
01-Apr-2016 |
Alan Viverette <alanv@google.com> |
Clean up Dialog annotations, lint warnings, and declarations No functional changes. Change-Id: If38c9d829d83e762f8c2d05c2fe060c56804b38f
/frameworks/base/core/java/android/app/Dialog.java
|
89203de8782645a64529d9b11a9be138fc4771f6 |
|
24-Mar-2016 |
Clara Bayarri <clarabayarri@google.com> |
Remove unused import for KeyboardShortcutGroup Left it in accidentally when removing default method. Change-Id: I6af0712624ffaefff4cb4ad2a9e5a86d7104d2e7
/frameworks/base/core/java/android/app/Dialog.java
|
fcd7e80b21cc9db6be00e37371401ea1d0938796 |
|
10-Mar-2016 |
Clara Bayarri <clarabayarri@google.com> |
Keyboard Shortcuts: plumb deviceId through Bug: 27673736 Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
/frameworks/base/core/java/android/app/Dialog.java
|
75e097965cc273d33192555b0e65de3dbc1753ce |
|
29-Jul-2015 |
Clara Bayarri <clarabayarri@google.com> |
Request Keyboard Shortcuts for SysUI Dialog via Window Keyboard shortcuts are requested via WindowManager, and the request pipes through to the view root and the window callback. Bug: 22405482 Change-Id: Ic0071e91c7b554be3ac9df71e9539ee8a60e822e
/frameworks/base/core/java/android/app/Dialog.java
|
ba7881c89e7dd50aa537e70f0b96273e131dd08e |
|
02-Aug-2015 |
Wale Ogunwale <ogunwale@google.com> |
Support finishing a task with any finishing activity in the task. Change-Id: I8c6bb864de6dc135e0fedb16ee424d7816ee3cfa
/frameworks/base/core/java/android/app/Dialog.java
|
6711f3b34c2ad9c622f56a08b81e313795fe7647 |
|
07-May-2015 |
Adam Powell <adamp@google.com> |
Move PhoneWindow and friends back into internal package PhoneWindow, PhoneLayoutInflater and PhoneFallbackEventHandler decided to @hide out over in the android.view package after the policy jar was disbanded. Give them a more appropriate home over in framework that doesn't imply that they should be accessed from other internal layers of abstraction. Bug 19606548 Change-Id: Id07b791d178fa447010b49b24726b52208838e88
/frameworks/base/core/java/android/app/Dialog.java
|
6a975b3c3597a4ad9202432f3c3d867a03d43fa4 |
|
10-Apr-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Save search context when dispatching onSearchRequested. The InputDevice used to trigger the search is saved in a SearchEvent so an application implementing onSearchRequested determine the device triggering the search. Bug: 15374820 Change-Id: If2cd14f77ce572a5ee131697cd63145fbea63f27
/frameworks/base/core/java/android/app/Dialog.java
|
682a433d0b8ff3e4e0ffc8d2cfedc8907ab1e83b |
|
10-Apr-2015 |
Alan Viverette <alanv@google.com> |
Fix application of default dialog theme Cleans up lint annotations. Bug: 20149703 Change-Id: I2ed4eb002b6679a55ea4d5fcc1ea958a4dcb08df
/frameworks/base/core/java/android/app/Dialog.java
|
5696f045901a63769bf7c293a379e7a5ee06449b |
|
08-Apr-2015 |
Alan Viverette <alanv@google.com> |
Avoid double-apply of dialog theme Some cleanup of comments and code. Bug: 19924382 Change-Id: I7b1a339259cbaa66fea2ffec38d7dde2b1a9612e
/frameworks/base/core/java/android/app/Dialog.java
|
4423d91de5300d3fd318bf5bc2d4d7e5bb856abf |
|
02-Mar-2015 |
Clara Bayarri <clarabayarri@google.com> |
Add a type parameter to startActionMode() calls. This requires adding a new method to View and Window.Callback to pass down the type as a parameter. For compatibility purposes, the new method implementations keep the type and call the old method, in case clients have subclassed it. Change-Id: If5d857f131e33be8cc6a8814f2e9c4e85ad2da25
/frameworks/base/core/java/android/app/Dialog.java
|
c615c6fc9caca76cd96998f86e1f1e6393aeadbb |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate methods to be called from overrides with @CallSuper Change-Id: Ibc587c2aaee9f3e7f448079f72a75459fe4e15e7
/frameworks/base/core/java/android/app/Dialog.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/app/Dialog.java
|
c051955392840cb94bd6f0b2a8107a48d2ffc8b0 |
|
12-Feb-2015 |
Scott Kennedy <skennedy@google.com> |
Mark findViewById(int) @Nullable Change-Id: I9bf7c08a896bd9c28400ff832179abc579fd502f
/frameworks/base/core/java/android/app/Dialog.java
|
b10e33ff804a831c71be9303146cea892b9aeb5d |
|
04-Feb-2015 |
Jorim Jaggi <jjaggi@google.com> |
Split up android.policy into framework.jar and services.jar 1/3 Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
/frameworks/base/core/java/android/app/Dialog.java
|
7a22fc62d364bba4c1604a7e88fbd321eb541f4e |
|
24-Jan-2015 |
Jose Lima <joselima@google.com> |
Allow disabling the Options Pannel feature for TVs - Added a config entry in velues-television to disable the options panel feature for TVs. - Fixed parts of the code in PhoneWindow that assumed this feature is supposed to always be available, which was causing exceptions when it was turned off. Bug: 18780696 Change-Id: I923bd4b5019d634e5352a6e893005133edb475f6
/frameworks/base/core/java/android/app/Dialog.java
|
5f97930fc5dd44fcf1864acd53401c00b4de3a24 |
|
06-May-2014 |
Adam Powell <adamp@google.com> |
am c41fa708: am a0516e7a: Merge "onWindowDismissed API cleanup" into klp-modular-dev * commit 'c41fa708271e204a7983aba291389ea1554227b2': onWindowDismissed API cleanup
|
117b695222135cc684e891d4126116b97a64bc9e |
|
06-May-2014 |
Adam Powell <adamp@google.com> |
onWindowDismissed API cleanup Move the window swipe to dismiss plumbing off of Window.Callback into its own internal interface implemented by Activity and Dialog. Make it internal API instead of public. Apps should control this via the window feature setting. Change-Id: I64cd237fa7eab08719b2c34e31dac7d34f02563a
/frameworks/base/core/java/android/app/Dialog.java
|
e43340c80dc66c45edc793ecd0343774aa34d108 |
|
18-Mar-2014 |
Adam Powell <adamp@google.com> |
android.widget.Toolbar Add the new Toolbar widget for use in app layouts. ActionBar can now be used as a point of control for either a traditional window decor action bar or for a Toolbar that appears inline in an Activity's layout. ToolbarActionBar is currently WIP. Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
/frameworks/base/core/java/android/app/Dialog.java
|
568628dc2cb92b3ec3a87cae9de3203fbdc5968c |
|
05-Mar-2014 |
Will Haldean Brown <haldean@google.com> |
Manually merge commit '2faf28cf' into master Original commit message: Add swipe-to-dismiss support to PhoneWindow. This adds a new window feature -- FEATURE_SWIPE_TO_DISMISS -- and a theme attribute to activate that feature. When the feature is activated, a SwipeDismissLayout is inflated as the DecorView layout. SwipeDismissLayout intercepts touch events and steals ones that are large swipes to the right if its children don't. PhoneWindow registers handlers that listen for these swipe events, translate the window when necessary, and finish the activity at the end of the gesture. Conflicts: core/java/android/view/Window.java core/res/res/values/attrs.xml Change-Id: I943290b436864ca4a1bd401b88d696e08c921cdd
|
ca6234e084a71e0c968cff404620298bcd971fcc |
|
12-Feb-2014 |
Will Haldean Brown <haldean@google.com> |
Add swipe-to-dismiss support to PhoneWindow. This adds a new window feature -- FEATURE_SWIPE_TO_DISMISS -- and a theme attribute to activate that feature. When the feature is activated, a SwipeDismissLayout is inflated as the DecorView layout. SwipeDismissLayout intercepts touch events and steals ones that are large swipes to the right if its children don't. PhoneWindow registers handlers that listen for these swipe events, translate the window when necessary, and finish the activity at the end of the gesture. Change-Id: I512e758f3c3ffd3b353dba3b911c0e80a88d6f5f
/frameworks/base/core/java/android/app/Dialog.java
|
f34ef74eb2b72dd945e6903a748932c1f90f3daa |
|
12-Dec-2013 |
Alan Viverette <alanv@google.com> |
Replace auto-create in findViewById() with explicit create() API Change-Id: Ib833cc23f4ae39b5d729db3d425faa7dfd5b3c4c
/frameworks/base/core/java/android/app/Dialog.java
|
c21569aef84b4c9bdccde08be389b477b5c1ada9 |
|
09-Dec-2013 |
Alan Viverette <alanv@google.com> |
Prevent reentrance in Dialog.findViewById() BUG: 12063988 Change-Id: I58117949dde589bcdfcfe88ec90b4a6e8418fe2a
/frameworks/base/core/java/android/app/Dialog.java
|
ec186706df72fbb62bfe813d83cff9167dd95cb4 |
|
05-Dec-2013 |
Alan Viverette <alanv@google.com> |
Allow alert dialogs to inflate custom view layouts Adds APIs to set a layout resource ID as an AlertDialog's custom view. To make this useful for developers, also ensures that Dialog content is set up when calls are made to Dialog.findViewById() before show(). BUG: 11136748 Change-Id: I29747a28d7e30f4e31fe474424109ff29e1eaa98
/frameworks/base/core/java/android/app/Dialog.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/app/Dialog.java
|
92098c7c30bc76310a066b220e625fa9aa4b925d |
|
10-Jun-2013 |
Craig Mautner <cmautner@google.com> |
Dismiss immediately to maintain consistent state. Fix bug introduced by deferring nulling of mParent. In dismissDialog the removal was being put on a queue while the state of the Dialog was being updated immediately. This meant that if a show() was called before the remove was executed it would try and add the DecorView a second time. Boom! Fixes bug 9370301. Change-Id: I576d1e207c786bc2e21dfd40cb94f2b63a020fe2
/frameworks/base/core/java/android/app/Dialog.java
|
04fe6ebb9f919f196ec06a19bebc09b8e943f95b |
|
31-May-2013 |
Adam Powell <adamp@google.com> |
Fix a bug resolving the correct icon/logo in action bars Remove some abstraction-breaking magic in ActionBarView and replace it with proper resolution of the icon/logo when creating a window. The old implementation relied on the ActionBarView's context being an Activity. Bug 9171554 Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
/frameworks/base/core/java/android/app/Dialog.java
|
a492c3a7b2c18426fd0cb4d017eacbc368195dc5 |
|
24-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Initial draft of high-level multi-display APIs. This patch introduces the ability to create a Context that is bound to a Display. The context gets its configuration and metrics from that display and is able to provide a WindowManager that is bound to the display. To make it easier to use, we also add a new kind of Dialog called a Presentation. Presentation takes care of setting up the context as needed and watches for significant changes in the display configuration. If the display is removed, then the presentation simply dismisses itself. Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
/frameworks/base/core/java/android/app/Dialog.java
|
7f02dc5c9c48a01bec459b71ac73a6ad37b9e12c |
|
27-Aug-2012 |
Adam Powell <adamp@google.com> |
Add setOnDismissListener to AlertDialog.Builder Add documentation to setOnCancelListener to clarify that the cancel event plus the events for the various choice buttons are not the exhaustive set of ways the dialog can be dismissed, and that a dismiss listener should be used if the app needs to cover all cases of dismissal. Change-Id: I9e9d6f90f6f9ccaeb2c697474ab353e2d78f37b9
/frameworks/base/core/java/android/app/Dialog.java
|
44bfdd88a74d5935a011bc8671cb075f2047655b |
|
26-Jan-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Dialog not dismissed when tearing down dialog fragment. 1. The dismiss implementaton in Dialog was posting a message on the main thread to perform the real dismiss work. The goal of this was to allow calling dismiss() from multiple threads. The side effect of this is that when dialog fragment is dismissed the dialog is not dimissed until the current loop on the main thread is completed. However, during rotation of the screen the current activity has to be restarted, hence all fragments whould be removed. In the destruction process the dialog grament requests from the dialog to dismiss but since this is asynchromous, the code in ActivityThread#handleDestroyActivity detects a leaking window since the dialog window is still not removed and removes that window. Now when the dialog removal message is processed on the next loop we get an exception that the window has already been removed. Now if Dialog#dismiss() is called from the main thread the call goes right though otherwise a message is posted. bug:5911682 Change-Id: I449d6dd75a84c0ff29ea13dac7d163219cc38341
/frameworks/base/core/java/android/app/Dialog.java
|
05e1c3a6913e049c7972ac727f57b7d3bf8d8552 |
|
05-May-2012 |
Romain Guy <romainguy@google.com> |
Don't check whether dismiss() is called on the UI thread Bug #6436642 An app invoking dismiss() during a draw pass could cause crashes. This change makes the code simpler too. Change-Id: Iba89a8522e23d02f87697cfeec6cc713a1462669
/frameworks/base/core/java/android/app/Dialog.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
|
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/android/app/Dialog.java
|
89fc3acd4bfb61c7b578f0c9e713d9ea819604e4 |
|
02-Nov-2011 |
Adam Powell <adamp@google.com> |
Bug 5513073 - IllegalArgumentException: View not attached to window manager Remove extra queued dialog dismiss messages when applicable. Log an error if the app tries to dismiss a dialog when its window has been destroyed. Change-Id: Ice8383d4420c052e31fbbd9fcd25051f3bd9b58d
/frameworks/base/core/java/android/app/Dialog.java
|
cfe9aee72836b80b94465621374c2eff915e9a1b |
|
01-Nov-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5528574 - "View not attached to window manager" upon orientation change when there is a dialog with ActionMode on Fix a bug closing down active action modes as dialogs are closing. Change-Id: I0d28e3b3845d5ed50fbb55b180dafa1b11957b81
/frameworks/base/core/java/android/app/Dialog.java
|
558459fe85f56f29a6ed6a4d0adb4a0bd6665884 |
|
14-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross-references, Project ACRE, Round 2 Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
/frameworks/base/core/java/android/app/Dialog.java
|
c30d767628861b0bbea907824682e47732c820f9 |
|
30-Apr-2011 |
Conley Owens <cco3@android.com> |
am 1a846ab0: am b1578d85: Merge "Fix startSearch condition on Dialog, because pressing search key causes ANR popup. If search key is pressed on Dialog and there is no search item then do nothing. How to reproduce the issue: Settings > About phone > Legal information > * commit '1a846ab089878a6b342c6bc3e8850fc2e0ef3080': Fix startSearch condition on Dialog, because pressing search key causes ANR popup. If search key is pressed on Dialog and there is no search item then do nothing. How to reproduce the issue: Settings > About phone > Legal information > Google legal > Press search key > Touch list item or press back key > ANR popup is shown
|
06ca9977d41f0d3739a06e26171a2b1b142fcef4 |
|
15-Mar-2011 |
lge-aosp <lge-aosp@lge.com> |
Fix startSearch condition on Dialog, because pressing search key causes ANR popup. If search key is pressed on Dialog and there is no search item then do nothing. How to reproduce the issue: Settings > About phone > Legal information > Google legal > Press search key > Touch list item or press back key > ANR popup is shown Change-Id: I9c24d83ca3b7c20976bb7daebeff7fd694ce3a2f
/frameworks/base/core/java/android/app/Dialog.java
|
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 |
|
25-Feb-2011 |
Jeff Brown <jeffbrown@google.com> |
Add support for mouse hover and scroll wheel. Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View hierarchy as onGenericTouchEvent. Pointer events dispatched this way are delivered to the view under the pointer. Non-pointer events continue to be delivered to the focused view. Added scroll wheel support to AbsListView, ScrollView, HorizontalScrollView and WebView. Shift+VSCROLL is translated to HSCROLL as appropriate. Added logging of new pointer events in PointerLocationView. Fixed a problem in EventHub when a USB device is removed that resulted in a long stream of ENODEV errors being logged until INotify noticed the device was gone. Note that the new events are not supported by wallpapers at this time because the wallpaper engine only delivers touch events. Make all mouse buttons behave identically. (Effectively we only support one button.) Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
/frameworks/base/core/java/android/app/Dialog.java
|
50efbed668a9410cdec51f7c8604fa44ed267fed |
|
09-Feb-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called before first layout Enable/disable the action bar show/hide animation as part of the activity/dialog lifecycle. This allows apps to set action bar visibility state as the activity first becomes visible or returns to visibility without the associated animation. Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
/frameworks/base/core/java/android/app/Dialog.java
|
e579b347529a642dc837c2fc37fb483fb7a17fc7 |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 6a11185b: am c8c3021a: Merge "Fix issue #3398767: Need translucent holo theme" into honeycomb * commit '6a11185b9293151cb3c12c296cf989ea0e7cb898': Fix issue #3398767: Need translucent holo theme
|
e79b55482eb3f26d6d5b56dce40682dd68826f8c |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3398767: Need translucent holo theme Change-Id: I2ce87798ff58315cb96968ab06e5a52da9f35ef8
/frameworks/base/core/java/android/app/Dialog.java
|
17d7cbc14c128c0e6d6a00d8d4e281c5e8075aa3 |
|
26-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am a58552e0: am f95bd0fe: Merge "Argh forget to include my final part of the change." into honeycomb * commit 'a58552e03de2f24aef735e94fcfab12a0078a3b3': Argh forget to include my final part of the change.
|
f812fee071b9992872009b2dcd7969c7ce882a90 |
|
25-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Argh forget to include my final part of the change. Change-Id: I1e2711e1ecde0350047f1edef9a59947ff5749eb
/frameworks/base/core/java/android/app/Dialog.java
|
7fc5d4b8e7145413411da3320495388f09fab536 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 2ec5a716: am 36c84403: Merge "Fix issue #3362484: Can\'t dismiss activity picker by tapping outside dialog" into honeycomb * commit '2ec5a7160b3d32887b2428edef7a751ee3700809': Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
|
cfaf8878de83b6bb7a24aee3c240259f428e6e4a |
|
18-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
/frameworks/base/core/java/android/app/Dialog.java
|
cb1404e45639d20439d7700b06d57ca1a1aad1fa |
|
16-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Add joystick support to framework. Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
/frameworks/base/core/java/android/app/Dialog.java
|
64da12ab1f472e01325b6c6d094153ac110eaf7b |
|
05-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Add dispatch key shortcut window callback. Enables Activities and Dialogs to implement key shortcut behavior. Useful for global key shortcuts that are not bound to the focused view or to a menu. Change-Id: If377d20b227ee1c5cac84c47c9630b2d77f67e2c
/frameworks/base/core/java/android/app/Dialog.java
|
8b4cac1f420d2e6d235511015a6ab65db5ebaca4 |
|
03-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Again maybe fix issue #3169193... ...com.google.android.youtube: java.lang.NullPointerException at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324) Only perform one cancel callback for a particular start of the dialog. Change-Id: Ib448fcae2489a63c9b63affdc518658447e90920
/frameworks/base/core/java/android/app/Dialog.java
|
114405e0eaf82b1f22e6989d939d5509ff1b7927 |
|
15-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix Dialog generating multiple onCancel(). Issue #3169193: com.google.android.youtube: java.lang.NullPointerException at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324) A little protection against calling onCancel() after a dialog has been dismissed. Change-Id: I7a64c94703da012ce303308563e4a8ed3cb125d3
/frameworks/base/core/java/android/app/Dialog.java
|
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c |
|
30-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3240444 - add OnMenuVisibilityListener for action bar. Fix bug 3180015 - leaking window handles on configuration change for action bar dropdown menus Rename ActionBar.NavigationCallback to something more consistent with the rest of the API. Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
/frameworks/base/core/java/android/app/Dialog.java
|
debf3bed9ea913ac55c80e1f9f7f33217054a943 |
|
16-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2948913 - provide lifecycle notifications for action modes Change-Id: I432e29a7bddb18bc32dfbe21a8ecd7d83158e3a0
/frameworks/base/core/java/android/app/Dialog.java
|
2fbf4de64f0ec5052201cea9519c44d5b1789a40 |
|
01-Oct-2010 |
Adam Powell <adamp@google.com> |
Holo theme progress and assets! * Light and dark dialogs * Checkboxes and radio buttons * Toggle buttons Warning! This is still a work in progress. This does not include final metrics. Some assets (specifically dialogs) are currently misaligned.
/frameworks/base/core/java/android/app/Dialog.java
|
c49c17314d4b7f36e50a5b01edd6d4b13b940366 |
|
29-Sep-2010 |
Adam Powell <adamp@google.com> |
Added AlertDialog.Builder#getContext Change-Id: Ic3033a4eff67f507aa39dacfc4c8984a9ee142c1
/frameworks/base/core/java/android/app/Dialog.java
|
c63806d852a550d82bbe6cadff8a2139d78ed559 |
|
24-Sep-2010 |
Adam Powell <adamp@google.com> |
Holo themes and assets in progress Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
/frameworks/base/core/java/android/app/Dialog.java
|
49afa5bc100e5d4c069fea980dd6b09501f56397 |
|
23-Aug-2010 |
Chet Haase <chet@google.com> |
Add facilities for layout transitions Change-Id: I5c73ce6c6ba3bc9e3b57fcfbbcab37d511db6132
/frameworks/base/core/java/android/app/Dialog.java
|
e67a9dc83d3045f28aa2e19e5643d1875ea26b87 |
|
18-Aug-2010 |
Adam Powell <adamp@google.com> |
Clean up some options menu/action bar menu handling for Dialogs. Add Dialog#invalidateOptionsMenu so that dialogs hosting action bars have a way to request a refresh of menu content. Change-Id: I73aa22c2df1c5e60b94035e30af548f87073dbb9
/frameworks/base/core/java/android/app/Dialog.java
|
dec9dfd0f9f9ae23e4f126d765178fbd26a9eadb |
|
10-Aug-2010 |
Adam Powell <adamp@google.com> |
Support ActionBar in Dialogs Dialogs planning on using an ActionBar must have an appropriate theme. (Later on this will likely be default.) Change-Id: I7fbf5f76eed3d10765fddeaf211e4decb4e89f87
/frameworks/base/core/java/android/app/Dialog.java
|
6e34636749217654f43221885afb7a29bb5ca96a |
|
23-Jul-2010 |
Adam Powell <adamp@google.com> |
Moved context modes into view, renamed to action modes ContextualMode renamed to ActionMode. Adds a reference to the action bar and reduces confusion around things named "Context". Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
/frameworks/base/core/java/android/app/Dialog.java
|
1bd7597b8cdaf39d1183077c463cb30596eb31b0 |
|
02-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
|
ef367529f9c7a538d74599b37b49ac309d0a8d8c |
|
31-May-2010 |
Christian Mehlmauer <FireFart@gmail.com> |
Replaced raw string arguments for Context.getSystemService() with final Context variables Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
/frameworks/base/core/java/android/app/Dialog.java
|
7eec2bcf6fd6c0072d8523c459f305c178f83ee7 |
|
29-Mar-2010 |
Romain Guy <romainguy@google.com> |
Tame the monkey. Bug #2547546 Change-Id: I2a41f53dbd71a166ddce70f3fbec24cfedaa514a
/frameworks/base/core/java/android/app/Dialog.java
|
08a4ac3999f54860fb242eae3f19e15583f8d681 |
|
16-Mar-2010 |
Romain Guy <romainguy@android.com> |
Dismiss a dialog if dimissed right after calling show(). Bug #2508607 Change-Id: Id1b3afcaabf700386f70a46bc2401154575149aa
/frameworks/base/core/java/android/app/Dialog.java
|
d2671e1fcf1d7f1b8e25a2615d514cf3c26b6a9c |
|
12-Mar-2010 |
Romain Guy <romainguy@android.com> |
Preserve widgets on upgrade. Bug #2464545 Change-Id: I802878af49dc4d98210fb8049df0bbdc49268d99
/frameworks/base/core/java/android/app/Dialog.java
|
7883c975dd0db021fa3a01226d6cb09c28764c98 |
|
02-Mar-2010 |
Romain Guy <romainguy@android.com> |
Prevent crash in Dialog. Bug #2249637
/frameworks/base/core/java/android/app/Dialog.java
|
b8144a9c18f23c91b836736a2fcea30917153002 |
|
22-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Don't start global search from system dialogs Also, set FLAG_ACTIVITY_NEW_TASK to allow launching global search from non-activity contexts. Fixes http://b/issue?id=2460991 Change-Id: I833d5b851f0127fb69165fbfc7d1ee190b320401
/frameworks/base/core/java/android/app/Dialog.java
|
479ae0a28099eb77299fe0f44d4dfabce3115fb6 |
|
04-Feb-2010 |
Amith Yamasani <yamasani@google.com> |
Cleanup of global search references in SearchDialog and SearchManager.
/frameworks/base/core/java/android/app/Dialog.java
|
130a8b71bbfb93c1cbe0642e7f2cb97322f899d1 |
|
15-Jan-2010 |
Ficus Kirkpatrick <ficus@android.com> |
Add Dialog.setOnShowListener() to the public API.
/frameworks/base/core/java/android/app/Dialog.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/app/Dialog.java
|
83fe3f559249451706957b1a5f660b2b8272f114 |
|
13-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Last big work on #1991910: Make swipes work with capacitive keys This takes care of allowing us to cancel the back button. The back button is a bear because it is strewn all over the place -- everywhere you can close something, there is some code looking for the back button that now needs to deal with being canceled. The main things changed are activity (of course), dialog, input method, search dialog. There are some other misc places in the framework (and some I missed here that I will get in a second pass). To facility all of this, the key dispatching APIs now provide a lot more support for dealing with looking for cancelled keys, and incidentally also provide an actual API for catching long key presses. This also helped clean up the code in PhoneWindow where it deals with all of the combinations of key pressed and releases. (And also allows people to override Activity.onKeyLongPress() to provide a different long press action for a standard key like search.) And while I was doing this, I reworked how we detect long presses by having this be part of the key event delivered by the window manager. This should greatly reduce (hopefully outright eliminate) the problems with long presses being mis-detected when an application is being slow. Change-Id: Ia19066b8d588d573df3eee6d96e1c90fdc19f57d
/frameworks/base/core/java/android/app/Dialog.java
|
7bafed8623d6835d0c9092ac2b852bb244a13fcf |
|
04-Sep-2009 |
Karl Rosaen <krosaen@android.com> |
Do a better job at finding the activity associated with a dialog when triggering search. It first looks to see if there is an activity that is managing the dialog, and if not, follows the context / contextwrapper chain to find an activity if possible. Fixes http://b/issue?id=2064772.
/frameworks/base/core/java/android/app/Dialog.java
|
3be63c09309b21c01b535271625d4c39045690e5 |
|
21-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Infrastructure for supporting wallpaper previews. Various things that will allow us to show previews of wallpapers. Also some fixes to animations across wallpapers.
/frameworks/base/core/java/android/app/Dialog.java
|
ec0a12cf199659a749ff1fe7b788626eddc095eb |
|
22-Jul-2009 |
Karl Rosaen <krosaen@google.com> |
Don't start search from a dialog if there is no activity associated with the search manager at that point. Still works: - hitting search when a managed dialog of an app is showing will dismiss the dialog and start in-app search (if it supports it), falling back on global search - hitting search when a dialog of an app (not managed by the activity) will dismiss the dialog and start global search - hitting search when a system dialog is showing will just dismiss the dialog.
/frameworks/base/core/java/android/app/Dialog.java
|
53d24af774ad943ff26ef529c949f9c433806421 |
|
14-Jul-2009 |
Karl Rosaen <krosaen@google.com> |
Respect onSearchRequested in Dialog and actually launch search. Also dismiss self.
/frameworks/base/core/java/android/app/Dialog.java
|
045163ac16d5fba694a3b46d0cecb3d84863eaed |
|
14-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog shows.
/frameworks/base/core/java/android/app/Dialog.java
|
6de4aed1c67263269f83f579ec5b06263d173ef3 |
|
08-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
/frameworks/base/core/java/android/app/Dialog.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/app/Dialog.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/app/Dialog.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/app/Dialog.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/app/Dialog.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/app/Dialog.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/app/Dialog.java
|