Commit Graph

1154 Commits

Author SHA1 Message Date
Adam Powell
dbe6875ed5 am cd862c44: Merge "Fix bug 3360851 - actionbar overflow menu button doesn\'t trigger "audible selection"" into honeycomb
* commit 'cd862c44d951a743e19c56023b127b8c418fb0a1':
  Fix bug 3360851 - actionbar overflow menu button doesn't trigger "audible selection"
2011-01-21 18:20:20 -08:00
Adam Powell
b3312b88c1 Fix bug 3360851 - actionbar overflow menu button doesn't trigger "audible selection"
Change-Id: I768d35f9752d5f6466708fd191781aa26aefd121
2011-01-21 18:12:02 -08:00
Jim Miller
be71a923b0 am 055e56ee: Merge "Fix 3374446: Allow multiple shift keys in Keyboard." into honeycomb
* commit '055e56ee1bf62d9dc97ba3b483c79312e2bb2beb':
  Fix 3374446: Allow multiple shift keys in Keyboard.
2011-01-20 21:42:36 -08:00
Jim Miller
6465f77537 Fix 3374446: Allow multiple shift keys in Keyboard.
This fixes a bug introduced in 3c6dd8f9 because we now
have two shift keys. The code now tracks a global state
and looks for up to two shift keys.

Update after review and added code to handle extra
invalidate required by additional shift key.

Change-Id: Ic1728dd0ceec089089cd1beca1b0b30565d6e658
2011-01-20 18:20:12 -08:00
Adam Powell
8bbec79447 am 9c91c7e2: Merge "Fix bug 3362375 - API REVIEW: remove unused public \'up\' id" into honeycomb
* commit '9c91c7e27fbfff5abc34e19779a9477239ab9b10':
  Fix bug 3362375 - API REVIEW: remove unused public 'up' id
2011-01-20 17:06:35 -08:00
Adam Powell
1264c33163 Fix bug 3362375 - API REVIEW: remove unused public 'up' id
Fix bug 3362453 - API REVIEW: android.app.ActionBar

Change-Id: I4e0233cd9355a47682bfe7b4a7fda39801586f1a
2011-01-20 13:25:08 -08:00
Gilles Debunne
a04cfb9a02 am 6b20dc43: Merge "Error popup no longer flickers in TextViews." into honeycomb
* commit '6b20dc43a0b835254840746f1027945b5414654b':
  Error popup no longer flickers in TextViews.
2011-01-20 09:55:32 -08:00
Gilles Debunne
a85467bc8d Error popup no longer flickers in TextViews.
The removed lines were committed by the Android Open Source Project.
Their intent was probably: the message was there before, it is identical
after a text change, let's remove it to not annoy the user who already saw it.

The behavior however is that the message is displayed then hidden, then displayed
as the user types.

Bug 3365016

Change-Id: Ie820f8e5465ad8ab5890272c42627686e0d7961b
2011-01-19 18:25:15 -08:00
Dianne Hackborn
92ce4f6afc am 7666ebd9: Merge "Bee seeing you..." into honeycomb
* commit '7666ebd9f29df718f57354e0317db2ccbe6369b0':
  Bee seeing you...
2011-01-19 11:18:12 -08:00
Dianne Hackborn
7666ebd9f2 Merge "Bee seeing you..." into honeycomb 2011-01-19 11:16:38 -08:00
Winson Chung
caedec768b am aac19783: Merge "Refactoring app widgets to address security/performance issues." into honeycomb
* commit 'aac197833f3b2deddc6b3da5c144be36721d9547':
  Refactoring app widgets to address security/performance issues.
2011-01-18 23:05:38 -08:00
Winson Chung
81f39eb6e7 Refactoring app widgets to address security/performance issues.
- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
2011-01-18 22:57:09 -08:00
Dianne Hackborn
3023afefd4 Bee seeing you...
Change-Id: I023425e1752b91fed36e6b005b7b03816f779d9c
2011-01-18 22:56:42 -05:00
Dianne Hackborn
fe86e9793c am 661b6cfb: Merge "Okay, new plan for dialogs." into honeycomb
* commit '661b6cfb2bcecdd335540db7059e5d8e22c2e79a':
  Okay, new plan for dialogs.
2011-01-18 18:40:22 -08:00
Adam Powell
eb7a7a044a am 6cfc7a0a: Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb
* commit '6cfc7a0acb0d3b202ae1dbee88e7e8bdfaee5590':
  Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
2011-01-18 18:39:10 -08:00
Dianne Hackborn
661b6cfb2b Merge "Okay, new plan for dialogs." into honeycomb 2011-01-18 17:48:22 -08:00
Dianne Hackborn
ef57575887 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
2011-01-18 17:35:17 -08:00
Adam Powell
a1e6358a4c Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
2011-01-18 16:51:22 -08:00
Jim Miller
21efbc0a1c am c6d2a767: Merge "Fix 3303606: invalidate WaveView after resetting state" into honeycomb
* commit 'c6d2a767ce26014fee85ecbe81e1c439898f2ebc':
  Fix 3303606: invalidate WaveView after resetting state
