56279 Commits

Author SHA1 Message Date
Fabrice Di Meglio
98d29b44f7 Merge "Follow up to TextView's baseline is correctly computed for empty text" 2011-08-08 14:47:02 -07:00
Fabrice Di Meglio
15c097a1c2 Add more optimizations for Text measuring / breaking / getting advances
- do not go to native if this is not needed (empty or null text)
- do expandMetricsFromPaint() in TextLine when needed instead of calling handleText()
with emty string just for doing expandMetricsFromPaint()

Change-Id: I1f566ccef66cbc990ebbb77ef149899119e37e84
2011-08-08 14:42:41 -07:00
Jason Sams
00ac96b819 Merge "Add docs to rs_types.rsh" 2011-08-08 14:35:16 -07:00
Jason Sams
a00e6d8bf1 Add docs to rs_types.rsh
Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
2011-08-08 14:31:25 -07:00
Justin Ho
e3a7011cb1 Removing unused spinner_active
Bug: 5076695

Change-Id: I21afb3f94b99927e1d61664dd86dea48b96755b9
2011-08-08 14:10:11 -07:00
Gilles Debunne
f9b467f1d8 Bug 5080369: merging new assets
Change-Id: I303ba0329052cfc4268b0b95c49650a906ab41a9
2011-08-08 14:01:27 -07:00
Neel Parekh
e7a0bc0126 Merge "Prevent NPE when registering a remote control client" 2011-08-08 13:57:30 -07:00
Justin Ho
3b0ae45c41 Merge "Updated fastscroll assets Bug:5076695" 2011-08-08 13:41:42 -07:00
Justin Ho
20efac688d Updated fastscroll assets
Bug:5076695

Change-Id: I5dae00f1c89aab73551710e1799f6b08d221347e
2011-08-08 13:34:13 -07:00
Justin Ho
beb4641783 Merge "Updated numberpicker_ assets Bug: 5076695" 2011-08-08 13:26:00 -07:00
Neel Parekh
8d4ed0d8e1 Prevent NPE when registering a remote control client
Change-Id: Ia22b456b1cbdd89736118c7e68b7c68dd6e59c64
2011-08-08 13:25:46 -07:00
Justin Ho
87764d48b5 Merge "Updated rating stars Bug: 5076695" 2011-08-08 13:23:42 -07:00
Justin Ho
b2788f8df6 Updated numberpicker_ assets
Bug: 5076695

Change-Id: Ia80424e26dc8c4710dc6af930d44f8f4683fb50b
2011-08-08 13:22:49 -07:00
Justin Ho
276966e7ad Merge "Updated quickcontact badges Bug: 5076695" 2011-08-08 13:21:31 -07:00
Justin Ho
b6c5752c47 Updated rating stars
Bug: 5076695

Change-Id: Ie17d1fc9509f236f9a57b322b647f7c5d65f3ad8
2011-08-08 13:12:55 -07:00
Daniel Lehmann
f6d3079f98 Merge "Don't perform query if QuickContactBadge has been initialized via assignContactUri" 2011-08-08 13:06:01 -07:00
Fabrice Di Meglio
f957618265 Merge "Revert "Adapt TextLayoutCache for new Harfbuzz scripts"" 2011-08-08 12:56:05 -07:00
Fabrice Di Meglio
535f6dba69 Merge "Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR"" 2011-08-08 12:42:51 -07:00
Fabrice Di Meglio
9c89d5dc82 Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR"
This reverts commit 6850c7aff5b08225ab1793dd721a795cb4192f6f

The referenced bug was actually not a bug. It was working as intended.
2011-08-08 12:17:03 -07:00
Fabrice Di Meglio
4c7dbc0495 Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)
- provide a better fix by still using the full context of the text (versus using the text only)

