3649 Commits

Author SHA1 Message Date
Daniel Sandler
1bde86bd1b Merge "Correct android:dimen/status_bar_icon_size for tablets." 2011-07-29 04:52:01 -07:00
Daniel Sandler
3815706c4e Correct android:dimen/status_bar_icon_size for tablets.
Bug: 5086130
Change-Id: I32e7ec93b87cdde20e1a250e139d2ec0b90baac2
2011-07-29 00:56:57 -04:00
Jim Miller
ae5a9d4a92 Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen" 2011-07-28 18:04:21 -07:00
Jim Miller
6b05d58018 Fix 5044158: Initial pass: add music transport controls to LockScreen
Refactored all lockscreen notifications to go through new KeyguardStatusViewManager.
This is required to intercept messages originally intended for separate TextViews that
are now shown in a single view when showing the transport control view.

Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager.

First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen.

First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on
LockScreen.

Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts.

Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user
out if certain criteria isn't met (missing SIM, etc).

Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and
no longer make good use of a shared layout for this.

Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement
was being calculated improperly.

Moved EmergencyCallButton to bottom of view where we can.

Removed unused Alpha keyboards from tablet password unlock layouts.

Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names.

Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation.

Separated clock colors for phones/tablets since they're now different.

Converted remaining phone layouts to use GridLayout.

Start routing audiomanager events to lockscreen views.

Move emergency call button handling to KeyguardStatusViewManager.

Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
2011-07-28 17:54:06 -07:00
Justin Ho
f49b996385 Merge "Updated popup assets Bug: 5080369" 2011-07-28 16:39:36 -07:00
Justin Ho
f71c8a6e63 Merge "Updated spinner assets Bug: 5076695" 2011-07-28 16:39:21 -07:00
Justin Ho
4a66aeb0e2 Merge "Updated check_on and check_off" 2011-07-28 16:38:52 -07:00
Justin Ho
0e15847cef Updated popup assets
Bug: 5080369

Change-Id: Ib7cca68dd2a8db416fd56e7303c12f0c1e5cd484
2011-07-28 15:15:52 -07:00
Justin Ho
491345b80b Merge "Updated presence icons Bug: 5045000" 2011-07-28 15:13:55 -07:00
Justin Ho
d1d223d570 Updated presence icons
Bug: 5045000

Change-Id: I05c83bd74e4959374e6f42897b984db5e74e0e9f
2011-07-28 15:07:41 -07:00
Justin Ho
03d43f8f43 Updated spinner assets
Bug: 5076695

Change-Id: I5d842eb49075ebf697a6ee4241e3101cbe605a57
2011-07-28 15:01:01 -07:00
Justin Ho
ecfae1f4c1 Updated check_on and check_off
Open issues:
- btn_check_mixed
- btn_check_on_disable_* misnamed?

Bug: 5076695
Change-Id: I2cac714b5d0d873c774ccd06068799173a089e7a
2011-07-28 14:44:37 -07:00
Adam Powell
7c8d19d53c Merge "Fix bug 5087752 - Maintain correct contrast against action bars in inverse-bar themes" 2011-07-28 11:58:21 -07:00
Adam Powell
88ab69780f Fix bug 5087752 - Maintain correct contrast against action bars in
inverse-bar themes

Add the actionBarWidgetTheme theme attribute. This lets a theme
specify a wrapper theme that can be used to create views that will
end up in the action bar so that the rest of the code can ignore
differences in contrast. (e.g. the inverse action bar themes.)

Apps can use ActionBar#getThemedContext() to obtain a Context with a
proper theme for views that will end up in the action
bar. MenuInflaters generated by Activities will automatically use this
to properly theme inflated action views.

Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
2011-07-28 11:44:41 -07:00
Justin Ho
4e6d28cfdc Updated expander assets
Bug: 5088810
Change-Id: I57cb86eb3a977a6bc4d4a9de0d8a266c23dba24e
2011-07-28 10:00:11 -07:00
Chia-chi Yeh
fcbb492486 Merge "Unhide APIs for user space VPN." 2011-07-27 18:35:51 -07:00
Gilles Debunne
041eb4bddb Merge "Bug 4571327: error popup empty when displayed on top" 2011-07-27 16:47:26 -07:00
Jeff Sharkey
d02fa35e8c Merge "Revise data limit notifs, watch kernel alerts." 2011-07-27 15:52:24 -07:00
Chris Craik
24f2936d35 Merge "Use WebTextView overlay to render text fields/areas much faster" 2011-07-27 15:46:44 -07:00
Chris Craik
e3e7a88b4d Use WebTextView overlay to render text fields/areas much faster
bug:5008210

