38984 Commits

Author SHA1 Message Date
Brad Fitzpatrick
3a2c6bf0fc am 69ea4e15: Documentation fixes found over vacation hacking.
* commit '69ea4e15e52c456537575d21443ac1efdb03a902':
  Documentation fixes found over vacation hacking.
2011-01-05 13:52:53 -08:00
Jeff Brown
e0f9552cc1 Merge "Only allow touch events from one device at a time." 2011-01-05 13:44:05 -08:00
Brad Fitzpatrick
69ea4e15e5 Documentation fixes found over vacation hacking.
Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
2011-01-05 13:07:34 -08:00
Shimeng (Simon) Wang
22c5dfcaed Merge "Refactor zoom overview width calculation." 2011-01-05 13:05:29 -08:00
Leon Scroggins
67a08dda34 Merge "Show the keyboard when opening Find from the menu." 2011-01-05 12:57:37 -08:00
James Dong
7ca6041ac9 Merge "Fixed a typo in the enum for unknown camera error message" 2011-01-05 12:53:13 -08:00
Leon Scroggins
ae0238cae5 Do not show past entries if autocomplete=off.
Bug:3300365

Requires a change in external/webkit.

Change-Id: I2f15d9dfce1002d0bf7a77a14605769fd654aa51
2011-01-05 15:42:20 -05:00
Gilles Debunne
3dbf55c3a2 TextView's color transparency is taken into account.
Unless it has a background, the TextView will be able to support
alpha (text, cursor and highlighted text colors).

Background colored spans should be detected and should also multiply
their alpha by mCurrentAlpha.

Bug 3144861

Change-Id: If640895b8c0b25dc00b909a0a118b68fac0cfd76
2011-01-05 12:03:33 -08:00
Jason parks
ac1325bcd3 Merge "Add decryption support to MountService." 2011-01-05 11:56:42 -08:00
Adam Powell
3f476b3404 Revisiting ActionBar API and layout.
Fix several bugs where ActionBar was ignoring LayoutParams in action
views.

Add convenience methods for toggling display options flags.

Add layout resource version of ActionBar#setCustomView

Fix a bug preventing actionViewClasses from being loaded properly in
menu xml.

Change-Id: I0d9a0b635fd9cfc020bac69369c0c7749c226349
2011-01-05 11:41:26 -08:00
Leon Scroggins
eb492a02fd Merge "Do not open the keyboard when opening Find from CAB." 2011-01-05 11:14:58 -08:00
Patrick Scott
73ae078a05 Merge "Use the app context to avoid a memory leak." 2011-01-05 11:07:21 -08:00
Shimeng (Simon) Wang
2c782e3d53 Refactor zoom overview width calculation.
Refactor zoom overview width calculation in FirstLayout and NewPicture;
also taking care of the case when wide viewport is not enabled.

This fixes the setInitialScale Cts test case, which is broken by some
scale related changed for fixed viewport browser.

issue: 3242034
Change-Id: Ie54d089763ee38029ef25e6029884a17c2135f97
2011-01-05 11:04:23 -08:00
Leon Scroggins
18cf9a7828 Show the keyboard when opening Find from the menu.
Bug:3324846
Change-Id: Ia8b1eea096660b3c01bc0ee3906ecc86ec1c20f3
2011-01-05 13:47:57 -05:00
Patrick Scott
624051aabf Use the app context to avoid a memory leak.
Bug: 3288583
Change-Id: Id259a0148c06f6e98b94c07e5d2e2296c6aef65a
2011-01-05 13:36:00 -05:00
Jason parks
5af0b916f8 Add decryption support to MountService.
* Implement the decryptStorage() method on the Mount Service.
  This method makes the calls into vold to decrypt the encrypted
  volumes and mount them.

Change-Id: I4f6e07a111cf0b36611d590debf9f6579c5ac5f7
2011-01-05 12:32:49 -06:00
Romain Guy
7f3d515f5e Merge changes Ia8a15db8,I20ac5203
* changes:
  Don't enable hardware acceleration when the app owns the surface. Bug #3323096
  Make FrameLayout support mixed wrap_content/match_parent children. Bug #3259668
2011-01-05 10:32:15 -08:00
Leon Scroggins
571354fd29 Do not open the keyboard when opening Find from CAB.
Bug:3312049

Do not start Find on page if the action mode fails to
start.  Clean up showFindDialog.

Requires a change to packages/apps/Browser

Change-Id: I204315665d3bf9f3ac78e78c4059c5a6f24695db
2011-01-05 13:31:02 -05:00
James Dong
876e44dfb5 Merge "Use video output if necessary for timelapse video recording" 2011-01-05 10:27:55 -08:00
Romain Guy
1aec9a2212 Don't enable hardware acceleration when the app owns the surface.
Bug #3323096

Change-Id: Ia8a15db844703199b3cee3d178f118159315c2b9
2011-01-05 09:37:12 -08:00
Cary Clark
2cdee23312 make select all, copy text public but hidden
For keyboard accelerators, add public interfaces
to copy text and select all.

bug:3270434
Change-Id: I4a38b95a373dcf73575f66fe13b082205d2423ce
2011-01-05 08:02:29 -05:00
Jason Sams
49945c0ff6 fix bug 3313505
Shader cache cleanup could occur in wrong thread
during RS teardown.

Change-Id: Iffed41de046147db30885e6815826e3b640020c1
2011-01-05 03:37:48 -08:00
Jason Sams
e4c453dd1e Merge "fix build" 2011-01-04 23:17:31 -08:00
Jason Sams
cfc2330c4e fix build
Change-Id: I4991e3e11b2f44328ee272dcb498c6b9fd90c5ee
2011-01-04 23:06:28 -08:00
Dianne Hackborn
a01ac783c2 Merge "No longer needed." 2011-01-04 22:45:44 -08:00
Dianne Hackborn
b35cd54b88 No longer needed.
Change-Id: Ia2e8264147bb02e29599227d0588e40b1e626358
2011-01-04 22:41:20 -08:00
Jason Sams
842e55726a Merge "Random cleanup" 2011-01-04 22:31:15 -08:00
Jason Sams
7a6ac1adfc Merge "unhide renderscript" 2011-01-04 22:23:05 -08:00
Jason Sams
334108b56c Random cleanup
Change-Id: Ife6f19d51e8229b6cf1ca8689df7baba2fcb4dc9
2011-01-04 22:19:53 -08:00
Jason Sams
a23d4e792c unhide renderscript
Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680

api update

Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
2011-01-04 22:19:44 -08:00
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