c9ef840fc5994cc3d362edfc9e282708aa519eff |
|
17-Feb-2015 |
Adrian Roos <roosa@google.com> |
Disable color view animations when stable insets change Prevents color view from showing up on phones when the orientation changes to landscape. Previously, the animation was only prevented when the stable inset of a bar became nonzero; now we disable animations whenever the nonzeroness changes. Bug: 19353466 Change-Id: I31b4103fe984d158a98cd446ac2ddbe15a408e49
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
bd769a15abfcb23b16daaed10c09029bbb978eef |
|
28-Jan-2015 |
Jose Lima <joselima@google.com> |
Fix crash caused by disabling the Options panel on TVs Address more cases where calls to getPanelState may cause a crash when the options panel is disabled on a platform. Bug: 19178531 Bug: 18780696 Change-Id: Ib72bb8483e636181788ed3919c4cb9e99a94b7b1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
71922de6c8e407ff24bb1a500cb53bb1a647c758 |
|
13-Jan-2015 |
Alan Viverette <alanv@google.com> |
Update docs for Window.setElevation(), apply changes immediately BUG: 18983689 Change-Id: I471104092d6296dc0ba2689da96783be088fbce8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
05054bd6ac3d1a492e763b5778b1452dbc25e47c |
|
27-Oct-2014 |
Adrian Roos <roosa@google.com> |
Add animations for the system bar color views Smoothly animates them in and out when their visibility changes. Bug: 17882303 Change-Id: I04bf585bb253c655b4be2f5cc2304d5060cb1657
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
808fe6f99fba753e0ec4c5e90de0ff7a2140e8a6 |
|
03-Nov-2014 |
Adrian Roos <roosa@google.com> |
Merge "Fix colored status bar panning issues" into lmp-mr1-dev
|
79c067c54a944660438c81ac2caf37ec68eedfa9 |
|
29-Oct-2014 |
Alan Viverette <alanv@google.com> |
Add setters for window elevation and clipToOutline properties These are available as XML attributes but were lacking setters. None of the Window properties have getters, so just adding setters here. BUG: 16847753 Change-Id: I9c032903e94b7f12125210bd73c911243612df69
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0e7ae4efe8f424fa1ced8f7e5f3d8ae78066592b |
|
01-Oct-2014 |
Adrian Roos <roosa@google.com> |
Fix colored status bar panning issues Bug: 17695293 Change-Id: I6a1267f8dff27e7b78ab312a71648ef16ab9483b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
fdf5b35ab46639759d6389a4e2a4d5799cb6814b |
|
09-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #17906468: Allow search request to fall back to global search Change-Id: I04834b2a9f1ec4a68c6a3fed14da2f8dd93b3be7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 |
|
08-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Put in real "code" (aka marketing) name. Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
46cbf7e1903f5cf1c3960e63989499f373ad7db4 |
|
30-Sep-2014 |
Adam Powell <adamp@google.com> |
Inset the non-overlay contextual action bar without a status guard When the status guard is not available, (e.g. when the window is not drawing system bars) do not consume the insets when an action mode is active. Bug 17691453 Change-Id: I459622eaf161a96152fb9ac5f60bb9508aa4de89
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
98a514221af081885f7283c347a8ef5db012ffcf |
|
25-Sep-2014 |
Alan Viverette <alanv@google.com> |
Fix "Always apply window insets to action modes" BUG: 17628875 Change-Id: I03bf6cfd68d0ca2904b43e00f68d07d497ff9879
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
2b2f6729b8d7ee0aea8fc19675cbbc90f6ef9fd1 |
|
19-Sep-2014 |
Adam Powell <adamp@google.com> |
Merge "Make panel menu windows respect elevation" into lmp-dev
|
594558d7e9a5dc2ff1ce7b5f42c53afb23f85a1f |
|
19-Sep-2014 |
Adam Powell <adamp@google.com> |
Make panel menu windows respect elevation Bug 17430536 Change-Id: I962dfa10d3cb4f735dcaa68f17e7ff278d1580a2
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
24b5f2cf9590b960aeece1069a0f0dcdc962bbac |
|
19-Sep-2014 |
Alan Viverette <alanv@google.com> |
Always apply window insets to action modes BUG: 17567245 Change-Id: I3c37d228e3a9d3060a4fd1a86abf2ffbf91802e8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
07ecc748fb378a1acb86f3b93a7ad35d8fbb5aa5 |
|
18-Sep-2014 |
Alan Viverette <alanv@google.com> |
Merge "Use action bar theme for action modes, fix ViewStub inflation theme" into lmp-dev
|
a9ddb8dc23b253c53f24ceb81e9d596c072d834e |
|
18-Sep-2014 |
Alan Viverette <alanv@google.com> |
Use action bar theme for action modes, fix ViewStub inflation theme BUG: 17262483 BUG: 17513621 Change-Id: I74764570a11da162a224e94978e21e52d17e2e84
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
dc263b1abf72a9e7f3adb7b89b6223f1b1c14bde |
|
17-Sep-2014 |
Adrian Roos <roosa@google.com> |
Fix bar visibility after restarting immersive activities This was a result of using the wrong systemUiVisibility listener. Instead, DecorView now follows the structure in ActionBarOverlayLayout, where we use onWindowSystemUiVisibilityChanged for everything. Bug: 17494017 Change-Id: I1be9165c5ff80021f3a7889d3811cf0c54f68e71
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ce4a0cf9cee73a2d6b1444d15d663e564a12593a |
|
15-Sep-2014 |
Adrian Roos <roosa@google.com> |
Properly redispatch systemUiVisibility flags Fixes two bugs introduced by change I7bd32531130d199c0734ffcb800194e77b7e16c3: When the system window insets consumed by DecorView change as a result of changing flags, the insets must be redispatched to the hierarchy. Also fixes a bug where, as a result of removing the wrong implication of the SYSTEM_UI_FLAG_LAYOUT_STABLE flag by FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS, the status bar was being forced to black when returning from recents. Bug: 17489047 Bug: 15046646 Change-Id: I127b0ff3b17c4873a7c28d67020f84298ed09db2
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f849a5e16d016fb6ae081a4575ce67f4ce688e3a |
|
12-Sep-2014 |
Adam Powell <adamp@google.com> |
Magic null-background filling for PhoneWindows In the past it's been a recommended approach to avoiding overdraw for apps to set their window background to null at runtime if their content view fully covers their window surface. The problem with this is the IME. The IME can force a resize of the window at unexpected times and unless an app has been configured to fit system windows and manually cover the padded area that the IME window covers, the asynchronous nature of the IME-show process can leave surface buffer garbage visible to the user. In previous platform versions this wasn't an issue since pre-renderthread we would always animate a crossfade from the closed to open state. This animation was always a bit of a hack since it could break the contract of requestLayout/invalidate on the view hierarchy - it could result in a draw happening into the saved "before" state of the crossfade before a pending layout. Now that this has been cleaned up the buffer garbage is sometimes visible. To prevent this, PhoneWindow now detects the state of a null window background and draws solid rects into the area not covered by a window's content. Which color is determined by the window context's theme, though this is not a public API available to apps. Bug 17006497 Change-Id: I714439a1608c4ae135f3d9d49bb165330d9fbe9f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
91db5ea149818b765c8a01e13ccfbb1e3e1109df |
|
12-Sep-2014 |
Adrian Roos <roosa@google.com> |
Merge "Hide the increased window size due to colored bars from the view hierarchy" into lmp-dev
|
9826f636ad4fe3714d60972acd918e09eb44d971 |
|
11-Sep-2014 |
George Mount <mount@google.com> |
Have Activity Transitions activited by a new window attribute. Bug 17006497 Window content transitions were being enabled by default in the Material Theme so that Activity Transitions could be enabled by default. Unfortunately, this gave the effect that many applications did not want -- the default transition between window content is a fade out/in. Here, a new attribute is added: windowActivityTransitions that is enabled by default in the Material theme and windowContentTransitions is disabled by default in all themes. Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f5e9b5c305aa98cafd0c24cfdadc5dd32bad8020 |
|
10-Sep-2014 |
Adrian Roos <roosa@google.com> |
Hide the increased window size due to colored bars from the view hierarchy For windows with L-bars, the window size has been extended to include the area below the nav bar. This change makes DecorView hide that fact from the rest of the view hierarchy, unless it has explicitly ask to extend below the navigation bar. Bug: 17421744 Change-Id: I7bd32531130d199c0734ffcb800194e77b7e16c3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d4e3fe4f7fbffcc5b8dabf6663906c97afbc4d60 |
|
08-Sep-2014 |
Adrian Roos <roosa@google.com> |
Don't draw system bar backgrounds if FLAG_FULLSCREEN is set Bug: 17367264 Change-Id: Id43fc182505e66c2794a76d74e2ac9a6d4f9d569
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0f6c32af063a44e22af72825f19f51808a2c0cf3 |
|
04-Sep-2014 |
George Mount <mount@google.com> |
Merge ""Back" with translucent window now sets ActivityOptions." into lmp-dev
|
9e18397112df0ebe49b9e4325d7040498b2afcfa |
|
03-Sep-2014 |
George Mount <mount@google.com> |
"Back" with translucent window now sets ActivityOptions. Also made convertToTranslucent set the canvas opacity. Bug 16215650 Change-Id: Id4325eaed34cda1269d874f239aeb5f6f82c959f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
c03da0e7a9ef721709d51cf8a2d539a5bd8a320e |
|
23-Aug-2014 |
George Mount <mount@google.com> |
Make Fragment Transitions match Acitivty Transitions API Bug 17188255 Change-Id: I506a097be4010d7156caf465c95295c58612c16e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0fb81090c0ad144e9eaec5d761070ac55b20ce3d |
|
29-Aug-2014 |
George Mount <mount@google.com> |
Add IDs for status and nav-bar backgrounds. Bug 17299689 Change-Id: I9b2168c547fe2670900614805031c3bb5fa63802
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f14d924cd706438b52ba2bf7a698ea1645fe6399 |
|
26-Aug-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Allowing isRound and outsetBottom properties to be passed to ActivityView. We remove requirement for having display id == 0 or allow circumventing it through a flag. Change-Id: Ia4671614b51894393d47e681cc72718d394230f6
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
31c91c81798802f62d55f8bccb6d4071471c1aa4 |
|
23-Aug-2014 |
Adam Powell <adamp@google.com> |
Add state save/restore for Toolbar Save and restore the menu state for Toolbars. This will make sure that we remember expanded action views and opened overflow menus across state save/restore. Remove an extra event post involved in the initial population of action bar menus. Apparently at some point an extra level of this was added that isn't necessary. Process any pending menu invalidations immediately when we perform window state restoration. This makes sure individual bits of state in action views, etc. are also restored properly. Bug 12005461 Change-Id: Icf905698576b11a59641bc319adc62300857906f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
b89d5cc2c64112a0ff7e66e4dd3bb2114caed935 |
|
19-Aug-2014 |
George Mount <mount@google.com> |
Allow Activities to opt into using Overlay for shared elements. Bug 17001227 Change-Id: Icc49a81357ee69abd2a15a1d1efcead298ab3fb7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
7f15164ecb4c93cbb3cc886a3028621c0d0fffcc |
|
19-Aug-2014 |
George Mount <mount@google.com> |
Add a way to get Transitions from a TransitionSet. Bug 17113732 Change-Id: I0a157a59448e66560ba2252709971131c5dea401
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
2c18333577059663b1d89a86752f382b052ca3f8 |
|
07-Aug-2014 |
Alan Viverette <alanv@google.com> |
Remove clipToOutline workaround for null backgrounds BUG: 16566746 Change-Id: Icdf0d40b75c0fa9d972eb6300f51079e48fbe5fd
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
68f96d8db5e5e701b6a12b5cddecc985e56a26c6 |
|
31-Jul-2014 |
George Mount <mount@google.com> |
Add differentiating transitions for returning/reentering. Bug 16550363 Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0fa59b898a14f7ee8b4f31232ee48e12f3d0eef0 |
|
29-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
am 896a82d7: am d0e03392: Merge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev * commit '896a82d77e732c7387b2279bcdd0f04d696b13df': Fix double chin issue, where bottom inset is applied twice.
|
6393196f5dfe9da7527c8cfd6961766ff7a8286b |
|
25-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Fix double chin issue, where bottom inset is applied twice. This changes how windowOutsetBottom is applied. Instead of being added to whatever inset is already set, it overwrites it. Bug: 16567038 Change-Id: Idedae93b790652e9de0519764ea7a03841f9e8fd
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
40982d46f95a95e48b7f667ada651280036b2419 |
|
26-Jul-2014 |
Alan Viverette <alanv@google.com> |
Add public attribute for window clipToOutline Also ensures clipToOutline is false is the background is null. BUG: 16549166 BUG: 16566746 Change-Id: Iacb08b64464cb93cbd8f34f2ec0308a77d40aab5
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
07470537df8258f5c3d70cac5055e45e1936544e |
|
25-Jul-2014 |
Alan Viverette <alanv@google.com> |
Clip windows to their background by default BUG: 16549166 Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
b57503c34d5611b229e694a4aa4cbafb2b8c221e |
|
17-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Only use bottom outset for main display. Change-Id: I42154d026811ee4b7ba9711c560c7a62fcdde7ee
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0635b8927e1e77e34916437f4e5b67cff4e25b2a |
|
19-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: restore vibration entering vibrate-mode from rocker. Bug:16418732 Change-Id: I0db18a0ff21cfa1af7005ab9620340d34c2eb63b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0048da2114b54357e4901f40930afc7d503e0e24 |
|
18-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
resolved conflicts for merge of bbc49941 to lmp-dev Change-Id: If8e607ab1946c3ca5bb8960d32fdefebbfb21ffe
|
28204a768e4a2b84fe8bea2e8fe582d81c0d75a7 |
|
17-Jul-2014 |
RoboErik <epastern@google.com> |
return false for media keys if no controller bug:16311395 Change-Id: I4cde865858f99a9159abc181cc987fbd9866025b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
31a37dc0a1ad977157d0a0c79fb4c82e6bdd72ce |
|
17-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
am 95198b91: am 39f0e7da: Merge "Using outset bottom from theme as bottom inset on circular screens." into klp-modular-dev * commit '95198b91665bb93473ea1ec68c69bdbfd0002d49': Using outset bottom from theme as bottom inset on circular screens.
|
dcb70c2e08217a5030d56ee5050ddf853b958b45 |
|
15-Jul-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Using outset bottom from theme as bottom inset on circular screens. Change-Id: I46374b345e60a74b6afbbb6a278a0b8e81650681
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
1ff5b1648a051e9650614f0c0f1b3f449777db81 |
|
16-Jul-2014 |
RoboErik <epastern@google.com> |
Change adjustVolumeBy to adjustVolume This makes volume adjustments take a direction instead of a number of steps and renames the API appropriately. Change-Id: I6a31cbc42d889a38aa63446686a424cb2b8b2270
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
550116576cce028d3c435f7c3ae9f6e3b92b5cf2 |
|
10-Jul-2014 |
RoboErik <epastern@google.com> |
Add API to set a default session in Activity We may have multiple remote sessions at once so an app needs a way to specify a default session to route media and volume commands to when its activity is in the foreground. This adds an api that works in parallel with the default stream api on Activity. bug:15727927 Change-Id: I5b67cb3e20647f9437d90aa65be63efe8c7865cf
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5acf640dfab01a525b832c92ce63eacf2e2146b4 |
|
02-Jul-2014 |
George Mount <mount@google.com> |
Merge "Reapply fix after bad merge."
|
7e20884d85a68d0f22f2b0a37b8164497b146010 |
|
02-Jul-2014 |
George Mount <mount@google.com> |
Reapply fix after bad merge. Bug 13745751 Change-Id: I8eda37bd0e083b7c7949935973330882f6f5f1dc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
fa10423fa00f3495e451016acba9b6848eb995c9 |
|
21-Jun-2014 |
Adrian Roos <roosa@google.com> |
Add stable insets for stable system windows Adds a new kind of inset that only accounts for stable system windows like the system or navigation bar. Bug: 15457292 Change-Id: I681b711f6f40a94c25b7acd3a44eb3539486afab
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
166c8e3e26d4b51adb678e2872560a10e3813266 |
|
02-Jul-2014 |
Adam Powell <adamp@google.com> |
Fix checking for compatibility between window title features. New features that have nothing to do with titles were tripping the, "is this compatible with custom titles" feature check in PhoneWindow. Define a better way of checking for this for when we add new window features in the future. Bug 13789588 Change-Id: Ie1cacffb113958dac5142a5a39f548df53b47299
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
238010f056433d64e6eb27c45ab8124563651eba |
|
01-Jul-2014 |
George Mount <mount@google.com> |
Allow activity transitions to target nav and status bar colors. Bug 15885062 Action bar can already be targeted via android:action_bar. Navigation bar background is now android:navigation:background. Status bar background is now android:status:background. Change-Id: I4604906923f3473af3beec4f865463b2fe4a5316
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
39f09e23d4cb46fed32c5c5f4c2e2bf5be6b3c54 |
|
30-Jun-2014 |
George Mount <mount@google.com> |
Don't throw exception for root scene transitions. Bug 13745751 Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ee028d502e331765546e4f58d541c552b4ddc789 |
|
04-Jun-2014 |
Michael Kolb <kolby@google.com> |
DO NOT MERGE : Fix measuring with outset for orientation Bug: 14992865 Change-Id: Ie133d8010a394403e52512f4012632389bc32c4a
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d0406a45e276b7940b5266a6cb827e48025c5513 |
|
12-Jun-2014 |
Adrian Roos <roosa@google.com> |
am 92140c92: Merge "Update PhoneWindow to new window inset dispatching" into lmp-preview-dev * commit '92140c925ab4a142798f9b1acd6efe506d1f55e3': Update PhoneWindow to new window inset dispatching
|
ed1e01d7e431edbcaab983b4b240418f2b090fac |
|
05-Jun-2014 |
George Mount <mount@google.com> |
Allow customization of background fade duration. Bug 15195468 Change-Id: I02c1ef446cfa8aaedce640ab5694b6d9245bb9f7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a301b04be3de90df44ea95e414cd78cf728dc76a |
|
12-Jun-2014 |
Adrian Roos <roosa@google.com> |
Update PhoneWindow to new window inset dispatching PhoneWindow was relying on an implementation detail of the old fitSystemWindow mechanism to consume only the top inset. In the new mechanism, the contract changed an consuming the inset did no longer work, leading to the insets being applied twice in some cases. Bug: 15388544 Change-Id: Ife8361f2b1e5caf8c3ed90646344d653876e8e7d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
eb1d3798e37572ca515aad572350f5745adf023d |
|
04-Jun-2014 |
Alan Viverette <alanv@google.com> |
Fix RadialTimePicker styling Also sneaks in some whitespace cleanup for PhoneWindow! Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4b002d3251307cb5b82480963bf4089e91b67898 |
|
04-Jun-2014 |
Alan Viverette <alanv@google.com> |
Fix action bar menu inflation context Change-Id: I9da159d7721f41974b711e74edbaba6d6740f183
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ad3c4a136e862cc838dbd3b9f24c8cecdfc4b934 |
|
03-Jun-2014 |
Alan Viverette <alanv@google.com> |
Fix build Change-Id: I09c649b3385ed46956f2d784546c430298de3069
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
eec8f0cbbba8cfe3de29fef4b2362af3817ea575 |
|
30-May-2014 |
Adam Powell <adamp@google.com> |
Guard against missing progress bars in window decor layouts This is temporary; in general requesting the window feature means you have the progress bars available. This can be removed once Toolbar supports the additional progress bar features. Bug 15329703 Change-Id: Ica520a4fb600fd132a88c5204197185d7e0689c9
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
e021e6ed8931a0a8296af182fc9b0c76b64fb0c4 |
|
24-May-2014 |
Adam Powell <adamp@google.com> |
Toolbar factoring and ActionBar functionality integration Toolbars now can act in the role of ActionBar with the exception of navigation modes. Expandable action views are now supported as well as populating menu items from a host window. Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
236bcc3ad146c0e5584dfdaef1e9fa1b59a6fe7e |
|
18-May-2014 |
Adam Powell <adamp@google.com> |
Merge "Action bar refactoring, round 1"
|
4369e7d0b087d777e5012e2706acc5be9be47de7 |
|
17-May-2014 |
Adam Powell <adamp@google.com> |
Action bar refactoring, round 1 Decouple PhoneWindow and ActionBarView to allow for using Toolbar in some circumstances later. Change-Id: I907743e06c3a1203e21cfd84860a1884c66f3527
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
34e65445510ecd2523d8b6f3a1e07fe5a2b71ec6 |
|
17-May-2014 |
Adrian Roos <roosa@google.com> |
Implement system bar color runtime API Change-Id: Iacf36c6d92a2f779eb933218817721c8ed3c3344
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ea56251d92050e9a672d1f66d0d4621e4dd4136e |
|
05-May-2014 |
Adrian Roos <roosa@google.com> |
Colorize SystemUI Makes the color of the status and navigation bars customizable by the app. Bug: 14564488 Change-Id: I036edc228cfe1b659c7f11a43cdc4598ee705ff8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
217ccd2f82031f05d111bce7308a65136f278c7a |
|
09-May-2014 |
Adrian Roos <roosa@google.com> |
Add System UI Color API Bug: 14564488 Change-Id: Ibebe87faeb1b730f9ac33bb5074a7b4f71b9d1c7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8f8c7f413fb0d41304d9199f032507cf0651227a |
|
13-May-2014 |
Aaron Whyte <awhyte@google.com> |
am 8452776b: am 5ff35f8a: Merge "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" into klp-modular-dev * commit '8452776b950b26f86324636242dd302a596fae1d': Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859
|
1fb617fecd68c69f510164fc42aba0bc38c2cf66 |
|
13-May-2014 |
Aaron Whyte <awhyte@google.com> |
Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859 Change-Id: I342eea5afafd56bed9b4138b97c2e906a10d300d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
51f110f9d704881e4362bd29b9d141cb2b2b6b02 |
|
13-May-2014 |
Aaron Whyte <awhyte@google.com> |
am d67fd642: am 6af2ef8e: Merge "Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859"" into klp-modular-dev * commit 'd67fd6428a2bcaedca79fb96f971dd021e08a651': Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859"
|
d5f010e4e7fdcd6ba3959f1e148d9b4dad057017 |
|
13-May-2014 |
Aaron Whyte <awhyte@google.com> |
Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" This reverts commit 3f3e3e87e2a8f899d896c0c54441a37a23fdba3b. Change-Id: I799d9a2b0eeb708f57127be60780c7a005b792b5
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
71dfd44c9b605ef4a5467a35573b1a13ab57e707 |
|
13-May-2014 |
Aaron Whyte <awhyte@google.com> |
am 064789ef: am 24f3d091: Merge "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" into klp-modular-dev * commit '064789efc1cd7ff96edc57f2a72fe7ad6fa8d24e': Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859
|
3f3e3e87e2a8f899d896c0c54441a37a23fdba3b |
|
09-May-2014 |
Aaron Whyte <awhyte@google.com> |
Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859 Change-Id: I0a8641894b41058f53a5bf241763a9a0605244d1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
61bc9f37cc0e0921d2e205dccdd45df36c353a9c |
|
01-May-2014 |
Mark Renouf <mrenouf@google.com> |
am 5b72a6ab: am 41615284: Merge "SwipeDismiss: limit fade to 50% alpha while swiping" into klp-modular-dev * commit '5b72a6abf85b26e66589db478cc105e7bfec6116': SwipeDismiss: limit fade to 50% alpha while swiping
|
d07612163030ea014b04f8271d47745393f4a06e |
|
01-May-2014 |
Mark Renouf <mrenouf@google.com> |
SwipeDismiss: limit fade to 50% alpha while swiping BUG: 14319825 Change-Id: I3704fab77f2d3660ae374bdf16c767c124dcb8e9
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
cbc7168e55fd4058647af5a6ca7652bb99b299b0 |
|
18-Apr-2014 |
Mindy Pereira <mindyp@google.com> |
am 03f7f442: am cb54f978: Merge "Update window alpha at the same time as translating" into klp-modular-dev * commit '03f7f44250faea2db0147f43b6699436e540889d': Update window alpha at the same time as translating
|
b0ea484615574b6fcf0103ff6ff79cc73e449bc4 |
|
17-Apr-2014 |
Mindy Pereira <mindyp@google.com> |
Update window alpha at the same time as translating Note: algorithm for alpha per progress may be updated This is a first pass proof of concept Change-Id: Ia043200ea737ff9d132e350449e17ba0fde10d65
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
31a217290cf376d0573fc36e21c8940987485019 |
|
25-Mar-2014 |
George Mount <mount@google.com> |
Split Activity Transitions out of PhoneWindow. Bug 13622834 Made it possible to use shared elements without making Views invisible. Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d6107a3170df61d9e776fcd5666acfc9135c6f16 |
|
11-Mar-2014 |
George Mount <mount@google.com> |
Add Transitions useful for Activity transitions. Slide: transition in and out of the edge of the scene. Explode: transition to the scene borders Moved capability from Fade to Visibility. Change-Id: Ibeb0d8f751c990edc467570d9665fbe251af2703
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
cb4b7d999e7bcba608726188421772e313e67163 |
|
25-Feb-2014 |
George Mount <mount@google.com> |
Implement "Back" for Activity Transitions. Change-Id: Iceaf888f57f2c7598f9291687ac9ad76d55bd82c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4bb047fa5e6d43a027bfe1dfe23b3541e3910a31 |
|
01-Apr-2014 |
Michael Kolb <kolby@google.com> |
Fix build after bad merge resolution Change-Id: I4af3aae1114d31847fc13d56ab03af8c7ef74577
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
7fbde1e83703f800c98c1ef7c543f3146cfa43ef |
|
01-Apr-2014 |
Michael Kolb <kolby@google.com> |
resolved conflict for merge of 2c73e08d to master Change-Id: Iee2e1f773469db0ba26b153193945a6c246af151
|
5de886a158e449912b21fb27f02bdf67c0c95010 |
|
25-Mar-2014 |
Michael Kolb <kolby@google.com> |
Add outset to decor view measuring Change-Id: Ib0e68311ff8ed1fccf9219b28c42ee43c5952050
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
52b999f0721b53e9c6e18a4bd664e89aeb65b2d5 |
|
25-Mar-2014 |
Alan Viverette <alanv@google.com> |
Implement APIs for obtaining, caching themed Drawables When Drawables are inflated during preload (or otherwise without a theme) they cache their themeable attributes in their constant state as an array keyed on attribute index. Drawables inflated with a theme will simply resolve theme attributes as part of normal inflation, and they will not cache any themeable attributes. Drawables obtained from Resources are pulled from theme-specific cache when possible. If an unthemed Drawable exists in the preload cache, a new constant state will be obtained for the Drawable and the theme will be applied by resolving the cached themeable attributes and overwriting their respective constant state properties. If no cached version exists, a new Drawable is inflated against the desired theme. Constant states from themed drawables may be cached if the applied theme is "pure" and was loaded from a style resource without any subsequent modifications. This CL does not handle applying themes to several Drawable types, but it fully supports BitmapDrawable, GradientDrawable, NinePatchDrawable, ColorDrawable, and TouchFeedbackDrawable. BUG: 12611005 Change-Id: I4e794fbb62f7a371715f4ebdf946ee5f9a5ad1c9
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
e180337ee99b9155fe441ea55451f4d2167b5d9a |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic redo. This reverts commit 206e30cd93afe3eb72ec94178324417db5424ed2 along with removing the additional startActivity* methods and replaces them with ActivityOptions makeSceneTransitionAnimation methods. Change-Id: I52bec31ae3c4cea6d549810ae5a7acd8aea176d8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
206e30cd93afe3eb72ec94178324417db5424ed2 |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Revert "Change Activity Scene Transitions to be more automatic." This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482. Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f10587faadb9080a7bf9991cbe04bac5525da482 |
|
06-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic. Shared element transitions are enabled by default when the Window has a TransitionManager. Shared element location and size are captured and transferred to the target Activity. ActionBar is treated as a shared element. Change-Id: I0f22ea4e5cbe80254e848444e3f235cb742684f4
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0a778eda690a66173733a63622886e888d405c45 |
|
13-Dec-2013 |
George Mount <mount@google.com> |
Cross-Activity Scene transition API. First pass at API for cross-Activity Scene transitions. Remaining work: Transition back Automatically capture hero element info Transfer of surface texture to synchronize between Activities Possibly use scene names to indicate preferred transition Change-Id: I59d07de1fae694a46b92b1c82525daa301ec1377
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 |
|
04-Feb-2014 |
Alan Viverette <alanv@google.com> |
Add APIs for obtaining themed Drawable from Theme, Context BUG: 12611005 Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
cfbe9be5b3b701d95fb24fa0f7c8d9be43eec776 |
|
06-Nov-2013 |
Adam Powell <adamp@google.com> |
Add support for cross-activity scenes and transitions * Add theme attributes for specifying a top-level TransitionManager for an activity window. * Add window feature for automatic content transitions. This automatically assigns/creates a Scene for setContentView calls. * Add named transitions. This allows apps to define APIs for handshake-agreements about which exit/entrance transitions to play. * Add new transition type for ActivityOptions. This lets the system use ActivityOptions to communicate transition specifics and arguments to the called activity. * Have ActivityManager pass appropriate ActivityOptions through to the called Activity. Have the called activity call back into the caller to let it know which transition of a possible requested set was chosen. Still to do: * Define and pass arguments for transitions. This will require defining a Parcelable version of TransitionValues and deciding how much leeway apps should have for these things. * Determine how to appropriately filter the ActivityOptions bundle so that only appropriate data reaches the target. * Determine if generalizing the auto-Scenes functionality to ViewGroups is appropriate. Change-Id: I10684b926129ab2fbc1adec9ef31767237acae79
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
2525d9c8437c34440e4df0583f333a06a5c4fc10 |
|
15-Nov-2013 |
Alan Viverette <alanv@google.com> |
Deprecate Activity.setTitleColor() BUG: 11712103 Change-Id: Id34ffb59d3f848c591a98880c6cdd9058e5a38dc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
18e905f42d017c4721d33bd25d7d39ef8d64b5d5 |
|
24-Oct-2013 |
Adam Powell <adamp@google.com> |
Make Scenes and Transitions first-class in PhoneWindow/Themes Add a window feature for content transitions. This implicitly creates a Scene for each setContentView operation and runs the appropriate transition. Applications can specify a TransitionManager XML in their theme that will apply the appropriate transitions when these implicit scene changes occur. Apps can specify a "to" with no "from" in a transition to request an entrance transition for the given content. This lays the groundwork for further full content change/activity to activity transitions. Change-Id: Ic815d9e0b9ce958152d70bf6ee01be075aa9fe88
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a81736a74dff602de0412bb5ca4d366007278b74 |
|
15-Oct-2013 |
John Spurlock <jspurlock@google.com> |
Ensure the simple CAB appears below the status bar. When the contextual action bar is not in overlay mode, the screen layout is a linear layout. (screen_simple.xml) Ensure the standalone CAB appears below the status bar, consumes the top offset (to avoid content application below it) and fill in the status area with a guard view for background protection. Bug:10014069 Change-Id: I614f16dfa77367a94808aef54710ffebd66e1ca8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ae3349e1c34f7aceddc526cd11d9ac44951e97b6 |
|
18-Oct-2013 |
John Spurlock <jspurlock@google.com> |
Move the IME navigation guard view up to decor. Although the IME windows are now allowed to extend into the nav bar, some IMEs were making assumptions about computed insets based on the height of the content view. So our navigation bar view (opaque view blocking the nav bar area to avoid the island effect when transparent) needs to live above the content view in the hierarchy, making the content view the same height as it was before. A surgical spot to put the guard view is up at the root view (PhoneWindow.DecorView). fitSystemWindows is always called since this view is not recreated, and the layout is stable: waiting until the IME is attached to the window is too late to add a guard view. This is above the screen_* layouts, so will work without having to touch all of them. And it only affects windows of TYPE_INPUT_METHOD. Bug:11237795 Change-Id: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
fd71db84454bea8da07a79b91dc5065f645e4d14 |
|
09-Oct-2013 |
Adam Powell <adamp@google.com> |
Close context menu dialogs if the menu becomes empty If a view triggers showContextMenu while a context menu is already shown but contributes no items to the menu the menu dialog would become empty. Simply close the dialog if this happens. Bug 11063885 Change-Id: I9e7c96073318c94eda5f1e1c4beb596b3d9da781
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
bd95740648372449a4d5c164d7050eee352d4c24 |
|
03-Oct-2013 |
John Spurlock <jspurlock@google.com> |
Transparent system ui flags -> Translucent WM flags. Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION). Add associated public attrs for both new window flags: windowTranslucentStatus windowTranslucentNavigation Introduce convenient four new themes that set translucent decor: Theme.Holo.NoActionBar.TranslucentDecor Theme.Holo.Light.NoActionBar.TranslucentDecor Theme.DeviceDefault.NoActionBar.TranslucentDecor Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor Update PhoneWindowManager mechanism to plumb these values back to SystemUI to drive bar mode state. The new translucent flags come from the top fullscreen window, not the focused window, so translucency does not change when opening dialogs. Imply some window-level system-ui visibility if one or both of these new flags are present, specifically: FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV Rename all associated variable & resource names to use the term translucent instead of transparent. (Retain the term semi-transparent for the transient bar style). Recents activity allowed to inherit translucent decor state via the new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR. Compensating changes to use the full screen area more appropriately. Update keyguard to use new WM flags. Update docs and various api artifacts. Sanity-check fixes: - Toasts and alerts given stable layout. - Suppress nu-gradient when in transient (hidey) mode. - New translucent flags use top-fullscreen window, dialogs don't clear. Bug:10674960 Bug:11062108 Bug:10987178 Bug:10786445 Bug:10781433 Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5fcf5b9fd3ff6757090c6bd166b60c18eda0b3ef |
|
11-Sep-2013 |
Adam Powell <adamp@google.com> |
Show alternate menu panel on devices with menu key Provide a softer transition to the overflow-everywhere world for devices with menu keys. The panel menu will still be used on these devices in response to a menu key press even in the presence of an action bar with overflow. Fix a few lingering bugs around dispatching the open-overflow transition that caused problems with this along the way. Change-Id: I9d77c70f6d15c47160ac06292984101d619c44e6
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
30f420fd6a74ffa28b351b4aba74d44f5ea48dda |
|
02-Aug-2013 |
keunyoung <keunyoung@google.com> |
add local focus mode and input event injection API to Window - This enables keyboard navigation for window without focus. - FLAG_LOCAL_FOCUS_MODE puts window into local focus mode. - Application needs to put window in local focus mode, control focus, and inject events to make dpad navigation work. - Window in local focus mode does not interact with window manager or ime regarding focus related events. - Also renamed ViewRootImpl.dispatchKey to dispatchInputEvent to allow both key and touch events injection. Change-Id: I8e8561f29e0dade3797fb7ae3ee7690e6b7f8895
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
9b0dc2894df1c3d26aa6196ecdef1989967e6ec9 |
|
31-Jul-2013 |
Adam Powell <adamp@google.com> |
Fix a regression where android:windowContentOverlay did not draw properly. This was the victim of an earlier refactoring. Have the ActionBarOverlayLayout draw this directly over the content so that it can stay properly in sync with any animations and also remove an extra couple of views from the decor layout. Some apps now expect the broken behavior in default themes. Protect them from themselves until they bump their targetSdkVersion. Public bug https://code.google.com/p/android/issues/detail?id=58280 Change-Id: I4284503577e322f3e68d4a7fabda8441d3749b98
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4f09d517c5e61d4dfd34b89a7949897c86853881 |
|
01-Jul-2013 |
Craig Mautner <cmautner@google.com> |
Remove debug logging. Bug has been fixed. Change-Id: Ifda11ac6e83012498855e0c7254c99491b128f04
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
9b40728fdcbfa8a56af36618d165de4526637c85 |
|
01-Jul-2013 |
Craig Mautner <cmautner@google.com> |
Change order of setting isOpen Because the WindowManager.addView() method can indirectly call PhoneWindow.closePanel() it is critical to set isOpen after the addView call returns in PhoneWindow.openPanel. Otherwise when closePanel sets isOpen to false PhoneWindow will be in to an inconsistent state. Fixes bug 9404689. Change-Id: If0129a0859546b35445df0f4be2f422c4807fba7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
1e09cfaa689cff21d3d00883d38af5c296859fdb |
|
28-Jun-2013 |
Craig Mautner <cmautner@google.com> |
Merge "More debug for 9404689."
|
f1f5054f7aed6c06657955e43a680ed54c463986 |
|
28-Jun-2013 |
Craig Mautner <cmautner@google.com> |
More debug for 9404689. Changing focus to PhoneWindow. Change-Id: I75c2ce6b1a20729daf8d2b7f83b2a871e1a7e642
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
655d0e2029e6ae77a47e922dce4c4989818b8dd1 |
|
12-Jun-2013 |
Amith Yamasani <yamasani@google.com> |
Single-user restrictions Introduces a new "blocked" state for each package. This is used to temporarily disable an app via Settings->Restrictions. PIN creation and challenge activities for use by Settings and other apps. PIN is stored by the User Manager and it manages the interval for retry attempts across reboots. Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0a317e91168aecd53062a78173b307dfa9a8f517 |
|
13-Jun-2013 |
Adam Powell <adamp@google.com> |
Show the default activity icon in the action bar if one is not supplied Fix a regression where the system default activity icon was not used in the action bar if neither the activity nor application supplied one. Bug 9409846 Change-Id: I80a95a0bee511f21cd326372edaf6af811272825
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8c16aa9fa225c277c3ead605b16dc697709bda27 |
|
04-Apr-2013 |
Adam Powell <adamp@google.com> |
Uphold common ordering expectations around action bar Home/Up dispatch Some apps aren't particularly happy if a stray key event is dispatched to a newly created window before its menu is prepared, causing the action bar's Home/Up event to be dispatched. Ignore these clicks on the Home/Up button before the menu goes through its initial prepare step. Note that it is still possible (and valid!) for Home/Up to be dispatched even if the app chose to return false from onCreateOptionsMenu or similar. Bug 7085070 Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5c8f9b50bedd0209301af2ffdca659217bd97371 |
|
27-Mar-2013 |
Adam Powell <adamp@google.com> |
Fix an action bar menu order of operations bug As options menu invalidations in PhoneWindow are deferred, it was possible for a call to open the overflow menu (which involves an extra chance to prepare the menu) to happen before the pending menu invalidation was handled. Process any pending menu invalidations before attempting to show the overflow menu in response to one of these events. Bug 7209308 Change-Id: Id50f7f6ad5d3a631745207fa0bad8c356690e16c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
df7221ced3b7cd807f14e84c302fc09fd659fd68 |
|
26-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
Unify normal and overlay action bar layouts. Switch the action bar to always use the overlay layout, and make it smarter to do the right thing depending on whether the action bar is in overlay mode or not. This allows apps to use the system UI magic flags without having to worry about whether the action bar is configured in overlay mode or note -- just select a stable layout and it will automatically go into overlay mode. In the future this should also allow us to simplify the action bar code, since it is all sitting on one common implementation. For example, much of the logic in ActionBarImpl can be moved to the root action bar layout, and that layout can be optimized to do custom layout with all of the known elements it has. Also fixed a little bug in the performance tests. Change-Id: Iec0c0c0699754f0d1ce37402d786b4966e052a56
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
c652de8141f5b8e3c6bcf8916842b6e106413b1a |
|
16-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
Implement display overscan support. The window manager now keeps track of the overscan of each display, with an API to set it. The overscan impacts how it positions windows in the display. There is a new set of APIs for windows to say they would like to go into the overscan region. There is a call into the window manager to set the overscan region for a display, and it now has a concept of display settings that it stores presistently. Also added a new "wm" command, moving the window manager specific commands from the "am" command to there and adding a new now to set the overscan region. Change-Id: Id2c8092db64fd0a982274fedac7658d82f30f9ff
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
15a4620b18412d81c1f9102cfc85777dece41a8b |
|
05-Feb-2013 |
Romain Guy <romainguy@google.com> |
Fix graphics corruption in WiFi password dialogs The ActionBarContextView popup window was set to use the "layout in screen" and "inset decor" flags even though it's not a fullscreen window. This was causing the popup window to be created by taking up all the available space. Because the views inside the popup window are wrap_content, this would cause part of the window to not be drawn and since the window is, correctly, marked opaque, we would get random graphics corruption on screen (the user would see the content of the tiles on a tiled renderer such as QCOM's.) This change simply removes the two unnecessary flags from the popup window, forcing it to be created and laid out at the exact size it needs. It will be properly positioned by the window manager underneath the status bar. An interesting side effect is that the window is now smaller than before (since it doesn't extend underneath the status bar) which saves a bit of memory. The popup window also contains an unncessary black background behind the action bar context view. This helps in a way because it allows us to create an opaque window but it increases the required bandwidth to draw that window. Given the benefits for SF it's probably best we keep the window the way it is for now. Change-Id: I4aeeb42a6232ff6b71811e766846d45635eb3365
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
cf12897cf553bfd07734dad3de071915fd21d4eb |
|
17-Oct-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware - set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView - then remove unecessary API on ListPopupWindow for passing the layout direction Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6a5b0a367389a8aa57cb1c82cd3d63f1ca67cc66 |
|
28-Sep-2012 |
Adam Powell <adamp@google.com> |
Don't try to open action bar overflow menus from bogus events Some monkey tests could hit a case where a posted overflow button click event was still lingering after the menu was no longer in a created state, which could lead apps to crash. Just drop open-overflow requests on the floor if the menu is in a weird state when we try. Bug 7242431 Change-Id: Ieebb1fccfeeccbf17fd7c6cff06efbcb19b11ce3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4b6d93fd0485b46a3a15a71516d39b4f72d9b3db |
|
19-Sep-2012 |
Adam Powell <adamp@google.com> |
Make invalidateOptionsMenu asynchronous Process any pending menu invalidations on the animation tick, before traversals are performed. Collapse multiple menu invalidations together. Bug 7189372 Change-Id: I7a33ae9813980eb8fbcc958804de2c03328ecca8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5f7979993979466c79ab4f38d83c6f2aca361662 |
|
16-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for "-rtl" in resources - fix bug #7035019 Need to have "-rtl" support for Resource Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
3cc321ecf505d87850740ad3c63849e6793a8ef6 |
|
17-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Remove dithering support. The dithering flag is no longer implemented in Surface Flinger so this is all dead code. Change-Id: I74c0e452923207e5b7cfe0eeca9457e5cb990947
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
94a962833f420b72a6a45d2f84208cb9284c0ad3 |
|
27-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Make PhoneWindow aware of layout direction - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I94508d4ed5d9f9e348c3c19c5e12355f5723659d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
2a6a4df96dde5be55465816597506636bbb37cc2 |
|
18-May-2012 |
Adam Powell <adamp@google.com> |
am 93563d21: Merge "Log a warning when action bar view states cannot be restored." into jb-dev * commit '93563d21a97aee9bb60f6cbd975bb901fad29962': Log a warning when action bar view states cannot be restored.
|
fb5f1bc085d1c353b80690636ce44679501225d8 |
|
18-May-2012 |
Adam Powell <adamp@google.com> |
Log a warning when action bar view states cannot be restored. Some apps can get into a case where the saved view hierarchy states for action bar views are missing. Log a warning instead of crashing. Bug 6510800 Change-Id: I95ede64ec584892e6e76ca9ab9d53e9d3689984f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
60d9dfcb7e613c5efbb055c2f666400e7cbad3d4 |
|
15-May-2012 |
Adam Powell <adamp@google.com> |
am 5ff7efa2: Merge "Appease the simians" into jb-dev * commit '5ff7efa253486b2b482031ab9a3714fc5cc10f7f': Appease the simians
|
a60314c70762b99a7ebc40547480ce351c3b5c23 |
|
15-May-2012 |
Adam Powell <adamp@google.com> |
Appease the simians Ensure that the shown panel view is not currently attached to a parent before adding it to the panel decor view. Bug 6430928 Change-Id: Ic64ec4222db4754e64afdf06d7d2b77fb5ef825a
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4689b2843fff4285cc3bdee0f2f2a0dc2d39594a |
|
09-May-2012 |
Adam Powell <adamp@google.com> |
am 1e5c3336: Merge "Fix measurement for dialog windows that do not have fixed width" into jb-dev * commit '1e5c3336e8b16c0a46542f59df53f0fa31d82d6d': Fix measurement for dialog windows that do not have fixed width
|
b8e056a8e83c0fc8a60ed2d09025b82689f0fdf2 |
|
09-May-2012 |
Adam Powell <adamp@google.com> |
Fix measurement for dialog windows that do not have fixed width Bug 6456773 Change-Id: I9d058f78c4b1c1759aaea2f215efee82a3489faa
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
c420d268de68a5ec08f20a512226b46495502121 |
|
03-May-2012 |
Adam Powell <adamp@google.com> |
am 1f2077c3: Merge "Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities" into jb-dev * commit '1f2077c3a0ae20caa4343dc9f66db959a939a054': Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities
|
8877cc3e6ee48c0bd1e8f0984d000a106f6122bd |
|
03-May-2012 |
Adam Powell <adamp@google.com> |
Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities Bug 6413342 Clear extra attributes in the base theme so that they properly overlay a ContextThemeWrapper over a fixed-size dialog theme. Change-Id: Ia0d49f0746ca01516afa1eaea7091e5da60d14ae
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a3c6d8cfd607c018bc3a24233085333100380bca |
|
01-May-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 415b8125: am d805c677: Merge "Possible NullPointerException in restorePanelState" * commit '415b812569cb78e560f9d3a2a4d8944680669318': Possible NullPointerException in restorePanelState
|
554bb0194f1f4fcc91834eaaf2efb300cf32f693 |
|
02-Apr-2012 |
Dmitry Tsyganyuk <fdt017@motorola.com> |
Possible NullPointerException in restorePanelState curFeatureId is just an index in a cycle and can not be used for getting an object. May get null that will cause NullPointerException. Solution is to use key to get an object from icicles. Change-Id: I61d5c6bd1c3226a993f60efa74872995ba0e42ac
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 |
|
26-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new feature to let apps layout over status bar / system bar. The main change is a few new flags you can supply to View.setSystemUiVisibility(). One is a new visibility mode, SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as the global FLAG_FULLSCREEN option for windows, but driven as part of the system UI state. There are also three new flags for telling the framework that you would like to have your application's UI ignore screen decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN for ignoring full screen decorations (that is the status bar). In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE to have the framework report consistent insets to your application. When using NO_NAVIGATION, when the user taps the screen we now also automatically clear ONLY_CONTENT, so that we atomically show both UI elements. This should make it easy for apps like video players that want to move between fully full-screen and regular modes. The ActionBar has also been extended when in overlay mode so that it will adjust the system window insets to also account for its space, and allow it to be hidden using the new SYSTEM_UI_FLAG_FULLSCREEN. Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
40eec4c0f1392665dbfcd9ca9ea4a9519a71c34a |
|
16-Feb-2012 |
Adam Powell <adamp@google.com> |
Fix the size of DialogWhenLarge windows Change-Id: I8c9588e958d8fb9c45b1cdb235cced48ba508dd3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ce952c8e13c535bedde77bcdb94dfcc7508475aa |
|
14-Nov-2011 |
Mike Lockwood <lockwood@android.com> |
AudioManager: Add support for master mute Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
73ab6a49db2b834ce1d56c7a1164938b409ee6fc |
|
13-Dec-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5755172: Soft menu key disappears when menu is open We need to work more like before in determining whether the menu key is needed -- in some cases look back in the window list to determine this if we don't know the value from the current window. This requires adding a new private flag indicating whether the compat menu state is known for a window, which is set by PhoneWindow as part of its existing process of computing the flag for its own windows. Now we can have a new API on WindowState to determine the value of this flag for a window, which if needed walks back in the window list to find a window the value is known for (or stops at what the policy has determined is the top full-screen window, so we stop like we used to at things like the lock screen or the bottom of an application). Change-Id: I829de6d629b5af8bcb422cb85249ee4041c7205e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
7bedf2449041a425899448cb672e91b0a5c97c62 |
|
08-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Shortcut keys should be handled on down, not up. Bug: 5720360 Change-Id: I3afc278e576ea992c76f024c8b6bad14b214239c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
c6d51889c27cfa815f001cdf25792e98446e300f |
|
13-Oct-2011 |
Adam Powell <adamp@google.com> |
Bug 5312828 - Menu button not responding Increase tolerance for apps calling invalidateOptionsMenu at inconvenient times. Change-Id: I712b20002afd0f056c3f05b160c5fa9c2ef0b552
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
538e565c06e915b91e7e3a901f872ccdd9bccdd3 |
|
11-Oct-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5396097 - menu theme consistency Fix a bug where action bar menus were using the wrong context to inflate stock views. This was causing them to use the action bar's themed widget context instead of the current theme's specific action bar items. Note that action views in the menu will still be inflated using the themed widget context. This can produce some weird side effects if the action views use theme attributes relating to these action bar item attributes. Change-Id: Ied3614d1fedb10a0f5366bbe7b90cd5f2f1ff969
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f8419a0299680ed580975b0fcb758990b4367db8 |
|
03-Oct-2011 |
Adam Powell <adamp@google.com> |
Fix bugs around overlay action modes. Multiple focusable windows cause undesired behavior around selection modes. TextView isn't sure how to behave when it loses window focus with regard to selection handles and action modes need to be focusable for WebView find on page since it uses an EditText as a custom view. For now: * Use a layered window decor for overlay action mode when there is no action bar requested. This eliminates an extra window and avoids the issue described for full-screen UIs. * Disable WebView's find-on-page mode when the action mode's UI will not be focusable. This only affects WebViews in floating windows. Also remove the "Text Selection" title for WebView's selection mode at UX's request, as it is inconsistent with TextView's selection mode and the string does not fit on phones in portrait even on wide devices. This now uses the same mechanism used in TextView to decide whether to use title text. Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
915ce0d917fecd14e9b8b0caa4b01e72f3e0db11 |
|
29-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5386180 - Wire up action bar home/up for dialogs Action bars in dialogs are largely an undocumented "feature" but they do work - with the exception of this since it previously relied on the host being an Activity. Make it work. Change-Id: I52ae24c3bfdd9766e4c0f035183e7f148a4e0162
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a05aba9c506cd12a753c53e060c289095c3477e9 |
|
23-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5341139 - bottom bar stays if app wants to handle orientation change Let action bars move between split/unsplit mode on configuration changes if set to split when narrow. Change-Id: I13f5115a65247cb1878ee823493ca8e2b6ba4cf6
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d65b3b99f087113a3a75991663e5676bb106fa0b |
|
23-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5355912 - SearchView in ActionBar with Theme.Holo.Light.DarkActionBar gets black text Make sure that menus generated for use in action bars get themed correctly. Change-Id: I14ba676d296c785514425d40d89e62dc4ff1da1a
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
c3e4454fdb57391c8d7c77a9d61381d0f4d857e8 |
|
22-Sep-2011 |
Adam Powell <adamp@google.com> |
Merge "Fix bug 5300621 - Share menu disappears in gallery"
|
823f074a73cfc23c40a7b576c71daa096ee9ed6a |
|
22-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5300621 - Share menu disappears in gallery ActionProviders (or action views) unfortunately had no way to report that they had opened a sub-UI that would affect menu visibility listeners used to hide action bars when not in use. This caused the Gallery UI to hide its action bar when the share popup was open. Add hidden API (to be made public later) to ActionProvider that can be used to inform the menu system that a sub UI has opened or closed. Account for this in menu visibility callbacks. Fix ShareActionProvider to use this when its popup windows open and close. Fix a regression where submenus were not properly reporting visibility changes. Change-Id: Ia6f45fb463ad106105c40d01f141c2e5c8b96f78
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
23016582222cdaeb880ee3db080f6c245ea8e031 |
|
21-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5341804 - Unable to type into the find on page CAB Standalone action mode windows should be focusable. Change-Id: I7ce23f1028eb0d0d36bdb287589a6018dc178580
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
86ed436b83d6b71ff00d1c3db910f2952018489e |
|
15-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5237737 - ActionBar should fire an accessibility event when action mode is turned on/off Fire AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED when action modes come and go to give an indication of UI change on the level of a menu or dialog opening/closing. Change-Id: Id36c6153b0722b4b6927c8d36503e8ac57c2d2b2
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
3705b22c9704050dfb46d784ae84e9d7f9357ad4 |
|
09-Sep-2011 |
Michael Jurka <mikejurka@google.com> |
Merge "Adding null check to prevent monkey crash. (5263199)"
|
45d378b705e873edfd9be5ada7b639e8a832856c |
|
09-Sep-2011 |
Winson Chung <winsonc@google.com> |
Adding null check to prevent monkey crash. (5263199) Change-Id: I26372c8aa8022659582b31ca5a4279b9590f02f8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
1d07e16c9d9ecaaaf8994ad5691c4063ab31f265 |
|
08-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5174277 - Trouble with Menus Make sure that options menu panel presenters associated with a PhoneWindow get re-wired properly when a new menu is generated. Change-Id: Ic06130019aec8b8edc372054c348f147d164fc5f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6055f3e0d6083e662af1452a09c1331d3eafe829 |
|
28-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5217267 - Action bars and menu shortcuts Don't try to "close" the menu after completing a shortcut action if an action bar is present. Change-Id: I54a75543cf9a52e3186ff464924a0b37d0b20b9d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
82349c54ce793cb0a7cf3acf1bcc6df1e6413abc |
|
23-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5202226 - Leave menu button visible for no-button phones if targetSdk < ICS Compatibility support for existing apps. Apps in the wild that properly target <=GB phones and HC tablets should be able to expect that their small-screen UI will continue to work as intended on ICS devices. Make sure that we show the soft menu button in the nav bar if the current device was not officially supported in Honeycomb, the app does not target ICS or newer, and the window does not have an action bar. Change-Id: I069c30841d3827a60ef8040831fde6f4c051d0ee
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
661cd52e0e1d527132eb1cae604d3e64da7ec0cb |
|
22-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Add progress dialog for booting after an upgrade. This introduces a new facility for code during the boot process to display messages to the user through a progress dialog. This is only for use when performing longer-than-usual post-upgrade operations such as running dexopt on applications or upgrading databases. Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
3429ff53d0a7dcf019bf076c7a3eeb877a1a2626 |
|
19-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5186258 - Incorrect window width is used for custom panel views in the MATCH_PARENT case Change-Id: I11c4a58303fa3c4a9f3540908c6409bacd84a35e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
84f4936dee660d7bfbfb7adec3cd831f3bdded4c |
|
18-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5183332 - monkeys are jerks Change-Id: I15beb7b55ff5809b95dc869a9b0c43c49d1571c6
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
926808dc9bd99e3d663d1612961f587db6161ad5 |
|
18-Aug-2011 |
Adam Powell <adamp@google.com> |
Merge "Fix bug 533274 - Menu key opens wrong menu in action mode"
|
012da5a27fc669defdc616d74172caf22540d55e |
|
18-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 533274 - Menu key opens wrong menu in action mode Don't open the options menu in response to the menu key when an action mode is active. Change-Id: I89cd251dd14276fc381e20f82725d42ac9264181
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4fd8d5330e21886864002b6c68ef28827ce45074 |
|
17-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5167786 - make sure custom option panels still work. Change-Id: Ife3ca80f593c141f680fcc5178687112a538474d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f35d049b9953fbd1cd24887bac57b5e148c97846 |
|
17-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5168889 - action bar not respecting return codes of onCreate/Prepare menu Change-Id: If28630cb21e74bde7a2474ce060078ea30170b9d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
e43fca99573291311f90b540d67833011d5fc6be |
|
16-Aug-2011 |
Adam Powell <adamp@google.com> |
Offer a masked version of setUiOptions for windows to only modify certain flags. Change-Id: I36aaff982767f8984c468e8c13f8d5ec8c3c0040
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
97a30017a408192aab623abf7a4edaeb71cae652 |
|
10-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5080988 - State change to action views made in onPrepareOptionsMenu will be lost Change the ordering of restoring action views. Restoration now comes after onCreate but before onPrepare in the menu setup rather than after both. This allows apps to mutate the restored state in onPrepare. Change-Id: I822a716415d01112eb517ac093eaf6929f041aad
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
dfee59afb3e4cdcde38f6338f9360655de76da92 |
|
06-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5011824 - New Holo overflow menu for physical menu key devices The new Holo-style overflow menu now appears from the edge of the screen where the device's physical menu key can be found. The policy determining this lives in getPreferredOptionsPanelGravity() in WindowManagerService. Change-Id: I8851a2265547156591e82044e50b5cfc58d3eefa
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
dc5facd47631b4f076f98a4dca6ea16c64ae6002 |
|
04-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5044737 - Compatibility menus should be as wide as the screen width Change-Id: I96f4d6d41fe490845a1e7dd40c9f1a38f01781b7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
269248d112e35fe8e9f0d5d11c96dcb2ac1118b0 |
|
02-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5098288 - Rethink the suite of new themes Cut down the list of new themes for ICS. Holo apps now have Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to choose from. Add manifest attribute android:uiOptions to express splitActionBarWhenNarrow. Other options may move into this later as well. (DialogWhenLarge?) This attribute is valid on both activity and application tags; application settings will serve as the default for activities that do not explicitly set uiOptions. uiOptions are not currently reflected in the startup window for new activities. Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ccdd4ee44f8cfbb45b2989cca833895fcc4c4225 |
|
28-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5087980 - MenuItem#expandActionView should work from within onCreateOptionsMenu Initialize menu presenters early enough to respond to expanding an action view within onCreateOptionsMenu. Have SearchView show the IME as an async post to handle attempts to show it while the UI is still in initial setup. Change-Id: I77f3a94ed4397737edb5a7a15bf54993b6723f5e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
89b09da7b3b1e69264d9ec710c66eb2f891b313e |
|
27-Jul-2011 |
Adam Powell <adamp@google.com> |
Bug 5076788 - Optimize the building and invalidation of menus Fix cases that weren't batching menu presenter changes correctly. Have FragmentManager invalidate the options menu less often. Change-Id: Ia66fcd09ada8b0a084ad6b08d4340a8fa0c8fc5d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
038f1c80af06da55056120e121d43e3ee89ec726 |
|
21-Jul-2011 |
Adam Powell <adamp@google.com> |
Bug 5061529 - Save/restore action view state for menu items across invalidations. This includes expand/collapse state. Add CollapsibleActionView interface. Views can implement this to have special behavior when they are presented as an expanding/collapsing action view. This lets SearchView and others take care of fiddly behavior (focus stealing; opening the IME) automatically without apps needing to implement this themselves. Change-Id: Ibbd1eb5fcf3e3a862419e9344ad50f896bd05e36
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
b80d332e7421e0b8cff12569c2f1b450d769e782 |
|
16-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5037642 - Refine back button behavior for action bar modes. Action modes for the action bar used to aggressively hijack the back button before the view hierarchy got a chance to respond to it. Loosen this. New ordering is: view hierarchy => window feature-level modes (action bar modes e.g. CAB/search) => Activity/window callback behavior. Change-Id: Iac1b22997713be968a94f77f9fa6cebaf6f923f0
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0a3deee6974f2d9fec1371ed6fdd46dc5b2a75f6 |
|
15-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix regression with legacy expanded menus Change-Id: I28a21dc72d11c6729370e0acd90b06ed98baf098
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
11ed1d6cae9214335c92ac38498a4e6c7d1c8324 |
|
12-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bugs around restoring submenu state after activity teardown/restore Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0b2be42a07fcb66ca0a5f70624c8871245b4f6fd |
|
23-Jun-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4595971 - Menu not prepared to be prepared The menu key gets the menu ready on key down and shows it on key up. Ensure on key up that we still have a valid menu before attempting to show it. Change-Id: I24e67fa0cdb14cb5471c087a5e9f55ec0b2edf9f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a3e3c533ee4af6d9dba43b70ac421ba880992961 |
|
22-Jun-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4807086 - Options menu panel too narrow in landscape Now that landscape on phones uses the config_prefDialogWidth setting to restrict the default size of dialog windows, the options menu panel was affected. Restrict the ratcheting preferred width feature based on the width LayoutParam only, and respect the LayoutParams width provided by panel windows. Change-Id: Idc62f41910f6f22dc50cab978c5642bb0a8dbdaf
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8d02deabac62c4a68a335a7b3141795466362b89 |
|
01-Jun-2011 |
Adam Powell <adamp@google.com> |
Implement bug 4500971 - Collapsable action views Action views may now be flagged as 'collapsable'. This means that the action menu will always show them in the collapsed state by default. When selected, the action view will "take over" the navigation/view side of an action bar until dismissed via the home/up button. This feature allows for more long-term exclusive modes akin to ActionModes but less intrusive. The action menu itself remains unaffected. Collapsable action views are ideal for things such as search or categories of tool palettes. Change-Id: Ibafce5631befbfe67c5d834c2e2617d3d7f6da7a
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
31bb97d240915d6ead410ab0befd3da115a92282 |
|
04-May-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4361642 - Action menu unresponsive after orientation change Through invalidating panel menus and action bar initialization it was possible for instance state restoration to throw out a new menu already in use. Invalidate the menu if it already exists instead. The saved instance state will be applied later if a relevant panel menu is shown. Change-Id: I6bad7640ecb8d2f5f8ea658e1c68b07d52d108b9
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d1f4207ba577e2ac3f39a719f8ee4bb9f4940dc1 |
|
04-May-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4355335 - android.app.cts.DialogTest.testContextMenu failing on IRJ28 Change-Id: Icfcd8c2aadd0fb9e49296b8318858317407e1b7f
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0d8ec1d739e15c232c58a5a5de605685830c287e |
|
03-May-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4345702 - update action bar tab views when the Tab object is updated Also fix a bug with visibility of split action bar views. Change-Id: Iadd63d5e9b6cb9debab0f7a777e424e4c4807a13
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
640a66eac612b850b5dabd3b93bd94f83ed2d567 |
|
29-Apr-2011 |
Adam Powell <adamp@google.com> |
Refactoring of action bar internals Split action bar implementation details. Factor out common components into AbsActionBar. Layout rules for the lower half of split action bars. Change-Id: I6bc39ba6c343055597880a7d4663dd8f30aa4999
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
9b4bee0f14bbd137b0797127aff2df46a6321ec5 |
|
28-Apr-2011 |
Adam Powell <adamp@google.com> |
Introducing the split action bar. Apply (or extend) the theme Theme.Holo.SplitActionBarWhenNarrow or Theme.Holo.Light.SplitActionBarWhenNarrow to enable splitting the action bar across both the top and bottom of the screen. This places the action menu along the bottom, leaving more room at the top for titles, navigation, and custom views and more room at the bottom for menu items. TODO: Refine layout of the action menu when placed at the bottom of the screen. Make action modes split as well. Change-Id: I92c91f99c533f26aecf6b828ed041386c4f16922
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
526b9313a9ac68924611b7f0492446728b7c746e |
|
23-Apr-2011 |
Adam Powell <adamp@google.com> |
Fix a bug when showing the menu panel with an action bar/menu items present. Change-Id: I38cc257661f5a10ccca6ec7625e43e70287129d2
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
696cba573e651b0e4f18a4718627c8ccecb3bda0 |
|
29-Mar-2011 |
Adam Powell <adamp@google.com> |
Refactor menu internals. In the old world, MenuBuilder and MenuItemImpl were responsible for generating views for any presentation of a menu. MenuBuilder needed to know any types and resources involved, and the implied caching semantics did not work well for menus presented within AdapterViews. In the new world, the MenuPresenter interface takes over the responsibility of generating views or adapters for menu items. MenuBuilder/MenuItemImpl still provide extra metadata tracking used by these presenters. Mutiple presenters may be active for a single menu at a time. All of this remains internal framework implementation details. BaseMenuPresenter provides a simple base for presenters that treats the host MenuView more like an AdapterView. This allows for less rebuilding of views when items are added/removed. Callbacks have been restructured. Calls that relate to the menu itself are still handled by MenuBuilder.Callback, but calls related to a specific presentation of a menu are handled by MenuPresenter.Callback objects attached to a MenuPresenter. Also add API to programmatically set divider options for LinearLayout and hidden API so that ActionBarView can have finer-grained control over divider placement. Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
25ef3030a7386697c63e4a4bd3dee11ca2170e89 |
|
19-Mar-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4136005 - Extended menus do not work Fix for extended panel menus on small-screen devices. Change-Id: I7788563019648867872d88ac974bfacdce8af385
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8620d9533a8d2e34f81d4932e1e4d9cae58cacbb |
|
04-Mar-2011 |
Patrick Dubroy <dubroy@google.com> |
Remove guard preventing onDetachedFromWindow() from being called This was the cause of 3510699: Launcher has leaked IntentReceiver. Change-Id: I7d0e4662314d657f6ac06a9a9d37861f8d8ee975
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d20d5523c75a544f391d4d1cb3886ddd0ad34508 |
|
02-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #3387676 com.android.browser: java.lang.NullPointerException..."
|
b66ad57ca072a8cb83ee9c269e233d5002d96e17 |
|
02-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3387676 com.android.browser: java.lang.NullPointerException... Unable to destroy activity {com.android.browser/com.android.browser.BrowserActivity}: java.lang.NullPointerException at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2809) Add a bunch of guards to not call on to the window callback after the window is destroyed. Change-Id: I66ca0705f421bafdfe953d03654c8f78d9e68249
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d3c9704d3efee8a64de321aa96bc49013f2db7f3 |
|
01-Mar-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3497307 - Fix issues with FEATURE_ACTION_MODE_OVERLAY Properly close down overlay windows when decor is detached. Delay opening popup overlays to prevent issues when restoring instance state. Change-Id: I7ff44ce65e78c0172a12a9ddfe11460c885593ca
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ece945291e04ea8493895349ed95a2ab46b51c93 |
|
24-Feb-2011 |
Patrick Dubroy <dubroy@google.com> |
Fix 3272590: Long-press on home & menu should be same as click Change-Id: I151571900f4bb63910ccfb77fc64c8be9676a224
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ef5a440d0a02aa34388d975c58fb7a30e56a0f5c |
|
11-Feb-2011 |
Adam Powell <adamp@google.com> |
Fix bug 2955651 - can open normal menu during action modes Prevent the usual menu pipeline from trying to open the action bar overflow menu when the action bar is not visible. Change-Id: I0708d142ad271368baa79351b97aad1533636fe7
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
166f26e2c2378decaf023a4c829b03034a65d160 |
|
27-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am f35d43f9: am 2dc9c784: Merge "Fix issue #3382992: IME close animation stutters from URL bar" into honeycomb * commit 'f35d43f90b9e4553343a59b217430aaba91b0d1f': Fix issue #3382992: IME close animation stutters from URL bar
|
63042d6a0347017fcc4cd98560ca3407044c165c |
|
27-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3382992: IME close animation stutters from URL bar Gross hack is grosser. Change-Id: I0a34bf1d7c16c547402318f24776a5f7e8b7552b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
fbe446d7f2b9679f356d7a1d2e4a0ceab515ba76 |
|
26-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
am 391ef42c: am 3168a137: Merge "Fix surface frame size reporting." into honeycomb * commit '391ef42c92ab97e5c22a720973790696d30576ca': Fix surface frame size reporting.
|
30bc34f191ca8a009af313fc751e5b4bff6e39a1 |
|
25-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix surface frame size reporting. The SurfaceHolder provided by the wallpaper service was not reporting the correct size in getSurfaceFrame(). This broke an optimization in the ImageWallpaper. The old code happened to work because calling lockCanvas on the SurfaceHolder with a null dirty rectangle happened to have the side-effect of updating the SurfaceHolder's surface frame size field because it passed mSurfaceFrame as the dirty rect, causing mSurfaceFrame to be set to the size of the region to be drawn. However, relying on this side-effect is wrong. Among other things, the dirty region could actually be smaller than the surface frame. This patch fixes WallpaperService, SurfaceView and ViewRoot to ensure that the surface frame size is always set explicitly and is not modified by calls to lockCanvas. Change-Id: I10948f5ec269409ceaf0f7d32b3f6731e9499ebc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
02b74a07de57962b52ea62d7347d68bc7f079a05 |
|
24-Jan-2011 |
Adam Powell <adamp@google.com> |
am b2d7b02c: am 8ccea78c: Merge "Fix bug 3299208 - Some apps\' dialogs aren\'t show()ing successfully" into honeycomb * commit 'b2d7b02c4f3e2a43e65985edc70db52e257dd673': Fix bug 3299208 - Some apps' dialogs aren't show()ing successfully
|
e571e60a3d49443b6caf4cd29ccd01ffd9ef3ad3 |
|
24-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3299208 - Some apps' dialogs aren't show()ing successfully Fix legacy submenus in options menus. Change-Id: I3d115c72d99dadd5b23f9459fd27277a39de332b
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
310ae9b39c10f6b43c885e458eb8d135a3ba6b71 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am fe86e979: am 661b6cfb: Merge "Okay, new plan for dialogs." into honeycomb * commit 'fe86e9793ce62c6a1aa34e5712f16b45800efdd0': Okay, new plan for dialogs.
|
1539a2967b3c3eb12a18b5cdf20a017c7a0df7d6 |
|
19-Jan-2011 |
Adam Powell <adamp@google.com> |
am eb7a7a04: am 6cfc7a0a: Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb * commit 'eb7a7a044adba95216152e848fa692ec2869e06b': Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
|
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
|
661b6cfb2bcecdd335540db7059e5d8e22c2e79a |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Okay, new plan for dialogs." into honeycomb
|
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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6cfc7a0acb0d3b202ae1dbee88e7e8bdfaee5590 |
|
19-Jan-2011 |
Adam Powell <adamp@google.com> |
Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb
|
a1e6358a4c62c8b6de1f2428901e45b688bd9e9f |
|
19-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0f6226b9f417182bbf791598000f0a153fbf191c |
|
18-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add joystick support to framework."
|
cb1404e45639d20439d7700b06d57ca1a1aad1fa |
|
16-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Add joystick support to framework. Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8f68f4fe79f29334e3d822564733c349622c05a8 |
|
17-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3360882 - Allow FEATURE_CUSTOM_TITLE and FEATURE_ACTION_MODE_OVERLAY to coexist. Fix "custom title" dialog window decor for holo. Change-Id: Ia732caeb89e12d8d754be31c3bd2faf13a8c95d6
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4aed78b5056560f499e5953f659fa90a06ecc38a |
|
15-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Disable soft keyboard when keyboard attached. Also hide menu shortcuts everywhere until we can get around to redesigning the menu UI to be more consistent. Bug: 3306545 Bug: 3330748 Change-Id: I4d4e19525cdfc93d9aae0dcaa1e6266fb552c5bc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6014527c350895383b99ba91d3d009a32b1d22a6 |
|
12-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Add "min size" facility to the Window class. This allows us to have a new dialog theme that behaves like an alert dialog for both Dialog and Activity versions. Very useful with so many more things being displayed as dialogs on our nice large screen. Note I didn't change the existing dialog themes to have this behavior, since it will probably break things. Instead there is a new variation. And the DialogWhenLarge variations now use this for their dialog form, to fix many of the real new dialogs we have that need this behavior. Removed the public definition of the one alert dialog theme. None of the others have ever been public, this one shouldn't be. Added new .Panel versions of the Holo themes, like we already had for the original themes. Changed the alert dialog layout to no longer use WeightedLinearLayout, since the window now takes care of that. This allowed for the removal of the xlarge version of those layouts. Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f0ad6e6eaf48ac8f4007232ad0a8511a7b5cfc0e |
|
11-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3333015 - Overflow menu item submenus do not open Submenus of action bar menus will open as new menus. Change-Id: I924b87bbea91b0df5e3608ec894530302c0e1d8d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
0d69fae5e6b138f951cf6461a353bed32a1f556a |
|
09-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3330683 - Do not show the legacy menu panel for HC apps on xlarge devices. Change-Id: Ic268684570a429d8da499c142b23bb20b3fe2b82
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5e3f284baa271cb0fbf90e504d19fdd2e385382e |
|
08-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor" Add protection against views disappearing before previously posted Runnables attempt to show a menu anchored to them. Change-Id: Ia2a322e76665e61feb5bdb92377d5066cb6d5b04
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
7e06ea80f781b26e17d630ccbb08237be2541f36 |
|
06-Dec-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3245210 - Bad window style for action modes for light holo dialog theme Also fixed some issues with the overlay action mode window styles. Change-Id: Ie4cf43f6ccf720ef0090ca8bd667fb6d78152f93
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
049dd3d4a4869e0c65d370e2538fcfb55bacef52 |
|
02-Dec-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3248786 - silly monkeys. Change-Id: I41306cae06a7b4fd3852e0760ae668c8d6eacc5d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c |
|
11-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Added support for full PC-style keyboards. BREAKING CHANGE: Redesigned the key character map format to accomodate full keyboards with more comprehensive suite of modifiers. Old key character maps will not work anymore and must be updated. The new format is plain text only and it not compiled to a binary file (so the "kcm" tool will be removed in a subsequent check-in). Added FULL keyboard type to support full PC-style keyboards. Added SPECIAL_FUNCTION keyboard type to support special function keypads that do not have any printable keys suitable for typing and only have keys like HOME and POWER Added a special VIRTUAL_KEYBOARD device id convention that maps to a virtual keyboard with a fixed known layout. This is designed to work around issues injecting input events on devices whose built-in keyboard does not have a useful key character map (ie. when the built-in keyboard is a special function keyboard only.) Modified several places where events were being synthesized to use the virtual keyboard. Removed support for the "qwerty" default layout. The new default layout is "Generic". For the most part "qwerty" was being used as a backstop in case the built-in keyboard did not have a key character map (probably because it was a special function keypad) and the framework needed to be able to inject key events anyways. The latter issue is resolved by using the special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD. Added the concept of a key modifier behavior so that MetaKeyKeyListener can distinguish between keyboards that use chorded vs. toggled modifiers. Wrote more robust key layout and key character map parsers to enable support for new keyboard features and user installable key maps. Fixed a bug in InputReader generating key ups when keys are released out of sequence. Updated tons of documentation. Currently QwertyKeyListener is being used for full keyboards with autotext and capitalization disabled. This mostly works but causes some problems with character pickers, etc. These issues will be resolved in subsequent changes. Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
bf85f43e48d046fe214cdadfa553e85f909d2b76 |
|
16-Nov-2010 |
Adam Powell <adamp@google.com> |
Add protection for ActionMode-related window callbacks that may not implement new methods. Change-Id: Id4463ee97366187ba43b0966f79aa8bd34f7fa1d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
debf3bed9ea913ac55c80e1f9f7f33217054a943 |
|
16-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2948913 - provide lifecycle notifications for action modes Change-Id: I432e29a7bddb18bc32dfbe21a8ecd7d83158e3a0
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8d12e201626239291fe2c4b31f97f2a14f01dea9 |
|
16-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix a couple interactions between action bar and options menus Fix bug 3129937 - Activity.openOptionsMenu not calling onPrepareOptionsMenu Fix bug 3070720 - actionbar android.R.id.home isn't dispatched to fragments Change-Id: I4a154941595583cdec7d1dffbeac9c8340781fa0
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
7eec10e6c99c30d5ee061fec08ac89ad4254ac32 |
|
13-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Get rid of the extended themes. We now decide whether to use a bitmap background based on whether the window's drawing is hardware accelerated. To do this, there is a new "state_accelerated" that state list drawables can be parameterized on, and the standard window background uses this to select a solid color or bitmap drawable as appropriate. Introduces a little hackery to have wm preview windows pretend like they are hardware accelerated even if they aren't, so the preview looks closer to the actual app. Also Add a DialogWhenLarge variation for the light theme. Change-Id: I215a79d5df65ba3eed52ab363cade9d8218a6588
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 |
|
12-Nov-2010 |
Adam Powell <adamp@google.com> |
Revised assets for progress bars and indeterminate progress spinners. Add support in ActionBar for activity-wide progress APIs. Add ability for progress bars to set a target framerate rather than the 5fps previously used. Clean up some more dialog layouts using hardcoded styles rather than theme attributes. Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
86f6786032b1a0380cf089aeeceef7e9d8982ef8 |
|
06-Nov-2010 |
Joe Onorato <joeo@google.com> |
Move the volume, media, call, camera and search key handling from PhoneWindow to a new PhoneFallbackEventHandler class that is used for all windows, not just ones with decors. Bug: 3155146 Change-Id: Ib070fa3e523e3564b225bca576c08012fef4f416
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
b0418da0e7594a8c2164a46985c5f1993632e010 |
|
01-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Add plumbing for volume mute key. Full support for the volume mute key will be implemented in a later change. Bug: 2912307 Change-Id: I98c27d6360f159c8b7447e04b45f442eff87b38a
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4d396052deb54399cbadbeb8abd873df6f3af342 |
|
30-Oct-2010 |
Jeff Brown <jeffbrown@google.com> |
Fix policy issues when screen is off. Rewrote interceptKeyBeforeQueueing to make the handling more systematic. Behavior should be identical except: - We never pass keys to applications when the screen is off and the keyguard is not showing (the proximity sensor turned off the screen). Previously we passed all non-wake keys through in this case which caused a bug on Crespo where the screen would come back on if a soft key was held at the time of power off because the resulting key up event would sneak in just before the keyguard was shown. It would then be passed through to the dispatcher which would poke user activity and wake up the screen. - We propagate the key flags when broadcasting media keys which ensures that recipients can tell when the key is canceled. - We ignore endcall or power if canceled (shouldn't happen anyways). Changed the input dispatcher to not poke user activity for canceled events since they are synthetic and should not wake the device. Changed the lock screen so that it does not poke the wake lock when the grab handle is released. This fixes a bug where the screen would come back on immediately if the power went off while the user was holding one of the grab handles because the sliding tab would receive an up event after screen turned off and release the grab handles. Fixed a couple of issues where media keys were being handled inconsistently or not at all, particularly in the case of the new PAUSE, PLAY and RECORD keys. Bug: 3144874 Change-Id: Ie630f5fb6f128cfdf94845f9428067045f42892c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6c586dbb977c461b1c929f2b5e813ea3c0e658b4 |
|
01-Nov-2010 |
Joe Onorato <joeo@google.com> |
Long press on menu no longer opens the IME. Bug: 3063616 Change-Id: I6f13300d2dc2f7fa549c7329e9b5509b6d4ffd5d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
a6face4d40280067c6c829c8c186fc47969e7b7b |
|
25-Oct-2010 |
Marco Nelissen <marcone@google.com> |
Plumb KEYCODE_MEDIA_PAUSE and KEYCODE_MEDIA_PLAY up through the framework. b/2764237 Change-Id: I9a20974fa0b7527230258f7d0bf829a031673a9d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
85446e95afa480cee2247bb96795fccc8cf812af |
|
23-Oct-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3105695 - Action modes in dialogs or other small windows Overlay action modes now show in their own windows aligned to the top of the screen. Change-Id: I81600bbd1bcaeb59fdcf0a959bd35f82165baa2c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
e02d808abf370965c3c4e4d38af11bc69110fde2 |
|
08-Oct-2010 |
Daniel Sandler <dsandler@google.com> |
Dynamically show the menu button on the system bar. Windows with FLAG_NEEDS_MENU_KEY (or windowNeedsMenuKey=true in their theme) will cause the system bar to show a menu icon. (Note that the phone's status bar currently ignores this, but phones tend to have hardware menu keys anyway.) Additionally, all windows whose package's SDK version is pre-Honeycomb will have FLAG_NEEDS_MENU_KEY set by default. Bug: 3003728 Change-Id: I2d983763a726ea4f32cd1af9b0390e30478b11d1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
d37870af20dc4c1dd4b5a13889767d699a85e701 |
|
07-Oct-2010 |
Joe Onorato <joeo@google.com> |
Don't crash if there is no phone app and someone presses the phone button. The phone button probably doesn't exist on products without phone apps, but the monkeys still know how to find it. Change-Id: I36aca53506c8d7d7565df8674aff9d59745139e0
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8d20f6b8cb5023318a4f422778d1d4f845ac7fe4 |
|
13-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
am 40e3af61: am 8abc9e9b: Merge "Don\'t play a sound if a volume key press is canceled." into gingerbread Merge commit '40e3af61dcbf7e49979a67410f37c4b4523a0bd6' * commit '40e3af61dcbf7e49979a67410f37c4b4523a0bd6': Don't play a sound if a volume key press is canceled.
|
8b7a982d290b368407e0c419c10105d5d4306b4b |
|
13-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Don't play a sound if a volume key press is canceled. Change-Id: I8e45af20ec83a81565e10be3648b95686fa897af
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f4a6ec4e9398c1beb019e1c208272bf56401f925 |
|
24-Aug-2010 |
Adam Powell <adamp@google.com> |
Disable FEATURE_ACTION_BAR on windows with incompatible feature sets. Change-Id: I70c860c72eb9e1f1f123764202334ab714f4f830
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6c6f575423d6718c3ff322224c1520901ce881e1 |
|
21-Aug-2010 |
Adam Powell <adamp@google.com> |
More ActionBar/config change tweaks. Preserve open overflow menus Change-Id: Ic8ad2b1e3909fbf84ff4d852ae046a9f9508477c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
04253aa134c4795d98cdb219b952393be1914f8b |
|
18-Aug-2010 |
Adam Powell <adamp@google.com> |
Back button closes ActionModes Change-Id: I763782706ce7aa65a5a11129450d97a2bcb3a625
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
291905e34a7f0ae03c68fb2c1b8c34b92d447fbf |
|
18-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Maybe fix #2925641: calling onCreateOptionsMenu before attached activity Also add some APIs to PreferenceActivity. Change-Id: I85894a3eb9cd3e5adb78b82e85454c0d74773178
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
266b1008cfc570d95d10ce650343765fa6bac7e7 |
|
17-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix some ActionBar bugs. * Fix a bug where the options panel would not open on non-xlarge screens to show overflow menu items. * Fix a bug where ActionBarView would try to add a custom nav view twice. * Fix a bug where ActionBarView would expand too far in wrap_content mode Change-Id: I433ea56524aad885d813ae8743fe2fcefa9649fa
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
b047208b3b3391d5c9b0114b0906341240f48368 |
|
12-Aug-2010 |
Adam Powell <adamp@google.com> |
Cleanup on CL 61012 Change-Id: I394909c65a4978be26db063c9f69f1098ab028b3
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f6148c53f93978af678cc0559a4417b608a33ae1 |
|
12-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2911311 and bug 2911700 Integrate the action bar overflow menu better with the options menu lifecycle. Change-Id: I1e3fdba04b01718c3ee3367f92e5dabe7bc84b5c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6b336f835d637853800b94689375a03f337139a4 |
|
11-Aug-2010 |
Adam Powell <adamp@google.com> |
ActionBar overlay mode, height fetching, show/hide Change-Id: Ie931ed26ec885d891d6733132b517a53d95f8491
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f75eeb28def26798682748aa5dedabebac86bb6a |
|
11-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2908822 - open/closePanel should do the right thing with ActionBars Change-Id: Ic77f9dee864d17046f69c78a1e6d96a49b5c6180
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
6dd73b45a4b21eba4d1035346cc7870bb01ab621 |
|
06-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix some lifecycle issues with populating the action bar's menu Change-Id: I5f63df3260392b09fbb7120986702d01dac5906c
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8e552630e72a17d7340f1bebccbc6fd6faef82fb |
|
05-Aug-2010 |
Adam Powell <adamp@google.com> |
Let action modes overlay window content Change-Id: Ic0512c3e6338e1de15facec0a6650f9da9808a24
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
5d27977f9da482627ceb19317a2cd70467aff046 |
|
28-Jul-2010 |
Adam Powell <adamp@google.com> |
Action modes without action bar Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
ac670c0433d19397d4e36ced2110475b6f54fe26 |
|
28-Jul-2010 |
Romain Guy <romainguy@google.com> |
Generate shaders to cover all possible cases. With this change, all the vertex and fragment shaders used by the GL renderer are now generated based on a program description supplied by the caller. This allows the renderer to generate a large number of shaders without having to write all the possible combinations by hand. The generated shaders are stored in a program cache. Change-Id: If54d286e77ae021c724d42090da476df12a18ebb
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.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/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
8028dd32a4a04154050220dd0693583d5b750330 |
|
15-Jul-2010 |
Adam Powell <adamp@google.com> |
Overflow menu for action bars. The overflow menu replaces the normal options menu panel for activities with an action bar. It always appears as the rightmost action button and is displayed as a dropdown menu. The menu key summons and dismisses the overflow menu instead of the options panel where applicable. Change-Id: I0b4fa7e36f35ab12e2f0c1d12bec79ccab8cc4b1
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
e92ea3474de7998a016b48bab4e9a4bbafd5b549 |
|
14-Jul-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2835056 - ActionBar doesn't update title properly when set in onCreate Change-Id: I593315db8df0190c2702a87ebef293e5f798823d
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
2388ad9eef109fa7f63c196c819c83f0376f0645 |
|
14-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
am f8d9379b: am d76b67c3: IME events are now dispatched to native applications. Merge commit 'f8d9379bd834573feca085284970cf686993c330' * commit 'f8d9379bd834573feca085284970cf686993c330': IME events are now dispatched to native applications.
|
d76b67c340d1564abf8d14d976fdaf83bf2b3320 |
|
14-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
IME events are now dispatched to native applications. And also: - APIs to show and hide the IME, and control its interaction with the app. - APIs to tell the app when its window resizes and needs to be redrawn. - API to tell the app the content rectangle of its window (to layout around the IME or status bar). There is still a problem with IME interaction -- we need a way for the app to deliver events to the IME before it handles them, so that for example the back key will close the IME instead of finishing the app. Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
4267534d1c42af847ed0cefd1c88c99f66b36571 |
|
10-Jul-2010 |
Adam Powell <adamp@google.com> |
Action Bar now supports submenus as popups. Change-Id: I1691c16081b3474ed6d6e406f91f5f74a2dc8fcb
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
89e0645b4157961e8c465eb9c819f965fdb453d8 |
|
24-Jun-2010 |
Adam Powell <adamp@google.com> |
Added context modes to ActionBar API. Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
f92f8686f982c62a609a2087383a77a24d126992 |
|
23-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
am 98f7aed6: am 1e4b9f39: Remove InputConsumer, replacing with InputQueue. Merge commit '98f7aed66b54c365f816fe990de978f61155cde1' * commit '98f7aed66b54c365f816fe990de978f61155cde1': Remove InputConsumer, replacing with InputQueue.
|
1e4b9f3936d6f357e89360293e05a0e16d5fa440 |
|
23-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Remove InputConsumer, replacing with InputQueue. Change-Id: Ib06907278457aaee842b123adc072840ca3602d8
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
320742b15a710ede57862eee170945da26ef0172 |
|
23-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
am e3e2883f: am e24a60aa: Merge "First stab at attaching native event dispatching." into gingerbread Merge commit 'e3e2883f2232007174ead562610eb01201890d9b' * commit 'e3e2883f2232007174ead562610eb01201890d9b': First stab at attaching native event dispatching.
|
a95e4cb62f3642cb190d032dbf7dc40d9ecc6973 |
|
19-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
First stab at attaching native event dispatching. Provides the basic infrastructure for a NativeActivity's native code to get an object representing its event stream that can be used to read input events. Still work to do, probably some API changes, and reasonable default key handling (so that for example back will still work). Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
96675b1df3969f2d313b68f60ed9fa36805db8ce |
|
11-Jun-2010 |
Adam Powell <adamp@google.com> |
Merging ActionBar menu with options menu. Options menu items may now specify if they would like to appear in the action bar. Menu items defined in xml may set the showAsAction attribute to one of "never"(default), "ifRoom", or "always". Action buttons are populated as follows: * All showAsAction="always" items become action buttons, even if it would crowd the navigation area of the action bar. * If there is space remaining, showAsAction="ifRoom" items are added until no more will fit comfortably. Action button click events are now handled by the onOptionsItemSelected method used by the standard options menu. The construction of options menus now happens earlier in order to provide data to the action bar. Activities with an action bar can now expect to have onCreateOptionsMenu called when activity start-up is complete. Activity#invalidateOptionsMenu can be used to force a refresh of menu items where the previous API would use ActionBar#updateActionMenu. Change-Id: If52ddf1cf9f6926206bcdeadf42072ea2c24fab9
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|
83ea9e395e86ca2d12d822609ca2a8b35b78cca9 |
|
16-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
am 685fcf36: am c95812e6: Merge "Move out all framework-tests classes." into gingerbread Merge commit '685fcf364b84d5ac911ae9cbbc4fec99f36cbd48' * commit '685fcf364b84d5ac911ae9cbbc4fec99f36cbd48': Move out all framework-tests classes.
|
be81f4f15dad6d690efcab1973d1e174ce3b001b |
|
15-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
Move out all framework-tests classes. Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindow.java
|