4286 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Fabrice Di Meglio
fdc6e4a603 Merge "Make SystemUI RTL aware" 2013-01-08 16:16:42 -08:00
Fabrice Di Meglio
cda096ebf3 Make SystemUI RTL aware
- mirror network signal icons
- force icons refresh

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

Change-Id: I8e5c729c20c5b526c370ad142632bebeefb64198
2013-01-08 15:02:26 -08:00
Dianne Hackborn
c1b3d21306 am 53d99836: am 26c00dec: am b2d3904b: Merge "Setting the default value for dock audio"
* commit '53d998368c6c6107c6d18de945f4dfee482e6f91':
  Setting the default value for dock audio
2013-01-08 10:27:08 -08:00
Dianne Hackborn
26c00decb4 am b2d3904b: Merge "Setting the default value for dock audio"
* commit 'b2d3904b0d0f02b3eddef1d228724b99962cba56':
  Setting the default value for dock audio
2013-01-07 13:26:38 -08:00
Chris Wren
64161ccb2f add logging to debug panel touches.
Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
2013-01-07 14:25:58 -05:00
Baligh Uddin
9253122b13 Import translations. DO NOT MERGE
Change-Id: Id2fc7ebb708403110bd12d46f21f2d110e5d75a7
Auto-generated-cl: translation import
2013-01-02 12:15:44 -08:00
Dmytro Dubovyk
729f6685f9 Setting the default value for dock audio
There was no default value for parameter "dock_audio_media_enabled"
in global settings and because of that it couldn't be obtained before
Settings app first start and improper actions, such as FORCE_NONE
sending to AudioSystem instead of FORCE_ANALOG_DOCK, were taken.
This patch sets default value to 'true'.

Change-Id: Idbe343519db15f806f3a237e8b39f8420b9edde1
Signed-off-by: Dmytro Dubovyk <dmytro.dubovyk@ti.com>
2012-12-19 11:14:38 +02:00
Fabrice Di Meglio
8afcd14997 Make SystemUI RTL aware
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
2012-12-17 17:03:09 -08:00
Amith Yamasani
912f01865a am 68c30860: am 73f24ae1: am 9a147340: Merge "Don\'t update global table when upgrading secondary users\' database." into jb-mr1.1-dev
* commit '68c308607b01bafd31c91572a81f4563e2199260':
  Don't update global table when upgrading secondary users' database.
2012-12-12 11:46:41 -08:00
Amith Yamasani
68c308607b am 73f24ae1: am 9a147340: Merge "Don\'t update global table when upgrading secondary users\' database." into jb-mr1.1-dev
* commit '73f24ae1d9992cf70cb05bc319d12478b2c49566':
  Don't update global table when upgrading secondary users' database.
2012-12-12 11:43:21 -08:00
Amith Yamasani
2d43fabaf7 Don't update global table when upgrading secondary users' database.
Bug: 7722149
Change-Id: I0c1373cba316b924701136579083274eb6c9b1da
2012-12-12 09:52:26 -08:00
Jeff Brown
ace7404de8 resolved conflicts for merge of d7337fb9 to master
Change-Id: I51dedcc5ee521e62ad6101c0b09e4f881b8c4bf0
2012-12-11 15:21:02 -08:00
Jeff Brown
d7337fb97a am 3781523b: am eaae7d97: Merge "Play a tone when wireless charging begins." into jb-mr1.1-dev
* commit '3781523becbb2d576761c2701763ff3588294a97':
  Play a tone when wireless charging begins.
2012-12-11 14:19:41 -08:00
Jeff Brown
84e2756c0f Play a tone when wireless charging begins.
Only plays a tone if the battery level is below 95% which
is the same heuristic used when determining whether to turn
the screen on.

Use new low battery and wireless charging sounds on Mako.

Bug: 7371658
Change-Id: Ia4527ec398d024ee418a4287e1fcbf0ec83bcc24
2012-12-11 12:55:03 -08:00
Baligh Uddin
151cb90c60 Merge "Import translations. DO NOT MERGE" 2012-12-10 20:42:38 -08:00
Wink Saville
e2d2877aa4 am 879723dd: am e22217c2: Merge "Telephony: Use IccUtils from uicc package"
* commit '879723dd2d89238bdd6c9e126e4c7a4418469c84':
  Telephony: Use IccUtils from uicc package
2012-12-10 15:19:41 -08:00
Wink Saville
879723dd2d am e22217c2: Merge "Telephony: Use IccUtils from uicc package"
* commit 'e22217c2787b0f4967b357d080d49a7f095b2db9':
  Telephony: Use IccUtils from uicc package
2012-12-10 14:48:21 -08:00
Alex Yakavenka
5d35fcfc32 Telephony: Use IccUtils from uicc package
Change-Id: I80204a2f3dc57cac875abeab390bb9db7a636ff7
2012-12-10 10:35:08 -08:00
Baligh Uddin
c092b8d3cf Import translations. DO NOT MERGE
Change-Id: Ie6f2c7d8008afc642ca538f48d673333f723c086
Auto-generated-cl: translation import
2012-12-10 09:33:35 -08:00