37984 Commits

Author SHA1 Message Date
Baligh Uddin
9f9d17cafb Merge "Import translations. DO NOT MERGE" 2012-11-26 09:20:11 -08:00
Chet Haase
60b5509ff1 Merge "Fix layout-in-layout logic" 2012-11-26 07:20:16 -08:00
Baligh Uddin
18f3bdda1e Import translations. DO NOT MERGE
Change-Id: Iaff2592ce93e54835624d2d0c49aace8802a9f41
Auto-generated-cl: translation import
2012-11-22 22:01:24 -08:00
Baligh Uddin
ef34cd684b Merge "Import translations. DO NOT MERGE" 2012-11-22 11:04:34 -08:00
Svetoslav Ganov
6ce77cdd6a Adding dump support for the accessibility manager service.
Change-Id: Ibc8d9eac3be065f1a753e1401568b8f93263b051
2012-11-21 16:38:50 -08:00
Chet Haase
d5a835259d Fix layout-in-layout logic
Fix to allow requestLayout() during layout needs to disable
the "currently doing layout" flag while it processes the requests
that came in during layout to allow these initial requests to go
through unhindered.

Change-Id: Ied5ff1589224792f153cc10f65e004f14724523d
2012-11-21 16:30:07 -08:00
Baligh Uddin
aae5fb42cc Import translations. DO NOT MERGE
Change-Id: I47fc111ea3f6e2e2e63e1ba2a54bd94d81155b54
Auto-generated-cl: translation import
2012-11-20 22:44:58 -08:00
Adam Powell
47a74f375a am 732e589c: am 6e8c1495: Merge "Re-read shortcut labels if the language has changed"
* commit '732e589c1040cb29deac499ae155bbb7c7358def':
  Re-read shortcut labels if the language has changed
2012-11-20 15:07:23 -08:00
Adam Powell
732e589c10 am 6e8c1495: Merge "Re-read shortcut labels if the language has changed"
* commit '6e8c1495f6a65124750155409ce326736744a42b':
  Re-read shortcut labels if the language has changed
2012-11-20 15:05:13 -08:00
Fabrice Di Meglio
742524b216 am 3ee47400: am 95263ef3: am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev
* commit '3ee4740009b0e217ee0f6de0f86f2f557b175dea':
  Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
2012-11-20 14:44:46 -08:00
Fabrice Di Meglio
3ee4740009 am 95263ef3: am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev
* commit '95263ef3cf4c0df65950d2cddda843aabac6fa48':
  Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
2012-11-20 14:42:13 -08:00
Fabrice Di Meglio
95263ef3cf am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev
* commit '4d931acdb85df1f9d1577cf05686601a6c2fb4cc':
  Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
2012-11-20 14:40:18 -08:00
Fabrice Di Meglio
4d931acdb8 Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev 2012-11-20 14:37:55 -08:00
Adam Powell
6e8c1495f6 Merge "Re-read shortcut labels if the language has changed" 2012-11-20 13:59:45 -08:00
Craig Mautner
38acfe291a Merge "Refactor unused methods and unnecessary members." 2012-11-20 12:33:59 -08:00
Amith Yamasani
c0a9edb6b7 Merge "Make NTP constants configurable." 2012-11-20 12:30:13 -08:00
Jaewan Kim
c3560b81db Make NTP constants configurable.
Bug: 6943067
Change-Id: I0b0f9076fba99e9c457ef7180b9936c0d2a7d589
2012-11-21 03:49:37 +09:00
Svetoslav Ganov
7d0604149b am 0b64976f: am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '0b64976f19a3f03f80dfcd80b8894299d4dc71d7':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:45:44 -08:00
Svetoslav Ganov
0b64976f19 am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '0ee790408e19a2a820a080a8b4ad3af63d3a5eca':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:43:40 -08:00
Svetoslav Ganov
0ee790408e am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit '1586168302f79d10e85a5aeed7b486c4244cc98e':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:40:26 -08:00
Svetoslav Ganov
1586168302 am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev
* commit 'e9812bae0e0ce08bd232dc2371fdb959e4f7a318':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
2012-11-20 08:38:16 -08:00
Przemyslaw Szczepaniak
13896b7419 woExecute onLoadLanguage in synthesis thread.
Previously, onLoadLanguage was executed without minding synthesis queue.
Now onLoadLanguage is queued item, so it won't be executed before the items
on the queue (previously TTS could receivecall to onLoadLanguage
while synthesizing in completly different language).

