4473 Commits

Author SHA1 Message Date
Svetoslav Ganov
b88dd64f38 am 88a23f2f: Merge ""Fixing backwards cmpatibility for enabling explore by touch"""
# Via Android (Google) Code Review (1) and Svetoslav Ganov (1)
* commit '88a23f2f70222459f057ec8a6bbe8eccc8a7b549':
  "Fixing backwards cmpatibility for enabling explore by touch""
2013-02-01 12:31:20 -08:00
Svetoslav Ganov
447d94684e "Fixing backwards cmpatibility for enabling explore by touch""
This reverts commit d1ed3cea37e4156eab14b7dc8207a520c9eab700

Change-Id: I622ef034526f8f006a5a233e72487b062020e4f6
2013-02-01 12:24:42 -08:00
Mike Cleron
08fffce842 am 0214f205: Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch""
# Via Android (Google) Code Review
* commit '0214f205f619ebc23b5069880afdb09259b0ced7':
  Revert "Fixing backwards cmpatibility for enabling explore by touch"
2013-02-01 11:00:37 -08:00
Mike Cleron
0214f205f6 Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch"" 2013-02-01 18:57:23 +00:00
Mike Cleron
d1ed3cea37 Revert "Fixing backwards cmpatibility for enabling explore by touch"
This reverts commit 0a9c7c144671f70f5f1af222050bd3ec6b11fe41

Change-Id: I8da530a6d0a57163522d5a63326e787a8d22ecbf
2013-02-01 18:36:41 +00:00
Baligh Uddin
91d89e068a Import translations. DO NOT MERGE
Change-Id: Idcb01f885685ad99a7ae9cc3ca30a2422b9ffaf6
Auto-generated-cl: translation import
2013-02-01 07:48:09 -08:00
Svetoslav
1ec0ccafa1 am 97273d50: Merge "Fixing backwards cmpatibility for enabling explore by touch"
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '97273d50ce5b5689a1c787ebfed2ba3927de085a':
  Fixing backwards cmpatibility for enabling explore by touch
2013-02-01 00:55:43 -08:00
Svetoslav
0a9c7c1446 Fixing backwards cmpatibility for enabling explore by touch
Change-Id: I8cbc4f03223d289547e3f3f6d1f528ad5b4f6f72
2013-02-01 00:47:29 -08:00
Svetoslav
62d595216b am ec695824: Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'ec695824af7ab263eaae613b87f2c0b24f176f91':
  Remove "enhance web scripts" from settings and make it requested by plug-ins.
2013-01-30 21:40:20 -08:00
Svetoslav
ec695824af Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins." 2013-01-31 03:16:59 +00:00
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