35630 Commits

Author SHA1 Message Date
Romain Guy
b9def8e721 Merge "Lines would not set the scissor before drawing." 2010-11-04 14:40:26 -07:00
Romain Guy
7f78b0c3ae Lines would not set the scissor before drawing.
Lines were not drawing in Calendar because they were getting clipped
by the previous clip rectangle. This change simply updates the scissor
as needed. This change also reduces the number of state changes in GL.

Change-Id: I41ab13dca3a33cfa6d1a44371c48852ab418b04e
2010-11-04 14:36:26 -07:00
Brian Carlstrom
a4f03f98f1 Merge "Integrate StrictMode with CloseGuard" 2010-11-04 14:32:33 -07:00
Brian Carlstrom
fd9ddd1a40 Integrate StrictMode with CloseGuard
In additional to adding the StringMode API for controling CloseGuard,
this checkin fixes several CloseGuard issues found booting a device.

Bug: 3041575
Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
2010-11-04 14:21:33 -07:00
Jeff Sharkey
f786805acc Respect padding when positioning custom view.
Fixes http://b/3164071

Change-Id: I74700fecf7e9f4785e8e944b2660724b3d270b0d
2010-11-04 14:16:25 -07:00
Daniel Sandler
084f3ae952 Merge "Rotation lock." 2010-11-04 14:15:56 -07:00
Chet Haase
43f40fe968 Merge "Adding JNI methods as a faster reflection mechanism" 2010-11-04 14:05:57 -07:00
Daniel Sandler
b73617de46 Rotation lock.
IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
2010-11-04 16:55:29 -04:00
Elliott Hughes
1ab022b8c8 Merge "Fix an off-by-one error." 2010-11-04 13:47:13 -07:00
Chet Haase
6e0ecb4eed Adding JNI methods as a faster reflection mechanism
This approach is only for the common cases of void-return,
single-argument float/int methods.

Change-Id: Ifb31535a6f717b85417eced93c579be6e461e039
2010-11-04 13:37:45 -07:00
Jason Sams
218c60edc9 Merge "Fix potental incremental build failure with leftover RS generated files." 2010-11-04 13:33:19 -07:00
Jason Sams
cebfaab7a5 Fix potental incremental build failure with
leftover RS generated files.

Change-Id: I4b2ed98372ac9caba61ff6622b26f1bb1b435df0
2010-11-04 13:28:14 -07:00
Dianne Hackborn
ea9020e085 Add API to find out if there is a vibrator.
Change-Id: If29f6ee19448222433cad9fad325d0095a8e5737
2010-11-04 13:01:56 -07:00
Mike Lockwood
d8d7b555cb Merge "MediaStore: Make definitions for Files table public" 2010-11-04 12:40:26 -07:00
Elliott Hughes
b55dcc244d Fix an off-by-one error.
I/SystemServer(  104): Wired Accessory Observer
  E/SystemServer(  104): Failure starting WiredAccessoryObserver
  E/SystemServer(  104): java.lang.ArrayIndexOutOfBoundsException: index=3 length=3
  E/SystemServer(  104): 	at com.android.server.WiredAccessoryObserver.<init>(WiredAccessoryObserver.java:79)
  E/SystemServer(  104): 	at com.android.server.ServerThread.run(SystemServer.java:401)

Change-Id: I6d40259d96b8c57c0ff04eab362a66b70e9fcd25
2010-11-04 12:35:01 -07:00
Dianne Hackborn
bbd4a9f916 Merge "StrictMode: now in more system server threads." 2010-11-04 12:21:48 -07:00
Romain Guy
8ad4b47920 Merge "Fix possible rendering issue when drawing a path." 2010-11-04 12:14:37 -07:00
Romain Guy
1041aded2d Fix possible rendering issue when drawing a path.
Change-Id: I25f2e609589f0dd9294bcf7930de6398c0d7e377
2010-11-04 12:10:40 -07:00
Kenny Root
b52907f6be Merge "Add "nodpi" to DpiTest Android.mk" 2010-11-04 11:50:51 -07:00
Kenny Root
867812df8f Add "nodpi" to DpiTest Android.mk
Part of the drawables for DpiTest is a nodpi directory, but the
LOCAL_AAPT_FLAGS didn't specify it.

