57984 Commits

Author SHA1 Message Date
Adam Powell
ba3c377ba4 Fix metrics on Holo progress dialogs
Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460
2011-09-09 17:40:06 -07:00
Romain Guy
3593fc4c3f Merge "Go faster!!!!" 2011-09-09 17:35:02 -07:00
James Dong
fbab086933 Merge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile" 2011-09-09 17:32:50 -07:00
Devaraj Rangasamy
d8f7c2c2dc MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile
MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.

Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
2011-09-09 17:22:24 -07:00
Jeff Brown
78f6e63031 Handle DOWN/MOVE/UP gestures with fling.
Bug: 5265814

When MOVE events are batched, a ListView may not receive only
one MOVE event followed immediately by an UP in the case of
a quick fling.  Unfortunately, the old code relied on there
being at least one additional MOVE event following the first
in order to really scroll or fling.

This change extracts common code from onTouchEvent to
handle scrolls as soon as they are started if there is additional
remaining motion beyond the initial touch slop (taken care of by
mMotionCorrection).

Change-Id: I8c8f03f580bfba96aa69cf111d245ba7fd3b4c2a
2011-09-09 17:15:31 -07:00
Jeff Brown
0e23c2efb0 Merge "Tweak VelocityTracker. Bug: 5265529" 2011-09-09 17:01:25 -07:00
Gilles Debunne
5132273273 Hide method to fix the build
Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d
2011-09-09 16:46:42 -07:00
android-merger
61ae88e54c missed part of https://android-git.corp.google.com/g/#/c/104540/
Change-Id: I0da6d5bd860b1fe9df76b9df372e4ad9ab6e7202
2011-09-09 16:27:36 -07:00
Mangesh Ghiware
886b372b52 On zoom to overview, reflow text, if necessary.
Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.

Bug: 5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73
2011-09-09 16:22:51 -07:00
android-merger
a5e3ede761 missed aidl change in previous merge
Change-Id: I6c1c55d0b79d5f2d7be538ec3a51c5708522a08f
2011-09-09 16:15:00 -07:00
Ben Murdoch
a3809b344c Merge "Relax form autocomplete conditions" 2011-09-09 16:14:20 -07:00
Adam Powell
67fe057344 Merge "Fix bug 5214224 - Align stock framework list item padding for dialogs" 2011-09-09 16:12:03 -07:00
Jeff Brown
581761d4aa Tweak VelocityTracker.
Bug: 5265529

Calculate the velocity using the most recent touch sample as the
point of reference instead of the oldest.  This change more heavily
weights recent touch samples and reduces the sample time window
used for calculation.  This significantly improves the accuracy
of fling gesture detection.

Change-Id: Ib1940933e786e5f6a731552a99bcd9400741d55f
2011-09-09 16:04:09 -07:00
Gilles Debunne
2bfc75a6d9 Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection" 2011-09-09 16:01:08 -07:00
Gilles Debunne
4f2b0dc552 Merge "Bug 5278456: text highlight color depends on the type of suggestion spans." 2011-09-09 15:52:09 -07:00
James Dong
4cf9a3b857 Merge "Fix another hardcoded frame rate in the media framework test" 2011-09-09 15:50:39 -07:00
Adam Powell
88f8b84e4c Fix bug 5214224 - Align stock framework list item padding for dialogs
Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.

Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c
2011-09-09 15:49:03 -07:00
Jaikumar Ganesh
61eb5ae855 Don't override the hash code for the channel.
Each channel is uniquely represented by the object itself,
so use the hash code to identify it. Using channelPath in the
calculation will mess up things - since in Connecting state the
channel path is null and when its connected, we will get a different
hash code.

Change-Id: I6af6c783e18fddbd38344432b8156e000baafb15
2011-09-09 15:48:22 -07:00
Guang Zhu
973f553be4 Make MediaScanner skip certain directories
The list of directories to skip are configurable via setprop.
The main motivation is that some test data folder takes long time
to scan, and media scanner may compete for CPU time against perf
tests therefore skewing the results.

Bug: 5263115
Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315
2011-09-09 15:36:42 -07:00
Romain Guy
1ef3fdbe04 Go faster!!!!
The less we do, the faster we draw.

Change-Id: I7bbc3908b36d8ae295ea3e61ef71fd9ee2187970
2011-09-09 15:34:49 -07:00
Dianne Hackborn
7b8d7cb59c Merge "Pull animation attributes out of main view class." 2011-09-09 15:27:44 -07:00
Jaikumar Ganesh
6d172e60bb Merge "Add error codes for channel disconnection / connection." 2011-09-09 15:19:43 -07:00
Adam Powell
4eb37f8a2c Merge "Bug 5214224 - List item metrics" 2011-09-09 15:18:01 -07:00
Irfan Sheriff
858c396e87 Merge "Finalize wifi watchdog default settings" 2011-09-09 15:15:13 -07:00
Irfan Sheriff
dd4c7714bb Merge "Disable p2p when airplane mode is turned on" 2011-09-09 15:11:44 -07:00
Gilles Debunne
1a87ba4636 Bug 5255124: Move cursor to the end of a word after correction popup alternates selection
Change-Id: Idd3edc72edf864f256df173bcf643163192ecbde
2011-09-09 15:02:10 -07:00
Jim Miller
1fe61d7386 Merge "Allow lockscreen orientation to be overridden with a system property." 2011-09-09 15:01:49 -07:00
James Dong
6f84da50ad Merge "Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation" 2011-09-09 14:56:30 -07:00
Jim Miller
56bacd76b2 Allow lockscreen orientation to be overridden with a system property.
There are cases where lockscreen changes orientation (when docked, etc.),
but it's not easy to test. This allows lockscreen's behavior to be
overridden by command-line.

