9088 Commits

Author SHA1 Message Date
Android (Google) Code Review
78a50aa1db Merge change If3c30fc9 into eclair
* changes:
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 22:08:30 -04:00
Android (Google) Code Review
8f89a1a360 Merge change Ic620a52b into eclair
* changes:
  Add size checks for glBufferData and glBufferSubData
2009-10-23 20:30:33 -04:00
Android (Google) Code Review
56d27fecfe Merge change I56c3504f into eclair
* changes:
  fix [2211532] improves sholes graphics performance
2009-10-23 19:02:12 -04:00
Mathias Agopian
382e17d46f fix [2211532] improves sholes graphics performance
Instead of using glTex{Sub}Image2D() to refresh the textures, we're using an EGLImageKHR object
backed up by a gralloc buffer. The data is updated using memcpy(). This is faster than
glTex{Sub}Image2D() because the texture is not swizzled. It also uses less memory because
EGLImageKHW is not limited to power-of-two dimensions.
2009-10-23 15:37:28 -07:00
Tom Taylor
246978b8dc Add a method to clear info about a contact
Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
2009-10-23 13:33:25 -07:00
Eric Laurent
dd28d56368 Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.
Unlock mLock mutex when exiting upon wait stop timeout condition.
Increase timeout delays to avoid timing out when A2DP exits standby.
2009-10-23 06:54:33 -07:00
Andrew Harp
94927dffce Patching in hidden API to allow app managed preview frame buffers.
Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
2009-10-23 01:44:47 -04:00
Dianne Hackborn
7580493b01 Implement feature #2117336: Create event communication APIs for live wallpaper
Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
2009-10-22 20:10:53 -07:00
Dirk Dougherty
86dc4d3122 am 61c29c29: Merge change Ieeb0b251 into eclair-sdk
Merge commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8' into eclair

* commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8':
  doc change: incorporate comments on SDK docs and structure.
2009-10-22 18:02:54 -07:00
Android (Google) Code Review
61c29c293a Merge change Ieeb0b251 into eclair-sdk
* changes:
  doc change: incorporate comments on SDK docs and structure.
2009-10-22 20:53:38 -04:00
Fred Quintana
0bf653b531 am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit 'f4520f3e03e120ed109a579c1936994b142523c3' into eclair

* commit 'f4520f3e03e120ed109a579c1936994b142523c3':
  update account manager javadoc
2009-10-22 17:53:28 -07:00
Android (Google) Code Review
f4520f3e03 Merge change I9161f53d into eclair-sdk
* changes:
  update account manager javadoc
2009-10-22 20:44:12 -04:00
Dirk Dougherty
eeb0b2514a doc change: incorporate comments on SDK docs and structure.
Bug: 2160782
2009-10-22 17:35:02 -07:00
Fred Quintana
756b735e93 update account manager javadoc 2009-10-22 16:56:08 -07:00
Android (Google) Code Review
94f2c52421 Merge change I63c2d9ed into eclair
* changes:
  Update the names of the widgets when the locale changes.
2009-10-22 18:38:29 -04:00
Android (Google) Code Review
6c618c68f2 Merge change Ie7105dae into eclair
* changes:
  Handle bad SIM message
2009-10-22 18:37:51 -04:00
Eric Fischer
63c2d9ed9c Update the names of the widgets when the locale changes.
Bug 1814373, Bug 2152730
2009-10-22 15:28:05 -07:00
Tom Taylor
72fac67781 Handle bad SIM message
When trying to view the saved sms messages on my SIM, I ran into a null ref.
With this fix, we don't try and wrap a null message, but just skip it.
This is part one of three fixes for BC-triaged bug 2205782.

Change-Id: Ie7105dae7e3134b98681deabcc14f5db555902f3
2009-10-22 13:42:46 -07:00
Android (Google) Code Review
96e0c3156e Merge change Ia3f7ef64 into eclair
* changes:
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
2009-10-22 16:24:05 -04:00
Mike Lockwood
3c9435a205 PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
Fixes bug b/2158297 (lock screen should time out after 7 seconds)

Change-Id: Ia3f7ef6464129ab78283923dbfd7f7472136e676
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-22 15:45:37 -04:00
Dirk Dougherty
4f82394af6 am ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.
Merge commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137' into eclair

* commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137':
  doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.
2009-10-22 11:22:12 -07:00
Dirk Dougherty
f41eb87df2 am 6797b9fa: doc change: add diff report 4 -> 5
Merge commit '6797b9fa06b4c86b92da117a7f84277f7a380820' into eclair

* commit '6797b9fa06b4c86b92da117a7f84277f7a380820':
  doc change: add diff report 4 -> 5
2009-10-22 11:21:47 -07:00
Dirk Dougherty
e12191a7ec am 439bf97c: doc change: edits to the screens support doc.
Merge commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0' into eclair

* commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0':
  doc change: edits to the screens support doc.
2009-10-22 11:21:23 -07:00
Dirk Dougherty
e5e2c16736 am f4b5540b: doc change only: add screens support doc
Merge commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c' into eclair

* commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c':
  doc change only: add screens support doc
2009-10-22 11:21:12 -07:00
Scott Main
3c0c0da95f am f90178d0: docs only. fix some typos.
Merge commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69' into eclair

* commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69':
  docs only.
2009-10-22 11:20:55 -07:00
Android (Google) Code Review
f14da417f3 Merge change I3ff560d7 into eclair
* changes:
  Send "encoding problem" to the network for general errors during SMS dispatch.
2009-10-22 14:04:03 -04:00
Android (Google) Code Review
fee0f57733 Merge change I99dc6477 into eclair
* changes:
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 07:07:04 -04:00
Android (Google) Code Review
eadb97b482 Merge change I53f83502 into eclair
* changes:
  PowerManagerService: Ignore user activity while the screen is animating off.
2009-10-22 07:06:51 -04:00
Dirk Dougherty
ee58d1bf9c doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.
Change-Id:I368345755dd753b1056fb06ff25e4b32f3020e4d
Bug:2160782
2009-10-22 00:59:47 -07:00
Dirk Dougherty
6797b9fa06 doc change: add diff report 4 -> 5
Bug: 2160782
2009-10-21 21:09:14 -07:00
Mike Lockwood
3d0ea72dd7 Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:08:13 -04:00
Mike Lockwood
f003c0c15d PowerManagerService: Ignore user activity while the screen is animating off.
Fixes bug b/2202165 (Often I when pressing power to turn off I get the lock screen)

Change-Id: I53f8350203d57fbb5f143edc44985879caadd78f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:06:56 -04:00
Android (Google) Code Review
0737b16430 Merge change I959a6f46 into eclair
* changes:
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.     - Ensure system IMEs are put on the enabled list at startup/install.     - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 22:58:39 -04:00
Dirk Dougherty
439bf97ca5 doc change: edits to the screens support doc.
Bug: 2160782
2009-10-21 18:33:12 -07:00
Dirk Dougherty
f4b5540b35 doc change only: add screens support doc 2009-10-21 18:32:24 -07:00
Scott Main
f90178d08d docs only.
fix some typos.
2009-10-21 18:31:54 -07:00
Brandon Ballinger
6da35a0c12 Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
- Ensure system IMEs are put on the enabled list at startup/install.
    - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 18:24:29 -07:00
jsh
3ff560d7ba Send "encoding problem" to the network for general errors during SMS dispatch.
Previously we were returning "other terminal problem" to the network, but this
had the potential of blocking MT SMS messages for days at a time (eg, if the
problematic message is resent).  Sending the "encoding problem" cause code is
reasonable since in most cases the we have encountered an error while trying
to parse the message.

Addresses b/2200412.
2009-10-21 17:55:31 -07:00
Android (Google) Code Review
f702f1f33f Merge change I1538dba4 into eclair
* changes:
  Make FWK start a wifi scan if supplicant forgets. (do not merge)
2009-10-21 18:56:10 -04:00
Android (Google) Code Review
076cb23a02 Merge change I13dd02fc into eclair
* changes:
  telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
2009-10-21 18:18:30 -04:00
Android (Google) Code Review
b0e6a9a0e6 Merge change I7a03b074 into eclair
* changes:
  Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.
2009-10-21 18:15:20 -04:00
Andreas Huber
7a03b074a5 Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers. 2009-10-21 15:06:21 -07:00
Robert Greenwalt
1538dba4b0 Make FWK start a wifi scan if supplicant forgets. (do not merge)
Waits 15sec after getting a DISCONNECTED or INACTIVE state.  Also tracks
the number of supplicant state transitions.  After the period is up
if we haven't received any more supplicant state transitions, it requests a scan.

bug: 2168081
2009-10-21 14:05:09 -07:00
Naveen Kalla
d393184ac5 telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c
2009-10-21 14:04:18 -07:00
Android (Google) Code Review
f8e3ac8519 Merge change Ifa8ab30e into eclair
* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-21 16:11:23 -04:00
Leon Scroggins
9d1abc43f5 In onKeyUp for DPAD_CENTER, show the IME for text input.
Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488
2009-10-21 15:35:33 -04:00
Android (Google) Code Review
2cb6b7fb86 Merge change Ic4bf942c into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-10-21 15:09:58 -04:00
Android (Google) Code Review
785768a921 Merge change Id443ba45 into eclair
* changes:
  Prevent transparent region from getting out of sync with Surface Flinger
2009-10-21 14:04:26 -04:00
Jack Palevich
c620a52b69 Add size checks for glBufferData and glBufferSubData
Without the size checks it's possible for calls to glBufferData
and glBufferSubData to read off the end of the Buffer object's
data, which can cause page faults.

Fix end-of-line characters for the "spec" files. (That's why
every line of these files is changed.)

Enhance our code emitter to properly handle bounds checks for
possibly-null pointers.
2009-10-21 11:02:44 -07:00
Eric Fischer
c4bf942cef Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:41:17 -07:00