73737 Commits

Author SHA1 Message Date
Chia-chi Yeh
e66950506c RTP: refactor a little bit and fix few minor bugs.
Change-Id: I063644507f26996ded462972afcb550a4528dac8
2012-03-30 13:32:16 -07:00
George Mount
54e1553df6 Merge "Enable scrolling page while editing text." 2012-03-29 11:04:43 -07:00
George Mount
fcff68f87d Enable scrolling page while editing text.
Bug 6194113

Change-Id: I27841bcf0635b9c8579e6db081612fd9e506d4ca
2012-03-29 11:01:02 -07:00
Martijn Coenen
0c1c1eb1c8 Merge "Allow formatting a tag as NDEF without a message." 2012-03-29 10:56:49 -07:00
Martijn Coenen
2976da0305 Allow formatting a tag as NDEF without a message.
Change-Id: I53a219eec17450b2d0ddc42556f0b930d9b34615
2012-03-29 10:09:19 -07:00
Nick Pelly
b956ef3a38 Merge "Use Application#registerLifecycleEvents() instead of a Fragment for Beam." 2012-03-29 09:58:42 -07:00
Nick Pelly
8ce7a27770 Use Application#registerLifecycleEvents() instead of a Fragment for Beam.
Fragments don't work as desired if called after life-cycle events
such as onDestory() or onSaveInstanceState().

The new approach doesn't work after onDestroy() either, but we can more
easily detect this now. For pre-JB apps, we will log an error, and for
JB and onwards we will throw.

Update documentation to make these rules clear, and to encourage
the use of a single Activity per API call, and to make the call
in onCreate().

Bug: 5199662
Bug: 5994691
Bug: 6034901
Bug: 6125297

Change-Id: Ib0dde6abfa44cd56c7ddc13ba0ad0e83bbe30058
2012-03-29 09:52:32 -07:00
Chet Haase
f1260aac0e Merge "Disable DisplayList properties pending fixes for AlphaAnimation" 2012-03-29 09:45:38 -07:00
Chet Haase
76240dafe8 Disable DisplayList properties pending fixes for AlphaAnimation
The new DisplayList properties design has ordering conflicts with the
way that alpha works with old animations (AlphaAnimation). This CL
disables DiksplayList properties while I'm working on a fix and some
more thorough tests for old animations-vs-DL properties in general.

Change-Id: I8f6893138f939171491c2ec3c889214ee55d17b7
2012-03-29 09:42:34 -07:00
Daniel Sandler
34461ef196 Merge "Fix NPE on tablets." 2012-03-29 09:03:34 -07:00
Daniel Sandler
6cf14a02bf Fix NPE on tablets.
Change-Id: I2128daac06988e4bae25ec48a874901ba731ebf9
2012-03-29 11:50:51 -04:00
Irfan Sheriff
8901de0af6 Merge "Add discovery broadcasts for p2p" 2012-03-29 08:41:15 -07:00
satok
b5caab633a Merge "Add document to SpellCheckerService" 2012-03-29 07:55:10 -07:00
George Mount
c11547cdf4 Merge "Support batching input changes to remove flicker." 2012-03-29 07:30:42 -07:00
Daniel Sandler
0833082c8e Merge "Stop showing ADB and MTP/PTP/USB notifications at the top." 2012-03-29 06:09:13 -07:00
Daniel Sandler
970de33c8d Merge "The beginning of expanded notifications." 2012-03-29 06:09:02 -07:00
Jonathan Dixon
f3fda6962a Merge "Minor code tidying up in WebStorage & GeolocationPermission" 2012-03-29 03:47:36 -07:00
Jeff Brown
c97ed10ba8 Merge "Ensure pointer location view is attached to the policy thread." 2012-03-29 03:05:57 -07:00
Jeff Brown
70825161b5 Ensure pointer location view is attached to the policy thread.
Previously we created the PointerLocationView on whatever thread
happened to trigger the call to updateSettings().  There was
also some messiness around having to add or remove the view
while not holding mLock.

Now, just post the work to the policy handler.

This also makes it possible for us to use invalidate() instead
of postInvalidate() in PointerLocationView, which is more efficient.

Change-Id: I0646d7aeecffdc22f6ac56ae3ef951e7a12e2b93
2012-03-29 03:01:10 -07:00
satok
431ea84e1f Add document to SpellCheckerService
Bug: 6136149

Change-Id: I93f0127878372006a240a9a34823f873bcc09927
2012-03-29 18:36:23 +09:00
satok
6183cd64a9 Take sentence-level spell checking APIs public
Bug: 6136149

Change-Id: I772164d9c67e95876c228efcce2356a81a06be4f
2012-03-29 18:16:32 +09:00
Amith Yamasani
0184ce9295 Undo a previous change that's causing multi-user issues
Surgical hack for getting Settings to run multiple instances without
causing other system services/providers from doing the same.

Change-Id: Ic5dab61976a04c3012235299ba55edfcd8273dbb
2012-03-28 22:41:41 -07:00
Jason Sams
c96ebd858e Merge "Add fp_relaxed pragma to image processing test." 2012-03-28 21:46:45 -07:00
Daniel Sandler
49a2ad1f40 Stop showing ADB and MTP/PTP/USB notifications at the top.
Two parts to this:
1. Stop treating FLAG_ONGOING_EVENT notifications specially
   (in particular, ordering them at the top of the panel).
2. Set the priority bits on the system UI notifications
   appropriately (low).

Change-Id: I3bde7e573654c5aad5e1c5d29e6a21ba94edcc5b
2012-03-29 00:42:16 -04:00
Daniel Sandler
f3b7343246 The beginning of expanded notifications.
There are now two "rebuilder" classes, each of which
consumes a Notification.Builder and modifies its behavior.
(Inheritance in Builder classes is...not advisable.)

