38854 Commits

Author SHA1 Message Date
Wu-cheng Li
0e73cdc983 Camera::create should fail when it fails to connect the camera.
bug:3197565

Change-Id: I3439a25c06b00615e8257e6b3db85df081643643
2011-01-05 13:14:30 +08:00
Jeff Brown
9571285066 Only allow touch events from one device at a time.
Reject movements from other devices when one device is already down.
This fixes jittery behavior when the user moves the mouse and touches
the screen at the same time.

Change-Id: I99151c8f2596a3139720f776bcbc559d4b314878
2011-01-04 19:41:59 -08:00
Joe Onorato
c91d8c3ea5 Merge changes I49263df9,Ie733ad38,I84908fd3,Ia4e869b8,I8240e763,Id5704cc5
* changes:
  fix the build
  Don't re-show the ticker for a notification if they have set FLAG_ONLY_SHOW_ONCE.
  Notification.Builder.setAutoCancel() was setting the wrong flag.
  Allow taps on the ticker to pass through to the notification target view so the notification panel still opens.
  The whole title area of the notification panel should toggle the settings view.
  When the number field on a notifications is >100, just say "100+" instead of listing the number.
2011-01-04 18:54:49 -08:00
Joe Onorato
8513dd5815 fix the build
Change-Id: I49263df9fdc90cbecacbe83e1347b37927e8bbc2
2011-01-04 18:48:35 -08:00
James Dong
853f6fdef7 Fixed a typo in the enum for unknown camera error message
Change-Id: Id9f8432e2ba8e1474ee020438d6456f1f450398a
2011-01-04 18:46:34 -08:00
Nick Pelly
ea3c57176b am 978e41fc: am 8d98aebe: Merge "Fix technology extra naming for IsoDep and NfcB (API part)." into gingerbread
* commit '978e41fccf278bb64c5204d80d8de95c9bf2e3d5':
  Fix technology extra naming for IsoDep and NfcB (API part).
2011-01-04 18:35:40 -08:00
Nick Pelly
978e41fccf am 8d98aebe: Merge "Fix technology extra naming for IsoDep and NfcB (API part)." into gingerbread
* commit '8d98aebe286be0ca963232afce3d5ceec67d3d7a':
  Fix technology extra naming for IsoDep and NfcB (API part).
2011-01-04 18:33:41 -08:00
Nick Pelly
8d98aebe28 Merge "Fix technology extra naming for IsoDep and NfcB (API part)." into gingerbread 2011-01-04 18:31:19 -08:00
Martijn Coenen
a559aa4759 Fix technology extra naming for IsoDep and NfcB (API part).
Change-Id: Iaa8f1b4dec5d626ffb17a33d71d2f92dd0d99636
2011-01-05 13:30:15 +11:00
James Dong
7f08071f3d Merge "Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java" 2011-01-04 18:19:45 -08:00
Joe Onorato
eeed994983 Don't re-show the ticker for a notification if they have set FLAG_ONLY_SHOW_ONCE.
Bug: 3306725
Change-Id: Ie733ad38d9e801f676966fa3ddee6847670c6deb
2011-01-04 18:12:33 -08:00
Joe Onorato
281d83f61f Notification.Builder.setAutoCancel() was setting the wrong flag.
Bug: 3306725
Change-Id: I84908fd3ac2cf9a4ce164179620c33df907d018f
2011-01-04 18:12:32 -08:00
Joe Onorato
ec51a82bd6 Allow taps on the ticker to pass through to the notification target view
so the notification panel still opens.

Bug: 3313762
Change-Id: Ia4e869b859fabe7016283f36631891c179dc82bf
2011-01-04 18:12:32 -08:00
Joe Onorato
6c3e5601a7 The whole title area of the notification panel should toggle the settings view.
Bug: 3313452
Change-Id: I8240e76367a6608849bbeb69af6ca8f206475d8d
2011-01-04 18:12:32 -08:00
Joe Onorato
059a2f8664 When the number field on a notifications is >100, just say "100+" instead of listing the number.
Bug: 3271445
Change-Id: Id5704cc5cba770b918c974eeec8f9ffb3f294450
2011-01-04 18:12:32 -08:00
Gilles Debunne
d434d2334d MaxLines is respected in TextViews, even when ellipsize is set to end.
Bug 3322607