Change-Id: I542335e98117921d75c191e90a9b2018ca356ac9
2011-08-08 12:11:41 -07:00
Chia-chi Yeh
880f64ac10 Merge "VPN: introduce VpnService as the base class for user space VPN." 2011-08-08 11:33:57 -07:00
Fabrice Di Meglio
f09e46e938 Revert "Adapt TextLayoutCache for new Harfbuzz scripts"
This reverts commit 7f4ae758ba4724f7c3031d33ad8e749c11d1e059

This CL created a regression:

#5134317 Arabic Keyboard does not appear
2011-08-08 11:31:39 -07:00
Mark Brophy
930740d1ef Merge "Store last-resume times in a separate XML file." 2011-08-08 11:30:19 -07:00
Alex Sakhartchouk
75e0254731 Merge "Fixing rs crash when no texture is bound." 2011-08-08 11:25:03 -07:00
Chia-chi Yeh
199ed6ef89 VPN: introduce VpnService as the base class for user space VPN.
Change-Id: I4793a6eb51b33f669fc6d39e1a16cf5eb9e3d851
2011-08-08 11:15:41 -07:00
Fabrice Di Meglio
2532672569 Merge "Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)" 2011-08-08 10:58:13 -07:00
Romain Guy
4974bc1be6 Prevent crash when purging the gradients cache.
Bug #5133876

Change-Id: I3d1fa4e29498044796d725337ac93e6a1e8f0bcb
2011-08-08 10:55:55 -07:00
Justin Ho
1eb1f72ccd Merge "Updated tab assets, removing [un]selected_pressed_focused states Updated appropriate style Bug: 5076695" 2011-08-08 10:21:09 -07:00
Justin Ho
50859a6f5c Merge "Updated overscroll assets Bug: 5076695" 2011-08-08 10:16:42 -07:00
Adam Powell
3a02ff1300 Merge "Fix bug 5112702 - switches should have "ON" on the right" 2011-08-08 09:53:36 -07:00
Adam Powell
e112567b45 Merge "Fix bug 5116342 - don't keep fragment state around once resumed" 2011-08-08 09:53:23 -07:00
Fabrice Di Meglio
850dffa01b Follow up to TextView's baseline is correctly computed for empty text
Was bug http://code.google.com/p/android/issues/detail?id=15598

- optimize https://android-git.corp.google.com/g/#/c/107901/1

Change-Id: I20abd82a97adc71f04a5afba54eb679f708236f8
2011-08-08 09:45:09 -07:00
Eric Laurent
c993acbce6 Merge "AudioFlinger: protect input/output stream access" 2011-08-08 09:31:42 -07:00
Jean-Michel Trivi
6f9ff5368c Merge "Bug 5045498 API for client to notify remote control info changed" 2011-08-08 09:17:41 -07:00
Justin Ho
ac54d8ee0a Updated tab assets, removing [un]selected_pressed_focused states
Updated appropriate style
Bug: 5076695

Change-Id: I6b8102f0d176ac0ecc69878440ca9cd711e22904
2011-08-08 09:01:00 -07:00
Eric Laurent
828b9773cc AudioFlinger: protect input/output stream access
Some methods would not check that the output orinput stream of a thread
was still valid before calling functions on its interface.
This could cause a crash if those methods where called while the output or
input was being closed by another thread.

Make sure that the output or input stream pointer is cleared before closing the
stream.
Always check that the output or input pointer is not null before calling
functions at the stream interface.
Generalize the use of initCheck() method to verify that the output or input
stream is not null.

Change-Id: I9d9ca6b744d011bcf3a7bbacb4a581ac1477bfa5
2011-08-08 08:55:29 -07:00
Mark Brophy
c63502720e Store last-resume times in a separate XML file.
In UsageStatsService, separate last-resume times from the rest of
the statistics, and serialize them to an XML file daily.

This way, ApplicationsProvider will still be able to acces this data,
even thoguh other statistics are flushed to disk and discarded each day.