2011-01-17 20:01:09 -08:00
Jim Miller
c6d2a767ce Merge "Fix 3303606: invalidate WaveView after resetting state" into honeycomb 2011-01-17 16:35:52 -08:00
Jim Miller
607d320c9d Fix 3303606: invalidate WaveView after resetting state
This fixes a bug where the unlock state machine was in the
reset state when it awakes which caused it to ignore
the first unlock attempt.  The reason for this is the state
machine didn't run again until the next user input.

We now invalidate the drawing area to ensure the unlock state
machine runs and is ready when LockScreen shows again.

Change-Id: I9f2b279d432ff634ba0b29e606cdc954718a2ad2
2011-01-17 14:52:09 -08:00
Adam Powell
dc494e1e48 am a1487347: Merge "Fix bug 3362446 - NPE in legacy menus" into honeycomb
* commit 'a1487347f5ba24648303bf8c9e455ca2ef0de7ea':
  Fix bug 3362446 - NPE in legacy menus
2011-01-17 13:29:03 -08:00
Adam Powell
a1487347f5 Merge "Fix bug 3362446 - NPE in legacy menus" into honeycomb 2011-01-17 13:26:50 -08:00
Adam Powell
4192e38827 Fix bug 3362446 - NPE in legacy menus
Change-Id: Icf9a0bec46c74ace3acbc85eea45d1d769b699d1
2011-01-17 13:16:54 -08:00
Dianne Hackborn
74871f9c37 am db7f3867: Merge "Start renaming FragmentTransaction.openTransaction() to beginTransaction()." into honeycomb
* commit 'db7f38673c33ba55801019007ff18fa4c57f75e0':
  Start renaming FragmentTransaction.openTransaction() to beginTransaction().
2011-01-17 12:35:59 -08:00
Dianne Hackborn
db7f38673c Merge "Start renaming FragmentTransaction.openTransaction() to beginTransaction()." into honeycomb 2011-01-17 12:33:50 -08:00
Dianne Hackborn
48e7b45869 Start renaming FragmentTransaction.openTransaction() to beginTransaction().
Change-Id: Ib4a6d824b33cca699b7b25159c491fb610d5f5da
2011-01-17 12:28:35 -08:00
Adam Powell
dd9946e78a am 9512d6aa: Merge "Fix bug 3360954 - Text overlaid on menu icons" into honeycomb
* commit '9512d6aa206f8bb44ab52b6dfe5ee8cb5c2960ea':
  Fix bug 3360954 - Text overlaid on menu icons
2011-01-17 12:10:53 -08:00
Adam Powell
77769c7a91 Fix bug 3360954 - Text overlaid on menu icons
Change-Id: Ie59a325b7037d93aeec01c862646f900d52e1d7c
2011-01-17 12:06:14 -08:00
Adam Powell
4b8bb8b01a am 70359ce2: Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb
* commit '70359ce27d39222ef023078e5a461aee28bb7be1':
  Fix bug 3050138 - Action bar does not display correctly when many action items are added
2011-01-16 17:31:32 -08:00
Adam Powell
36fced9b21 Fix bug 3050138 - Action bar does not display correctly when many
action items are added

Rules for action bar overflow:

Items are considered for inclusion in the order specified within the
menu. There is a limit of a total count, optionally including the
overflow menu button itself. This is a soft limit; if an item shares a
group ID with an item previously included as an action item, the new
item will stay with its group and become an action item itself even if
it breaks the max item count limit. This is done to limit the
conceptual complexity of the items presented within an action
bar. Only a few unrelated concepts should be presented to the user in
this space, and groups are treated as a single concept.

There is also a hard limit of consumed measurable space. This limit
may be broken by a single item that exceeds the remaining space, but
no further items may be added. If an item that is part of a group
cannot fit within the remaining measured width, the entire group will
be demoted to overflow. This is done to ensure room for navigation and
other affordances in the action bar as well as reduce general UI
clutter.

The space freed by demoting a full group cannot be consumed by future
menu items. Once items begin to overflow, all future items become
overflow items as well. This is to avoid inadvertent reordering that
may break the app's intended design.

Change-Id: I878f6b15619059258c91c01f4fe838feac161d6d
2011-01-16 17:20:23 -08:00
Jim Miller
3530ebe451 resolved conflicts for merge of 578e73da to honeycomb-plus-aosp
Change-Id: I334ae5382220a84881521885b6e3c3991fd8bbb0
2011-01-16 16:55:28 -08:00
Jim Miller
578e73dac8 am 6687ecb4: Merge "Fix 3106227: use WeakReferences for receivers in DigitalClock class" into gingerbread
* commit '6687ecb447025a1c56253d0fd67ad30af070db17':
  Fix 3106227: use WeakReferences for receivers in DigitalClock class
