83221 Commits

Author SHA1 Message Date
Baligh Uddin
9775ed3792 am 73025eda: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '73025eda13e19672534974efa06d1e2313bceb30':
  Import translations. DO NOT MERGE
2012-08-14 11:07:58 -07:00
Baligh Uddin
73025eda13 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-14 11:05:27 -07:00
Baligh Uddin
75900f7d89 Import translations. DO NOT MERGE
Change-Id: Ic8830e8e351d93506427aabed4f527dfe2f5888f
Auto-generated-cl: translation import
2012-08-14 11:05:04 -07:00
Chiao Cheng
667cf4158a am 472f4161: Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev
* commit '472f41614044cc40e89b76f2200b57bc28c7ddae':
  Adding limit and offset query parameters to CallLog.
2012-08-14 10:55:56 -07:00
Chiao Cheng
472f416140 Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev 2012-08-14 10:53:19 -07:00
Wink Saville
9328aa84fa am 215ccb32: am d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit '215ccb32c74a41569ddcb203aa802201e40bb386':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:47:18 -07:00
Wink Saville
215ccb32c7 am d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit 'd660b610c8b98d23263d3863ae8438a569597a16':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:44:50 -07:00
Wink Saville
d660b610c8 am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit '116748d0d16f8e747fdfdaf2326d9a58bb2317d5':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:42:50 -07:00
Chet Haase
bd94e98f6a am e8165ac5: Merge "Optimize interactions with glyph cache" into jb-mr1-dev
* commit 'e8165ac5fdd95ddcf65309b4225f55074b12ccc4':
  Optimize interactions with glyph cache
2012-08-14 10:41:31 -07:00
Wink Saville
116748d0d1 Merge "show 3G icon for CDMA/1xRTT" into jb-dev 2012-08-14 10:40:34 -07:00
Chet Haase
e8165ac5fd Merge "Optimize interactions with glyph cache" into jb-mr1-dev 2012-08-14 10:38:45 -07:00
Chet Haase
e816baea65 Optimize interactions with glyph cache
There are two fixes here:
- precaching: instead of caching-then-drawing whenever there is a new
glyph, we cache at DisplayList record time. Then when we finally draw that
DisplayList, we just upload the affected texture(s) once, instead of once
per change. This is a huge savings in upload time, especially when there are
larger glyphs being used by the app.
- packing: Previously, glyphs would line up horizontally on each cache line, leaving
potentially tons of space vertically, especially when smaller glyphs got put into cache
lines intended for large glyphs (which can happen when an app uses lots of unique
glyphs, a common case with, for example, chinese/japanese/korean languages). The new
approach packs glyphs vertically as well as horizontally to use the space more efficiently
and provide space for more glyphs in these situations.

Change-Id: I84338aa25db208c7bf13f3f92b4d05ed40c33527
2012-08-14 10:33:30 -07:00
Madan Ankapura
5333400bd5 show 3G icon for CDMA/1xRTT
when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
2012-08-14 10:17:54 -07:00
Narayan Kamath
31d68f4268 am 9c3d7a88: Fixes to TextToSpeechService#synthesizeToFile
* commit '9c3d7a888d0c5c09f0153e81018ff68aa6e91712':
  Fixes to TextToSpeechService#synthesizeToFile
2012-08-14 08:41:23 -07:00
Narayan Kamath
8df5472b64 am ed4e541a: Fix bug in BlockingAudioTrack.
* commit 'ed4e541a20cc662b8399844684d18ad0060bd1cb':
  Fix bug in BlockingAudioTrack.
2012-08-14 08:39:40 -07:00
Narayan Kamath
9c3d7a888d Fixes to TextToSpeechService#synthesizeToFile
- Fixes a strict mode violation, defers file validity checks
  to when the engine starts synthesizing audio.
- Fixes some log spam when done() is called twice.

bug:6215680
bug:5415258
Change-Id: I4001be848b5208422d4091b7398e94ed311c649f
2012-08-14 08:38:26 -07:00
Narayan Kamath
ed4e541a20 Fix bug in BlockingAudioTrack.
Will be seen when createStreamingAudioTrack() returns null,
which will happen if the audioflinger / audiomanager are unhealthy.

Also removes some confusing synchronization from this class.

bug:6636401
Change-Id: Iaf68a305665b7bc973898145e9cd1563e2569a2b
2012-08-14 08:36:27 -07:00
Daniel Sandler
b7b6f8200d am a6aef1bb: Merge "New status bar capable of multiple sliding panels." into jb-mr1-dev
* commit 'a6aef1bbb4382fa5f89d0b7ad2cc46be4c6de1e7':
  New status bar capable of multiple sliding panels.
