67872 Commits

Author SHA1 Message Date
Glenn Kasten
8c5ecd6af5 Merge "Fix build warning" 2012-02-22 13:14:50 -08:00
Daisuke Miyakawa
c4bec73f3b Merge "Remove the entire PIM directory." 2012-02-22 13:06:58 -08:00
Svetoslav Ganov
a6ab8730f9 Merge "Fixing the content build file to include the command on user builds." 2012-02-22 12:51:35 -08:00
Svetoslav Ganov
3f55172f7b Fixing the content build file to include the command on user builds.
Change-Id: Ic4a1627eff869702d04c81dcb9a877c74ed65f2a
2012-02-22 12:49:40 -08:00
Adam Powell
2a23e88486 Merge "Fix bug 6048643 - verify ListView layoutparams while tracking stable IDs" 2012-02-22 12:22:31 -08:00
Adam Powell
aebd28f729 Fix bug 6048643 - verify ListView layoutparams while tracking stable IDs
Account for adapters that don't inflate item views using the ListView as
a parent.

Unify how AbsListView and subclasses generate layoutparams.

Change-Id: I963a5fcb4d98b721210a4d92d0db307f56acdf59
2012-02-22 12:04:12 -08:00
James Dong
a352d1e241 Merge "Allow to record time lapse videos without using setProfile()" 2012-02-22 11:47:07 -08:00
Glenn Kasten
175b2be791 Fix build warning
warning: pointer of type 'void *' used in arithmetic
warning: enumeral and non-enumeral type in conditional expression

Change-Id: I7b8d626a636145ef648e3b5d0e77068216dd012e
2012-02-22 11:46:53 -08:00
George Mount
0b2cfd8cb1 Use input type for IME options.
Bug 5987568
 Get the text type from webkit when initializing the field for
 text entry and use that type to specify the IME input type
 and options.
 Webkit Change: I7eceafdbede8b7b463590a2e875a237241479ad1

Change-Id: Ic8c14687a70727148dfc8115c46f09530ca0c0f6
2012-02-22 11:25:59 -08:00
James Dong
a4d205d02c Allow to record time lapse videos without using setProfile()
o also added a check on whether capture rate was set before starting time lapse video recording.

o related-to-bug: 6045507

Change-Id: I8e1fdc8e8931e2684ab3822dc6260db44658e87d
2012-02-22 10:20:46 -08:00
John Reck
d3fcaa4504 Merge "Turn off the focus animation" 2012-02-22 10:18:43 -08:00
John Reck
fbf9cf8d6b Turn off the focus animation
Change-Id: I860220622415c6d3f93f526c854237ac1dd001ce
2012-02-22 10:14:03 -08:00
John Reck
3843939002 Merge "Add null parent check to startActionMode" 2012-02-22 09:43:27 -08:00
Marco Nelissen
c28baf55a3 Merge "Eliminate scanner file cache" 2012-02-22 09:42:54 -08:00
John Reck
5160e2a197 Add null parent check to startActionMode
Bug: 6012515

Change-Id: I9f684bf0fd314285c4d4933ba2a7645f10c9dc7b
2012-02-22 09:41:25 -08:00
Eric Fischer
8b265be10e Merge "Import translations. DO NOT MERGE" 2012-02-22 09:34:09 -08:00
Steve Block
745e02ae45 Merge "Remove unused cache methods" 2012-02-22 09:23:04 -08:00
Alex Sakhartchouk
1eb4c26a96 Merge "Adding a very simple all-code scenegraph example." 2012-02-22 09:02:53 -08:00
Steve Block
1e17ecae25 Remove unused cache methods
These were added in https://mondrian.corp.google.com/changelist/19077-p9.

CacheManager.setCacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/20678-p9 (see change to WebView),
so the WebKit cache is always enabled.

BrowserFrame.setCacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/33679-p9, so the WebCore cache is
always enabled.

BrowserFrame.CacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/32803-p9 (see change to WebView).

See WebKit change https://android-git.corp.google.com/g/167298.

