4625 Commits

Author SHA1 Message Date
Adam Powell
c68bbe6a86 Merge "Reduce excessive right padding on action bar titles" 2012-03-09 11:51:07 -08:00
Adam Powell
d06c29439b Reduce excessive right padding on action bar titles
Change-Id: I6ef44ce330523dda38a57fe09b9d0520447a6e3c
2012-03-09 11:49:56 -08:00
Dianne Hackborn
55b4b28606 Merge "Improved rotation animation." 2012-03-09 11:40:23 -08:00
Dianne Hackborn
191874e371 Improved rotation animation.
Change-Id: Id21686be8b2b229dc61c5d01f888c9b5deabb857
2012-03-09 11:20:54 -08:00
Svetoslav Ganov
977c9a5d3c Merge "Removing checked state description text for accessibility from some widgets." 2012-03-09 10:24:33 -08:00
Svetoslav Ganov
55249c8601 Removing checked state description text for accessibility from some widgets.
1. The framework was appending some text to convey the state of a
   a CheckedTextView or a RadioButton or a ToggleButton or a Switch
   but the checked property already conveys that information. It is
   responsibility of the screen reader developer to append the state
   text based on the checked property. This change is requested by a
   few screen reader developers.

bug:5951683

Change-Id: Ieba6797770201155c48e37147ae375dfcb5238aa
2012-03-09 10:17:16 -08:00
Eric Fischer
2ac9b4a38c Merge "Import translations. DO NOT MERGE" 2012-03-08 17:43:57 -08:00
Eric Fischer
152202bb55 Import translations. DO NOT MERGE
Change-Id: I503dca8c62c09f8831d313fd7e39405e4397097b
2012-03-08 12:39:18 -08:00
Michael Kolb
5ec9193a9d Merge "Fix webview dropdown item resource" 2012-03-08 10:48:27 -08:00
Michael Kolb
635ba36bf9 Fix webview dropdown item resource
Bug: 5521715

Change-Id: I9818beb0f477eb405e4156bafb7ecbfb2a5986c0
2012-03-08 10:41:14 -08:00
Adam Powell
1881f27b9d Merge "Fix bug 6029592 - font size setting causes clipped icon menu items" 2012-03-07 17:08:08 -08:00
Adam Powell
24e877e1c3 Fix bug 6029592 - font size setting causes clipped icon menu items
Force the legacy icon menu panel to show text at a fixed size that will
not be badly clipped when the user has increased the system font size.

Change-Id: Ic991f2377424e4f42ab9f84b146650414cbde849
2012-03-07 16:48:37 -08:00
Eric Fischer
ea7b04383e Import translations. DO NOT MERGE
Change-Id: Ibbe207f9def9c09b12bb3b408e40e0060658448d
2012-03-07 13:05:31 -08:00
Eric Fischer
eeaff65bf0 Merge "Mark all of config.xml not translatable in the top-level comment." 2012-03-07 10:43:23 -08:00
Eric Fischer
f712747333 Mark all of config.xml not translatable in the top-level comment.
Change-Id: Ic123e5db57e47d4aa6cc85e703949ded4a2b468c
2012-03-06 17:03:47 -08:00
Adam Powell
75d022af1f Action buttons are now 1 view instead of 3.
Change-Id: I42afe0e4bd20c3dbe86e2c43a6bc1d776361dca9
2012-03-06 12:06:15 -08:00
Jeff Brown
faeac2737d Merge "Change widgets to post invalidate to the animation timer." 2012-03-05 15:38:47 -08:00
Jeff Brown
6cb7b46c56 Change widgets to post invalidate to the animation timer.
Change-Id: I8377e924529fb9d8afd8a834003a17de616e8e87
2012-03-05 15:19:31 -08:00
Eric Fischer
ffa5514f73 Merge "Import translations. DO NOT MERGE" 2012-03-05 15:18:20 -08:00
Fabrice Di Meglio
e6ad12ae38 Merge "Fix bug #5815381 [DA] [Android Gallery] [Cut string in "no-response" box]" 2012-03-05 14:40:50 -08:00
Eric Fischer
9841174e07 Import translations. DO NOT MERGE
Change-Id: I9eeb25b7b81a0ad7a7a794eb344879c51488ca36
2012-03-05 14:15:03 -08:00
Fabrice Di Meglio
ff3aca3a4d Fix bug #5815381 [DA] [Android Gallery] [Cut string in "no-response" box]
- fix layout for the Holo AlertDialog