2012-08-14 07:58:54 -07:00
Steve Block
3d93562115 am 27f3e32e: Clarify JavaDoc for WebView.loadData()
* commit '27f3e32ee181ccd809fbe74ec5f7fb43aea197f7':
  Clarify JavaDoc for WebView.loadData()
2012-08-14 07:57:02 -07:00
Daniel Sandler
a6aef1bbb4 Merge "New status bar capable of multiple sliding panels." into jb-mr1-dev 2012-08-14 07:56:44 -07:00
Steve Block
27f3e32ee1 Clarify JavaDoc for WebView.loadData()
Bug: 5461416
Change-Id: I3f0955677ea64bb4073c97aabea34096298cd710
2012-08-14 15:54:35 +01:00
Matthew Xie
3fe98084e6 am 58de1427: Merge "Implement enableNoAutoconnect()" into jb-mr1-dev
* commit '58de1427c313e0debf2a929931e8c4065d4d46c5':
  Implement enableNoAutoconnect()
2012-08-14 00:39:16 -07:00
Matthew Xie
58de1427c3 Merge "Implement enableNoAutoconnect()" into jb-mr1-dev 2012-08-14 00:37:01 -07:00
Ganesh Ganapathi Batta
fffa86ba83 Implement enableNoAutoconnect()
Adding enableNoAutoconnect() API support in Bluetooth service
 to let BT enable in quiet mode

Change-Id: I546f3ceb298082a9c9a698f406379470e3cc0d4f
2012-08-14 00:18:07 -07:00
Jeff Brown
adeadda202 am caaeda95: Merge "Add a toString() method to Sensor for debugging purposes." into jb-mr1-dev
* commit 'caaeda955bd80df9d9ab310e7ab504865a2e32e9':
  Add a toString() method to Sensor for debugging purposes.
2012-08-13 23:17:24 -07:00
Jeff Brown
caaeda955b Merge "Add a toString() method to Sensor for debugging purposes." into jb-mr1-dev 2012-08-13 23:14:56 -07:00
Mike Lockwood
c18184f14d am 510cff94: am f02354e2: am 9064a483: Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"
* commit '510cff946874b8408664c86f9935d6a38f770e82':
  Added missing USB_DEVICE_ATTACHED broadcast to running Activity
2012-08-13 20:46:32 -07:00
Mike Lockwood
510cff9468 am f02354e2: am 9064a483: Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"
* commit 'f02354e208ec7b7e0dee68e12c0b5cde86a0f20a':
  Added missing USB_DEVICE_ATTACHED broadcast to running Activity
2012-08-13 20:45:04 -07:00
Mike Lockwood
f02354e208 am 9064a483: Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity"
* commit '9064a48365c131ef5f64b26ab33dd40a7d1246a7':
  Added missing USB_DEVICE_ATTACHED broadcast to running Activity
2012-08-13 20:42:42 -07:00
Mike Lockwood
9064a48365 Merge "Added missing USB_DEVICE_ATTACHED broadcast to running Activity" 2012-08-13 19:59:38 -07:00
Joe Malin
ad4abf7dca am 863b19bc: Merge "Bug 6954576: Typos and errors in topic" into jb-mr1-dev
* commit '863b19bc8fcfa436011781b67a237fcce3cb703a':
  Bug 6954576: Typos and errors in topic
2012-08-13 18:05:02 -07:00
Nick Kralevich
f5fb3bdf7c am ab7cd91a: Merge "Spelling." into jb-mr1-dev
* commit 'ab7cd91a799bb1eb3410045f1449642179a4a76e':
  Spelling.
2012-08-13 18:02:19 -07:00
Joe Malin
863b19bc8f Merge "Bug 6954576: Typos and errors in topic" into jb-mr1-dev 2012-08-13 18:02:16 -07:00
Christopher Tate
f5c0cf9083 am bf7d2220: Merge "Don\'t back up / restore non-primary users\' data" into jb-mr1-dev
* commit 'bf7d222011bcb417a2d6ab0f086b25e1608445cb':
  Don't back up / restore non-primary users' data
2012-08-13 18:00:42 -07:00
Nick Kralevich
ab7cd91a79 Merge "Spelling." into jb-mr1-dev 2012-08-13 17:59:55 -07:00
Christopher Tate
bf7d222011 Merge "Don't back up / restore non-primary users' data" into jb-mr1-dev 2012-08-13 17:58:40 -07:00
Nick Kralevich
13cd6420a0 Spelling.
Change-Id: Ie69d99139355b66e9bb62087cd5f6cd677a51cfa
2012-08-13 17:52:17 -07:00
Christopher Tate
aac71ff465 Don't back up / restore non-primary users' data
For now only the device owner "user" gets cloud backups.  Also, only the
device owner account has access to local backup/restore.