I've divided SpeechItem into ControlSpeechItem and UtteranceSpeechItem.
Utterance one dispatches callbacks about synthesis progress.

Bug: 7510063
Bug: 5351864
Change-Id: Ibd156b3cecb190e5c07c4451e61121127b54d51e
2012-11-20 05:08:49 -08:00
Przemyslaw Szczepaniak
228323e759 Make getLanguage return client-set language
Previously, getLanguage returned language set on the TTS service side.
In most cases client wants to receive value that was set on the Client side
(value that was set by last call to the setLanguage). That's true, for
example, for android settings app.

This is not an issue if there's only one client, or when all clients use the same
language. In that cases, service and client languages are in sync.

But if there are multiple clients using different languages, getLanguage might
return values that were not set by the client - and that's not what most of clients expect
to happen.

Change-Id: I5fd8313725e677c20fb2a84a087fc7555897bd30
2012-11-20 04:14:39 -08:00
Przemyslaw Szczepaniak
8f3957cb91 TTS onServiceConnection moved to async task
ITextToSpeechService.setCallback (service rpc call) is no longer
executed on UI thread.

I kept OnInitListener.onInit being called on the UI thread. It's
not specified explicitly, but I don't want to introduce subtle
bugs.

+bonus import fix.

Bug: 6540404
Change-Id: I0136e7efeb374b605ed29ee8b3f550ec2bd2c356
2012-11-20 04:01:09 -08:00
Svetoslav Ganov
e9812bae0e Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev 2012-11-19 15:50:19 -08:00
Svetoslav Ganov
7018cfdc05 Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
2012-11-19 15:20:27 -08:00
Fabrice Di Meglio
b920b40510 am e784ae8e: am d689e8c3: am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'e784ae8e6a0eab3d29afc9b19f65714e7b268b97':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 15:17:30 -08:00
Fabrice Di Meglio
e784ae8e6a am d689e8c3: am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'd689e8c3a05f3b200d19879bdc169e6ad6e0436b':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 15:14:02 -08:00
Daniel Sandler
aaec726948 Notification vibration improvements: [DO NOT MERGE]
- When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
2012-11-19 15:12:24 -08:00
Fabrice Di Meglio
d689e8c3a0 am b0f895b3: Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev
* commit 'b0f895b330d0d2b6725e7deee158ff20ed9155f8':
  Fix Javadoc for View layoutDirection / textDirection / textAlignment
2012-11-19 14:31:02 -08:00
Fabrice Di Meglio
b0f895b330 Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev 2012-11-19 14:27:45 -08:00
Jesse Hall
16823bd611 Process all display events in order
Display events in each batch received from IPC were being processed in
reverse order, and stopped after the first vsync event (latest
chronologically) was handled. This makes perfect sense for vsync
events, but is broken for hotplug events.

Now we process them all in order, handling all except vsync as we see
them. For vsync events, only the last is reported.

Bug: 7491120
Change-Id: I04528fea8f38c1013734d4aa92fb1955ac24d7cc
2012-11-19 10:53:26 -08:00
Mattias Falk
eb573418a7 Re-read shortcut labels if the language has changed
The shortcut label isn't updated to the current language
if the phone's language has changed.

The problem was that the shortcut label is stored in a
static variable which is set once and kept throughout the
life time of the process.