- BigPictureStyle: includes a large Bitmap above the usual
  notification strip.

- BigTextStyle: shows the contentText in a large, wrapping
  TextView instead of truncating to one line.

As for SystemUI, the notification panel now shows the
expanded form if it is available, otherwise the usual
contentView is shown.

(Note that the structure of largeIcon notifications has
changed a bit: The largeIcon is no longer handled by the
status bar at all; it's entirely inside the template now.
Not only does this make the code simpler, and make large
notifications possible, but it fixes the longstanding
irritation that tapping on a largeIcon doesn't highlight the
whole notification row. Man, that feels good.)

Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
2012-03-29 00:42:15 -04:00
Amith Yamasani
79eeae4d69 Merge "Show the current user in power menu" 2012-03-28 18:47:52 -07:00
Amith Yamasani
52f1d752f9 Show the current user in power menu
Shows a little indicator next to the current user in the power menu
when multi-user is enabled.

Fixed a bug where Settings was sometimes being launched in the wrong
process when there are 2 instances running.

Change-Id: Iaf2a00f6d1871fd2a88d8982439e445423bb2896
2012-03-28 18:19:29 -07:00
Jason Sams
6b367927f9 Merge "Convert from SurfaceTexture to Surface" 2012-03-28 18:07:20 -07:00
Jason Sams
75ec67848c Add fp_relaxed pragma to image processing test.
BUG=4540719

Change-Id: I147587b50106208a2280712ae69ca2bc111a2b77
2012-03-28 17:58:52 -07:00
Gilles Debunne
f31af70915 Merge "Added a unit test for DynamicLayout#updateBlocks" 2012-03-28 17:49:24 -07:00
Irfan Sheriff
c111d1caa8 Add discovery broadcasts for p2p
This will allow apps to figure out if discovery is active or not
and based on that initiate a new discovery for fresh connections

Change-Id: I4778f135fdd88773e4f0d50c384f9b6ebf561e6d
2012-03-28 17:37:04 -07:00
Irfan Sheriff
5fa47298af Merge "p2p fixes" 2012-03-28 16:57:46 -07:00
Romain Guy
001dd0cb78 Merge "Refactor GLES20Canvas/HardwareRenderer JNI layers" 2012-03-28 16:48:34 -07:00
George Mount
dbef1c5f45 Support batching input changes to remove flicker.
Bug 6245151

Change-Id: I642d1487d488ac69a9dedf5c8099d14db559dc0a
2012-03-28 16:47:44 -07:00
Romain Guy
244ada1d35 Refactor GLES20Canvas/HardwareRenderer JNI layers
GLES20Canvas defined several JNI functions used only by HardwareRenderer.
Now that we have a JNI layer dedicated to HardwareRenderer we should
host the renderer related methods there.

Change-Id: I0bcb4ad0bcc1c4a37290df10c1685f2cfe5504ca
2012-03-28 16:41:26 -07:00
Fabrice Di Meglio
b2a331eae9 Merge "Fix bug #6248364 Tamil and Denavagari text crash in Google+" 2012-03-28 16:10:06 -07:00
Fabrice Di Meglio
43e4985abf Fix bug #6248364 Tamil and Denavagari text crash in Google+
- fix initialization of variables

Change-Id: Ibda4e1e6f55f867385eaf9a4c7a754c16815bbf0
2012-03-28 16:05:36 -07:00
Jason Sams
fb9aa9f3ef Convert from SurfaceTexture to Surface
Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
2012-03-28 15:30:07 -07:00
Alex Sakhartchouk
972ed5809c Merge "Moving libRS" 2012-03-28 15:08:56 -07:00
Alex Sakhartchouk
b43a1e5ddf Moving libRS
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-03-28 14:18:15 -07:00
Colin Cross
c8947b3d79 Merge "Move services/powermanager from frameworks/base to frameworks/native" 2012-03-28 14:12:30 -07:00
Irfan Sheriff
8a34718d84 Merge "Control suspend optimizations from framework" 2012-03-28 14:12:11 -07:00
Colin Cross
4be0041630 Move services/powermanager from frameworks/base to frameworks/native
Move services/powermanager into frameworks/native so audioflinger can
use it.  Note that this is not the same as a PowerManagerService,
which is part of systemserver and handles turning the screen on and
off, etc.  This is just a binder interface to allow taking wakelocks.

Change-Id: I1142e6d9ddbb651cc19ac07d946fa24d8feed8a3
2012-03-28 13:57:51 -07:00
Anatol Pomazau
a003776821 Merge changes I7459b9e9,I9bc5573e
* changes:
  frameworks base Android.mk file changes
  Deleted the media, camera, drm related files since they are relocated
2012-03-28 12:21:13 -07:00
Gilles Debunne
59075643ac Merge "Handle non DynamicLayout in Editable draw method." 2012-03-28 11:11:48 -07:00
Gilles Debunne
ee9da04edc Merge "Moving focus on text should not create an Editor" 2012-03-28 11:05:43 -07:00
James Dong
ba4d043331 frameworks base Android.mk file changes
Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
2012-03-28 11:03:25 -07:00
James Dong
d927a1d996 Deleted the media, camera, drm related files since they are relocated
Change-Id: I9bc5573ee07e30b305b5b879023aa9ec69e10b91
2012-03-28 10:42:44 -07:00
Jonathan Dixon
36196b6d4a Minor code tidying up in WebStorage & GeolocationPermission
remove unused imports and constants.

Change-Id: I5007b270b2cabb55624d85546bfc84f10189e618
2012-03-28 16:40:37 +01:00
George Mount
f9c1f9935b Snap selection handles to text
Bug 6198286
 Webkit Change: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5

Change-Id: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a
2012-03-28 07:10:34 -07:00