Bug 6956438

Change-Id: I87d7ba5969e606c23f4214469f9bf2fd47a6c61b
2012-08-13 17:36:14 -07:00
Wink Saville
f069c7f58d am ae5ac108: Merge "Fix build." into jb-mr1-dev
* commit 'ae5ac108b03214e02781a92592f7913ada8ef2d4':
  Fix build.
2012-08-13 17:34:07 -07:00
Wink Saville
ae5ac108b0 Merge "Fix build." into jb-mr1-dev 2012-08-13 17:30:57 -07:00
Dianne Hackborn
fd96eb05ba am 1866f68d: Merge "Modify how the background process LRU list is handled." into jb-mr1-dev
* commit '1866f68dfe35da46995e5f2321f33e8fee44bcf8':
  Modify how the background process LRU list is handled.
2012-08-13 17:17:11 -07:00
Dianne Hackborn
dabd459f90 am 87c42b99: Merge "Small service cleanup." into jb-mr1-dev
* commit '87c42b9978bde888c3fd2d94e9d52256e56c3187':
  Small service cleanup.
2012-08-13 17:17:07 -07:00
Dianne Hackborn
1866f68dfe Merge "Modify how the background process LRU list is handled." into jb-mr1-dev 2012-08-13 17:15:04 -07:00
Dianne Hackborn
87c42b9978 Merge "Small service cleanup." into jb-mr1-dev 2012-08-13 17:14:04 -07:00
Dianne Hackborn
f88dd0b32e Small service cleanup.
Get rid of duplication between find/retrieve service funcs; when
a service in a persistent process crashes, restart it immediately
since the persistent process is going to be immediately restarted
anyway; when a new process is attaching, immediately restart any
services associated with it that are waiting to restart, since
it is weird to not let them run if the process comes back for some
other reason.

Change-Id: Id087fe04ebf2b6a4bd00732796c8326364765ea7
2012-08-13 17:11:47 -07:00
Dianne Hackborn
ee7621c0f5 Modify how the background process LRU list is handled.
A long time ago, we had a concept of an "empty" process -- this was
a process that didn't have any interesting components in it, which
would be placed below everything else in the LRU list.

Empty processes didn't work out well, because you could get into
bad situations where you have filled your LRU list with things that
have hidden activities, pushing empty processes to the bottom and
being immediately killed as soon as they go into the list.  So this
was removed.

This change brings the concept back, but in a slightly different
form, to address a more specific problem: for people who are switching
between N different applications, we would like to try to keep those
activities available in RAM in a consistent manner.  Currently the
previous activities would be killed often quickly and suprisingly,
even on devices with lots of RAM.  This is for two reasons:

(1) As you sit in one application, other things going on in the
background will go to the top of the LRU list, pushing down the
previous apps you have visited, even though you aren't aware at all
of these other things executing.
(2) There is a hard limit on the number of background processes
(currently 16) after which they are killed regardless of the amount
of available RAM.  This is desireable because if there is lots of
RAM we can end up with tons and tons of processes sitting around,
not really serving any purpose, but using up resources.

To improve the situation, we have again a concept of "empty" processes
but now it means one with no activities.  Processes that aren't empty
but in the background list are called hidden.  We maintain these as
two parallel lists, each getting half of the process limit: so with
a 16 process limit, you can have at most 8 empty and 8 hidden processes.

This allows us to consistently keep up to 8 recent applications around
for fast app switching; we will also keep around 8 other processes to
make it more efficient for background work to execute again if it needs
to.

Change-Id: Iee06e45efc20787da6a1e50020e5421c28204bd7
2012-08-13 17:09:19 -07:00
Peter Ng
7e78eb0d9f am 806d53c3: am 55ed7e34: am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '806d53c3db6588920e3d704b184c9b7e9474338d':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 17:01:08 -07:00
Peter Ng
d6bbf913fe am 97b6f6cf: am ab0b9a9e: am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit '97b6f6cf9ad5c24e3626b69070e92e36d5173b14':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 17:00:59 -07:00
Peter Ng
806d53c3db am 55ed7e34: am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '55ed7e34b981e9725f664587c6ca1f43d78c3f6e':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 16:59:07 -07:00
Peter Ng
97b6f6cf9a am ab0b9a9e: am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit 'ab0b9a9e4ec14d556d4c831168e09714c795fa4a':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 16:58:59 -07:00