4463 Commits

Author SHA1 Message Date
Baligh Uddin
2df86316a3 Import translations. DO NOT MERGE
Change-Id: Ie7f5b90ff75d3ee01dbfd824cf6b3d7ecb4c2c9b
Auto-generated-cl: translation import
2013-01-30 09:24:43 -08:00
Svetoslav
3822896e22 Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).

To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.

Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.

It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.

bug:8089372

Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 13:56:22 -08:00
Romain Guy
55dccf3e98 am 29e4aa7a: Merge "Reinitialize hardware renderer after eglTerminate() Bug #8066455"
# Via Android (Google) Code Review (1) and Romain Guy (1)
* commit '29e4aa7abe6b0c62f31fb23b8572cd5b91f08f5c':
  Reinitialize hardware renderer after eglTerminate() Bug #8066455
2013-01-28 14:10:16 -08:00
Romain Guy
3696779bca Reinitialize hardware renderer after eglTerminate()
Bug #8066455

ViewRootImpl was properly detecting that the renderer was not
ready to draw but would simply schedule another frame, thus sending
the systemui into an inifite redraw loop. This change reinitializes
the renderer if needed (if the renderer is requested but not enabled.)

This CL also fixes an issue caused by the default wallpaper. Since it
never calls eglTerminate(), managed contexts are never reclaimed.

Change-Id: Idb8caa672be8ee35f6e6a7e942d9abd8aa100967
2013-01-28 14:04:07 -08:00
Fabrice Di Meglio
5ba8552913 am de71ce1a: Merge "Fix recent apps item text position in RTL mode"
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit 'de71ce1ab3cda6030b5838f4cadb4fe974d522c2':
  Fix recent apps item text position in RTL mode
2013-01-24 13:52:54 -08:00
Fabrice Di Meglio
965ce78eb5 am 5e3b0452: Merge "Fix SystemUI navigation bar in RTL mode"
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit '5e3b0452667e2f73b16bfffde873334525582308':
  Fix SystemUI navigation bar in RTL mode
2013-01-24 13:51:32 -08:00
Fabrice Di Meglio
de71ce1ab3 Merge "Fix recent apps item text position in RTL mode" 2013-01-24 21:49:45 +00:00
Fabrice Di Meglio
5e3b045266 Merge "Fix SystemUI navigation bar in RTL mode" 2013-01-24 21:46:33 +00:00
Dianne Hackborn
7af76f20cd am d8ba6cc9: Merge "Add new API to propagate contextual data to the assist action"
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit 'd8ba6cc9217e2e042106870e9d2e70cfd80426d6':
  Add new API to propagate contextual data to the assist action
2013-01-23 14:51:07 -08:00
Dianne Hackborn
d8ba6cc921 Merge "Add new API to propagate contextual data to the assist action" 2013-01-23 22:47:57 +00:00
Dianne Hackborn
f9c5e0fe83 Add new API to propagate contextual data to the assist action
When launching an assist, we have a new API allowing the
current foreground activity/application to provide additional
arbitrary contextual information that is stuffed in the
assist intent before it is launched.

Change-Id: I0b2a6f5a266dc42cc0175327fa76774f814af3b4
2013-01-23 14:39:13 -08:00
Winson Chung
0c40362838 am 79703fa0: Merge "Cleaning up listeners and AsyncTasks."
# Via Android (Google) Code Review (1) and Winson Chung (1)
* commit '79703fa00cc9820ec004555f843880e3b60e5815':
  Cleaning up listeners and AsyncTasks.
2013-01-23 14:13:54 -08:00
Winson Chung
0e6232c746 Cleaning up listeners and AsyncTasks.
Change-Id: I97dc44c93590764e1f9c6708ac2a9e30f65e1c8f
2013-01-22 14:39:17 -08:00
Fabrice Di Meglio
568b9f7845 Fix recent apps item text position in RTL mode
- use "viewStart" as text alignment

Change-Id: Ib5cbecfcafa5f51deb2394a67fd64c1a254700bd
2013-01-22 14:33:13 -08:00
HeyRatFans
4037ce3c01 frameworks/base: Added English UK keyboard layout for physical keyboards
Change-Id: Id6feb128964c76ebd74b3e0d67d8f90fedb91dda
2013-01-22 22:22:54 +00:00
Fabrice Di Meglio
e4b52e59ec am d859e708: Merge "Fix SystemUI navigation bar recent icon loading in landscape mode"
* commit 'd859e7088ad3e529f322b346ea5fb84e1a07d9ed':
  Fix SystemUI navigation bar recent icon loading in landscape mode