Change-Id: I68bf334f4a34df1b88d2b5204e50c2eb04db7e69
2012-02-22 16:48:25 +00:00
Marco Nelissen
58ef68905d Eliminate scanner file cache
Get rid of the file cache, since it tends to run out of memory for large
numbers of files. This slows down the scanner somewhat, but recent
optimizations more than make up for that.

With this change, the postscan phase of the media scan now only processes
playlists. Removal of entries for files that no longer exist is done as
part of the prescan.
Lookups in the file cache are replaced by simple queries, which are still
reasonably fast because of a new index recently added to the media provider
database. Note that there was a bug in the case-insensitive matching for
file cache entries, in that e.g. an uppercase a-accent-aigue would be mapped
to its lowercase version, whereas the underlying case-insensitive filesystem
treats them as different characters. Getting rid of the file cache also fixes
this issue.

Bug: 4474617
Change-Id: I39c6f1a35bb518ef7ab912e9b9401663821ef48e
2012-02-22 08:37:26 -08:00
Craig Mautner
5489e4af19 Merge "- Consolidate all animations in a single place outside of layout loop. - Move mPolicy.startAnimationLw and mPolicy.finishAnimationLw into same method as mPolicy.animatingWindowLw. - Fix first parameter of performLayoutLockedInner(initial, ...) to pass true on initial pass." 2012-02-22 07:53:43 -08:00
satok
5c9b4329f3 Merge "Refactor sentence level spell checking APIs" 2012-02-21 22:59:12 -08:00
satok
d404fe1105 Refactor sentence level spell checking APIs
Support sentence level spell checking APIs: Step 1

Change-Id: I31c0b88e7885f33a0694ab60b8f2dbceeffe42f1
2012-02-22 15:35:46 +09:00
Mathias Agopian
df6f5cd624 Merge "remove libui's dependency on libpixelflinger" 2012-02-21 18:58:32 -08:00
Mathias Agopian
3e3681151a remove libui's dependency on libpixelflinger
this also remove support for unused pixelformats.

Change-Id: I2c759a6d2daa740f3786ed62095def8047ae933d
2012-02-21 18:56:08 -08:00
Romain Guy
f541e4395a Merge "Only copy paths, paints and shaders when we need to." 2012-02-21 18:33:58 -08:00
Romain Guy
96ebc6b509 Only copy paths, paints and shaders when we need to.
Change-Id: Iba7a9c92c865f698821b6ff7bc4f502659642ac1
2012-02-21 18:32:32 -08:00
Adam Powell
69d7558227 Merge "Fix bug 5971117 - Action bar does not update icon used for collapsible action views" 2012-02-21 17:19:29 -08:00
Svetoslav Ganov
a6cdf86518 Merge "Improving accessibility APIs used for UI automation." 2012-02-21 17:17:33 -08:00
Daisuke Miyakawa
232106b47f Remove the entire PIM directory.
ContactsAsyncHelper had been used by multiple projects, but now
only Phone app is using that. By moving the file to Phone package,
the entire PIM directory becomes unnecessary.

Bug: 5236130
Change-Id: I3daf087dbeb9059c2884dbf0e4d40d1508790aa3
2012-02-21 17:16:01 -08:00
Adam Powell
f821819a88 Fix bug 5971117 - Action bar does not update icon used for collapsible
action views

Change-Id: Ib25cd40b046ab4b7dc382476345f95727fde3955
2012-02-21 17:10:10 -08:00
Svetoslav Ganov
0d04e24553 Improving accessibility APIs used for UI automation.
1. UiTestAutomationBridge was accessing the root node in the
   active window by tracking the accessibility event stream
   and keeping the last active window changing event. Now
   the bridge is stateless and the root node is fetched by
   passing special window and view id with the request to
   the system.

2. AccessibilityNodeInfos that are cached were not finished,
   i.e. not sealed, causing exception when trying to access
   their children or rpedecessors.

3. AccessibilityManagerService was not properly restoring its
   state after the UI automation bridge disconnects from it.
   I particular the devices was still in explore by touch mode
   event if no services are enabled and the sutomation bridge
   is disconnected.

4. ViewRootImpl for the focused window now fires accessibility
   events when accessibility is enabled to allow accessibility
   services to determine the current user location.

5. Several missing null checks in ViewRootImpl are fixed since
   there were scenraios in which a NPE can occur.