Bug: 3165492
Change-Id: I989068d76f922db6048e6db7cc6822ab3234d36e
2010-11-04 11:30:37 -07:00
Jamie Gennis
960423d46f Merge "Fix a MediaBuffer leak in Stagefright." 2010-11-04 11:18:14 -07:00
Leon Scroggins
0f46c6f4ef Merge "Use the new web email and password variations." 2010-11-04 11:11:42 -07:00
Xavier Ducrohet
f5a6c67fbe Merge "Layoutlib native delegate: FloatMath." 2010-11-04 11:03:45 -07:00
Xavier Ducrohet
de2dfc91e6 Merge "Layoutlib native delegate: path effects and xfermode." 2010-11-04 11:03:39 -07:00
Leon Scroggins
b5ce0e0532 Use the new web email and password variations.
Bug:2460543
Bug:3094312
Bug:2692655
Bug:2710595

Use the NEXT flag when there is a following
textfield.

In TextView, treat the new variations like email and password
variations.

Requires a change in LatinIME so that these fields work propely:
https://android-git.corp.google.com/g/#change,77721

Change-Id: Id6517a016db7d50b77570ff77f2635027796da4a
2010-11-04 14:02:14 -04:00
Scott Main
0cf0173070 am 13259f0b: am 17c87d80: Merge "docs: more revisions to the installing docs for GB" into gingerbread
* commit '13259f0ba08cde334a9b6760b20f14c269893652':
  docs: more revisions to the installing docs for GB
2010-11-04 10:57:48 -07:00
Jean-Baptiste Queru
e9418ffc5b am 0d7c66b3: Merge 42c94791 from open-source master
* commit '0d7c66b3a555356315c17da48969fee28181ceda':
  Fix the animation disappeared issue
2010-11-04 10:57:34 -07:00
Gilles Debunne
10644106b8 Rationalized the single/multiple line initialization in TextViews.
The TYPE_TEXT_FLAG_MULTI_LINE was set directly, instead of calling
setSingleLine, which has some side effects, like correctly updating
the mSingleLine field.

Generalized the use of setSingleLine everywhere. This may change some
behavior, but is probably fixing more state inconsistencies.

Change-Id: I6b4da2e140a8dc75481cff9e44473daa6b3a83c4
2010-11-04 10:53:04 -07:00
Amith Yamasani
53e59add93 Merge "For extra large devices, use a dialog style for LauncherActivity." 2010-11-04 10:44:55 -07:00
James Dong
152f62ef66 am c25c28a4: (-s ours) am c0fa1d47: Merge "Revert "Support rotation in media recorder"" into gingerbread
* commit 'c25c28a496012f64da57f5beb3b99f7424abb602':
  Revert "Support rotation in media recorder"
2010-11-04 10:32:06 -07:00
Scott Main
7aa908d677 am 974ea38a: am 42361551: Merge "docs: some more edits to the sdk install docs" into gingerbread
* commit '974ea38a7c941eb8d85cea3b9a2ab87ed0b8e592':
  docs: some more edits to the sdk install docs
