57653 Commits

Author SHA1 Message Date
Russell Brenner
e8a7a72b96 Add Armenian and Georgian fonts
Add Armenian (25K) and Georgian (47K) to all devices.

Bug: 5240378
Change-Id: Ia16c6db54923eb9e27c931dfd2f3c3b052361307
2011-09-02 09:48:47 -07:00
Andreas Huber
69a5f6c3e0 Properly serialize access to FileSource::getSize by acquiring the mutex
Both ::getSize and ::read call into lseek64, if this happens simultaneously
from multiple threads the results are undefined if not properly serialized.

Change-Id: I737cafebd836f3d8eb702beac557b4731f69c6f6
related-to-bug: 5196490
2011-09-02 09:34:51 -07:00
Gilles Debunne
e90bed18cc Added an add to dictionary option in suggestions for misspelled words
Change-Id: I031f17a76b4a81ae375b778046b8c391f9b8b2b2
2011-09-02 09:04:26 -07:00
Mike Lockwood
db97f60054 Fix logic for power button overridding the "wait for prox negative state" after a call
When in a phone call, we keep the screen off while the prox sensor returns positive
and the device is oriented in a vertical position.
If the call is terminated on the other end, we keep the screen off
until the proximity sensor returns negative.
We do this to avoid having the screen turn on as soon as the other end
hangs up while the phone is still next to your head.

However, we allow the power button to wake the screen while waiting for the proximity
sensor to go negative as a precaution in case there is a problem with the proximity sensor.
But unfortunately that logic broke due to a change in the call path used to turn the screen
on from the power button (it previously called userActivity, now it uses a wake lock).
This change adds code to handle the new code path so the power button will wake the screen
while we are waiting for the proximity sensor to go negative after a call.

Bug: 5184524

Change-Id: I7d1e0f0d1f78680c552a05d68a392647823250ab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-02 11:59:08 -04:00
David 'Digit' Turner
382b88409c opengl: EGL: special case for GLES emulation
This patch modifies the library loaded in libEGL.so to
handle the case of GLES emulation as follows:

- if we detect that we run inside the emulator, check the
  GPU emulation status through ro.kernel.qemu.gles, which
  will be set to 1 if supported, or 0 otherwise.

  When trying to run on an older version of the emulator,
  the kernel parameter will not be defined at all.

- if GPU emulation is supported, use egl.cfg as usual.
  It will contain a line like "0 0 emulation" that will
  load libEGL_android.so appropriately.

- nothing is changed if we don't run inside the emulator.

NOTE: Ideally, we would modify libEGL_emulation.so to
      redirect all calls to libEGL_android.so in this case.

      However, this turns out to be extremely tedious to implement
      (too many functions with different signatures).

      As such,  it is much simpler to make the check before
      loading the library.

Change-Id: I9930bc168d9013cc8700feedc57b979384467c37
2011-09-02 15:41:13 +02:00
satok
bffb83e96c Merge "Add an option for the implicitly selected subtype" 2011-09-02 04:44:41 -07:00
satok
a86f5e448c Add an option for the implicitly selected subtype
Bug: 5057886
Change-Id: Iddde4724891501b4f18cade6a3d2c64b6124e58a
2011-09-02 20:27:38 +09:00
Dave Burke
1d477c53bf Merge "Require INTERNET permission for network-based content. Bug #1870981" 2011-09-02 03:30:53 -07:00
Dave Burke
fc301b0bb5 Require INTERNET permission for network-based content.
Bug #1870981

Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
2011-09-02 11:26:59 +01:00
satok
ee5e77cafe Make setAdditionalInputMethodSubtypes async
Bug: 5120261
Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
2011-09-02 19:22:50 +09:00
Chih-Chung Chang
8b1f350993 Fix 5240036: Generate a reasonable bitrate for intermediate clips.
Change-Id: I96bf9a7d0e2ce78fd19cce7bccbd4ac318748709
2011-09-02 18:19:54 +08:00
satok
117999d1f4 Make the spell checker session static
Change-Id: I66d51f33e005f46465232d3fc460cda0609609ea
2011-09-02 17:55:43 +09:00
satok
a2f69c914d Merge "Make the constructor of InputMethodSubtype hidden." 2011-09-01 23:22:55 -07:00
satok
3889e492bc Make the constructor of InputMethodSubtype hidden.
The constructor is not open sourced yet.