Still has the following issues:

* colors are always black & white

* ignores centering, word wrap from text area

* gray background text (such as with instant search) and other textfield effects
  aren't shown

The DebugFlags.DRAW_WEBTEXTVIEW can still be used to overlay red text over the
input box.

Change-Id: I7f22321c31b9edbc5351cac13f2e17b0ee19d563
2011-07-27 11:19:14 -07:00
Jeff Sharkey
41ff7ec824 Revise data limit notifs, watch kernel alerts.
Teach NetworkPolicy limits to "snooze" when requested by user, and
notify with both dialog and notification.  Register for network alerts
through NMS to trigger updates immediately instead of waiting for
next stats update.

Enforce that all NetworkPolicy are unique on a template basis, and
move SCREEN_ON/OFF broadcasts to background thread.  Launch SystemUI
and Settings directly instead of using actions, and include full
NetworkTemplate in extras.

Tests to verify notification and snooze behavior.

Bug: 5057979, 5023579, 4723336, 5045721
Change-Id: I03724beff94a7c0547cb5220431ba8d4cd44d077
2011-07-27 09:31:39 -07:00
Gilles Debunne
a94b9ad23a Merge "Bug 4987014: a tap outside dismisses the text suggestion popup" 2011-07-27 09:31:02 -07:00
Daniel Sandler
73fc6d521a Merge "Smaller, darker notification icons." 2011-07-27 06:17:33 -07:00
Daniel Sandler
26c84b139f Smaller, darker notification icons.
(Still need to attempt to mipmap them but this will do for
now.)

Bug: 4691635
Change-Id: I8793d6a453fcbe0c2ce30b6349e4e5ef3f1a6e56
2011-07-27 00:09:40 -04:00
Svetoslav Ganov
05f0e1edb1 Merge "Updated the layout for the activity chooser view." 2011-07-26 20:09:44 -07:00
Svetoslav Ganov
bfbbcf5677 Updated the layout for the activity chooser view.
1. Updated the laoout to size the buttons properly.

Change-Id: I58f9beeca23af8b0471cf7f7ae9ca717223221aa
2011-07-26 18:36:56 -07:00
Gilles Debunne
ed93c4697c Bug 4571327: error popup empty when displayed on top
Turns out to be an asset problem. Opened 5080369 to fix this.
This temporary fix is only for hdpi, as a proof of concept.

Change-Id: I64471bc731b1454fdb37ea11591a8988ba74e1c5
2011-07-26 16:29:58 -07:00
Justin Ho
5d0e9edeed Updated btns
Bug: 5076695
Change-Id: I9086830e19543adab8fdc86667e72fce60585201
2011-07-26 14:47:38 -07:00
Eric Fischer
821e7a65fa Merge "Import revised translations." 2011-07-26 13:12:58 -07:00
Gilles Debunne
2888524e03 Bug 4987014: a tap outside dismisses the text suggestion popup
Change-Id: I61f5a3c981770393aa861c88d989c653ea00a067
2011-07-25 18:59:06 -07:00
Eric Fischer
3a6c36fdd7 Import revised translations.
Change-Id: Ia9c97db0cd31b9d3163318b4193a328a614a7098
2011-07-25 17:36:41 -07:00
Philip Milne
496aa6d4d9 Merge "Fix for http://b/issue?id=5064532" 2011-07-25 13:43:09 -07:00
Philip Milne
5125e21bc0 Fix for http://b/issue?id=5064532
5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly

Also:

. Infer stretchibility from whether or not gravity is defined.
. Make algorithms for handling flexibility within cell groups consistent
  with those acting between cells groups (via constraint system).
. Hide and deprecate methods taking flexibility argument.
. Hide and deprecate CAN_STRETCH constant.

Both deprecated features will be removed after references are removed from platform.

Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125
2011-07-25 12:12:10 -07:00
Svetoslav Ganov
71f14a4e23 Merge "Touch exploration state set to clients asynchronously and depended on talking service being enabled." 2011-07-25 12:08:08 -07:00
Matthew Xie
184dd03c81 Merge "Keep Bluetooth module hot to quickly swith it on/off" 2011-07-25 11:14:25 -07:00
Matthew Xie
7f9ecca8f2 Keep Bluetooth module hot to quickly swith it on/off
Add BluetoothAdapterStateMachine to maintain a inter state machine other than
the public BluetoothAdapter states. This is a improvement to BluetoothService
code. 2 internal state are added, LoadingFirmware and FirmwareLoaded to place
the Bluetooth module in a ready-to-switch-on state so that it can be quickly
switched on to have a better user experience
bug 5021787