Change-Id: I89c5875fbf28fb82e073166c472ca205d28674fb
2012-11-19 09:31:19 +01:00
Baligh Uddin
dd6073bab8 Merge "Import translations. DO NOT MERGE" 2012-11-16 17:39:19 -08:00
Baligh Uddin
0505b8bfab am 17936f01: Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit '17936f0187d4f410a54d32cdc1915e38227d95a0':
  Import translations. DO NOT MERGE
2012-11-16 17:38:10 -08:00
Baligh Uddin
3a3a84e4d6 Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev 2012-11-16 17:38:07 -08:00
Baligh Uddin
17936f0187 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-11-16 17:35:08 -08:00
Craig Mautner
b1ef36965b Refactor unused methods and unnecessary members.
ImageWallpaper runs on the main thread now and doesn't need to add
callbacks on different threads or lock against concurrent access.

Bug 7326921 fixed.

Change-Id: I6097e1dff8af743a4fb81b697efee0e02667125b
2012-11-16 17:31:04 -08:00
Fabrice Di Meglio
f18feecee4 am 62107ce4: am 13fbac66: am 1f33e642: Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev
* commit '62107ce46c862fff2ee024862164b588400a6343':
  Fix keyguard pin/simpin/simpuk RTL-ization
2012-11-16 16:45:26 -08:00
Fabrice Di Meglio
62107ce46c am 13fbac66: am 1f33e642: Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev
* commit '13fbac66314322740703006be23a55e581e21fcf':
  Fix keyguard pin/simpin/simpuk RTL-ization
2012-11-16 16:42:26 -08:00
Fabrice Di Meglio
13fbac6631 am 1f33e642: Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev
* commit '1f33e6422ea80d6caba44dd05403b137c219938a':
  Fix keyguard pin/simpin/simpuk RTL-ization
2012-11-16 16:38:55 -08:00
Fabrice Di Meglio
1f33e6422e Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev 2012-11-16 16:36:00 -08:00
Michael Jurka
3a22636222 am 3366a5d5: am cf474b1a: am 7b0c8779: Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev
* commit '3366a5d54eccbbe861bcc765653664d80eae5398':
  Delete appWidgetId when removing lockscreen widgets
2012-11-16 15:37:08 -08:00
Michael Jurka
3366a5d54e am cf474b1a: am 7b0c8779: Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev
* commit 'cf474b1a10a1349d0d6d6f7cbb5d48489bacfb09':
  Delete appWidgetId when removing lockscreen widgets
2012-11-16 15:34:20 -08:00
Michael Jurka
cf474b1a10 am 7b0c8779: Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev
* commit '7b0c877959ee15c766cc7366ec6b4c024c211cd6':
  Delete appWidgetId when removing lockscreen widgets
2012-11-16 15:31:07 -08:00
Michael Jurka
75b5cfb4a4 Delete appWidgetId when removing lockscreen widgets
Bug: 7550012

Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e
2012-11-16 15:22:06 -08:00
Jim Miller
05163aa3d5 Fix keyguard pin/simpin/simpuk RTL-ization
This fixes the PIN, SIM PIN, and SIM PUK keyboards to keep the keys in the same
position for all languages.

Fixes bug 7538528

Change-Id: Ib07e89e9496e6c5b91c1bbda7781eddeddea0554
2012-11-16 14:56:57 -08:00
Baligh Uddin
640b4e3375 Import translations. DO NOT MERGE
Change-Id: I9520d2f1f2215616a49322d25111f9300edb20b1
Auto-generated-cl: translation import
2012-11-16 14:00:53 -08:00
Baligh Uddin
116133a2a6 Import translations. DO NOT MERGE
Change-Id: I8187a141a3949c9c1678912b13267b21398a6c5e
Auto-generated-cl: translation import
2012-11-16 13:51:42 -08:00
Baligh Uddin
9d45abd4aa Import translations. DO NOT MERGE
Change-Id: I90b5f538f6faf18d571907acaa96372894619c87
Auto-generated-cl: translation import
2012-11-16 13:49:29 -08:00