Change-Id: I69385b05cb3b5ee761a5ece9be877a8682c5fe55
2011-09-02 15:12:20 +09:00
Jeff Sharkey
15d161f61b Ensure appwidgets are loaded before usage.
Before accessing appwidget details, always ensure that configuration
is loaded from disk.

Change-Id: Ic71dd62fcdb1d1e5f7bae397efa8dce787434ba5
2011-09-01 22:35:19 -07:00
Jeff Sharkey
e916f70996 Fix notification ticker info text alignment.
Bug: 5215277
Change-Id: I8df97a56056cd79b44a69b1c8b9852e2082c87b9
2011-09-01 22:27:09 -07:00
Irfan Sheriff
1d5f9cdc46 Merge "Prepare for exposing p2p API" 2011-09-01 21:46:54 -07:00
Jeff Sharkey
9b69a04e24 Merge "Sample network statistics for sanity check." 2011-09-01 21:31:21 -07:00
Jeff Sharkey
c7f159e29f Merge "Selectively add stats based on iface active state." 2011-09-01 21:31:15 -07:00
Kristian Monsen
ff7130288f Merge "Close idle connections on pause timers" 2011-09-01 20:30:19 -07:00
Dianne Hackborn
c6acd688c0 Fix issue #4554429: API REVIEW: deprecate Live Folders
Change-Id: Iddb5a55866469d24a20cc61a28c4dbe146bfd0bf
2011-09-01 19:58:00 -07:00
James Dong
bd9d03010d Don't overwrite pending port setting change if there are more than one port setting change event.
Change-Id: I3413f5235b191031252aa3785f5aaef00caef1ce
related-to-bug: 5122512
2011-09-01 19:39:18 -07:00
Martijn Coenen
3433a8ae5a Fix Activity ref-leak in NFC dispatch API.
Change-Id: I7b1ee6927747b12eb94cfd6ece40c2c73003f07f
2011-09-01 19:19:29 -07:00
Mathias Agopian
a55c369e73 Merge "Fix various flickering / artifacts" 2011-09-01 18:57:57 -07:00
Mathias Agopian
ff57415bdb Fix various flickering / artifacts
these were due to the "preserve backbuffer" optimization
interfering with hw composer. basically the screen needed
to be redrawn in the areas that move from GL to
overlay.

Bug: 5245513
Change-Id: I9bf75c4fe905f3ef62005e52108b94edae692304
2011-09-01 18:56:54 -07:00
Svetoslav Ganov
17b0317e8d Merge "Accessibility events fired from AdapterView underpopulated." 2011-09-01 18:39:29 -07:00
Svetoslav Ganov
c48c47c820 Accessibility events fired from AdapterView underpopulated.
Accessibility events fired by an AdapterView did not report
the index of the first and last visible items, rather only
the total item count.

bug:5225039

Change-Id: I6931d82f0418c659f26e1e8a345da69da99690c5
2011-09-01 18:22:37 -07:00
Svetoslav Ganov
d5e6527f5f Merge "Polish of the accessibility feedback of Date and Time pickers" 2011-09-01 18:14:38 -07:00
Stephen Hines
79dd90c7bf Merge "Fix remaining .rs.dtor() issue for RS." 2011-09-01 18:10:37 -07:00
Stephen Hines
466bdc4008 Fix remaining .rs.dtor() issue for RS.
BUG=5186750

Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
2011-09-01 18:07:11 -07:00
Svetoslav Ganov
3fec3fe0e3 Polish of the accessibility feedback of Date and Time pickers
bug:5228006
bug:5228004