Re-applying the revert that fixed the ANR (https://android-git.corp.google.com/g/#change,87129),
whith an updated here value that seems to fix the problem.

This layout code is pretty involved, with destabilizing variable names and
uses. Althought I tested it, this fix is not 100% garanteed.

Change-Id: I1f4b09b329fb8a328ae8ab26ae472e343453beda
2011-01-04 18:05:53 -08:00
Carl Shapiro
b1c36cdaf1 Update the API to reflect the removal of the external reference API.
Change-Id: I824652d06b5cc3f9c6219cc5ec1f7fdf5cc36bfe
2011-01-04 17:55:27 -08:00
Hung-ying Tyan
8fd2718bf3 am 05c53067: am 273d2ea3: Merge "Fix setting audio group mode in SipPhone." into gingerbread
* commit '05c53067b613796624937214e506c58de817c8fd':
  Fix setting audio group mode in SipPhone.
2011-01-04 17:49:48 -08:00
Hung-ying Tyan
05c53067b6 am 273d2ea3: Merge "Fix setting audio group mode in SipPhone." into gingerbread
* commit '273d2ea3f986f1611d2cf303cc5b93f820c14dd3':
  Fix setting audio group mode in SipPhone.
2011-01-04 17:47:47 -08:00
Hung-ying Tyan
273d2ea3f9 Merge "Fix setting audio group mode in SipPhone." into gingerbread 2011-01-04 17:45:36 -08:00
Dianne Hackborn
1bf8376a19 Merge "Some new API cleanup." 2011-01-04 17:42:45 -08:00
Dianne Hackborn
87121accdb Some new API cleanup.
- Tweak Fragment docs to match new sample code.
- Make some new attributes public.
- Hide all of the XmlAdapter stuff, since it is not actually being used.

Change-Id: Iae2062f91d1ca0c6b1d656ae948417d3d048482f
2011-01-04 17:42:01 -08:00
Chia-chi Yeh
d0da380796 am dc78e3fe: am 3cf71376: RTP: Send silence packets on idle streams for every second.
* commit 'dc78e3fe7f2ffbc810cd54e86e3a83e279d74984':
  RTP: Send silence packets on idle streams for every second.
2011-01-04 17:41:16 -08:00
Romain Guy
9c95737211 Make FrameLayout support mixed wrap_content/match_parent children.
Bug #3259668

If a FrameLayout is measured with an UNSPECIFIED or AT_MOST spec,
it cannot correctly define the size of its children set to
match_parent. This change adds a second measurement pass similar
to what LinearLayout does in the same situation.

Change-Id: I20ac5203c2efc2e559f88b2c9573d4ad7df488b4
2011-01-04 17:39:43 -08:00
Chia-chi Yeh
dc78e3fe7f am 3cf71376: RTP: Send silence packets on idle streams for every second.
* commit '3cf71376421f942d06b30101fbf0df7f3b23fbdd':
  RTP: Send silence packets on idle streams for every second.
2011-01-04 17:37:17 -08:00
James Dong
a7ac739b74 Suppress the recording sound in the recorded video
bug - 3309194

Change-Id: Ib8fb248943bc22f963d67537bfdbc6056c5a159b
2011-01-04 17:34:44 -08:00
Jeff Brown
b4ff35df5c Mouse pointer integration.
Added support for loading the pointer icon from a resource.

Moved the system server related bits of the input manager out
of libui and into libinput since they do not need to be linked into
applications.

Change-Id: Iec11e0725b3add2b905c51f8ea2c3b4b0d1a2d67
2011-01-04 17:31:24 -08:00
Eric Hassold
a5af5d6b12 Add support for downgrading database version in SQLiteOpenHelper
Provide an API to allow application to support downgrade in databases
managed with SQLiteOpenHelper. Since onUpgrade() is now called only
if requested version is newer than current one, this adds support for
a similar onDowngrade() method, so customers can implement graceful
downgrading. If no downgrade method is implemented by caller, this
fallback to current behavior by throwing an exception.

Bug: 1609474
Change-Id: I0e0166984d4a700b1c43ce780b91244bc2fc87a6
2011-01-04 16:55:27 -08:00
Romain Guy
6b5108bc9c Change the OpenGL viewport when new layout params are used.
Bug #3303158

Change-Id: Id0b8667b262c218ead5feeb5df2c3a256f522bed
2011-01-04 16:11:10 -08:00
James Dong
a1d2d8f7a5 Use video output if necessary for timelapse video recording
Change-Id: I88d0cc824f0fbf8b2f392fbc23c69b5bfefda1b8
2011-01-04 16:09:07 -08:00
Romain Guy
633b1107f6 Merge "Change the OpenGL viewport when new layout params are used. Bug #3303158" 2011-01-04 16:08:34 -08:00
Carl Shapiro
b596198d8d Remove functionality related to external allocation tracking.
The android.os.Debug class exposed two interfaces related to external
allocation.  The first interface provided a counter of global external
allocation events.  This change makes the global counter getters
constantly return 0 and stubs out the counter setters.  The second
interface attempted to provide a counter of per-thread external
allocation events.  That interface was never implemented.  This change
makes the per-thread counter getters constantly return -1 and stubs
out the setters.

Change-Id: I240fe9bf05297a83607a4350d40d20581e2a9e2f
2011-01-04 15:51:33 -08:00
Gilles Debunne
ed4127ccef Merge "Revert "Fix for ellipsized text that has two lines at maximum."" 2011-01-04 15:42:40 -08:00
Gilles Debunne
4cf435df2e Revert "Fix for ellipsized text that has two lines at maximum."
This reverts commit 32ea4ffdca0f4706e447d0a275f259fe121b9e6a.

This change introduces an ANR in AutoComplete text view. There is
an infinite loop when the suggestion TextView is measured.

Reverted to fix the ANR, opening a new bug for the ellipsize.

Bug 3315813, 3320375, 3318059

Change-Id: I1872116ca1f39324ed4500d338bafac7e0d195ec
2011-01-04 15:37:41 -08:00
Jim Miller
9c173dbc58 Merge "Fix 3309250: Don't crash when thumbnail is null" 2011-01-04 15:37:16 -08:00
Vasu Nori
78526012a1 Merge "treat "can't open database file error" as "database corruption error"" 2011-01-04 15:05:21 -08:00
James Dong
df9b349b96 Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java
Change-Id: I34dfc1daa3bed1f334f3f266cbe70d1e3d7924f6
2011-01-04 15:03:48 -08:00
Romain Guy
a9ebfa6bcc Keep a reference to the local matrix.
Bug #3299324

This is needed for ADT, which does not rely on Skia's reference counting
to correctly keep track of the native objects.

Change-Id: Ia2fc5c1ec2b80bad226bc549fefc6bb064784609
2011-01-04 15:02:59 -08:00
Romain Guy
6b1f6e6ac1 Merge "Keep a reference to the local matrix. Bug #3299324" 2011-01-04 15:00:48 -08:00
Andreas Huber
b794a5e53a Merge "Properly shutdown the decoders on a reset() in NuPlayer's implementation." 2011-01-04 14:47:18 -08:00
Vasu Nori
c7fe777d63 treat "can't open database file error" as "database corruption error"
bug:3083665
if sqlite can't open the database, delete it and create a new one.
what else is sqlite supposed to do?

Change-Id: I8b7c3b051fd1a146e4026f8f8acfdd099f9a70cf
2011-01-04 14:36:16 -08:00
Gilles Debunne
87380bcaeb Added support for asian characters in text selection.
Inspired by https://review.source.android.com/#change,16606

Test class has been revamped to mimic new behavior: selectCurrentWord
is no longer used to add words to the dictionary. We rely on the suggestion
bar in the IME for that.

Change-Id: I1cb88df54dffb166c75f75fefb743ff55a33519b
2011-01-04 14:18:13 -08:00
Andreas Huber
cbeaca7a81 Properly shutdown the decoders on a reset() in NuPlayer's implementation.
related-to-bug: 3321470
Change-Id: Ida6d2171c5a3a407188d4633602b764f8fe7086a
2011-01-04 14:07:58 -08:00
Jim Miller
25eef89082 Fix 3309250: Don't crash when thumbnail is null
This fixes a bug where Recents would crash when the
thumbnail for the given app isn't available.  The
defined behavior for this situation should be just
the app icon on top of the default glow background.

Change-Id: Ie5a3a7878381a6b8fc640319fccfc16387e3d4cc
2011-01-04 13:52:22 -08:00
Derek Sollenberger
1451862b0a Merge "Add full-screen support for OpenGL based plugins." 2011-01-04 13:42:41 -08:00
Jesse Wilson
a8691c9c4e Merge "Update API of PropertyChangeSupport, which is no longer synchronized." 2011-01-04 13:37:00 -08:00
Gilles Debunne
75b7a931bc Removed simple compilation warnings.
Change-Id: I471b8895db4321d49e324e7137a1f5cee08ff5d4
2011-01-04 13:36:17 -08:00
Jesse Wilson
4c2e0f6f3b Update API of PropertyChangeSupport, which is no longer synchronized.
Change-Id: I0bc99a17030cc676f5a917509311727e7a865d8f
2011-01-04 13:32:46 -08:00
Gilles Debunne
c0752ee7ce No spaces are inserted around pasted text when there are already new lines.
Bug 3304489

Change-Id: I3c1bf915a2e20f87ed3cec3c30dbcc884bf6b46f
2011-01-04 13:30:24 -08:00
Vasu Nori
cd7f598122 Merge "don't call methods doing database lock from a synchronized block" 2011-01-04 13:18:17 -08:00