Change-Id: I7ce1e2ca0ea03a9034a6f537e33650e99e3594d8
2011-09-09 14:54:13 -07:00
Dianne Hackborn
e123612c08 Merge "Work on issue #5144065: Tap on Music icon from Home screen - a different app opens" 2011-09-09 14:53:53 -07:00
John Huang
e16c279d4f Handle HSPAP.
We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.

bug: 5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500
2011-09-09 14:52:57 -07:00
android-merger
42a450149e bring nfc-extras up to date (same as gingerbread)
Change-Id: Ia9cfce0a9919d1903b05fc7eda170a3aa97655ee
2011-09-09 14:49:13 -07:00
Dianne Hackborn
e5ba16a7af Work on issue #5144065: Tap on Music icon from Home screen - a different app opens
When force stopping an app, when removing its activities also finish any
activities from other apps above it in the task.  This avoids some situations
where the task gets into a bad state where its root becomes a different app.

Change-Id: I79e5cd520ae321bec80adefd2ccc2b0370ace372
2011-09-09 14:48:13 -07:00
Ben Komalo
13c7197da8 Revert encryption mapping for device wipes.
External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
2011-09-09 14:44:40 -07:00
Dianne Hackborn
ddb715b238 Pull animation attributes out of main view class.
These are now in a separate class that is only allocated when
needed by the view.

Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3
2011-09-09 14:43:39 -07:00
Adam Powell
7c8375d652 Bug 5214224 - List item metrics
Base list item padding on the theme. Adjust stock framework list items
to obey this. Adjust text sizes in stock list items based on existing
theme attributes.

Change-Id: I98a441e5494fa1d1d34a5f05e525e54e8b0d78b9
2011-09-09 14:41:37 -07:00
Ben Murdoch
2376f8253f Relax form autocomplete conditions
Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
2011-09-09 22:38:39 +01:00
Dianne Hackborn
104f6a07c9 Merge "Fix issue #5273986: The power usage of the mp3 background playback..." 2011-09-09 14:28:05 -07:00
Irfan Sheriff
295da73f05 Disable p2p when airplane mode is turned on
Bug: 5286610
Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38
2011-09-09 14:10:15 -07:00
Peter Ng
d67ff5c41d Merge "list_dividers for xh are now 2pixels high." 2011-09-09 13:38:40 -07:00
James Dong
4a0c91fc50 Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation
Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c
related-to-bug: 5233843
2011-09-09 13:27:27 -07:00
Dianne Hackborn
9fe6cb5cc2 Fix issue #5273986: The power usage of the mp3 background playback...
...increased from ~50mA to 260mA

Change-Id: I24d7188185f4ec5ff9e1f29c15472ae56c851e5e
2011-09-09 13:02:43 -07:00
Irfan Sheriff
998196d64d Finalize wifi watchdog default settings
- Reduce DNS counts from 15 to 5. 15 was for debug.
- Keep success scenario as atleast 1 being successful
- Wait for a second to start checks (for some setups)
- Use one bar as a start for doing periodic DNS checks
- Do a DNS check every hour (instead of half hour)

Bug: 5284337
Change-Id: Ie64d8cac48318a0c4c59f91ad21f8c6712b71338
2011-09-09 12:36:28 -07:00
Peter Ng
920d06db8d Merge "Updated CAB done assets" 2011-09-09 11:27:40 -07:00
Svetoslav Ganov
99e109915e Merge "The time and data pickers did not support IME editor action correctly." 2011-09-09 11:24:24 -07:00
Peter Ng
4618a53e38 list_dividers for xh are now 2pixels high.
-1px everywhere but xhdpi
-deleted no dpi
-changed holo_light #000 15%
-changed holo_dark #fff 10%

Change-Id: I1ee16bb21b80655d62b91a2b43b3740700463cc7
2011-09-09 11:23:50 -07:00
Svetoslav Ganov
5b60d38a8a Merge "Update the sharing UI according to latest UX specs." 2011-09-09 11:18:40 -07:00
Peter Ng
d64cb7d579 Updated CAB done assets
-removed cab background on press and focused

Change-Id: Ib93632955bbaa62497acc82079091019ba7991c3
2011-09-09 11:07:51 -07:00
Jeff Brown
1d50a2c068 Merge "Adjust layers for system overlays." 2011-09-09 11:06:25 -07:00
Brian Colonna
f731747745 Merge "Moved FaceLock bind/unbind calls inside of null check" 2011-09-09 10:52:09 -07:00