Change-Id: I927e3a6dcbf4f81eab6f506fc38842d8e7a37aa1
2011-09-01 18:04:27 -07:00
Adam Powell
01bc5f9063 Merge "FIX BUG 5244136 - HOLO LIST SEPARATOR TEXT DOES NOT SHOUT" 2011-09-01 18:00:56 -07:00
Gilles Debunne
f682a77d5e Popup windows positions are updated when a TextView is scrolled
The View's internal scroll was not triggering an update of the popup windows' positions.

Also fixes an update problem when a new long press moved the action popup window.

Change-Id: Ic3bb39fc55981c67db2a15ef2e90aad37a36d116
2011-09-01 18:00:52 -07:00
Mathias Agopian
804b532a62 Merge "fix another bug that prevented the gl debugger to work" 2011-09-01 17:52:21 -07:00
Mathias Agopian
4222092bd5 fix another bug that prevented the gl debugger to work
we didn't set the debug tls properly

Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
2011-09-01 17:50:52 -07:00
Kristian Monsen
64decc6082 Close idle connections on pause timers
Part of fix for bug 4487538 Current Drain

Change-Id: Ie957321d11ee3a94a5549aebb5be6e3cb444ebcf
2011-09-02 01:50:04 +01:00
Adam Powell
56dcbda3ee FIX BUG 5244136 - HOLO LIST SEPARATOR TEXT DOES NOT SHOUT
Holo's listSeparatorTextViewStyle now uses the all-caps style.

Change-Id: Ia1d21ecc3c05a3e3fc29a78c683e875ce08cab99
2011-09-01 17:42:57 -07:00
Fred Quintana
f705f788b5 Merge "Make the SyncManager timeout syncs if it takes too long to bind to them." 2011-09-01 17:35:25 -07:00
Mike Lockwood
6401461227 Merge "PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons." 2011-09-01 17:29:26 -07:00
Michael Jurka
6f983a7906 Merge "Fixing orientation change bug (5098088)" 2011-09-01 17:14:11 -07:00
Michael Jurka
8b09866a25 Fixing orientation change bug (5098088)
- Also fixing language in long-press menu (5068787)

Change-Id: I941e053e6ce4c85a09f4ff82880b7c2513e54322
2011-09-01 17:11:12 -07:00
Mike Lockwood
a7cf74cfb1 PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons.
Bug: 5249328

Change-Id: I9fcf623c4f9f278107a0772f6ff28ccaae9188c8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-01 20:10:24 -04:00
Romain Guy
f679ed0939 Merge "Prevent a leak when using View.postInvalidate(left, top, right, bottom)" 2011-09-01 17:02:28 -07:00
Romain Guy
40c18f59ac Prevent a leak when using View.postInvalidate(left, top, right, bottom)
Change-Id: I44c9a11d8b62d86d38f4600df2bbea13c874b991
2011-09-01 17:01:18 -07:00
Gilles Debunne
e724ee4b04 Fix for NPE in Switch
Happens when the checked state is set in XML in the CompoundButton
constructor. The drawable are not yet loaded at that point.

This still work since the Switch constructor calls setChecked, which
will invalidate.

Change-Id: I76459307e77596ce0f2759e9449eb42287c6bad7
2011-09-01 16:58:05 -07:00
Michael Jurka
a3b7b57a52 Merge "updating visuals of Recent Apps" 2011-09-01 16:39:32 -07:00
Peter Ng
622a97646d updating visuals of Recent Apps
- replacing background PNGs with 9 patches
- removing border around thumbnails by default
- when swiping thumbnails, draw a border around them
- fix callout line length
- make recents window smaller on tablets
- deleting unused assets

Change-Id: If5bb1ba0d55a6d10e36ee14274c23596f0ba73b9
2011-09-01 16:38:16 -07:00
Robert Ly
2e864a6a38 Merge "fix rs docs" 2011-09-01 16:19:15 -07:00
Dianne Hackborn
7de6578f1c Merge "Fix issue #4974633: Block the HOME button using TYPE_KEYGUARD" 2011-09-01 15:56:36 -07:00
Dianne Hackborn
554d4a5765 Merge "Fix issue #5039287: Listen dies on back key on ICS but not on Gingerbread" 2011-09-01 15:55:33 -07:00