2010-11-04 10:29:14 -07:00
Mathias Agopian
49686be71e am b20c2e7c: am 477c4fee: Merge "[3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R." into gingerbread
* commit 'b20c2e7ca03f5ef2694b20ff9a7a10a7249eb936':
  [3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R.
2010-11-04 10:29:09 -07:00
Hiroshi Lockheimer
6d1166b7cb am 0ce42c9d: (-s ours) am c181a082: Merge "Support rotation in media recorder" into gingerbread
* commit '0ce42c9d315ea6bf0e4f81b14b9e1a38f8979897':
  Support rotation in media recorder
2010-11-04 10:29:05 -07:00
Mike Lockwood
0b20b77ff5 MediaStore: Make definitions for Files table public
This provides a public API for the new MediaProvider support for
arbitrary file types.  MediaProvider is no longer limited to supporting
only media (audio, video, image and playlist files).
This also allows querying across multiple media file types and supports
navigating the directory hierarchy of the media storage via database queries.

BUG: 2984284

Change-Id: I6222a6d601a4641cc7e544335e45d05b194532b1
Signed-off-by: Mike Lockwood <lockwood@google.com>
2010-11-04 13:20:06 -04:00
Gilles Debunne
4e331a784d Merge "Tapping on paste popup with an empty clipboard does not crash in TextView." 2010-11-04 10:13:00 -07:00
Gilles Debunne
5300f278fc am 67e1ae5b: am 698dd812: Merge "ldpi assets created from hdpi in core." into gingerbread
* commit '67e1ae5b96bc3be5f9fc57350dada06194eb7f68':
  ldpi assets created from hdpi in core.
2010-11-04 09:57:14 -07:00
Hiroshi Lockheimer
5fedc1ce4e am 5f5bcf50: am e0887cc7: Merge "Squash ANRs in UsbStorageActivity." into gingerbread
* commit '5f5bcf5039774050eec587dcc31905bd5a370b7b':
  Squash ANRs in UsbStorageActivity.
2010-11-04 09:56:57 -07:00
Jason Chen
15d18efddd resolved conflicts for merge of f0452c25 to master
Change-Id: Ie8f5e81393ac965fd570f99239ab8be8ea0db00c
2010-11-04 09:29:55 -07:00
Scott Main
13259f0ba0 am 17c87d80: Merge "docs: more revisions to the installing docs for GB" into gingerbread
* commit '17c87d80c65d047c2db353d9826fef3e0d4d3535':
  docs: more revisions to the installing docs for GB
2010-11-04 09:20:40 -07:00
Scott Main
17c87d80c6 Merge "docs: more revisions to the installing docs for GB" into gingerbread 2010-11-04 09:17:54 -07:00
Jean-Baptiste Queru
0d7c66b3a5 Merge 42c94791 from open-source master
Change-Id: Id17a1a787b6d46c44ba39d628129a3a27f6d70be
2010-11-04 07:22:44 -07:00
Scott Main
ce4b523eb8 am d9bb6bc2: am 08810efc: docs: provide overview of the web apps docs and revise images in the targeting doc
* commit 'd9bb6bc283b3f7ee75da14c42c8a563214103c05':
  docs: provide overview of the web apps docs and revise images in the targeting doc
2010-11-04 07:20:33 -07:00
Kristian Monsen
badf945656 Move more of android file handling in Java
Moving some of the code (finding which kind of file it is and
deleting parts of the url) to Java from C++.

Is needed by the following change in external/webkit:
https://android-git.corp.google.com/g/#change,77383

Change-Id: Ifc6008501eb580a0aaa5e307732b6f49ebd19ac4
2010-11-04 12:05:58 +00:00
satok
dfe7fd1776 Merge "Find the most applicable subtype when there is no selected subtype but IME has subtypes" 2010-11-03 23:09:46 -07:00
Jason Sams
6b81399aa1 Merge "Update ScriptC constructor to remove depricated param." 2010-11-03 23:03:06 -07:00
Jason Sams
3ba02b3d2f Update ScriptC constructor to remove depricated param.
Change-Id: Id36e325834526c6b5416fd78d5cf4259d7df97e9
2010-11-03 23:01:38 -07:00
satok
8fbb1e84ee Find the most applicable subtype when there is no selected subtype but IME has subtypes
Change-Id: I1239d67a65abd5eedebd689d02f007961b9c5d73
2010-11-04 14:58:28 +09:00
Chet Haase
f3e0268b3a Merge "Fixed problem with setting updated values on existing animators" 2010-11-03 22:42:02 -07:00
Chet Haase
691ac26817 Fixed problem with setting updated values on existing animators
The previous version of PropertyValuesHolder handled construction fine,
but setting new values did not result in things getting completely set
up correctly for interpolation between those new values.

Change-Id: Ibffb16e58b4fe76b8d1cad6f0224ffd4d5404c05
2010-11-03 22:38:32 -07:00
Wink Saville
7d9c28bd16 Merge "Allow DataConnectionTrackers to manage multiple data connections." 2010-11-03 21:58:20 -07:00