Bug: 5108745
Change-Id: Id3df3c98243ba02cde16b31e5e29bd9ff3602108
2011-08-08 16:24:16 +01:00
Justin Ho
4a0401cbcb Updated quickcontact badges
Bug: 5076695

Change-Id: I2abec7117baaccb010f7260cff603899a98f222a
2011-08-08 07:54:05 -07:00
Justin Ho
6a585c124c Updated overscroll assets
Bug: 5076695

Change-Id: Ia35deb3f384519a715d6f53689663bd284dc8cd8
2011-08-08 07:53:06 -07:00
Daniel Sandler
2dbf1b76b9 Merge "Don't show network type if no SIM." 2011-08-08 07:11:40 -07:00
Svetoslav Ganov
74b551aae5 Merge "Turning off accessibility feature reboots the device" 2011-08-08 06:50:19 -07:00
satok
03b2ea1102 Support xml configuration file for the spell checker and add the spell checker subtype
Change-Id: I74715855525fc0a1282238d593ad37aefd42bfc3
2011-08-08 19:29:26 +09:00
Dianne Hackborn
7d608423b7 Move OOM kernel settings to activity manager.
The activity manager now take care of plugging the correct settings
into the OOM killer in the kernel.  This is a lot cleaner because
it is really central to how the activity manager works, and nobody
else cares about them.

Taking advantage of this, the activity manager computes what it
thinks are appropriate OOM levels based on the RAM and display
size of the device.

Also a small optization to the package manager to keep a binding
to the package install helper for a bit after done using it, to
avoid thrashing on it.

And some new APIs that are now needed by Settings.

Change-Id: I2b2d379194445d8305bde331c19bde91c8f24751
2011-08-07 20:20:56 -07:00
Daniel Lehmann
e13e55b9bb Don't perform query if QuickContactBadge has been initialized via
assignContactUri

Also changes:
 - Remove handling of mMode, as QuickContact now ignores this anyway
 - Don't draw the overlay-triangle if no action can be performed

Bug:5132023
Change-Id: I8d6f8df9caf140fdade8683bd7b22d53c28994f4
2011-08-07 19:51:28 -07:00
Adam Powell
ec1d60369f Fix bug 5112702 - switches should have "ON" on the right
Make Switches obey the Grand Unified Theory of Button Ordering.
This also matches their behavior with volume/brightness sliders.

Change-Id: I4e72801e81b10002542a05f61c99a57991f130ff
2011-08-07 18:03:39 -07:00
Jean-Michel Trivi
7b6198cacc Bug 5045498 API for client to notify remote control info changed
Update to API for a client to notify what type of information
 changed (e.g. playstate, metadata) to optimize small updates
 without the remote control display having to do expensive
 queries such as album art.

When the remote control display retrieves the flags about
 what information changed, the flag gets cleared.

Change-Id: I7d3d8d3eecd1da44695d84905ed9e7b70fe38b86
2011-08-07 17:44:47 -07:00
Adam Powell
9520251003 Fix bug 5116342 - don't keep fragment state around once resumed
Clear out saved fragment/view state when a fragment is resumed in case
we didn't need to restore it. This keeps it from hanging around and
preventing proper save/restore behavior later.

Change-Id: Ie3fce5534ee4f8fdb4116281f9ac6a9cfa392561
2011-08-07 17:20:17 -07:00
Adam Powell
8868f9797c Merge "Fix bug 5011824 - New Holo overflow menu for physical menu key devices" 2011-08-07 16:59:02 -07:00
Adam Powell
30a6e38762 Merge "Fix bug 5124712 - allow partial items when measuring height of list popups" 2011-08-07 16:41:39 -07:00
Adam Powell
a7845ed44a Fix bug 5124712 - allow partial items when measuring height of list popups
Change-Id: I59c9fc6d5dcd21679ba67d7c233ecd9d7e19d21c
2011-08-07 15:48:25 -07:00