67894 Commits

Author SHA1 Message Date
John Reck
29cc47e62e Merge "Fix drawing focus node rect in touch mode" 2012-02-22 15:39:23 -08:00
George Mount
592b213608 Merge "Add caret thumb following selection handle logic." 2012-02-22 15:17:00 -08:00
Andreas Huber
0ae6b481e4 Merge "Implementation of a java media codec interface and associated tools." 2012-02-22 15:13:44 -08:00
George Mount
7bc111cc9d Add caret thumb following selection handle logic.
Webkit Change: I3cb0499c5fa3a7de241025d9be04ff44f54f2a74

Change-Id: I669653ca6890fe1136fdd42e24f4c3a34c00d1e4
2012-02-22 15:13:19 -08:00
Andreas Huber
88572f7a3e Implementation of a java media codec interface and associated tools.
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
2012-02-22 15:06:06 -08:00
Romain Guy
1eec6804d2 Merge "Reduce logs" 2012-02-22 14:36:28 -08:00
Romain Guy
9c10ab03cd Reduce logs
Change-Id: I2768972ec62f4d3ad800a4d7a4c44307a2fa0105
2012-02-22 14:34:58 -08:00
Gilles Debunne
5ca6f9e56f Merge "EditText-specific data extracted from TextView" 2012-02-22 14:30:43 -08:00
Gilles Debunne
60e2186c35 EditText-specific data extracted from TextView
All edit-specific data has been moved to an EditData inner class in TextView.

The instance of this class is created as soon as one of its fields is set to
a non-default value. Regular TextViews (buttons, checkboxes...) should never
have to instantiate the Editor, thus reducing their memory footprint.

Note: this is a debug version. The getEditor() method is here to track
possible problems and should be removed in the final version. Indentation
will be fixed then.

Next step is to extract more methods and classes into Editor and create a
dedicated class for it. mMovement may also be Editor specific.

Change-Id: Ic241953a2fb73213180f300c3609a9e6799aa884
2012-02-22 14:24:56 -08:00
Gilles Debunne
36a5822484 Merge "Added bottom padding in textview's focused rectangle" 2012-02-22 14:18:17 -08:00
John Reck
2b3d842a1c Fix drawing focus node rect in touch mode
Change-Id: I5981d038e48a7218cb5f6dcd09ef909746de158d
2012-02-22 14:11:17 -08:00
Alex Sakhartchouk
8ad41a3fdc Merge "Simplifying programmatic creation." 2012-02-22 14:10:58 -08:00
Alex Sakhartchouk
370dc48650 Merge "Properly pipe texture names through." 2012-02-22 14:10:45 -08:00
James Dong
be3835c64d Merge "Removed out-of-date TODO in video editor performance/stress test cases" 2012-02-22 14:00:38 -08:00
Glenn Kasten
3bf96c9c9a Merge "Avoid wp<>::unsafe_get() with a few exceptions" 2012-02-22 13:22:13 -08:00
Glenn Kasten
685c9ce3bd Avoid wp<>::unsafe_get() with a few exceptions
Avoid using wp<>::unsafe_get() except in a log, and other specific cases
when it's known to be safe.

Use more specific subclass types for parameters to avoid down-casts.

When a constructor or method parameter is "this" of an object that is
currently being constructed, it's better to use a raw pointer rather
than either sp<> or wp<>.

Using the raw pointer is safe, provided either:
 - it is "this" of an object being constructed (which has sp<> refcount of 0),
 - or the caller already holds an sp<>

The raw pointer is simpler and faster, and it avoids the problem of the
sp<> reference count being incremented and then decremented to zero on
scope exit, which would cause the object's destructor to run while the
object is still being constructed.

Also removed some dead code per a review comment.

Change-Id: I7375f64da3aec11b928c33cb01faff186252ef5e
2012-02-22 13:19:26 -08:00
Eric Fischer
c185ca6dda Merge "Import translations. DO NOT MERGE" 2012-02-22 13:17:22 -08:00
Glenn Kasten
8c5ecd6af5 Merge "Fix build warning" 2012-02-22 13:14:50 -08:00
Eric Fischer
8f8bcc26c7 Import translations. DO NOT MERGE
Change-Id: I5f20bf25b80b45f83abf272590b6557d6d858001
2012-02-22 13:09:01 -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
Gilles Debunne
322044abe4 Added bottom padding in textview's focused rectangle
Bug 6017386

Focused rect in used in ViewRoot when a new view takes focus.
TextView bringPointIntoView defines an other rectangle as text is typed.

Make sure the latter is included in the former to avoid the jump when one
starts typing text.

Change-Id: I0177adc046c77a5fd9c1423c0069d5b9798dc0b9
2012-02-22 12:01:42 -08:00
Alex Sakhartchouk
d2dc983896 Simplifying programmatic creation.
Change-Id: I792f96b5ed47d3c78976d57259074c9ae402575b
2012-02-22 11:59:12 -08:00
James Dong
d5ade1364b Removed out-of-date TODO in video editor performance/stress test cases
o also fixed a typo

Change-Id: I4f11265da77658f642e382cdfe76862d90a3b548
2012-02-22 11:53:51 -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
9cc290038c Properly pipe texture names through.
Change-Id: I3e44c2757acee90539869c32771626cd0f770a25
2012-02-22 09:06:03 -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