Change-Id: Ia352e88cba509d9e98c900f85e7479f8cee1de5e
2011-07-25 10:53:06 -07:00
repo sync
55bc5f3e04 Updated: Wi-Fi p2p framework
First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
2011-07-24 10:08:47 -07:00
Svetoslav Ganov
00aabf7d18 Touch exploration state set to clients asynchronously and depended on talking service being enabled.
1. Upon registration of an accessibility client the latter received only
   the accessiiblity state and waiting for the touch exploration state
   to be sent by the system in async manner. This led the very first
   check of touch exploration state is checked a wrong value to be reported.
   Now a state of the accessibility layer is returned to the client
   upon registration.

2. Removing the dependency on talking accessibility service to be enabled
   for getting into touch exploration mode. What if the user wants to use
   an accessibility service that shows a dialog with the text of the touched
   view?

bug:5051546

Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7
2011-07-22 17:38:54 -07:00
Dianne Hackborn
8cbe6e9cef Merge "Fix issue #5050039: Launcher is sometimes rendering..." 2011-07-22 10:52:34 -07:00
Dianne Hackborn
91c9ac05ef Fix issue #5050039: Launcher is sometimes rendering...
...underneath the system/status bar

Change-Id: If65aba64df9362d4721051846a6da6d096a3dc9b
2011-07-22 10:41:38 -07:00
satok
7793719ca9 Merge "Create TextServiceManager and SpellCheckerService" 2011-07-21 22:59:48 -07:00
satok
988323c57b Create TextServiceManager and SpellCheckerService
Bug: 4176026

This CL inherits https://android-git.corp.google.com/g/112600

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
    for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
2011-07-22 14:52:21 +09:00
Chia-chi Yeh
3c2529c717 Unhide APIs for user space VPN.
Change-Id: I2d9e5a8a3ee8556626e373bfdc93c809dad40bff
2011-07-21 18:26:46 -07:00
Mike Lockwood
a5e9bab0e4 Merge "UsbDeviceManager: Add USB notification string for USB accessory mode" 2011-07-21 16:24:27 -07:00
Jeff Hamilton
6675ae11d5 Merge "Make READ_FRAME_BUFFER signatureOrSystem." 2011-07-21 15:57:41 -07:00
Mike Lockwood
6e680dea3b UsbDeviceManager: Add USB notification string for USB accessory mode
Bug: 5062341

Change-Id: I93af8274e538009dd8f00d1cea782b62334e43f1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-21 15:36:09 -07:00
Jeff Hamilton
0bc369ee66 Make READ_FRAME_BUFFER signatureOrSystem.
Bug: 4941390
Change-Id: I6d38b2d5ca2ed3bbf9ec0561659a486a99cbc024
2011-07-21 16:30:04 -05:00
Gilles Debunne
d2bea20965 Merge "Bug 4534376: Suggestion popup is not clipped." 2011-07-21 13:33:13 -07:00
Svetoslav Ganov
6179ea3196 Adding accessibility support to the Status Bar.
1. Added content description to pretty much all animals
   in the zoo including buttons in the navigation bar,
   notifications and status icons for battery, signal,
   data, etc.

2. Rectored to avoid ovelaying views since they block
   touch exploratino. In general overlaying views
   cause trouble for touch exploration and accessibility
   in general.

3. Avoid sending accessibility events in case the user is
   touching outside of the StatauBAr panels to avoid
   confusion.

4. Added records to accessibility events in the places where
   this would help the presentation. So the event comes from
   a given "leaf" view and its predecessor is adding a record
   to the event for itself to provide more cotext. It is up
   to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
2011-07-21 12:04:54 -07:00
Gilles Debunne
31a41d35f6 Bug 4534376: Suggestion popup is not clipped.
This happened when the popup was larger than the screen because of a very long suggestion.
The text will now be ellipsized with a marquee (better than using 2 lines I believe).

Also removed the up layout that was intended to be used when the popup did not fit vertically.
The popup is moved up instead if needed.

Change-Id: Ie741610e74ade10c691614f1c30d0e17b213c698
2011-07-21 10:49:50 -07:00