2013-01-17 15:11:56 -08:00
Fabrice Di Meglio
d859e7088a Merge "Fix SystemUI navigation bar recent icon loading in landscape mode" 2013-01-17 23:09:50 +00:00
Daniel Sandler
d24af482b6 am c51d96a9: Merge "Stop redrawing the nav bar any time you touch the screen."
* commit 'c51d96a95b3d1454a9fdc831ff3deb02c5150f0d':
  Stop redrawing the nav bar any time you touch the screen.
2013-01-17 13:41:10 -08:00
Daniel Sandler
c51d96a95b Merge "Stop redrawing the nav bar any time you touch the screen." 2013-01-17 21:38:57 +00:00
Baligh Uddin
ccb9f5b66e Merge "Import translations. DO NOT MERGE" 2013-01-17 21:30:29 +00:00
Daniel Sandler
4f6ec7fd64 Stop redrawing the nav bar any time you touch the screen.
Bug: 7297091
Change-Id: I77659b9c4677cd01eccb85aaeeb6d8bf5ec9c9d5
2013-01-17 16:02:36 -05:00
Fabrice Di Meglio
b714100560 Fix SystemUI navigation bar in RTL mode
In LTR mode the navigation bar is:

- portrait (from left to right) : Back | Home | Recent Apps | Menu
- landscape (from top to bottom) : Menu | Back | Home | Recent Apps

This is kinda horizontally / vertically "pivoting +90 degrees" around the Recent Apps button.

In RTL mode, we had:

- portrait: Menu | Recent Apps | Home | Back
- landscape: Menu | Recent Apps | Home | Back

to make it similar to the LTR mode, we should have a rotation of -90 degrees around the Recent Apps button:

- landscape: Menu | Back | Home | Recent Apps

Change-Id: I9de511383b632ae8dea1396e9152109cc8a57c27
2013-01-17 11:26:18 -08:00
Fabrice Di Meglio
18d9824be0 Fix SystemUI navigation bar recent icon loading in landscape mode
- load the correct landscape asset when needed (the portrait one was used in
both portrait and landscape modes)

Change-Id: I27d2aad993ee78c5a0c4a5f834e2a7f1f852cfa9
2013-01-17 10:57:40 -08:00
Winson Chung
49baa7d9d8 am 103bc334: Merge "Clearing screenshot bitmap references and recycling bitmap data immediately after saving. (Bug 7974275)"
* commit '103bc3342efe2a8a9a3a26f2e115bd1b58e0ed77':
  Clearing screenshot bitmap references and recycling bitmap data immediately after saving. (Bug 7974275)
2013-01-16 16:31:22 -08:00
Winson Chung
103bc3342e Merge "Clearing screenshot bitmap references and recycling bitmap data immediately after saving. (Bug 7974275)" 2013-01-17 00:27:24 +00:00
Jeff Sharkey
fb613a5b3d am d05efe72: Merge "Create directory on background thread."
* commit 'd05efe727b61e321a6c2720166988d52629c050c':
  Create directory on background thread.
2013-01-16 15:18:09 -08:00
Jeff Sharkey
d05efe727b Merge "Create directory on background thread." 2013-01-16 23:09:48 +00:00
Jeff Sharkey
80b54ded74 Create directory on background thread.
Bug: 7726949
Change-Id: I707431075055cddb8da2c2bca37e91a846938dce
2013-01-16 15:07:37 -08:00
Jeff Sharkey
a258db75ce am b34cbc1f: Merge "Create screenshot directory if missing."
* commit 'b34cbc1f663ab59a693abfb4dba0d66799fdd456':
  Create screenshot directory if missing.
2013-01-16 15:03:26 -08:00
Winson Chung
cd6a9ef58c Clearing screenshot bitmap references and recycling bitmap data immediately after saving. (Bug 7974275)
Change-Id: Icb71d28eb80105757026d7fac530db936b327500
2013-01-16 15:01:11 -08:00
Jeff Sharkey
b34cbc1f66 Merge "Create screenshot directory if missing." 2013-01-16 23:01:10 +00:00
Jeff Sharkey
149e02cb61 Create screenshot directory if missing.
Also use File to build paths instead of String template.

