d6bfb82dc85dba3c469a407cc318e63cfff33a0e |
|
31-Mar-2016 |
Alan Viverette <alanv@google.com> |
Improve handling of AlertDialog padding between title and content Very slight improvements all-around. There is now greater separation between the list's top edge and the title and less separation between the list's bottom edge and the buttons. Bug: 27535708 Change-Id: Ia0d0dfa5ea6d34597104885dd2c773144dcf446e
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
ccf8e661c7aa750865c33ddc3ddfecd8775f3ae7 |
|
23-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Allow AlertDialog to be used in a DialogFragment AlertController calls requestWindowFeature() too later for DialogFragment. Fixed by moving it to the constructor. BUG: 27809055 Change-Id: Icef01316b4e857b41ccc29cc56bbcecd7f629342
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
6727d6408464c973798bf8e1cea66a7b1e99549c |
|
03-Feb-2016 |
Filip Gruszczynski <gruszczy@google.com> |
Merge "Don't extend alert windows onto status bar/nav bar."
|
adf7b5e817ec971eb4f20bb0bbe936b6451b7a44 |
|
28-Jan-2016 |
Filip Gruszczynski <gruszczy@google.com> |
Don't extend alert windows onto status bar/nav bar. This requires preserving information about the status bar/nav bar insets and using it to reduce the available space when measuring wrap_content windows. Also remove the hack that was introduced for round devices and should be handled instead by the round qualifier and theming. Bug: 26014496 Change-Id: I5688c50153047dcabc197adab8fec141630a2b51
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
2e750a14743e2403f37f559973563e9236a40883 |
|
29-Jan-2016 |
Alan Viverette <alanv@google.com> |
Scroll alert dialog buttons vertically when there's not enough space Bug: 25897915 Change-Id: I3cca89450728100375c6cf8ef9142c9a002fd8ba
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
12a47ac41ed7d9968d6ceae50402a41f8a8ba79c |
|
17-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog.setIcon() not working when called after show() pt.2 BUG: 26183328 Change-Id: I2bd8ff0315e04dd33fe720f0e5c32dec06747afc
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
476da7720a939c55e74e5387225f364b581cb29a |
|
15-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog.setIcon() not working when called after show() BUG: 26183328 Change-Id: I86a5a299c9afa105c62a709d2a60b8b2e5b590dc
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
922e1c6ed28da4c5b7ff6b1d4448fe3e8c11652f |
|
06-May-2015 |
Alan Viverette <alanv@google.com> |
Add scroll indicators on View, use in AlertDialog Also updates default fade duration for scrollbars to match Material spec and moves around some padding in AlertDialog so that scrolling text and list items aren't so close to the title. Bug: 19098033 Change-Id: I40dca6a931480c4c48463e3ea5b8361534cbd8d7
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
8990083b198cf05036d2190e4fe62316fbd1f0a4 |
|
08-Apr-2015 |
Alan Viverette <alanv@google.com> |
Fix control alignment for single- and multi-select dialogs Clean up some code in AlertController. Change-Id: I0e4978c4c14dd838188cb23565eb231903c82afe
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
62c79e9a64c3b2cafd5500ed3064977dff7b7da3 |
|
26-Feb-2015 |
Alan Viverette <alanv@google.com> |
Implement landscape layout for time picker dialog Adds support overriding default alert dialog panel elements by including them in the dialog's custom content view, but no public API (yet!) since the panel IDs have never been public. Some minor cleanup and refactoring in TimePickerDialog. Removes Holo styles for "clock" and "calendar" style pickers since they are new in Material. If the new styles are used against Holo they will match Material but with Holo primary/accent colors. Also implements themed color state lists to resolve TODOs in both time and date pickers. Bug: 19431361 Change-Id: I095fd8d653e02d9e5d20d66611432a08a7a5685e
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
5c2d8f7d51d5a944459ddc61034854c6cef7a639 |
|
05-Jan-2015 |
Alan Viverette <alanv@google.com> |
Don't override dialog icon drawable unless valid resource ID was set Fixes a regression where Builder.setIcon(Drawable) would get overridden even when Builder.setIcon(int) had never been called and was still 0. Fixes attribute id to respect all valid resource IDs (e.g. non-zero). Updates documentation to reflect the long-standing override behavior. BUG: 18904762 Change-Id: I905703993a59910555d5a858e0aaecab63221a02
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
35c3cb6a598d2868db064a2dcd6f3b7031fe9f0a |
|
30-Oct-2014 |
Alan Viverette <alanv@google.com> |
Remove scroll view from correct parent in AlertController BUG: 18191700 Change-Id: I37602fc26d103b76021f00c58f03bc32d7a978fe
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
154c2c24dc3b741bcc0d54c46d349478d24472ac |
|
29-Oct-2014 |
Alan Viverette <alanv@google.com> |
Show scroll indicators in AlertDialog BUG: 16353356 Change-Id: I0307283751ccb23b9d85b0c36cb78b01243e70dd
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
d044ad97a8ac1f62c572c7e42c77e960441d8d02 |
|
15-Sep-2014 |
Adam Powell <adamp@google.com> |
Finish materializing dialogs Fix bottom spacing for dialogs with no button bar Remove default dividers from dialog lists Bug 17503404 Change-Id: Icdcaaad99f70a259ff3f892d6385257801e38437
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
b17c6c178f7b7b2774915497c7d2a871cf1fd85f |
|
04-Sep-2014 |
Alan Viverette <alanv@google.com> |
Only use default backgrounds when not extending AlertDialog style BUG: 17368867 Change-Id: I440dad33cfb093c13b450a5f2369481fb30665ad
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
f56ed2db007f8ca8c385d16d4662f13b9a1adabc |
|
01-Jul-2014 |
Alan Viverette <alanv@google.com> |
Fix Material-themed alert dialog sizing Also cleans up line width and final usage in AlertController. BUG: 14904438 Change-Id: Idffa7a1c6edcf4a709ff6322d4bf95ce22d281ea
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
2356c5e69b0911e6334ebf6374217898371be5ac |
|
23-May-2014 |
Alan Viverette <alanv@google.com> |
Update switch, checkbox, radio button, button, and toggle button Add optical inset support to BitmapDrawable with gravity. Fix optical inset support in DrawableContainer. Fix visibility change support in AnimatedStateListDrawable. Adds a whole bunch of missing drawable support to CheckedTextView. BUG: 15127013 BUG: 15126976 BUG: 15125529 BUG: 15025806 BUG: 14597955 BUG: 14594498 BUG: 15152746 Change-Id: Id2d99e10838d25b6f927ca1e49996c8da8e78ab1
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
4c0cb8a526eec87fdba6dc371e21abfa4e993ea0 |
|
04-Apr-2014 |
Craig Stout <cstout@google.com> |
AlertDialog and AppError themes for TV. Leanback themes override AlertDialog styles from other themes. Makes system alert dialogs, and alert dialogs from games running on ATV, have a style more appropriate to television. Final visuals pending. Side button layout fixes DatePickerDialog and TimePickerDialog with dpad navigation. TODO: consider using side button layout for other AlertDialog cases (long messages and lists). Change-Id: I74e4e04d16d6854377580be95a87684a0385b04b
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
4a3735d0810d641ef0fab3f3c0705a8a861f26a9 |
|
09-May-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
resolved conflicts for merge of 88aa8aab to master Change-Id: I6d3a9885f8cf3b632267b5722e59d4968efe17f7
|
119ba2c72dfb50d41177722da01d2750437fb165 |
|
05-May-2014 |
Vinod Krishnan <vinodkrishnan@google.com> |
Adding a margin for the AlertDialog to work on circular UI. - also removing the background completely for sdk >= 20 Change-Id: I239c8d066bb7ed0d1ab852a4d162475948b8a0d5
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
a1a680480e3d5534c2cd4f8b706ad10725993c2a |
|
28-Apr-2014 |
Alan Viverette <alanv@google.com> |
Fix alert dialog icon Previously, failing to call setIcon() would result in a blank icon rather than hiding the icon. Also, calling setIcon(icon) followed by setIcon(null) could be a no-op depending on whether the alert had already been constructed. Change-Id: I65a96a4e89b9eac1123cbbf5d57e7e366e7b4d4e
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
c3cf19af8dd2b7bee834e1b1cc037d789b4356ce |
|
19-Feb-2014 |
Alan Viverette <alanv@google.com> |
Fix alert dialog's background when no custom panel visible Also some miscellaneous AlertController cleanup. BUG: 13077576 Change-Id: I40f669f3a703a49fc53f482c2434b2993ed15326
/frameworks/base/core/java/com/android/internal/app/AlertController.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/com/android/internal/app/AlertController.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/com/android/internal/app/AlertController.java
|
3079e587bd519ba78cb34b1bd0b869e2879458ab |
|
15-Feb-2013 |
Sangkyu Lee <sk82.lee@lge.com> |
Fix typo in AlertController.java If whichButtons is BIT_BUTTON_NEGATIVE, the negative button should be centered. Change-Id: Ia34daf8c80704204a4f1cf71c642114005559d5d Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
10bd4106efc22efd57875a2fb914110475c91856 |
|
19-Sep-2012 |
Adam Powell <adamp@android.com> |
am baed0a8f: am 56fd88d8: am ab12f0f7: Merge "Implement resolving of icon attributes to resIds in AlertController" * commit 'baed0a8f0b43191c8f001e064ff42cf27a305d87': Implement resolving of icon attributes to resIds in AlertController
|
576e1dff3d40610377a763db6c9e6bf999e00987 |
|
10-Sep-2012 |
blunden <blunden2@gmail.com> |
Implement resolving of icon attributes to resIds in AlertController Platform code using AlertController directly currently has no way to set the correct theme-specific dialog icon in a generic way. This adds code to handle such usage. Change-Id: I48beafa1183e4edf6d5378b3985a7f9be5fcda8b
/frameworks/base/core/java/com/android/internal/app/AlertController.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/com/android/internal/app/AlertController.java
|
5ea0bc1abccea067875d00dc9b9dde7c17c1efff |
|
21-Jul-2011 |
Adam Powell <adamp@google.com> |
Bug 4948805 - fix custom title divider for dialogs Change-Id: I1b4fc8da71deb6450b21def15570a18a6b7200e2
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
a93347a62ec9887862abb9d6f216906c533a8562 |
|
14-Jun-2011 |
Adam Powell <adamp@google.com> |
Dialog-o-rama! New styling for Holo dialogs. Now 76% easier for apps to create dialog-based layouts! (Less tricky padding and margin rules) Cancelable AlertDialogs now are canceled when the user touches outside. Dialogs in landscape mode will try not to fill the width of the screen. Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
ef57575887bde74ef09e9f21aae6b02f9c8163c7 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Okay, new plan for dialogs. Don't dismiss by default when tapping outside, even for AlertDialog. If AlertDialog doesn't have any buttons, tapping outside will dismiss it. Applications can make their own dialogs (or activities looking like dialogs) can use the existing and new APIs to control this behavior themselves so that it does the right thing. Change-Id: I02bfb9161e169de0033200211b3a7ec80080bd83
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
32aa2c90ee6e12f6c53c7d572d5c02f1d795b8f7 |
|
12-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3338079 - Dialog styled activity decor Fixed a bug in FastScroller that could cause a crash on an empty list in always-show mode. Fix holo light button text color Change-Id: I7b50043d715b9b870eb34808017d743ba64d2e08
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
fcca00accb923d3cbda4e0d6f5540b10e8279cd2 |
|
01-Dec-2010 |
Adam Powell <adamp@google.com> |
Update themes; dialogs, metrics Add divider attributes to LinearLayout, plus styles for borderless buttons. Update text field assets. Change-Id: I673acab1692cc028a0327e8c154069253a4d52e8
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
3320dcd049700481c744d499feeecd1454afd4d7 |
|
06-Nov-2010 |
Adam Powell <adamp@google.com> |
Fixed several dialog theming issues Change-Id: I8e83e5a35acaae63a70bef48f543e3fd82ced354
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
6f4f01062bc78ae765c970e8796b8dbef432f8a4 |
|
05-Oct-2010 |
Gilles Debunne <debunne@google.com> |
am b621e203: Merge "Removed icon in Alert dialog header." into gingerbread Merge commit 'b621e2030d86356af6e8f37e9aed339a5f2ea52b' into gingerbread-plus-aosp * commit 'b621e2030d86356af6e8f37e9aed339a5f2ea52b': Removed icon in Alert dialog header.
|
076c7fbeda5c4205e3e52fbc6110ab1c4b342afe |
|
04-Oct-2010 |
Gilles Debunne <debunne@google.com> |
Removed icon in Alert dialog header. Bug 3042419 I wanted to nuke this one for ages Change-Id: I079bec9b31157d6b7887c4f22612e56ae9690e7c
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
e74e7e2a088cc9077e4ee98e01a48bb52e9cfd50 |
|
22-Jun-2010 |
Martin Sjolin <martin.sjolin@sonyericsson.com> |
Remove top panel in alert dialog if empty. Remove the topPanel in the alert dialog if it is empty and therefore invisible. This gives the dialog content more space, and it makes dialog positioning on the screen correct. Change-Id: I8ffd9bd9b2360b0ad4338c32c21ab69c055d66a0
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
6fe2b22085864b8f6bb6c59ecc0a12c6c4253309 |
|
22-Feb-2010 |
Romain Guy <romainguy@android.com> |
Fix bug where calling getButton(int) returns null. Fixes external bug http://code.google.com/p/android/issues/detail?id=6360
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
9c802c1e95befbd8de30ea4ebc48ae05cb948b2b |
|
25-Mar-2009 |
Romain Guy <> |
Automated import from //branches/master/...@142575,142575
/frameworks/base/core/java/com/android/internal/app/AlertController.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/com/android/internal/app/AlertController.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/com/android/internal/app/AlertController.java
|