15591 Commits

Author SHA1 Message Date
Dianne Hackborn
0ed714a95d Merge "Rough cut at new window animations." 2010-11-04 17:32:07 -07:00
Fabrice Di Meglio
2c410a18fc Fix bug #1776278 (consider supplying our own (unique) eid for calendar entries created on the device)
- modify EventsEntity iterator to take care of the SYNC_ADAPTER_DATA column

Change-Id: I3d08a4ebdca5b595aad7c56b9f5d6259522297e2
2010-11-04 17:30:44 -07:00
Dianne Hackborn
bf78275b2c Rough cut at new window animations.
Change-Id: I5c698de205d820b770e2405ea9d3d483b6b8a463
2010-11-04 17:25:28 -07:00
Mathias Agopian
1bd80ad7fd possibly fix [2265804] OpenGL GLSurfaceView apps don't draw status bar drop shadow correctly
request a layout when asking the transparent region to be recomputed, without this
it may never happen, since the transparent region is only calculated during layout.

this also fixes an issue where some fullscreen apps will run slower than expected
because their transparent region is never processed.

Change-Id: Iba187ef7b23f08ad3454aaa6707a3d262551e30c
2010-11-04 17:13:39 -07:00
Gilles Debunne
9ec4b7f2f6 Merge "wallpaper moved to nodpi" 2010-11-04 17:10:10 -07:00
Robert Greenwalt
1678246710 Merge "Tell each VM to flush their DNS cache." 2010-11-04 17:02:44 -07:00
Elliott Hughes
6b7af6055f Use InetAddress.isNumeric.
This code is trying to detect anything equivalent to localhost, but without
accidentally causing a DNS lookup.

Bug: 3073384
Change-Id: Ib611c8ca46059e00b07fc4b94d4af777217da1fb
2010-11-04 16:46:00 -07:00
Gilles Debunne
6779875f0d wallpaper moved to nodpi
Change-Id: I14a7ee8e04e0bf7882ca793b2541c07447b829ea
2010-11-04 16:34:54 -07:00
Gilles Debunne
cf8ba1123e Assets remove from bare drawable-xlarge directory.
Those were already copied to mdpi, and have been upscaled to hdpi.

Change-Id: Ifd8fe5f96ceb9992ba22086f4c4c3d23d7f18879
2010-11-04 16:28:27 -07:00
Andrew Stadler
f034f87da8 Merge "Avoid NPE when reloading headers in single-pane mode" 2010-11-04 16:19:05 -07:00
Elliott Hughes
e84c00f4a7 Merge "Remove NetworkUtils.isIpAddress." 2010-11-04 16:09:04 -07:00
Andrew Stadler
83681eb600 Avoid NPE when reloading headers in single-pane mode
Change-Id: I696102b371566872ab1e6dca7281015da534b83f
2010-11-04 15:49:05 -07:00
Eric Rowe
5de6d7a162 am 82fc12af: Merge "DO NOT MERGE Add acceptPair method to BT stress." into gingerbread
* commit '82fc12af416e351cb0a9d978734d585ab66d3f27':
  DO NOT MERGE Add acceptPair method to BT stress.
2010-11-04 15:37:19 -07:00
Gilles Debunne
06cd9c1a79 Created missing assets by up/down scaling the one in other dpi
Some of these assets may no longer be used. An other CL will remove these later.
Needed to remove warnings in new aapt version.

Change-Id: I84048d7fd237e6623b14810deeb7887dbe50ab73
2010-11-04 15:34:55 -07:00
Dianne Hackborn
e213677037 Push the jumpDrawablesToCurrentState() thing off everywhere it should be.
Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them.  This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.

Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
2010-11-04 15:34:41 -07:00
Elliott Hughes
1693182c02 Remove NetworkUtils.isIpAddress.
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5
2010-11-04 15:27:33 -07:00
Adam Powell
c63de86ad3 Merge "Fix bug 3163150 - move holo extended themes to an overlay file." 2010-11-04 15:24:23 -07:00
Brian Carlstrom
a4f03f98f1 Merge "Integrate StrictMode with CloseGuard" 2010-11-04 14:32:33 -07:00
Adam Powell
045de11a3b Fix bug 3163150 - move holo extended themes to an overlay file.
The file themes_extended is meant to be overridden per-device in an
overlay file. The overlay should include enhancements appropriate for
the device when hardware acceleration is requested by an app.

Change-Id: If2878b973845f1793a00651089bc0dd66952d916
2010-11-04 14:23:57 -07:00
Eric Rowe
776e64da88 DO NOT MERGE Add acceptPair method to BT stress.
Add a method to the test utils which waits to accept a bonding request from
another device.  This is identical to the pairing method except that it
waits for a remote pair request instead of initiating the pairing
request itself.  Also, add a test method to the test utils.