Bug: 7726949
Change-Id: I9aa0e6a0890c5450fe11e8007f8f4cb2e3287256
2013-01-16 14:39:20 -08:00
Baligh Uddin
b13e2eb46e Import translations. DO NOT MERGE
Change-Id: I8798175fdbe28807f866875a002d8bf3e028c66e
Auto-generated-cl: translation import
2013-01-16 09:54:01 -08:00
Chris Wren
63ed1663df am 59f733ac: Merge "port system ui over to new ICU date formatting API."
* commit '59f733acc4b8a3252aa7587790610c9dae62e9d7':
  port system ui over to new ICU date formatting API.
2013-01-15 14:22:41 -08:00
Chris Wren
56018e577e port system ui over to new ICU date formatting API.
Bug: 7288134
Change-Id: Icea2ff96fd91c6db66b3aad6f6653b21203351b1
2013-01-15 17:14:48 -05:00
Elliott Hughes
6a2650db99 am 5bd48b52: am 67ae48f3: am fc91d730: am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."
* commit '5bd48b528e6477c2c3d318cb71cef861392b1b8a':
  Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
2013-01-14 19:30:20 -08:00
Elliott Hughes
5bd48b528e am 67ae48f3: am fc91d730: am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."
* commit '67ae48f32545791fe0a0574f02bfe714e106074b':
  Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
2013-01-14 19:28:20 -08:00
Elliott Hughes
fc91d73067 am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."
* commit 'cbfece8237cb9cf62547e75ab9572ccbf682369a':
  Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
2013-01-14 19:23:48 -08:00
Elliott Hughes
cbfece8237 Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c." 2013-01-14 17:01:52 -08:00
Elliott Hughes
4caba61ea0 Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
I removed the duplication in DateTimeView rather than fix that copy
of the code.

Bug: 7924970
Change-Id: I60c205d06ad3b50fd2f5d5fc432e4eb186f9c0e7
2013-01-14 15:48:27 -08:00
Fabrice Di Meglio
3ec9eee241 am 7a4ffa42: Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"
* commit '7a4ffa420ca0fc81340df1c3c6a25b3e68ff99b8':
  Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
2013-01-14 10:37:13 -08:00
Fabrice Di Meglio
7a4ffa420c Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)" 2013-01-14 10:33:56 -08:00
Fabrice Di Meglio
c0cea0f519 Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
- mirror airplane mode off (GlobalActions), multi-users, adb connection icons
- update refresh code

Change-Id: I175dec33386c31d4de9028918a43eb6bcd9e9dfb
2013-01-11 16:49:30 -08:00
Christopher Tate
b7b994a66e am 91912983: Merge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings"
* commit '919129832daa12f44295bb2751dcc1ef08203413':
  Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings
2013-01-11 15:51:39 -08:00
Christopher Tate
919129832d Merge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings" 2013-01-11 15:48:01 -08:00
Christopher Tate
58f41ecfa5 Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings
Bug 7273591

Change-Id: I5790f9d18ddf22282144be1c2d96dd4d706caa14
2013-01-11 15:40:36 -08:00
Fabrice Di Meglio
24716eb147 am 7bb671ac: Merge "Make SystemUI RTL aware"
* commit '7bb671ac25d15eec79ade287c7415b8ab69b3455':
  Make SystemUI RTL aware
2013-01-11 15:23:32 -08:00
Fabrice Di Meglio
16b9f07e3a Make SystemUI RTL aware
- update RSSI icon when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I11d9f9d1cde09f0f3daa51e719ebc6dc91527002
2013-01-11 15:06:31 -08:00
Fabrice Di Meglio
f8093be096 am 978ad10c: Merge "Make SystemUI RTL aware"
* commit '978ad10cabd33b877d15e0e158b377abb6db3b1e':
  Make SystemUI RTL aware
2013-01-09 18:16:14 -08:00
Fabrice Di Meglio
82fca5d27d Make SystemUI RTL aware
- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f
2013-01-09 15:48:09 -08:00