Change-Id: I453b497f93bc07f6298c73ccb460be629e26c8c7
2012-03-05 12:49:35 -08:00
Dianne Hackborn
c3b91e9afd Merge "More work on rotation animation." 2012-03-05 11:45:19 -08:00
Dianne Hackborn
9fd74805c8 More work on rotation animation.
The black frame is now a separate animation element.  This allows us
to have it move through the aspect ratio change, without the old
and new screen elements doing weird aspect ratio scalings.  This
makes the animation generally look different (more like a reveal),
not sure if it is better or worse, but definitely has less artifacts
in things like the gallery.

Also tweaked the animation definitions a bit.

Change-Id: I94c274ba04bbc7a675946dc6c1778e19386e4a66
2012-03-05 11:44:10 -08:00
Svetoslav Ganov
2e9e02fd33 Merge "Sync of the NumberPicker attributes with the public Java APIs" 2012-03-02 15:33:33 -08:00
Svetoslav Ganov
72d403ce35 Merge "Sync of the TimePicker attributes with the public Java APIs." 2012-03-02 15:33:20 -08:00
Svetoslav Ganov
e8331bd2e7 Sync of the NumberPicker attributes with the public Java APIs
1. Renamed some attributes to not overlap with already public
   ones since they are not dedicated for external use.

bug:6094713
bug:6104108

Change-Id: Iab8a906680ebcaa91f020ffbf55cf603a1071437
2012-03-02 15:15:38 -08:00
Svetoslav Ganov
53b948d3ae Sync of the TimePicker attributes with the public Java APIs.
1. Renamed an attribute which is not mean to be public so
   its name is not the same as that of an already public one.

bug:6094713

Change-Id: I3f8b3f3840b88265069d3474be7db04056d219c1
2012-03-02 14:58:12 -08:00
Svetoslav Ganov
3ee7ce2be3 Merge "Fixing the build for real." 2012-03-02 14:57:42 -08:00
Svetoslav Ganov
4b3cdbb2cf Fixing the build for real.
Change-Id: I6400e599cdf0d2e94d3ac024b9b32de55b1e3760
2012-03-02 14:56:27 -08:00
Svetoslav Ganov
cbed96ae47 Merge "Fixing the build" 2012-03-02 14:45:58 -08:00
Svetoslav Ganov
56232eb14a Fixing the build
Change-Id: Idfb7092dbc707d7626191294f10c9f4d382b2796
2012-03-02 14:43:19 -08:00
Svetoslav Ganov
d56ab1e3a1 Merge "Sync of the DatePicker attributes with the public Java APIs." 2012-03-02 14:03:16 -08:00
Svetoslav Ganov
c49a8be0d2 Sync of the DatePicker attributes with the public Java APIs.
1. Deprecated two old attributes.

2. Renamed an attribute which is not mean to be public so
   its name is not the same as that of an already public one.

bug:6094713

Change-Id: I577a9e191cbd05cd18cb34105dcdbe53c0a5dd1e
2012-03-02 13:39:29 -08:00
Svetoslav Ganov
45e96fd28a Merge "Adding getter/setter for all public attributes in CalendarView." 2012-03-02 13:12:22 -08:00
Jeff Brown
8dc3cc2e13 Allow the SQLite sync mode to be set independently for WAL.
This change leaves the sync mode at FULL for both WAL and non-WAL
but makes it easy to change it for one but not the other.

To reduce the number of synchronous writes, it might make sense to
change the sync mode for non-WAL to NORMAL instead of FULL which
should be just as safe.

On the other hand, the sync mode for WAL should probably remain FULL
because there may be an impact on transaction durability otherwise.

Initial experiments show that there might not be a significant
performance benefit to using NORMAL, but we may revisit this later.