2011-01-16 16:16:57 -08:00
Jeff Brown
c299302e98 am 7a1c32e7: Merge "Add support for detecting finger orientation." into honeycomb
* commit '7a1c32e719725787acda4885ad7bd8031975e8c7':
  Add support for detecting finger orientation.
2011-01-14 19:20:07 -08:00
Jeff Brown
7a1c32e719 Merge "Add support for detecting finger orientation." into honeycomb 2011-01-14 19:18:16 -08:00
Jeff Brown
517bb4c859 Add support for detecting finger orientation.
Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
2011-01-14 19:12:48 -08:00
Jim Miller
8b886fab54 Fix 3106227: use WeakReferences for receivers in DigitalClock class
This works around a bug in the framework where LockScreen wouldn't
get GC'd under certain circumstances which would lead to an OOM
crash.  It now uses WeakReferences for observers inside the
DigitalClock container class and unregisters them if the containing
DigitalClock goes away.

Also removed mLive variable which was unused and could potentially
leak the receivers.

Left mAttached for debugging so we can use it to determine if the
calls to onAttachToWindow() and onDetachFromWindow() are grossly
unbalanced which may be the root cause of the original problem.

Have cleanUp() explicitly clear unused references to make
tracing through hprof references easier.

Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
2011-01-14 18:01:12 -08:00
Jeff Brown
9f1ae205b4 am 06bc9721: Merge "Disable soft keyboard when keyboard attached." into honeycomb
* commit '06bc9721d8f5db053b51e1c536e746833ad46036':
  Disable soft keyboard when keyboard attached.
2011-01-14 17:50:12 -08:00
Jeff Brown
06bc9721d8 Merge "Disable soft keyboard when keyboard attached." into honeycomb 2011-01-14 17:48:09 -08:00
Jeff Brown
4aed78b505 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
2011-01-14 17:36:55 -08:00
Adam Powell
7bd540ac8e am 8e4d3ba6: Merge "Fix bug 3339039 - Preserve proper behavior for action button text when updated." into honeycomb
* commit '8e4d3ba67824d87d832d90e1d0555456b3e76aca':
  Fix bug 3339039 - Preserve proper behavior for action button text when updated.
2011-01-14 15:43:03 -08:00
Adam Powell
9f125d3415 Fix bug 3339039 - Preserve proper behavior for action button text when
updated.

Change-Id: If3529616d5a2b69638b2b0c4070d5ebbb418410c
2011-01-14 15:37:44 -08:00
Adam Powell
7143ae39d6 am 94613752: Merge "Rework action bar menus." into honeycomb
* commit '946137520d67d3c18ceaba058e622f24b7fbf04d':
  Rework action bar menus.
2011-01-14 13:57:56 -08:00
Adam Powell
946137520d Merge "Rework action bar menus." into honeycomb 2011-01-14 13:56:29 -08:00
Adam Powell
e7d468410b Rework action bar menus.
Fix bug 3328810 - remove icons from action bar overflow menu.  Popup
menus now will not show icons. Give popup menu items a minimum width.
Alter the sizing of popup menus.

Fix bug 3192635 - revise rules for action menu dividers. Dividers now
appear between the overflow button and any other items next to it, and
anywhere they disambiguate touch targets between text and other
content. Action views are on their own and should include their own
dividers if needed.

Remove dividers from around action bar spinners and tabs.

Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
2011-01-14 13:55:15 -08:00
Adam Powell
25cb8bcd19 am 2dc59d56: Merge "Fix bug 3347747 - Use a better context when fetching resources for action modes" into honeycomb
* commit '2dc59d56cbfe90fdae745496038352fdada6ee26':
  Fix bug 3347747 - Use a better context when fetching resources for action modes
2011-01-14 12:14:24 -08:00
Adam Powell
48e8ac311b Fix bug 3347747 - Use a better context when fetching resources for
action modes

Change-Id: I0c6595c290a9d41f673944c127d2e9aaf7dc84ce
2011-01-14 12:10:47 -08:00
Adam Powell
431845609f am 16ffa6cb: Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb
* commit '16ffa6cb2d31d130bb0b58afca31c461c784ce5d':
  Fix bug 3338079 - Dialog styled activity decor
2011-01-11 15:59:54 -08:00
Adam Powell
32aa2c90ee 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
2011-01-11 15:57:07 -08:00
Adam Powell
98b2fec9b5 am 5c5fa339: Merge "Fix bug 3333015 - Overflow menu item submenus do not open" into honeycomb
* commit '5c5fa339b4658287217eb0a4639e6e52d192f0ab':
  Fix bug 3333015 - Overflow menu item submenus do not open
2011-01-10 17:38:59 -08:00