101879 Commits

Author SHA1 Message Date
Fabrice Di Meglio
eabab3184a am 483b9198: am 7a7369a8: Merge "Fix bug #8058390 Space is required after the battery sign in the RTL locales" into jb-mr2-dev
* commit '483b9198f4b87f3f35df6666fe3f66c7c3e08fa9':
  Fix bug #8058390 Space is required after the battery sign in the RTL locales
2013-03-08 22:50:31 +00:00
Svetoslav
2b61a4882f am fe92f437: (-s ours) am e10837f4: [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.
* commit 'fe92f437b187a0791f522bc1f1b9b9c9d9b447b1':
  [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.
2013-03-08 22:50:29 +00:00
Fabrice Di Meglio
483b9198f4 am 7a7369a8: Merge "Fix bug #8058390 Space is required after the battery sign in the RTL locales" into jb-mr2-dev
* commit '7a7369a8acedb301efd8309440ebf2ad1409896d':
  Fix bug #8058390 Space is required after the battery sign in the RTL locales
2013-03-08 22:46:59 +00:00
Svetoslav
fe92f437b1 am e10837f4: [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.
* commit 'e10837f444c3da40a50a269e696afac63729bce3':
  [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.
2013-03-08 22:46:52 +00:00
Chet Haase
799f3623db Merge "add getAlpha() to Drawable" 2013-03-08 22:30:04 +00:00
Fabrice Di Meglio
7a7369a8ac Merge "Fix bug #8058390 Space is required after the battery sign in the RTL locales" into jb-mr2-dev 2013-03-08 22:25:25 +00:00
Chet Haase
a227f59691 add getAlpha() to Drawable
Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the
method). This makes it more tedious to use the property. For example, animations that wish to
animate this property must explicitly give it a start value since this value cannot be queried
from the object.

The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this
approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the
method. Instead, we'll add a default method which returns an invalid value, making it easier for
clients of the method to detect whether the value is valid.

All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when
appropriate.

Issue #7485875 Drawables is missing getAlpha()

Change-Id: I3211bb03789282e010356bad92da0a4a9fe9afb3
2013-03-08 14:16:13 -08:00
Fabrice Di Meglio
02c40c2404 Fix bug #8058390 Space is required after the battery sign in the RTL locales
- fix remaining left/right properties that needed to be start/end properties

Change-Id: Iaa5090c2ad256e378313f164e2388f42428e5700
2013-03-08 14:05:28 -08:00
Svetoslav
e10837f444 [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.
If the calendar view of the date picker dialog is shown we
do not use a formatted date as the dialog title since the
calendar view shows it, instead we show a static "Set date"
title. However, the initial state of the date picker dialog
on a tablet has a formatted date since the date picker widget
does not do a correct check whether the calendar view is shown
which returns a false negative resulting in a title with a
formatted date being added since the dialog thinks it has no
calendar view.

Change-Id: Ibf4c433b34ab1ee1bc1dc386689664a32283fb6a
2013-03-08 13:31:53 -08:00
Svetoslav
e99a8eff1a Merge "DatePickerDialog title initially incorrect if calendar view shown." 2013-03-08 20:49:24 +00:00
Svetoslav
a2510b5aeb DatePickerDialog title initially incorrect if calendar view shown.
If the calendar view of the date picker dialog is shown we
do not use a formatted date as the dialog title since the
calendar view shows it, instead we show a static "Set date"
title. However, the initial state of the date picker dialog
on a tablet has a formatted date since the date picker widget
does not do a correct check whether the calendar view is shown
which returns a false negative resulting in a title with a
formatted date being added since the dialog thinks it has no
calendar view.

Change-Id: Ibf4c433b34ab1ee1bc1dc386689664a32283fb6a
2013-03-08 12:43:50 -08:00
Selim Gurun
3ca84c3914 am 16acbab7: am eab5a349: Merge "Revert "Add a delimiter between scheme and host"" into jb-mr2-dev
* commit '16acbab77de85685ebb1da303b79dd73202d9546':
  Revert "Add a delimiter between scheme and host"
2013-03-08 19:57:30 +00:00
Elliott Hughes
12759594c8 am 2ca40211: am b3a5c23b: am ac071e36: am 0c25ecfd: Merge "Use getRelativeDayString in getRelativeTimeSpanString."
* commit '2ca40211315b47eeb6b2f1e13ac5ae3b90dee767':
  Use getRelativeDayString in getRelativeTimeSpanString.
2013-03-08 19:57:27 +00:00
Selim Gurun
16acbab77d am eab5a349: Merge "Revert "Add a delimiter between scheme and host"" into jb-mr2-dev
* commit 'eab5a3491b16ec9dd8c010de3fce1cc9f11afb55':
  Revert "Add a delimiter between scheme and host"
2013-03-08 19:54:53 +00:00
Elliott Hughes
2ca4021131 am b3a5c23b: am ac071e36: am 0c25ecfd: Merge "Use getRelativeDayString in getRelativeTimeSpanString."
* commit 'b3a5c23b3a7a55bea7ef0d2cfb15b566809c6dca':
  Use getRelativeDayString in getRelativeTimeSpanString.
2013-03-08 19:54:50 +00:00
Selim Gurun
eab5a3491b Merge "Revert "Add a delimiter between scheme and host"" into jb-mr2-dev 2013-03-08 19:50:44 +00:00
Elliott Hughes
b3a5c23b3a am ac071e36: am 0c25ecfd: Merge "Use getRelativeDayString in getRelativeTimeSpanString."
* commit 'ac071e36aecd47a453641074e81c5ebcf888dd82':
  Use getRelativeDayString in getRelativeTimeSpanString.
2013-03-08 11:49:24 -08:00
Selim Gurun
e96d6e9ca0 Revert "Add a delimiter between scheme and host"
This reverts commit e990e359f99a9e791106d4eefa046bdff8e22e6d

Change-Id: I2007f04295a5d3b24e281c5823b144ab2782adb7
2013-03-08 19:49:18 +00:00
Elliott Hughes
ac071e36ae am 0c25ecfd: Merge "Use getRelativeDayString in getRelativeTimeSpanString."
* commit '0c25ecfd43235340c9b6bf5b640232138a217836':
  Use getRelativeDayString in getRelativeTimeSpanString.
2013-03-08 11:47:39 -08:00
Romain Guy
ce8e33be4e am 9b409574: am 84275799: Merge "Move blur code from FontRenderer to utils/Blur.cpp" into jb-mr2-dev
* commit '9b4095744b326d1943c59c788d6c72cacef0ed94':
  Move blur code from FontRenderer to utils/Blur.cpp
2013-03-08 19:35:02 +00:00
Romain Guy
9b4095744b am 84275799: Merge "Move blur code from FontRenderer to utils/Blur.cpp" into jb-mr2-dev
* commit '842757995052c27abc3211083395f1b97ef1a063':
  Move blur code from FontRenderer to utils/Blur.cpp
2013-03-08 19:32:33 +00:00
Romain Guy
8427579950 Merge "Move blur code from FontRenderer to utils/Blur.cpp" into jb-mr2-dev 2013-03-08 19:30:00 +00:00
Romain Guy
6e20040893 Move blur code from FontRenderer to utils/Blur.cpp
Change-Id: I2cebbfbcb722ed4b37e54ffbf8b53bb92ad0c964
2013-03-08 11:28:22 -08:00
Selim Gurun
f52feb09ca am 351e518b: am e990e359: Add a delimiter between scheme and host
* commit '351e518bc709ddd6e9a5543eacfb8578261c3864':
  Add a delimiter between scheme and host
2013-03-08 19:24:24 +00:00
Selim Gurun
351e518bc7 am e990e359: Add a delimiter between scheme and host
* commit 'e990e359f99a9e791106d4eefa046bdff8e22e6d':
  Add a delimiter between scheme and host
2013-03-08 19:22:03 +00:00
Selim Gurun
e990e359f9 Add a delimiter between scheme and host
Bug: 6923539
Change-Id: Id5bbf44c90f9d0d5a468f3be3aa3e009a2ad3687
2013-03-08 11:14:12 -08:00
Elliott Hughes
0c25ecfd43 Merge "Use getRelativeDayString in getRelativeTimeSpanString." 2013-03-08 18:39:47 +00:00
Andy McFadden
d8cd823ff9 am ed3ba97f: am 01eaa2d5: Merge "Tweak comment." into jb-mr2-dev
* commit 'ed3ba97f5c96da7b5231a65e150543656f26921f':
  Tweak comment.
2013-03-08 18:28:32 +00:00
Andy McFadden
ed3ba97f5c am 01eaa2d5: Merge "Tweak comment." into jb-mr2-dev
* commit '01eaa2d545a0b0dc28f8f13e6db7348bb6e098e3':
  Tweak comment.
2013-03-08 17:54:38 +00:00
Andy McFadden
01eaa2d545 Merge "Tweak comment." into jb-mr2-dev 2013-03-08 17:51:24 +00:00
Christopher Tate
1ccdf0ee16 am 0de66314: am 6916c6ee: Merge "Do not hang in pm clear on an invalid package name" into jb-mr2-dev
* commit '0de6631450fedca4071513d90cfaa5eec4c57d6c':
  Do not hang in pm clear on an invalid package name
2013-03-08 02:08:50 +00:00
Christopher Tate
0de6631450 am 6916c6ee: Merge "Do not hang in pm clear on an invalid package name" into jb-mr2-dev
* commit '6916c6ee105e7e91f494ec79c24152fb64d8eed1':
  Do not hang in pm clear on an invalid package name
2013-03-08 02:06:59 +00:00
Christopher Tate
6916c6ee10 Merge "Do not hang in pm clear on an invalid package name" into jb-mr2-dev 2013-03-08 02:03:25 +00:00
Christopher Tate
aa8a2e46f4 Merge "Full backup/restore now handles OBBs sensibly" 2013-03-08 01:59:40 +00:00
Andy McFadden
47a2db4943 Tweak comment.
Change-Id: Ic99fefde512fa3a5b1fca2bc65cd37c8170e7f2c
2013-03-07 17:56:40 -08:00
Andy McFadden
ecda86cebc am fe8b6efb: am dd3e75fa: Merge "Publish new MediaCodec API" into jb-mr2-dev
* commit 'fe8b6efbb44476b28b0d8ea3d6cd405d5fbea770':
  Publish new MediaCodec API
2013-03-08 01:55:12 +00:00
Andy McFadden
fe8b6efbb4 am dd3e75fa: Merge "Publish new MediaCodec API" into jb-mr2-dev
* commit 'dd3e75fa6b9fd93790eec010f40c8bc1c3aeda3c':
  Publish new MediaCodec API
2013-03-08 01:53:24 +00:00
Christopher Tate
a83cab0001 Do not hang in pm clear on an invalid package name
The Activity Manager was not properly informing the observer that
the operation had concluded (unsuccessfully).

Bug 8222595

Change-Id: I8234e32d8edf4112c8c7a5e20e341d0b41e23014
2013-03-07 17:50:11 -08:00
Andy McFadden
dd3e75fa6b Merge "Publish new MediaCodec API" into jb-mr2-dev 2013-03-08 01:50:00 +00:00
Adam Powell
c6cf2abfdb am 41ac9727: am 15061d74: Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev
* commit '41ac97278f4506e9d06e447b99a94125dc6358db':
  Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars
2013-03-08 01:12:19 +00:00
Adam Powell
41ac97278f am 15061d74: Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev
* commit '15061d747d578fb542f1a11856dae5515036b4ce':
  Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars
2013-03-08 01:09:42 +00:00
Romain Guy
f3c9ccd124 am bfa3c3a7: am e526a5b9: Merge "Don\'t apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev
* commit 'bfa3c3a7d309e40f3bd26042e46f4fe3b94c2bd1':
  Don't apply scale to glyphs when a perspective is set. Bug #8337925
2013-03-08 01:08:54 +00:00
Romain Guy
bfa3c3a7d3 am e526a5b9: Merge "Don\'t apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev
* commit 'e526a5b94643370eb1f26ca3a132a5741a667e26':
  Don't apply scale to glyphs when a perspective is set. Bug #8337925
2013-03-08 01:06:18 +00:00
Adam Powell
15061d747d Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev 2013-03-08 01:05:51 +00:00
Romain Guy
e526a5b946 Merge "Don't apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev 2013-03-08 01:04:04 +00:00
Romain Guy
b09f147126 Don't apply scale to glyphs when a perspective is set.
Bug #8337925

Magazines uses very large scale factors that blow up font cache & CPU.

Change-Id: I1c0ed430ed91b86cc6c6f59f7e8bdcc89a464e46
2013-03-07 17:03:25 -08:00
Elliott Hughes
5acc6e5214 Use getRelativeDayString in getRelativeTimeSpanString.
The bug we're fixing here is that languages that don't
distinguish the "one" case grammatically (such as Japanese)
would say the equivalent of "In 1 day" rather than "Tomorrow"
because of the misuse of getQuantityString.

This has the side-effect of switching us over to the CLDR
strings for relative day names, which have consistent capitalization;
the Android donottranslate-cldr.xml strings varied even within
a language, so although this is a change, it seems like a step
in the right direction.

In a future change, we should actually push all relative
day formatting down into icu4c.

Bug: 7098707
Change-Id: Ia2f9af3d18c441d6093dd5da7956a3d0130e5b06
2013-03-07 16:46:55 -08:00
Scott Main
c64fe7ee1f am c71ed8db: am a2dba054: am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'c71ed8db8f37a39d860656706054057ddc13f85c':
  change devbytes playlist order to reverse playlist order
2013-03-08 00:31:58 +00:00
Scott Main
c71ed8db8f am a2dba054: am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'a2dba054b66b01ff294acd6218371677f57d00c7':
  change devbytes playlist order to reverse playlist order
2013-03-08 00:29:34 +00:00
Scott Main
a2dba054b6 am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'd9cdde94f3139fac59eb6da73ae9dc53661628d8':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:27:17 -08:00