6. Update the internal window content querying tests.

7. ViewRootImpl was firing one extra focus event.
bug:6009813
bug:6026952

Change-Id: Ib2e058d64538ecc268f9ef7a8f36ead047868a05
2012-02-21 17:09:09 -08:00
Mathias Agopian
edabdcf5ac Merge "attempt to fix sdk build" 2012-02-21 16:57:14 -08:00
Mathias Agopian
027692b640 attempt to fix sdk build
Change-Id: I94f32a9a7abccb52487bb9ff5e286faa4acfceff
2012-02-21 16:55:25 -08:00
Alex Sakhartchouk
57fc7109e4 Adding a very simple all-code scenegraph example.
Change-Id: I776f8d8d0d3873c84141637d3479501ea92bac12
2012-02-21 16:26:38 -08:00
Nicolas Roard
7852022bf2 Merge "Simplify Youtube <embed> management" 2012-02-21 16:06:36 -08:00
Nicolas Roard
4d49c7f04a Simplify Youtube <embed> management
When we encounter youtube <embed> objects, we replace them on the fly
with an element that will redirect to the youtube application.
Currently, this element is a canvas, that we add to the document wrapped
into a Frame. This cause some problems when we switch to have canvas
elements on their own individual layer (which drastically improves
performances). Note that we do support correctly composited layers
into frameset/iframes on normal websites, the problems we see here
are due to us creating the frame on the fly, messing with webkit's
compositing logic.
This CL rewrite the HTML code we insert to not use canvas and instead
use normal html elements positioned via CSS. This work around the
composited canvas issue as well as simplifying the code.

Change-Id: Ie6043f9445e8bc191b229db9f9ff5de192d8b5db
2012-02-21 16:00:42 -08:00
Alex Sakhartchouk
c7359dfe6a Merge "Adding better default behaviour for programmatically created objects." 2012-02-21 15:52:47 -08:00
Adam Powell
aa4ee4238f Merge "Fix the size of DialogWhenLarge windows" 2012-02-21 15:51:23 -08:00
John Reck
8352e51db3 Merge "Improved keyboard navigation cursor rings" 2012-02-21 15:43:38 -08:00
Adam Powell
f9678bddfc Merge "Have View call setPressed explicitly instead of just twiddling flags." 2012-02-21 15:39:00 -08:00
Adam Powell
40eec4c0f1 Fix the size of DialogWhenLarge windows
Change-Id: I8c9588e958d8fb9c45b1cdb235cced48ba508dd3
2012-02-21 15:32:26 -08:00
Adam Powell
4d6f066b19 Have View call setPressed explicitly instead of just twiddling flags.
This allows apps to override setPressed to reliably observe changes in
pressed state for custom views.

Change-Id: I59f472a9d864f4abcc4f692fef0a13f004348432
2012-02-21 15:13:20 -08:00
Mathias Agopian
cbc69718cb another attempt at fixing the linux build
Change-Id: Iac20439fd6eea4682859112e72f051294bc87ef6
2012-02-21 14:34:47 -08:00
Mathias Agopian
30167542cb another attempt to fix the linux build
Change-Id: Ifd4714de7281ffc8a8c90fb25fb34719a19a9b6f
2012-02-21 14:06:21 -08:00
Mathias Agopian
30c46ad519 attempt to fix linux builds
Change-Id: I46d6f914fdc32dc26cc71bed3399e202f00eeb2a
2012-02-21 13:27:59 -08:00
Eric Fischer
2b63030618 Import translations. DO NOT MERGE
Change-Id: Ie1adb396f430b35e41976d4b7196d54d32500411
2012-02-21 13:14:06 -08:00
Mathias Agopian
1ebe8aa23f Merge "frameworks/base refactoring" 2012-02-21 12:52:06 -08:00
Victoria Lease
b6ad5b14cb Merge "async find-on-page implementation via WebKit" 2012-02-21 11:33:42 -08:00
Alex Sakhartchouk
c71343acc4 Adding better default behaviour for programmatically created objects.
Change-Id: I24078b27f9ddf7f36855eaf223cd4211f459bc78
2012-02-21 11:32:59 -08:00