Change-Id: Ifcd55bedcfefa6600974c2295ca5d4163b408cbf
2012-03-02 11:17:16 -08:00
Jeff Brown
24dc6aa03e Change default journal mode to PERSIST.
Change-Id: I5a72ede093be3ea0f7445df970051ae153f57fed
2012-03-02 11:17:16 -08:00
Jeff Brown
db3c6b8c0d Merge "Adjust WAL checkpoint interval." 2012-03-02 11:15:28 -08:00
Svetoslav Ganov
ff37505cb1 Adding getter/setter for all public attributes in CalendarView.
bug:6094713

Change-Id: Iff4a1d903d597ae8a3d74a4e4734376acca417f3
2012-03-01 21:31:34 -08:00
Jeff Brown
b7f2736e78 Adjust WAL checkpoint interval.
Currently the auto-checkpoint interval is 1 page, which makes poor
use of WAL and causes additional unnecessary synchronous writes to
the main database file.

Set the checkpoint interval to 100 pages to make better use of WAL
while still avoiding long checkpoint pauses.

Change-Id: Id54ac02406613bb9379d2116d51947de1d7a489c
2012-03-01 19:56:53 -08:00
Fabrice Di Meglio
98aec1c7ef Make layoutDirection API public
Change-Id: Ie125513e4ea72b33b42355dbc43f9b9b6d46d7eb
2012-03-01 16:21:55 -08:00
Jeff Brown
5936ff097e Externalize more SQLite configuration options.
Moved more configuration into config.xml so we can tweak settings
like the default journal mode, WAL auto-checkpoint interval and
so on.

This change itself should not introduce any functional differences.

Change-Id: Id6c95fa25b116ce47e8ae49cd8a80d52b1c0dd80
2012-02-29 21:03:20 -08:00
Adam Powell
b5d3dd2cd5 Merge "Fix simple_list_item_multiple_choice to use correct size and spacing." 2012-02-29 14:26:24 -08:00
Adam Powell
f7dbb510e6 Fix simple_list_item_multiple_choice to use correct size and spacing.
Change-Id: Ie9e3dd7ec10980a4411e60b93f778bb4863cbd3c
2012-02-29 14:21:19 -08:00
Christopher Tate
8662cab5c6 Merge: Introduce UpdateLocks
An "UpdateLock" works similarly to a wake lock in API: the caller is
providing a hint to the OS that now is not a good time to interrupt
the user/device in order to do intrusive work like applying OTAs.
This is particularly important for headless or kiosk-like products
where ordinarily the update process will be automatically scheduled
and proceed without user or administrator intervention.

UpdateLocks require that the caller hold the new signatureOrSystem
permission android.permission.UPDATE_LOCK.  acquire() and release()
will throw security exceptions if this is not the case.

The "is now convenient?" state is expressed to interested parties
by way of a sticky broadcast sent only to registered listeners.  The
broadcast is protected; only the system can send it, so listeners
can trust it to be accurate.  The broadcast intent also includes a
timestamp (System.currentTimeMillis()) to help inform listeners that
wish to implement scheduling policies based on when the device became
idle.

The API change here is a tiny one: a dump(PrintWriter) method has been
added to the TokenWatcher class to facilitate getting information out
of it for dumpsys purposes.  UpdateLock itself is still @hide.

Bug 5543442

Change-Id: I3709c831fc1883d7cb753cd2d3ee8e10a61e7e48
2012-02-29 14:05:24 -08:00
Eric Fischer
4cfa5ec14c Import translations. DO NOT MERGE
Change-Id: Ia71bba63b3c0789908cd7f33cbbacd71aeab3f30
2012-02-29 13:15:31 -08:00
Michael Jurka
a267f0a707 Merge "Add shortcut for voice search" 2012-02-28 14:40:33 -08:00
Michael Jurka
7a3489552c Add shortcut for voice search
On phones with soft nav bar, make long press on
home launch a voice search intent

Change-Id: I69840a96a08524a76e33a306b799222c879db095
2012-02-28 14:37:35 -08:00
Eric Fischer
cb4c17d27a Merge "Import translations. DO NOT MERGE" 2012-02-28 13:55:24 -08:00
Eric Fischer
604a7d4e26 Import translations. DO NOT MERGE
Change-Id: If4aaaf59012a1e6b799e3020a98f6f71117d5895
2012-02-28 12:13:13 -08:00