Change-Id: I6391d03e9f33c040afd64d73083acfe3184251eb
2010-11-04 14:22:39 -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
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
Dianne Hackborn
ea9020e085 Add API to find out if there is a vibrator.
Change-Id: If29f6ee19448222433cad9fad325d0095a8e5737
2010-11-04 13:01:56 -07:00
Ben Murdoch
0406e48db9 Work around race condition in CallBackProxy.
If WebCore requests two (or more) alert/prompt/confirm dialogs
in quick succeession, we have a race that when the dialog is dismissed
the WebView does not have it's focus restored before the next dialog
is requested to be shown and we early out of displaying the dialog (i.e.
we do not show it).

Work around this by no longer verifying that the Activity has focus as
this check seems to be redundant anyway (see 3166409).

Bug: 3151825, 3166409

Change-Id: I7f650b066ee63da92bc9a620b8e190c91b306d3e
2010-11-04 19:51:06 +00:00
Mike Lockwood
d8d7b555cb Merge "MediaStore: Make definitions for Files table public" 2010-11-04 12:40:26 -07:00
Robert Greenwalt
03595d0118 Tell each VM to flush their DNS cache.
bug:3095357
Change-Id: I93de24e3e5a7d8b94d55f4facfffc863a2b8c202
2010-11-04 11:52:35 -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
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
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
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
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
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
Jim Miller
0c91a8ee93 Minor tweaks to lockscreen animation:
Remove transition delay to show home.
Add new constants to allow finer tuning of "success" animation.
Transition all items to transparent on successful unlock.

Change-Id: Id9f57b9bfc08be840d9282f987925617d2b42ea1
2010-11-03 21:55:18 -07:00
Jeff Hamilton
6d93386a2d am 1212d4fd: am ef569469: Merge "Remove the My Tag feature." into gingerbread
* commit '1212d4fdc9bdc09c2c4c4d676b0918172eb09380':
  Remove the My Tag feature.
2010-11-03 20:11:23 -07:00
Gilles Debunne
e1c14e6a94 Tapping on paste popup with an empty clipboard does not crash in TextView.
Change-Id: I5730ec46582862c6233a9e3a2d4bf695cd2c3e69
2010-11-03 19:24:34 -07:00
Adam Powell
0c24a5514c Fix bug 3156280 - Fix several issues with tab navigation in action bars.
Add the ability to restrict a FragmentTransaction's ability to be
added to the back stack. (It doesn't make sense for tabs or other
scenarios to allow this.)

Change-Id: I8fa2edb5f35c365e2483010ad13eb9993f5e6570
2010-11-03 19:24:19 -07:00
Dianne Hackborn
079e235750 Add new fade in/out feature for drawable containers.
This is used to allow list view's pressed and activated indicators
to fade in an out, though of course it can be used elsewhere as well.

There is a lot of complexity in supporting this in list view.  The
two main things that are being dealt with:

- When recycling views, we need to make sure that the view's drawable
  state doesn't get animated from an old row's state.  The recycler
  now keeps track of which position a view was last in, and if it is
  reused at a new position there is a new View/Drawable API to tell
  it to jump to its current state instead of animating.

- For the pressed indicator to fade out, we need to keep displaying it
  after it is hidden.  There are new variables and code to keep track
  of this state, and tweaks in various places to be able to remember
  the last selected position and continue updating the drawable bounds
  as needed.

Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
2010-11-03 19:11:19 -07:00
Chet Haase
079fd674fb invalidate() View when backgroundColor changes
Change-Id: I5dd41b6ccffe35a784eec74495649fede65e78f2
2010-11-03 18:07:45 -07:00
Mathias Agopian
b20c2e7ca0 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 '477c4feee2f0922dbc8952639cc12987d5cdce04':
  [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-03 17:59:47 -07:00
Mathias Agopian
477c4feee2 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 2010-11-03 17:57:32 -07:00
Chet Haase
7c608f25d4 optimizing for primitive types in animations
The animator classes caused autoboxing by converting primitive types (by far
the most typical types used in animations) to be converted to their
Object equivalents because of various APIs that required Object
(like getValue() to get the animated value). This change creates
factory methods on some classes instead of the former constructors
so that we can create and return private type-specific subclasses
which operate directly on the primitive types instead.

In particular, float and int are natively supported by the animators
now. Support in the APIs for double and long was removed because it
seemed like these less common types did not justify the extra
baggage of the added API and code.

Change-Id: I6008a3883e3d6dd5225005f45f112af148e5a4ea
2010-11-03 17:42:04 -07:00
Gilles Debunne
67e1ae5b96 am 698dd812: Merge "ldpi assets created from hdpi in core." into gingerbread
* commit '698dd8127636fcf57c56dcc90688fb5e8afb8abb':
  ldpi assets created from hdpi in core.
2010-11-03 17:38:50 -07:00